X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fscript%2Flua_api%2Fl_localplayer.h;h=e56ec808fd6ca0b269dcdc83a43c3ba349c2e608;hb=071e114ffa945522a7a9acc3259427166992d5ee;hp=19012f01f2e929d5fdf3f06787b1d2703c8ed808;hpb=8ad3dad137df740ce63101bf224e977e66b9df2c;p=dragonfireclient.git diff --git a/src/script/lua_api/l_localplayer.h b/src/script/lua_api/l_localplayer.h index 19012f01f..e56ec808f 100644 --- a/src/script/lua_api/l_localplayer.h +++ b/src/script/lua_api/l_localplayer.h @@ -22,12 +22,11 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "l_base.h" - class LocalPlayer; -class LuaLocalPlayer : public ModApiBase { +class LuaLocalPlayer : public ModApiBase +{ private: - static const char className[]; static const luaL_Reg methods[]; @@ -40,7 +39,6 @@ class LuaLocalPlayer : public ModApiBase { static int l_get_name(lua_State *L); - static int l_is_teleported(lua_State *L); static int l_is_attached(lua_State *L); static int l_is_touching_ground(lua_State *L); static int l_is_in_liquid(lua_State *L); @@ -61,15 +59,8 @@ class LuaLocalPlayer : public ModApiBase { static int l_get_breath(lua_State *L); - static int l_get_look_dir(lua_State *L); - static int l_get_look_horizontal(lua_State *L); - static int l_get_look_vertical(lua_State *L); - static int l_get_pos(lua_State *L); - static int l_get_eye_pos(lua_State *L); - static int l_get_eye_offset(lua_State *L); - static int l_get_movement_acceleration(lua_State *L); static int l_get_movement_speed(lua_State *L); @@ -91,5 +82,4 @@ class LuaLocalPlayer : public ModApiBase { static void Register(lua_State *L); }; - -#endif //MINETEST_L_LOCALPLAYER_H +#endif // MINETEST_L_LOCALPLAYER_H