From 94e0df832c83bc7b9ead0824cfbc41f166869c68 Mon Sep 17 00:00:00 2001 From: kasull Date: Thu, 26 Feb 2026 04:31:08 -0500 Subject: add wall shape dropdown and drag-based polygon creation with height controls fix wall Z bounds calculation and key index masking in input handling preserve 2D view/cursor stability when map bounds update --- src/editor/editor.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/editor/editor.cpp') diff --git a/src/editor/editor.cpp b/src/editor/editor.cpp index d97164e..ad23d1e 100644 --- a/src/editor/editor.cpp +++ b/src/editor/editor.cpp @@ -15,6 +15,10 @@ GAME_EDITOR* editor_create( GAME_DATA* game ) { e->grid = 1.f; e->spritesize = EDITOR_DEFAULT_SPRITE_SIZE; + e->tool.wallshape = EDITOR_WALLSHAPE_LINE; + e->tool.polysides = EDITOR_DEFAULT_POLY_SIDES; + e->tool.wallheight = EDITOR_DEFAULT_WALL_HEIGHT; + e->tool.placementheight = EDITOR_DEFAULT_PLACEMENT_HEIGHT; e->game = game; gui_init( game ); -- cgit v1.2.3