aboutsummaryrefslogtreecommitdiff
path: root/textures/base/pack/fontdejavusansmono.png
diff options
context:
space:
mode:
authorPilzAdam <PilzAdam@gmx.de>2013-01-03 19:51:52 +0100
committerPilzAdam <PilzAdam@gmx.de>2013-01-04 18:51:38 +0100
commit82fd83fd12e23ad7c61b4c7ae525be745b5236a5 (patch)
tree10ae8a3c7a1bec088944caab1ca0ea4960df78b8 /textures/base/pack/fontdejavusansmono.png
parentb50da63852f2a2360d07cc2f1e29fc6844b15ccc (diff)
downloadminetest-82fd83fd12e23ad7c61b4c7ae525be745b5236a5.tar.gz
minetest-82fd83fd12e23ad7c61b4c7ae525be745b5236a5.tar.bz2
minetest-82fd83fd12e23ad7c61b4c7ae525be745b5236a5.zip
Switch to fly mode if spacebar is doubleclicked
Can be turned off in the key change GUI or in minetest.conf via doubletab_space
Diffstat (limited to 'textures/base/pack/fontdejavusansmono.png')
0 files changed, 0 insertions, 0 deletions
ss="hl ppc"> throw LuaError(std::string("Mod security: Blocked attempted ") + \ (write_required ? "write to " : "read from ") + path); \ } #define CHECK_SECURE_PATH(L, path, write_required) \ if (ScriptApiSecurity::isSecure(L)) { \ CHECK_SECURE_PATH_INTERNAL(L, path, write_required, NULL); \ } #define CHECK_SECURE_PATH_POSSIBLE_WRITE(L, path, ptr) \ if (ScriptApiSecurity::isSecure(L)) { \ CHECK_SECURE_PATH_INTERNAL(L, path, false, ptr); \ } class ScriptApiSecurity : virtual public ScriptApiBase { public: // Sets up security on the ScriptApi's Lua state void initializeSecurity(); // Checks if the Lua state has been secured static bool isSecure(lua_State *L); // Loads a file as Lua code safely (doesn't allow bytecode). static bool safeLoadFile(lua_State *L, const char *path); // Checks if mods are allowed to read (and optionally write) to the path static bool checkPath(lua_State *L, const char *path, bool write_required, bool *write_allowed=NULL); private: // Syntax: "sl_" <Library name or 'g' (global)> '_' <Function name> // (sl stands for Secure Lua) static int sl_g_dofile(lua_State *L); static int sl_g_load(lua_State *L); static int sl_g_loadfile(lua_State *L); static int sl_g_loadstring(lua_State *L); static int sl_g_require(lua_State *L); static int sl_io_open(lua_State *L); static int sl_io_input(lua_State *L); static int sl_io_output(lua_State *L); static int sl_io_lines(lua_State *L); static int sl_os_rename(lua_State *L); static int sl_os_remove(lua_State *L); }; #endif