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,8 +19,7 @@
* 3. This notice may not be removed or altered from any source
* distribution.
*/
#ifndef BASECHARACTER_HPP_
#define BASECHARACTER_HPP_
#pragma once
//components
#include "character_defines.hpp"
@@ -51,5 +50,3 @@ protected:
std::string handle;
std::string avatar;
};
#endif
+1 -4
View File
@@ -19,8 +19,7 @@
* 3. This notice may not be removed or altered from any source
* distribution.
*/
#ifndef BASEMONSTER_HPP_
#define BASEMONSTER_HPP_
#pragma once
#include "entity.hpp"
@@ -41,5 +40,3 @@ protected:
std::string handle;
std::string avatar;
};
#endif
+1 -4
View File
@@ -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 "sprite_sheet.hpp"
@@ -52,5 +51,3 @@ protected:
Vector2 motion;
BoundingBox bounds;
};
#endif
+1 -4
View File
@@ -19,8 +19,7 @@
* 3. This notice may not be removed or altered from any source
* distribution.
*/
#ifndef LOCALCHARACTER_HPP_
#define LOCALCHARACTER_HPP_
#pragma once
#include "base_character.hpp"
#include "bounding_box.hpp"
@@ -38,5 +37,3 @@ public:
private:
//NOTE: NO MEMBERS
};
#endif