aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/basenodes/textures/default_desert_stone.png
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-12-18 20:36:43 +0100
committerGitHub <noreply@github.com>2021-12-18 20:36:43 +0100
commit8472141b79c25092c90dea24aa873bd7ff792142 (patch)
treef83851a66ec4b892786ae8a398bee3e8c5228c78 /games/devtest/mods/basenodes/textures/default_desert_stone.png
parent1c5ece8334d050379eb99fe2ead52f9f4db44249 (diff)
downloadminetest-8472141b79c25092c90dea24aa873bd7ff792142.tar.gz
minetest-8472141b79c25092c90dea24aa873bd7ff792142.tar.bz2
minetest-8472141b79c25092c90dea24aa873bd7ff792142.zip
Restructure devtest's unittests and run them in CI (#11859)
Diffstat (limited to 'games/devtest/mods/basenodes/textures/default_desert_stone.png')
0 files changed, 0 insertions, 0 deletions
class="hl kwd">lua_rawgeti(L, LUA_REGISTRYINDEX, CUSTOM_RIDX_SCRIPTAPI); ScriptApiBase *sapi_ptr = (ScriptApiBase*) lua_touserdata(L, -1); lua_pop(L, 1); return sapi_ptr; } Server *ModApiBase::getServer(lua_State *L) { return getScriptApiBase(L)->getServer(); } Environment *ModApiBase::getEnv(lua_State *L) { return getScriptApiBase(L)->getEnv(); } GUIEngine *ModApiBase::getGuiEngine(lua_State *L) { return getScriptApiBase(L)->getGuiEngine(); } std::string ModApiBase::getCurrentModPath(lua_State *L) { lua_rawgeti(L, LUA_REGISTRYINDEX, CUSTOM_RIDX_CURRENT_MOD_NAME); const char *current_mod_name = lua_tostring(L, -1); if (!current_mod_name) return ".";