Skip to content

Commit fb0eac2

Browse files
committed
Remove C++ based editors
Remove AssetBrowser, Hierarchy, Inspector and MapSelector from C++ based editor
1 parent 9bce702 commit fb0eac2

21 files changed

Lines changed: 22 additions & 2052 deletions

Source/Game-Lib/Game-Lib/ECS/Systems/Editor/EditorTools.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ namespace ECS::Systems::Editor
491491
}
492492
}
493493

494-
// ---- Resolve any outstanding pixel query (mirrors Editor::Inspector::Update) ----
494+
// ---- Resolve any outstanding pixel query (entity picking) ----
495495
PixelQuery* pixelQuery = gameRenderer->GetPixelQuery();
496496
if (pixelQuery && !dragSpawnHandledThisFrame)
497497
{

Source/Game-Lib/Game-Lib/ECS/Util/Transform2D.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#include <queue>
1010

1111
namespace ECS::Components { struct Transform2D; }
12-
namespace Editor { class Inspector; }
1312

1413
namespace ECS
1514
{
@@ -116,7 +115,6 @@ namespace ECS::Components
116115
struct Transform2D
117116
{
118117
friend struct ECS::Transform2DSystem;
119-
friend class Editor::Inspector;
120118
public:
121119
// We are using Unitys Right Handed coordinate system
122120
// +X = right
@@ -253,7 +251,6 @@ namespace ECS::Components
253251
{
254252
friend struct ECS::Transform2DSystem;
255253
friend struct Transform2D;
256-
friend class Editor::Inspector;
257254

258255
public:
259256
//makes the component use pointer stable references in entt. do not remove

Source/Game-Lib/Game-Lib/ECS/Util/Transforms.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#include <entt/entt.hpp>
99

1010
namespace ECS::Components { struct Transform; }
11-
namespace Editor { class Inspector; }
1211

1312
namespace ECS
1413
{
@@ -87,7 +86,6 @@ namespace ECS::Components
8786
struct Transform
8887
{
8988
friend struct ECS::TransformSystem;
90-
friend class Editor::Inspector;
9189
public:
9290
// We are using Unitys Right Handed coordinate system
9391
// +X = right
@@ -168,7 +166,6 @@ namespace ECS::Components
168166
{
169167
friend struct ECS::TransformSystem;
170168
friend struct Transform;
171-
friend class Editor::Inspector;
172169

173170
public:
174171
//makes the component use pointer stable references in entt. do not remove

Source/Game-Lib/Game-Lib/Editor/ActionStack.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#include "ActionStack.h"
22
#include "EditorHandler.h"
3-
#include "Inspector.h"
43
#include "Game-Lib/Util/ServiceLocator.h"
54

65
#include <Input/InputManager.h>
@@ -37,7 +36,6 @@ namespace Editor
3736
delete lastAction;
3837

3938
_actionStack.pop_back();
40-
ServiceLocator::GetEditorHandler()->GetInspector()->DirtySelection();
4139

4240
return true;
4341
});

0 commit comments

Comments
 (0)