From ae6718ec0fb21077b767e189aca26b0fed488775 Mon Sep 17 00:00:00 2001 From: kasull Date: Wed, 11 Mar 2026 00:24:47 -0400 Subject: editor object placement and context menus replace the editor menubar dropdown flow with a reusable context menu component merge sprite/entity placement into a single object tool persist entities, and add undo support for created sprites and entities --- src/game/world/map.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game/world/map.h') diff --git a/src/game/world/map.h b/src/game/world/map.h index 29022db..f3f56f8 100644 --- a/src/game/world/map.h +++ b/src/game/world/map.h @@ -68,6 +68,7 @@ struct MAP_SPRITE { }; struct MAP_ENTITY { + VEC3 pos; U32 classid; LIST props; }; @@ -82,6 +83,7 @@ struct WORLD_MAP { LIST walls; LIST polygons; LIST sprites; + LIST entities; LIST props; MAP_SKYBOX skybox; F32 w; -- cgit v1.2.3