Switched to the #pragma once system
This commit is contained in:
@@ -19,8 +19,7 @@
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*/
|
||||
#ifndef ENTITY_HPP_
|
||||
#define ENTITY_HPP_
|
||||
#pragma once
|
||||
|
||||
#include "bounding_box.hpp"
|
||||
#include "vector2.hpp"
|
||||
@@ -55,5 +54,3 @@ protected:
|
||||
BoundingBox bounds = {0, 0, 0, 0};
|
||||
const char* type;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -19,12 +19,9 @@
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*/
|
||||
#ifndef ENTITYAPI_HPP_
|
||||
#define ENTITYAPI_HPP_
|
||||
#pragma once
|
||||
|
||||
#include "lua.hpp"
|
||||
|
||||
#define TORTUGA_ENTITY_API "entity"
|
||||
LUAMOD_API int openEntityAPI(lua_State* L);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user