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 TRIGGERAPI_HPP_
#define TRIGGERAPI_HPP_
#pragma once
#include "lua.hpp"
#define TORTUGA_TRIGGER_API "trigger"
LUAMOD_API int openTriggerAPI(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 TRIGGERDATA_HPP_
#define TRIGGERDATA_HPP_
#pragma once
#include "bounding_box.hpp"
#include "entity.hpp"
@@ -57,5 +56,3 @@ private:
int scriptRef = LUA_NOREF;
std::list<Entity*> exclusionList;
};
#endif
+1 -4
View File
@@ -19,8 +19,7 @@
* 3. This notice may not be removed or altered from any source
* distribution.
*/
#ifndef TRIGGERMANAGER_HPP_
#define TRIGGERMANAGER_HPP_
#pragma once
#include "bounding_box.hpp"
#include "vector2.hpp"
@@ -60,5 +59,3 @@ private:
lua_State* lua = nullptr;
int counter = 0;
};
#endif
+1 -4
View File
@@ -19,12 +19,9 @@
* 3. This notice may not be removed or altered from any source
* distribution.
*/
#ifndef TRIGGERMANAGERAPI_HPP_
#define TRIGGERMANAGERAPI_HPP_
#pragma once
#include "lua.hpp"
#define TORTUGA_TRIGGER_MANAGER_API "trigger_manager"
LUAMOD_API int openTriggerManagerAPI(lua_State* L);
#endif