aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods/legacy
Commit message (Collapse)AuthorAge
* Compress texturesDavid Gumberg2013-06-18
|
* Move scriptapi to separate folder (by sapier)sapier2013-05-25
| | | | | | | | | | | On the lua side, notably minetest.env:<function>(<args>) should now be replaced by minetest.<function>(<args>). The old way is and will stay supported for a long time. Also: Update and clean up lua_api.txt (by celeron55) Move EnvRef to lua and remove add_rat and add_firefly (by kahrl) Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl)
* Move games/minetest to games/minimal and update README.txtPerttu Ahola2012-03-26
ith this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /******************************************************************************/ /******************************************************************************/ /* WARNING!!!! do NOT add this header in any include file or any code file */ /* not being a modapi file!!!!!!!! */ /******************************************************************************/ /******************************************************************************/ #ifndef L_INTERNAL_H_ #define L_INTERNAL_H_ #include "common/c_internal.h" #define luamethod(class, name) {#name, class::l_##name} #define API_FCT(name) registerFunction(L,#name,l_##name,top) #if (defined(WIN32) || defined(_WIN32_WCE)) #define NO_MAP_LOCK_REQUIRED #else #include "main.h" #include "profiler.h" #define NO_MAP_LOCK_REQUIRED ScopeProfiler nolocktime(g_profiler,"Scriptapi: unlockable time",SPT_ADD) #endif #endif /* L_INTERNAL_H_ */