moved editor selectbox gadget to other array position
authorHolger Schemel <info@artsoft.org>
Sun, 7 Apr 2024 12:42:24 +0000 (14:42 +0200)
committerHolger Schemel <info@artsoft.org>
Sun, 7 Apr 2024 12:42:34 +0000 (14:42 +0200)
src/editor.c

index 941cc4da155f7aa18880e35c8592795302feac70..919c66851b74b1a2c006649901447fdd98974960 100644 (file)
@@ -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) ----------------
 
   {