Initial editor commit
- Add Entity Tree View used to select entities to be modified - Add Entity View used to Add/Remove/Edit Components of the Entity - Add Asset View which lists all available assets
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "copium/asset/AssetRef.h"
|
||||
#include "copium/ecs/Entity.h"
|
||||
#include "copium/util/Uuid.h"
|
||||
#include "copium/util/BoundingBox.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -16,9 +17,6 @@ namespace Copium
|
||||
glm::vec2 size;
|
||||
};
|
||||
|
||||
struct RenderableC {};
|
||||
struct UiRenderableC {};
|
||||
|
||||
struct ColorC
|
||||
{
|
||||
glm::vec3 color;
|
||||
@@ -38,12 +36,6 @@ namespace Copium
|
||||
float fontSize;
|
||||
};
|
||||
|
||||
struct MouseFollowC
|
||||
{};
|
||||
|
||||
struct FrameCountC
|
||||
{};
|
||||
|
||||
struct CameraC
|
||||
{
|
||||
BoundingBox projection;
|
||||
@@ -89,10 +81,6 @@ namespace Copium
|
||||
glm::vec2 oldPosition{};
|
||||
};
|
||||
|
||||
struct PickupC
|
||||
{
|
||||
|
||||
};
|
||||
|
||||
struct DebugC
|
||||
{
|
||||
@@ -120,4 +108,16 @@ namespace Copium
|
||||
{
|
||||
std::vector<Entity> entities;
|
||||
};
|
||||
|
||||
struct NameC
|
||||
{
|
||||
std::string name;
|
||||
};
|
||||
|
||||
struct RenderableC {};
|
||||
struct UiRenderableC {};
|
||||
struct SerializableC {};
|
||||
struct PickupC {};
|
||||
struct MouseFollowC {};
|
||||
struct FrameCountC {};
|
||||
}
|
||||
Reference in New Issue
Block a user