aboutsummaryrefslogtreecommitdiff
path: root/advtrains/tracks.lua
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2021-04-10 12:26:47 +0200
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2021-04-10 12:26:47 +0200
commit9dd0313b710e537ec7bc1285111ff0c8bd43089d (patch)
tree067da5d0cf1cc2bd7b2defa3ebcb59ecb87bfb18 /advtrains/tracks.lua
parent5ee8c0e39b6dffc5437e1b48b08cfbeb6ea414d1 (diff)
Add /at_whereis command to check the position of a train.
Diffstat (limited to 'advtrains/tracks.lua')
0 files changed, 0 insertions, 0 deletions
/*MinetestCopyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>Copyright (C) 2017 nerzhul, Loic Blot <loic.blot@unix-experience.fr>This program is free software; you can redistribute it and/or modifyit under the terms of the GNU Lesser General Public License as published bythe 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 ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU Lesser General Public License for more details.You should have received a copy of the GNU Lesser General Public License alongwith this program; if not, write to the Free Software Foundation, Inc.,51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.*/#ifndef L_CLIENT_H_#define L_CLIENT_H_#include"lua_api/l_base.h"#include"itemdef.h"#include"tool.h"class ModApiClient :public ModApiBase {private:// get_current_modname()static intl_get_current_modname(lua_State *L);// print(text)static intl_print(lua_State *L);// display_chat_message(message)static intl_display_chat_message(lua_State *L);// send_chat_message(message)static intl_send_chat_message(lua_State *L);// clear_out_chat_queue()static intl_clear_out_chat_queue(lua_State *L);// get_player_names()static intl_get_player_names(lua_State *L);// show_formspec(name, formspec)static intl_show_formspec(lua_State *L);// send_respawn()static intl_send_respawn(lua_State *L);// disconnect()static intl_disconnect(lua_State *L);// gettext(text)static intl_gettext(lua_State *L);// get_last_run_mod(n)static intl_get_last_run_mod(lua_State *L);// set_last_run_mod(modname)static intl_set_last_run_mod(lua_State *L);// get_node(pos)static intl_get_node(lua_State *L);// get_node_or_nil(pos)static intl_get_node_or_nil(lua_State *L);// get_wielded_item()static intl_get_wielded_item(lua_State *L);// get_meta(pos)static intl_get_meta(lua_State *L);static intl_sound_play(lua_State *L);static intl_sound_stop(lua_State *L);// get_server_info()static intl_get_server_info(lua_State *L);// get_item_def(itemstring)static intl_get_item_def(lua_State *L);// get_node_def(nodename)static intl_get_node_def(lua_State *L);static intl_take_screenshot(lua_State *L);public:static voidInitialize(lua_State *L,int top);};#endif