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/editor/editor_layout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/editor/editor_layout.cpp') diff --git a/src/editor/editor_layout.cpp b/src/editor/editor_layout.cpp index f98ef00..de3ffb3 100644 --- a/src/editor/editor_layout.cpp +++ b/src/editor/editor_layout.cpp @@ -151,7 +151,7 @@ void editor_layout_start_menu( GAME_EDITOR* e ) { } static void editor_layout_tool_buttons( GUI_EDITORWINDOW* wnd, const EDITOR_LAYOUT& l ) { - const char* names[] = { "none", "select", "wall", "poly", "sprite", "ent" }; + const char* names[] = { "none", "select", "wall", "poly", "object" }; I32 y = l.tool_btn_y; for( U32 i = 0; i < sizeof( names ) / sizeof( names[0] ); ++i ) { GUI_BUTTON* btn = (GUI_BUTTON*)gui_find_node( wnd, names[i] ); -- cgit v1.2.3