From 2f48ca2da71e3342b4de82d5c91be7283ec3fcec Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sun, 7 Apr 2024 14:42:24 +0200 Subject: [PATCH] moved editor selectbox gadget to other array position --- src/editor.c | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/src/editor.c b/src/editor.c index 941cc4da..919c6685 100644 --- a/src/editor.c +++ b/src/editor.c @@ -691,8 +691,8 @@ enum GADGET_ID_TIME_OR_STEPS, GADGET_ID_TIME_SCORE_BASE, GADGET_ID_GAME_ENGINE_TYPE, - GADGET_ID_BD_SCHEDULING_TYPE, GADGET_ID_LEVELSET_SAVE_MODE, + GADGET_ID_BD_SCHEDULING_TYPE, GADGET_ID_WIND_DIRECTION, GADGET_ID_PLAYER_SPEED, GADGET_ID_BD_GRAVITY_DIRECTION, @@ -1023,8 +1023,8 @@ enum ED_SELECTBOX_ID_TIME_OR_STEPS, ED_SELECTBOX_ID_TIME_SCORE_BASE, ED_SELECTBOX_ID_GAME_ENGINE_TYPE, - ED_SELECTBOX_ID_BD_SCHEDULING_TYPE, ED_SELECTBOX_ID_LEVELSET_SAVE_MODE, + ED_SELECTBOX_ID_BD_SCHEDULING_TYPE, ED_SELECTBOX_ID_WIND_DIRECTION, ED_SELECTBOX_ID_PLAYER_SPEED, ED_SELECTBOX_ID_BD_GRAVITY_DIRECTION, @@ -2931,15 +2931,6 @@ static struct &level.game_engine_type, NULL, "Game engine:", NULL, "Select game engine" }, - { - ED_SELECTBOX_ID_BD_SCHEDULING_TYPE, - ED_ENGINE_SETTINGS_XPOS(0), ED_ENGINE_SETTINGS_YPOS(1), - GADGET_ID_BD_SCHEDULING_TYPE, GADGET_ID_NONE, - -1, - options_bd_scheduling_type, - &level.bd_scheduling_type, - NULL, "Scheduling type:", NULL, "Select level timing" - }, { ED_SELECTBOX_ID_LEVELSET_SAVE_MODE, ED_LEVEL_SETTINGS_XPOS(0), ED_LEVEL_SETTINGS_YPOS(10), @@ -2950,6 +2941,20 @@ static struct "Action:", NULL, NULL, "Select action when saving level set" }, + // ---------- engine settings: config --------------------------------------- + + { + ED_SELECTBOX_ID_BD_SCHEDULING_TYPE, + ED_ENGINE_SETTINGS_XPOS(0), ED_ENGINE_SETTINGS_YPOS(1), + GADGET_ID_BD_SCHEDULING_TYPE, GADGET_ID_NONE, + -1, + options_bd_scheduling_type, + &level.bd_scheduling_type, + NULL, "Scheduling type:", NULL, "Select level timing" + }, + + // ---------- engine settings: colors --------------------------------------- + // ---------- element settings: configure (several elements) ---------------- { -- 2.34.1