diff options
author | est31 <MTest31@outlook.com> | 2015-07-21 17:17:46 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-07-21 17:17:46 +0200 |
commit | 403e6e6c9cf6be5e16e3f1f9bd7805fe9b3006cd (patch) | |
tree | f500d5117d3de12f416731fe24787a8e062003e4 /doc/lua_api.txt | |
parent | 899491325938d0b1e5bf701d33d24bb4283affaa (diff) | |
download | minetest-403e6e6c9cf6be5e16e3f1f9bd7805fe9b3006cd.tar.gz minetest-403e6e6c9cf6be5e16e3f1f9bd7805fe9b3006cd.tar.bz2 minetest-403e6e6c9cf6be5e16e3f1f9bd7805fe9b3006cd.zip |
Document game main menu image system
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r-- | doc/lua_api.txt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index e156d75e4..318c23a76 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -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: @@ -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 |