Switched to the #pragma once system
This commit is contained in:
@@ -19,12 +19,9 @@
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*/
|
||||
#ifndef MONSTERAPI_HPP_
|
||||
#define MONSTERAPI_HPP_
|
||||
#pragma once
|
||||
|
||||
#include "lua.hpp"
|
||||
|
||||
#define TORTUGA_MONSTER_API "monster"
|
||||
LUAMOD_API int openMonsterAPI(lua_State* L);
|
||||
|
||||
#endif
|
||||
@@ -19,8 +19,7 @@
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*/
|
||||
#ifndef MONSTERDATA_HPP_
|
||||
#define MONSTERDATA_HPP_
|
||||
#pragma once
|
||||
|
||||
#include "entity.hpp"
|
||||
|
||||
@@ -56,5 +55,3 @@ private:
|
||||
std::string avatar;
|
||||
int scriptRef = LUA_NOREF;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -19,8 +19,7 @@
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*/
|
||||
#ifndef MONSTERMANAGER_HPP_
|
||||
#define MONSTERMANAGER_HPP_
|
||||
#pragma once
|
||||
|
||||
#include "monster_data.hpp"
|
||||
|
||||
@@ -61,5 +60,3 @@ private:
|
||||
lua_State* lua = nullptr;
|
||||
sqlite3* database = nullptr;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -19,12 +19,9 @@
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*/
|
||||
#ifndef MONSTERMANAGERAPI_HPP_
|
||||
#define MONSTERMANAGERAPI_HPP_
|
||||
#pragma once
|
||||
|
||||
#include "lua.hpp"
|
||||
|
||||
#define TORTUGA_MONSTER_MANAGER_API "monster_manager"
|
||||
LUAMOD_API int openMonsterManagerAPI(lua_State* L);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user