diff options
author | rtk0c <[email protected]> | 2022-07-07 19:30:47 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-07-07 19:30:47 -0700 |
commit | a98b0495a957ed15900c052bcad00b3c48367546 (patch) | |
tree | 10945d897ba6671c707e1c9866f235c0e630c08f /source/30-game/SceneThings.hpp | |
parent | 6839736b8283a59eb743e1f6058c7d266a3e7f36 (diff) |
Changeset: 79 Initial work on fixing codegen for the main project, add enum underlying type (EUT) scanning capability
Diffstat (limited to 'source/30-game/SceneThings.hpp')
-rw-r--r-- | source/30-game/SceneThings.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/30-game/SceneThings.hpp b/source/30-game/SceneThings.hpp index c261fbb..761eb59 100644 --- a/source/30-game/SceneThings.hpp +++ b/source/30-game/SceneThings.hpp @@ -4,17 +4,21 @@ #include "GameObject.hpp" #include "Renderer.hpp" +#include <MacrosCodegen.hpp> + #include <glm/glm.hpp> #include <vector> class SimpleGeometryObject : public GameObject { + BRUSSEL_CLASS() + private: RenderObject mRenderObject; glm::vec3 mSize; RgbaColor mXFaceColor; RgbaColor mYFaceColor; RgbaColor mZFaceColor; - mutable bool mNeedsRebuildMesh ; + mutable bool mNeedsRebuildMesh; public: SimpleGeometryObject(GameWorld* world); @@ -31,6 +35,8 @@ public: }; class BuildingObject : public GameObject { + BRUSSEL_CLASS() + private: RenderObject mRenderObject; |