MathWorlds/src/script
Ner'zhul 8e7449e092 Environment & IGameDef code refactoring (#4985)
* Environment code refactoring
* Cleanup includes & class declarations in client & server environment to improve build speed
* ServerEnvironment::m_gamedef is now a pointer to Server instead of IGameDef, permitting to cleanup many casts.
* Cleanup IGameDef
  * Move ITextureSource* IGameDef::getTextureSource() to Client only.
  * Also move ITextureSource *IGameDef::tsrc() helper
  * drop getShaderSource, getSceneManager, getSoundManager & getCamera abstract call
  * drop unused emerge() call
  * cleanup server unused functions (mentionned before)
* Drop one unused parameter from ContentFeatures::updateTextures
* move checkLocalPrivilege to Client
* Remove some unnecessary casts
* create_formspec_menu: remove IWritableTextureSource pointer, as client already knows it
* Fix some comments
* Change required IGameDef to Server/Client pointers
* Previous change that game.cpp sometimes calls functions with Client + InventoryManager + IGameDef in same functions but it's the same objects
* Remove duplicate Client pointer in GUIFormSpecMenu::GUIFormSpecMenu
* drop ClientMap::sectorWasDrawn which is unused
2017-01-09 20:39:22 +01:00
..
common Add 2D sheet animation for nodes 2017-01-02 15:28:06 +01:00
cpp_api Make minetest abort on lua panic 2016-12-24 00:18:45 +00:00
lua_api Environment & IGameDef code refactoring (#4985) 2017-01-09 20:39:22 +01:00
CMakeLists.txt Clean up and tweak build system 2015-03-27 15:00:48 -04:00
scripting_game.cpp Add Lua interface to HTTPFetchRequest 2016-02-22 15:39:41 +01: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