]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/script/lua_api/l_nodetimer.h
Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu
[dragonfireclient.git] / src / script / lua_api / l_nodetimer.h
index f652b4900929e2cf1dd26142bb0ba93555419466..9f8dd21c8ccbfb42be883be7c15861fd3e488c7a 100644 (file)
@@ -20,15 +20,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #ifndef L_NODETIMER_H_
 #define L_NODETIMER_H_
 
-extern "C" {
-#include <lua.h>
-#include <lauxlib.h>
-}
+#include "lua_api/l_base.h"
+#include "irr_v3d.h"
 
-#include "environment.h"
+class ServerEnvironment;
 
-class NodeTimerRef
-{
+class NodeTimerRef : public ModApiBase {
 private:
        v3s16 m_p;
        ServerEnvironment *m_env;