Skip to content

Commit

Permalink
Document game main menu image system
Browse files Browse the repository at this point in the history
  • Loading branch information
est31 committed Jul 21, 2015
1 parent 8994913 commit 403e6e6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion doc/lua_api.txt
Expand Up @@ -65,6 +65,15 @@ e.g.
The game directory can contain the file minetest.conf, which will be used
to set default settings when running the particular game.

### Menu images

Games can provide custom main menu images. They are put inside a `menu` directory inside the game directory.

The images are named `$identifier.png`, where `$identifier` is one of `overlay,background,footer,header`.
If you want to specify multiple images for one identifier, add additional images named like `$identifier.$n.png`, with an ascending number $n starting with 1,
and a random image will be chosen from the provided ones.


Mod load path
-------------
Generic:
Expand Down Expand Up @@ -1711,7 +1720,7 @@ Helper functions
max_jitter = 0.5, -- maximum packet time jitter
avg_jitter = 0.03, -- average packet time jitter
connection_uptime = 200, -- seconds since client connected

-- following information is available on debug build only!!!
-- DO NOT USE IN MODS
--ser_vers = 26, -- serialization version used by client
Expand Down

0 comments on commit 403e6e6

Please sign in to comment.