aboutsummaryrefslogtreecommitdiff
path: root/src/unittest/test_server_shutdown_state.cpp
diff options
context:
space:
mode:
authorupdatepo.sh <script@mt>2020-06-13 23:17:04 +0200
committersfan5 <sfan5@live.de>2020-06-13 23:22:32 +0200
commit0ba19a08b80459f037f530cf94e25d1caa18e80b (patch)
treef20c9e54ac09281e91e75bf719b1bd31b67e53a8 /src/unittest/test_server_shutdown_state.cpp
parentc013a24787a67a63c162298c1c9c760a9c3e8ff4 (diff)
downloadminetest-0ba19a08b80459f037f530cf94e25d1caa18e80b.tar.gz
minetest-0ba19a08b80459f037f530cf94e25d1caa18e80b.tar.bz2
minetest-0ba19a08b80459f037f530cf94e25d1caa18e80b.zip
Update minetest.conf.example, settings_translation_file.cpp
Diffstat (limited to 'src/unittest/test_server_shutdown_state.cpp')
0 files changed, 0 insertions, 0 deletions
class="hl com">Minetest Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with 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 script/modapi file!!!!!!!! */ /******************************************************************************/ /******************************************************************************/ #pragma once #include <vector> #include <unordered_map> #include "irrlichttypes_bloated.h" #include "common/c_types.h" extern "C" { #include <lua.h> } std::string getstringfield_default(lua_State *L, int table, const char *fieldname, const std::string &default_); bool getboolfield_default(lua_State *L, int table, const char *fieldname, bool default_); float getfloatfield_default(lua_State *L, int table, const char *fieldname, float default_); int getintfield_default (lua_State *L, int table, const char *fieldname, int default_); bool getstringfield(lua_State *L, int table, const char *fieldname, std::string &result); size_t getstringlistfield(lua_State *L, int table, const char *fieldname, std::vector<std::string> *result); bool getintfield(lua_State *L, int table, const char *fieldname, int &result); bool getintfield(lua_State *L, int table,