aboutsummaryrefslogtreecommitdiff
path: root/source/30-game
diff options
context:
space:
mode:
Diffstat (limited to 'source/30-game')
-rw-r--r--source/30-game/GameObject.hpp5
-rw-r--r--source/30-game/Ires.hpp5
2 files changed, 8 insertions, 2 deletions
diff --git a/source/30-game/GameObject.hpp b/source/30-game/GameObject.hpp
index f975803..56beb80 100644
--- a/source/30-game/GameObject.hpp
+++ b/source/30-game/GameObject.hpp
@@ -16,6 +16,10 @@
namespace Tags {
enum class GameObjectKind {
+ // clang-format off
+ BRUSSEL_ENUM(ToString, FromString, RemovePrefix KD_, AddPrefix GameObject, ExcludeHeuristics)
+ // clang-format on
+
KD_Generic,
KD_Player,
KD_SimpleGeometry,
@@ -23,7 +27,6 @@ enum class GameObjectKind {
KD_LevelWrapper,
KD_COUNT,
};
-BRUSSEL_ENUM(GameObjectKind, ToString FromString ExcludeHeuristics);
} // namespace Tags
class GameWorld;
diff --git a/source/30-game/Ires.hpp b/source/30-game/Ires.hpp
index b6420f3..22018cd 100644
--- a/source/30-game/Ires.hpp
+++ b/source/30-game/Ires.hpp
@@ -21,6 +21,10 @@ class IresLoadingContext;
namespace Tags {
enum class IresObjectKind {
+ // clang-format off
+ BRUSSEL_ENUM(ToString, FromString, RemovePrefix KD_, AddPrefix Ires, ExcludeHeuristics)
+ // clang-format on
+
KD_Texture,
KD_Shader,
KD_Material,
@@ -28,7 +32,6 @@ enum class IresObjectKind {
KD_Spritesheet,
KD_COUNT,
};
-BRUSSEL_ENUM(IresObjectKind, ToString FromString ExcludeHeuristics);
} // namespace Tags
class IresObject : public RefCounted {