#define GADGET_ID_STICK_ELEMENT (GADGET_ID_CHECKBUTTON_FIRST + 4)
#define GADGET_ID_EM_SLIPPERY_GEMS (GADGET_ID_CHECKBUTTON_FIRST + 5)
#define GADGET_ID_USE_SPRING_BUG (GADGET_ID_CHECKBUTTON_FIRST + 6)
-#define GADGET_ID_GROW_INTO_DIGGABLE (GADGET_ID_CHECKBUTTON_FIRST + 7)
-#define GADGET_ID_DOUBLE_SPEED (GADGET_ID_CHECKBUTTON_FIRST + 8)
-#define GADGET_ID_BLOCK_LAST_FIELD (GADGET_ID_CHECKBUTTON_FIRST + 9)
-#define GADGET_ID_SP_BLOCK_LAST_FIELD (GADGET_ID_CHECKBUTTON_FIRST + 10)
-#define GADGET_ID_INSTANT_RELOCATION (GADGET_ID_CHECKBUTTON_FIRST + 11)
-#define GADGET_ID_CAN_PASS_TO_WALKABLE (GADGET_ID_CHECKBUTTON_FIRST + 12)
-#define GADGET_ID_CAN_FALL_INTO_ACID (GADGET_ID_CHECKBUTTON_FIRST + 13)
-#define GADGET_ID_CAN_MOVE_INTO_ACID (GADGET_ID_CHECKBUTTON_FIRST + 14)
-#define GADGET_ID_DONT_COLLIDE_WITH (GADGET_ID_CHECKBUTTON_FIRST + 15)
-#define GADGET_ID_CUSTOM_INDESTRUCTIBLE (GADGET_ID_CHECKBUTTON_FIRST + 16)
-#define GADGET_ID_CUSTOM_CAN_EXPLODE (GADGET_ID_CHECKBUTTON_FIRST + 17)
-#define GADGET_ID_CUSTOM_EXPLODE_FIRE (GADGET_ID_CHECKBUTTON_FIRST + 18)
-#define GADGET_ID_CUSTOM_EXPLODE_SMASH (GADGET_ID_CHECKBUTTON_FIRST + 19)
-#define GADGET_ID_CUSTOM_EXPLODE_IMPACT (GADGET_ID_CHECKBUTTON_FIRST + 20)
-#define GADGET_ID_CUSTOM_WALK_TO_OBJECT (GADGET_ID_CHECKBUTTON_FIRST + 21)
-#define GADGET_ID_CUSTOM_DEADLY (GADGET_ID_CHECKBUTTON_FIRST + 22)
-#define GADGET_ID_CUSTOM_CAN_MOVE (GADGET_ID_CHECKBUTTON_FIRST + 23)
-#define GADGET_ID_CUSTOM_CAN_FALL (GADGET_ID_CHECKBUTTON_FIRST + 24)
-#define GADGET_ID_CUSTOM_CAN_SMASH (GADGET_ID_CHECKBUTTON_FIRST + 25)
-#define GADGET_ID_CUSTOM_SLIPPERY (GADGET_ID_CHECKBUTTON_FIRST + 26)
-#define GADGET_ID_CUSTOM_ACCESSIBLE (GADGET_ID_CHECKBUTTON_FIRST + 27)
-#define GADGET_ID_CUSTOM_GRAV_REACHABLE (GADGET_ID_CHECKBUTTON_FIRST + 28)
-#define GADGET_ID_CUSTOM_USE_LAST_VALUE (GADGET_ID_CHECKBUTTON_FIRST + 29)
-#define GADGET_ID_CUSTOM_USE_GRAPHIC (GADGET_ID_CHECKBUTTON_FIRST + 30)
-#define GADGET_ID_CUSTOM_USE_TEMPLATE (GADGET_ID_CHECKBUTTON_FIRST + 31)
-#define GADGET_ID_CUSTOM_CAN_CHANGE (GADGET_ID_CHECKBUTTON_FIRST + 32)
-#define GADGET_ID_CHANGE_USE_CONTENT (GADGET_ID_CHECKBUTTON_FIRST + 33)
-#define GADGET_ID_CHANGE_USE_EXPLOSION (GADGET_ID_CHECKBUTTON_FIRST + 34)
-#define GADGET_ID_CHANGE_ONLY_COMPLETE (GADGET_ID_CHECKBUTTON_FIRST + 35)
-#define GADGET_ID_CHANGE_USE_RANDOM (GADGET_ID_CHECKBUTTON_FIRST + 36)
-#define GADGET_ID_CHANGE_HAS_ACTION (GADGET_ID_CHECKBUTTON_FIRST + 37)
-#define GADGET_ID_CHANGE_DELAY (GADGET_ID_CHECKBUTTON_FIRST + 38)
-#define GADGET_ID_CHANGE_BY_DIRECT_ACT (GADGET_ID_CHECKBUTTON_FIRST + 39)
-#define GADGET_ID_CHANGE_BY_OTHER_ACT (GADGET_ID_CHECKBUTTON_FIRST + 40)
+#define GADGET_ID_USE_TIME_ORB_BUG (GADGET_ID_CHECKBUTTON_FIRST + 7)
+#define GADGET_ID_GROW_INTO_DIGGABLE (GADGET_ID_CHECKBUTTON_FIRST + 8)
+#define GADGET_ID_DOUBLE_SPEED (GADGET_ID_CHECKBUTTON_FIRST + 9)
+#define GADGET_ID_BLOCK_LAST_FIELD (GADGET_ID_CHECKBUTTON_FIRST + 10)
+#define GADGET_ID_SP_BLOCK_LAST_FIELD (GADGET_ID_CHECKBUTTON_FIRST + 11)
+#define GADGET_ID_INSTANT_RELOCATION (GADGET_ID_CHECKBUTTON_FIRST + 12)
+#define GADGET_ID_CAN_PASS_TO_WALKABLE (GADGET_ID_CHECKBUTTON_FIRST + 13)
+#define GADGET_ID_CAN_FALL_INTO_ACID (GADGET_ID_CHECKBUTTON_FIRST + 14)
+#define GADGET_ID_CAN_MOVE_INTO_ACID (GADGET_ID_CHECKBUTTON_FIRST + 15)
+#define GADGET_ID_DONT_COLLIDE_WITH (GADGET_ID_CHECKBUTTON_FIRST + 16)
+#define GADGET_ID_CUSTOM_INDESTRUCTIBLE (GADGET_ID_CHECKBUTTON_FIRST + 17)
+#define GADGET_ID_CUSTOM_CAN_EXPLODE (GADGET_ID_CHECKBUTTON_FIRST + 18)
+#define GADGET_ID_CUSTOM_EXPLODE_FIRE (GADGET_ID_CHECKBUTTON_FIRST + 19)
+#define GADGET_ID_CUSTOM_EXPLODE_SMASH (GADGET_ID_CHECKBUTTON_FIRST + 20)
+#define GADGET_ID_CUSTOM_EXPLODE_IMPACT (GADGET_ID_CHECKBUTTON_FIRST + 21)
+#define GADGET_ID_CUSTOM_WALK_TO_OBJECT (GADGET_ID_CHECKBUTTON_FIRST + 22)
+#define GADGET_ID_CUSTOM_DEADLY (GADGET_ID_CHECKBUTTON_FIRST + 23)
+#define GADGET_ID_CUSTOM_CAN_MOVE (GADGET_ID_CHECKBUTTON_FIRST + 24)
+#define GADGET_ID_CUSTOM_CAN_FALL (GADGET_ID_CHECKBUTTON_FIRST + 25)
+#define GADGET_ID_CUSTOM_CAN_SMASH (GADGET_ID_CHECKBUTTON_FIRST + 26)
+#define GADGET_ID_CUSTOM_SLIPPERY (GADGET_ID_CHECKBUTTON_FIRST + 27)
+#define GADGET_ID_CUSTOM_ACCESSIBLE (GADGET_ID_CHECKBUTTON_FIRST + 28)
+#define GADGET_ID_CUSTOM_GRAV_REACHABLE (GADGET_ID_CHECKBUTTON_FIRST + 29)
+#define GADGET_ID_CUSTOM_USE_LAST_VALUE (GADGET_ID_CHECKBUTTON_FIRST + 30)
+#define GADGET_ID_CUSTOM_USE_GRAPHIC (GADGET_ID_CHECKBUTTON_FIRST + 31)
+#define GADGET_ID_CUSTOM_USE_TEMPLATE (GADGET_ID_CHECKBUTTON_FIRST + 32)
+#define GADGET_ID_CUSTOM_CAN_CHANGE (GADGET_ID_CHECKBUTTON_FIRST + 33)
+#define GADGET_ID_CHANGE_USE_CONTENT (GADGET_ID_CHECKBUTTON_FIRST + 34)
+#define GADGET_ID_CHANGE_USE_EXPLOSION (GADGET_ID_CHECKBUTTON_FIRST + 35)
+#define GADGET_ID_CHANGE_ONLY_COMPLETE (GADGET_ID_CHECKBUTTON_FIRST + 36)
+#define GADGET_ID_CHANGE_USE_RANDOM (GADGET_ID_CHECKBUTTON_FIRST + 37)
+#define GADGET_ID_CHANGE_HAS_ACTION (GADGET_ID_CHECKBUTTON_FIRST + 38)
+#define GADGET_ID_CHANGE_DELAY (GADGET_ID_CHECKBUTTON_FIRST + 39)
+#define GADGET_ID_CHANGE_BY_DIRECT_ACT (GADGET_ID_CHECKBUTTON_FIRST + 40)
+#define GADGET_ID_CHANGE_BY_OTHER_ACT (GADGET_ID_CHECKBUTTON_FIRST + 41)
/* gadgets for buttons in element list */
-#define GADGET_ID_ELEMENTLIST_FIRST (GADGET_ID_CHECKBUTTON_FIRST + 41)
+#define GADGET_ID_ELEMENTLIST_FIRST (GADGET_ID_CHECKBUTTON_FIRST + 42)
#define GADGET_ID_ELEMENTLIST_LAST (GADGET_ID_ELEMENTLIST_FIRST + \
ED_NUM_ELEMENTLIST_BUTTONS - 1)
#define ED_CHECKBUTTON_ID_STICK_ELEMENT 2
#define ED_CHECKBUTTON_ID_EM_SLIPPERY_GEMS 3
#define ED_CHECKBUTTON_ID_USE_SPRING_BUG 4
-#define ED_CHECKBUTTON_ID_GROW_INTO_DIGGABLE 5
-#define ED_CHECKBUTTON_ID_DOUBLE_SPEED 6
-#define ED_CHECKBUTTON_ID_BLOCK_LAST_FIELD 7
-#define ED_CHECKBUTTON_ID_SP_BLOCK_LAST_FIELD 8
-#define ED_CHECKBUTTON_ID_INSTANT_RELOCATION 9
-#define ED_CHECKBUTTON_ID_CAN_PASS_TO_WALKABLE 10
-#define ED_CHECKBUTTON_ID_CAN_FALL_INTO_ACID 11
-#define ED_CHECKBUTTON_ID_CAN_MOVE_INTO_ACID 12
-#define ED_CHECKBUTTON_ID_DONT_COLLIDE_WITH 13
-#define ED_CHECKBUTTON_ID_CUSTOM_USE_GRAPHIC 14
-#define ED_CHECKBUTTON_ID_CUSTOM_USE_TEMPLATE 15
-#define ED_CHECKBUTTON_ID_CUSTOM_ACCESSIBLE 16
-#define ED_CHECKBUTTON_ID_CUSTOM_GRAV_REACHABLE 17
-#define ED_CHECKBUTTON_ID_CUSTOM_USE_LAST_VALUE 18
-#define ED_CHECKBUTTON_ID_CUSTOM_WALK_TO_OBJECT 19
-#define ED_CHECKBUTTON_ID_CUSTOM_INDESTRUCTIBLE 20
-#define ED_CHECKBUTTON_ID_CUSTOM_CAN_MOVE 21
-#define ED_CHECKBUTTON_ID_CUSTOM_CAN_FALL 22
-#define ED_CHECKBUTTON_ID_CUSTOM_CAN_SMASH 23
-#define ED_CHECKBUTTON_ID_CUSTOM_SLIPPERY 24
-#define ED_CHECKBUTTON_ID_CUSTOM_DEADLY 25
-#define ED_CHECKBUTTON_ID_CUSTOM_CAN_EXPLODE 26
-#define ED_CHECKBUTTON_ID_CUSTOM_EXPLODE_FIRE 27
-#define ED_CHECKBUTTON_ID_CUSTOM_EXPLODE_SMASH 28
-#define ED_CHECKBUTTON_ID_CUSTOM_EXPLODE_IMPACT 29
-#define ED_CHECKBUTTON_ID_CUSTOM_CAN_CHANGE 30
-#define ED_CHECKBUTTON_ID_CHANGE_DELAY 31
-#define ED_CHECKBUTTON_ID_CHANGE_BY_DIRECT_ACT 32
-#define ED_CHECKBUTTON_ID_CHANGE_BY_OTHER_ACT 33
-#define ED_CHECKBUTTON_ID_CHANGE_USE_EXPLOSION 34
-#define ED_CHECKBUTTON_ID_CHANGE_USE_CONTENT 35
-#define ED_CHECKBUTTON_ID_CHANGE_ONLY_COMPLETE 36
-#define ED_CHECKBUTTON_ID_CHANGE_USE_RANDOM 37
-#define ED_CHECKBUTTON_ID_CHANGE_HAS_ACTION 38
-
-#define ED_NUM_CHECKBUTTONS 39
+#define ED_CHECKBUTTON_ID_USE_TIME_ORB_BUG 5
+#define ED_CHECKBUTTON_ID_GROW_INTO_DIGGABLE 6
+#define ED_CHECKBUTTON_ID_DOUBLE_SPEED 7
+#define ED_CHECKBUTTON_ID_BLOCK_LAST_FIELD 8
+#define ED_CHECKBUTTON_ID_SP_BLOCK_LAST_FIELD 9
+#define ED_CHECKBUTTON_ID_INSTANT_RELOCATION 10
+#define ED_CHECKBUTTON_ID_CAN_PASS_TO_WALKABLE 11
+#define ED_CHECKBUTTON_ID_CAN_FALL_INTO_ACID 12
+#define ED_CHECKBUTTON_ID_CAN_MOVE_INTO_ACID 13
+#define ED_CHECKBUTTON_ID_DONT_COLLIDE_WITH 14
+#define ED_CHECKBUTTON_ID_CUSTOM_USE_GRAPHIC 15
+#define ED_CHECKBUTTON_ID_CUSTOM_USE_TEMPLATE 16
+#define ED_CHECKBUTTON_ID_CUSTOM_ACCESSIBLE 17
+#define ED_CHECKBUTTON_ID_CUSTOM_GRAV_REACHABLE 18
+#define ED_CHECKBUTTON_ID_CUSTOM_USE_LAST_VALUE 19
+#define ED_CHECKBUTTON_ID_CUSTOM_WALK_TO_OBJECT 20
+#define ED_CHECKBUTTON_ID_CUSTOM_INDESTRUCTIBLE 21
+#define ED_CHECKBUTTON_ID_CUSTOM_CAN_MOVE 22
+#define ED_CHECKBUTTON_ID_CUSTOM_CAN_FALL 23
+#define ED_CHECKBUTTON_ID_CUSTOM_CAN_SMASH 24
+#define ED_CHECKBUTTON_ID_CUSTOM_SLIPPERY 25
+#define ED_CHECKBUTTON_ID_CUSTOM_DEADLY 26
+#define ED_CHECKBUTTON_ID_CUSTOM_CAN_EXPLODE 27
+#define ED_CHECKBUTTON_ID_CUSTOM_EXPLODE_FIRE 28
+#define ED_CHECKBUTTON_ID_CUSTOM_EXPLODE_SMASH 29
+#define ED_CHECKBUTTON_ID_CUSTOM_EXPLODE_IMPACT 30
+#define ED_CHECKBUTTON_ID_CUSTOM_CAN_CHANGE 31
+#define ED_CHECKBUTTON_ID_CHANGE_DELAY 32
+#define ED_CHECKBUTTON_ID_CHANGE_BY_DIRECT_ACT 33
+#define ED_CHECKBUTTON_ID_CHANGE_BY_OTHER_ACT 34
+#define ED_CHECKBUTTON_ID_CHANGE_USE_EXPLOSION 35
+#define ED_CHECKBUTTON_ID_CHANGE_USE_CONTENT 36
+#define ED_CHECKBUTTON_ID_CHANGE_ONLY_COMPLETE 37
+#define ED_CHECKBUTTON_ID_CHANGE_USE_RANDOM 38
+#define ED_CHECKBUTTON_ID_CHANGE_HAS_ACTION 39
+
+#define ED_NUM_CHECKBUTTONS 40
#define ED_CHECKBUTTON_ID_LEVEL_FIRST ED_CHECKBUTTON_ID_INITIAL_GRAVITY
#define ED_CHECKBUTTON_ID_LEVEL_LAST ED_CHECKBUTTON_ID_RANDOM_RESTRICTED
NULL,
"use spring pushing bug", "use odd spring pushing behaviour"
},
+ {
+ ED_ELEMENT_SETTINGS_XPOS(0), ED_ELEMENT_SETTINGS_YPOS(1),
+ GADGET_ID_USE_TIME_ORB_BUG, GADGET_ID_NONE,
+ &level.use_time_orb_bug,
+ NULL,
+ "use time orb bug", "use odd time orb behaviour"
+ },
{
ED_ELEMENT_SETTINGS_XPOS(0), ED_ELEMENT_SETTINGS_YPOS(0),
GADGET_ID_GROW_INTO_DIGGABLE, GADGET_ID_NONE,
if (properties_element == EL_SPRING)
MapCheckbuttonGadget(ED_CHECKBUTTON_ID_USE_SPRING_BUG);
+ if (properties_element == EL_TIME_ORB_FULL)
+ MapCheckbuttonGadget(ED_CHECKBUTTON_ID_USE_TIME_ORB_BUG);
+
#if 0
if (properties_element == EL_BALLOON)
MapSelectboxGadget(ED_SELECTBOX_ID_WIND_DIRECTION);