diff options
| author | KiritoDv <36680385+KiritoDv@users.noreply.github.com> | 2025-05-16 02:44:40 +0000 |
|---|---|---|
| committer | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2025-05-16 02:44:40 +0000 |
| commit | b53a5dbcfa24ef2aa4860b6d9512709976686de8 (patch) | |
| tree | 441f2bb9c0bc8f955eb9289d19b13beab5c239c5 /src/engine/editor/Editor.h | |
| parent | bdf5ca8d603ae56ac275bebf9fde58ae72484d76 (diff) | |
clang formatclang-format
Diffstat (limited to 'src/engine/editor/Editor.h')
| -rw-r--r-- | src/engine/editor/Editor.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/engine/editor/Editor.h b/src/engine/editor/Editor.h index 759c59355..3b5602818 100644 --- a/src/engine/editor/Editor.h +++ b/src/engine/editor/Editor.h @@ -9,10 +9,10 @@ #include "ObjectPicker.h" namespace Editor { - class ObjectPicker; +class ObjectPicker; - class Editor { -public: +class Editor { + public: Editor(); ObjectPicker eObjectPicker; @@ -20,8 +20,10 @@ public: void Tick(); void Draw(); - void Load(); - GameObject* AddObject(const char* name, FVector* pos, IRotator* rot, FVector* scale, Gfx* model, float collScale, GameObject::CollisionType collision, float boundingBoxSize, int32_t* despawnFlag, int32_t despawnValue); + void Load(); + GameObject* AddObject(const char* name, FVector* pos, IRotator* rot, FVector* scale, Gfx* model, float collScale, + GameObject::CollisionType collision, float boundingBoxSize, int32_t* despawnFlag, + int32_t despawnValue); void AddLight(const char* name, FVector* pos, s8* rot); void ClearObjects(); void RemoveObject(); @@ -31,7 +33,7 @@ public: void DeleteObject(); bool bEditorEnabled = false; -private: + private: bool _draw = false; Vec3f _ray; @@ -39,7 +41,7 @@ private: void Copy(MtxF* src, MtxF* dest); void Clear(MtxF* mf); }; -} +} // namespace Editor #endif void SetLevelDimensions(s16 minX, s16 maxX, s16 minZ, s16 maxZ, s16 minY, s16 maxY); |
