feat: Added portals

This commit is contained in:
2025-10-06 21:07:55 +01:00
parent be49003a8d
commit 680d375b8c
9 changed files with 158 additions and 33 deletions

View File

@@ -21,7 +21,7 @@ enum G_EDITOR_MODE {
G_EDITOR_MODE_TILE,
G_EDITOR_MODE_PROP,
G_EDITOR_MODE_HITBOX,
G_EDITOR_MODE_POI,
G_EDITOR_MODE_PORTAL,
};
typedef struct G_Editor G_Editor;
@@ -32,6 +32,7 @@ struct G_Editor {
G_EDITOR_MODE mode;
V2f cursor;
V2f dragStart;
U32 selectedNode;
};
typedef struct G_State G_State;