added options for player selection button positions in setup menu
[rocksndiamonds.git] / src / main.h
index 3350513fe7a6e5e9579c3553f56d461c4ce14385..88577ac27add45a3315bb7ee3e06e5d825640b5b 100644 (file)
@@ -2389,6 +2389,7 @@ enum
   GFX_ARG_FADE_DELAY,
   GFX_ARG_POST_DELAY,
   GFX_ARG_AUTO_DELAY,
+  GFX_ARG_AUTO_DELAY_UNIT,
   GFX_ARG_ALIGN,
   GFX_ARG_VALIGN,
   GFX_ARG_SORT_PRIORITY,
@@ -2547,7 +2548,7 @@ enum
 // program information and versioning definitions
 #define PROGRAM_VERSION_SUPER          4
 #define PROGRAM_VERSION_MAJOR          1
-#define PROGRAM_VERSION_MINOR          2
+#define PROGRAM_VERSION_MINOR          3
 #define PROGRAM_VERSION_PATCH          1
 #define PROGRAM_VERSION_EXTRA          ""
 
@@ -2718,12 +2719,24 @@ struct MenuMainInfo
   struct TextPosInfo network_players;
 };
 
+struct MenuSetupButtonInfo
+{
+  struct MenuPosInfo prev_player;
+  struct MenuPosInfo next_player;
+};
+
+struct MenuSetupInfo
+{
+  struct MenuSetupButtonInfo button;
+};
+
 struct TitleFadingInfo
 {
   int fade_mode;
   int fade_delay;
   int post_delay;
   int auto_delay;
+  int auto_delay_unit;
 };
 
 struct TitleMessageInfo
@@ -2742,6 +2755,7 @@ struct TitleMessageInfo
   int fade_delay;
   int post_delay;
   int auto_delay;
+  int auto_delay_unit;
 };
 
 struct InitInfo
@@ -2804,6 +2818,7 @@ struct MenuInfo
   int music[NUM_SPECIAL_GFX_ARGS];
 
   struct MenuMainInfo main;
+  struct MenuSetupInfo setup;
 };
 
 struct DoorInfo
@@ -3496,6 +3511,7 @@ struct GraphicInfo
   int fade_delay;              // optional setting for drawing title screens
   int post_delay;              // optional setting for drawing title screens
   int auto_delay;              // optional setting for drawing title screens
+  int auto_delay_unit;         // optional setting for drawing title screens
   int align, valign;           // optional setting for drawing title screens
   int sort_priority;           // optional setting for drawing title screens