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 ROOMAPI_HPP_
#define ROOMAPI_HPP_
#pragma once
#include "lua.hpp"
#define TORTUGA_ROOM_API "room"
LUAMOD_API int openRoomAPI(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 ROOMDATA_HPP_
#define ROOMDATA_HPP_
#pragma once
#include "character_data.hpp"
#include "region_pager_lua.hpp"
@@ -78,5 +77,3 @@ private:
//hooks
int tickRef = 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 ROOMMANAGER_HPP_
#define ROOMMANAGER_HPP_
#pragma once
#include "character_data.hpp"
#include "room_data.hpp"
@@ -80,5 +79,3 @@ private:
int createRef = LUA_NOREF;
int unloadRef = LUA_NOREF;
};
#endif
+1 -5
View File
@@ -19,12 +19,8 @@
* 3. This notice may not be removed or altered from any source
* distribution.
*/
#ifndef ROOMMANAGERAPI_HPP_
#define ROOMMANAGERAPI_HPP_
#pragma once
#include "lua.hpp"
#define TORTUGA_ROOM_MANAGER_API "room_manager"
LUAMOD_API int openRoomManagerAPI(lua_State* L);
#endif