minetest/src/script
Duane Robertson a5bdfb6b3c Add get_biome_id(biome_name) callback
It returns the index used in mg->biomemap for a given biome name.
The biomemap is useless without this unless you re-register all existing biomes,
which could cause problems for anyone else trying to use biomemap.
With this, you can quickly create a lookup table of ids and names.
2015-10-02 22:49:31 +02:00
..
common Push error handler afresh each time lua_pcall is used 2015-08-27 01:56:06 +02:00
cpp_api Push error handler afresh each time lua_pcall is used 2015-08-27 01:56:06 +02:00
lua_api Add get_biome_id(biome_name) callback 2015-10-02 22:49:31 +02:00
CMakeLists.txt Clean up and tweak build system 2015-03-27 15:00:48 -04:00
scripting_game.cpp Improve Script CPP API diagnostics 2015-08-05 21:13:03 -04:00
scripting_game.h Improve Script CPP API diagnostics 2015-08-05 21:13:03 -04:00
scripting_mainmenu.cpp Push error handler afresh each time lua_pcall is used 2015-08-27 01:56:06 +02:00
scripting_mainmenu.h Fix code style of async API 2014-04-27 16:15:53 -04:00