6 #include <Strings/components/classes/events/events.h>
7 #include <Strings/components/classes/vector/vector.h>
11 #define BLAM_EXT_API __declspec(dllexport)
13 #define BLAM_EXT_API __declspec(dllimport)
52 std::string name =
"unnamed";
53 std::string description =
"";
54 int editor_folder_id = 0;
58 BlamVector3 position = { 0, 0, 0 };
59 BlamVector3 rotation = { 0, 0, 0 };
60 BlamVector3 scale = { 1, 1, 1 };
76 virtual void Render();
113 float cached_radius_0 = 1.0f;
114 float cached_radius_1 = 1.0f;
115 int cached_resolution = 5;
117 BlamVector3 cached_position = { 0, 0, 0 };
118 BlamVector3 cached_rotation = { 0, 0, 0 };
119 BlamVector3 cached_scale = { 1, 1, 1 };
120 BlamColor cached_color = BlamColor(255, 255, 255);
121 bool cached_solid =
true;
123 void CreateManualObject();
127 Ogre::ManualObject* manual_object =
nullptr;
128 Ogre::SceneNode* node =
nullptr;
129 Ogre::HlmsDatablock* datablock =
nullptr;
131 float radius_0 = 1.0f;
132 float radius_1 = 1.0f;
134 BlamColor
color = BlamColor(255, 255, 255);
159 std::vector<BlamWorldObject*> objects = std::vector<BlamWorldObject*>();
174 void RemoveObject(uint64_t object_id);
176 int GetObjectCount();
178 bool HasObject(uint64_t object_id);
196 void OnTickEvent(TickEvent* event);
198 void RenderObjects();