aboutsummaryrefslogtreecommitdiff
path: root/src/nodemetadata.cpp
Commit message (Expand)AuthorAge
* Properly and efficiently use split utility headersPerttu Ahola2012-06-17
* Switch the license to be LGPLv2/later, with small parts still remaining as GP...Perttu Ahola2012-06-05
* Strip unneeded variables from NodeMetadatadarkrose2012-06-03
* WIP node metadata, node timersKahrl2012-06-03
* Move NodeMetadata prototype containers to content_nodemeta.cpp to fix them no...Perttu Ahola2011-12-01
* Mode node definition loading from Lua (still not finished), fix metadata crea...Perttu Ahola2011-11-29
* Add names to NodeMetadataPerttu Ahola2011-11-29
* Create framework for getting rid of global definitions of node/tool/item/what...Perttu Ahola2011-11-29
* Switch more stuff to use the logging thing and fix segfault on player leave f...Perttu Ahola2011-10-16
* Created and moved stuff to content_nodemeta.{h,cpp}Perttu Ahola2011-06-18
* Moved some mapnode content stuff from mapnode.{h,cpp} and digging property st...Perttu Ahola2011-06-17
* hopefully fixed old furnaces taking ridiculous amounts of cpu and halting the...Perttu Ahola2011-06-16
* Reduced server CPU usage on NodeMetadata step()s. Also furnace now cooks whil...Perttu Ahola2011-05-31
* Some progress on transitioning from MapBlockObject to ActiveObject.Perttu Ahola2011-04-08
* fixed the bug of disabled removal of empty chestsPerttu Ahola2011-04-06
* Furnace is now usable. Added more tools.Perttu Ahola2011-04-05
* A more robust format for node metadataPerttu Ahola2011-04-05
* initial workings of the furnacePerttu Ahola2011-04-05
* changed node metadata format to better accomodate future needs and problemsPerttu Ahola2011-04-05
* Chests work now!Perttu Ahola2011-04-04
* initial chest metadataPerttu Ahola2011-04-04
* forgot some filesPerttu Ahola2011-04-04
span>L); // When we are not loading the mod, this function returns "." static std::string getCurrentModPath(lua_State *L); // Get an arbitrary subclass of ScriptApiBase // by using dynamic_cast<> on getScriptApiBase() template<typename T> static T* getScriptApi(lua_State *L) { ScriptApiBase *scriptIface = getScriptApiBase(L); T *scriptIfaceDowncast = dynamic_cast<T*>(scriptIface); if (!scriptIfaceDowncast) { throw LuaError("Requested unavailable ScriptApi - core engine bug!"); } return scriptIfaceDowncast; } static bool registerFunction(lua_State *L, const char* name, lua_CFunction func, int top); static int l_deprecated_function(lua_State *L); static void markAliasDeprecated(luaL_Reg *reg); private: // <old_name> = { <new_name>, <new_function> } static std::unordered_map<std::string, luaL_Reg> m_deprecated_wrappers; static bool m_error_deprecated_calls; };