Switched to the #pragma once system

This commit is contained in:
2015-07-07 17:35:58 +10:00
parent f82b0a8843
commit 24eb730c72
71 changed files with 71 additions and 285 deletions
+1 -4
View File
@@ -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
+1 -4
View File
@@ -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
+1 -4
View File
@@ -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
+1 -4
View File
@@ -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