summaryrefslogtreecommitdiff
path: root/src/editor/editor.cpp
diff options
context:
space:
mode:
authoraura <nw@moneybot.cc>2026-02-27 10:08:14 +0100
committeraura <nw@moneybot.cc>2026-02-27 10:08:14 +0100
commit7c0e1e9b3beb0ab5f00c27eb97b84570c532b9ac (patch)
treee9e9a8b14fc2698fe6895a5903ff98f1960d3b46 /src/editor/editor.cpp
parent66561ea2fb7f76c408c08e21132e58914329faba (diff)
parent17780f161914e30aaeb1321872730f7fb2cd26c3 (diff)
Merge branch 'tool-updates'
Diffstat (limited to 'src/editor/editor.cpp')
-rw-r--r--src/editor/editor.cpp4
1 files changed, 4 insertions, 0 deletions
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 );