From c6b122f517fbde9a400ecb46c4fff44629f7677c Mon Sep 17 00:00:00 2001 From: rtk0c Date: Thu, 9 Jun 2022 21:23:15 -0700 Subject: Changeset: 65 Add enum name prefix manipulation support to codegen --- source/30-game/GameObject.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/30-game/GameObject.hpp') 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; -- cgit v1.2.3-70-g09d2