]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/script/lua_api/l_particles.h
Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu
[dragonfireclient.git] / src / script / lua_api / l_particles.h
index 3729f8761ed5637793786df7c5104d46fdedf533..c593f47e441bccaf2e00e86bbcde9841380cab78 100644 (file)
@@ -20,20 +20,18 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #ifndef L_PARTICLES_H_
 #define L_PARTICLES_H_
 
-extern "C" {
-#include <lua.h>
-#include <lauxlib.h>
-}
+#include "lua_api/l_base.h"
 
 class ModApiParticles : public ModApiBase {
-public:
-       bool Initialize(lua_State *L, int top);
 private:
        static int l_add_particle(lua_State *L);
        static int l_add_particlespawner(lua_State *L);
        static int l_delete_particlespawner(lua_State *L);
+
+public:
+       static void Initialize(lua_State *L, int top);
 };
 
 
 
-#endif // L_PARTICLES_H_
+#endif /* L_PARTICLES_H_ */