# --- some prefix replacements ---
$var =~ s/^main\./menu.main./;
+ $var =~ s/^setup\./menu.setup./;
$var =~ s/^\[player\]\./game.player_/;
$var =~ s/^\[title_initial\]/title_initial_default/;
$var =~ s/^\[title\]/title_default/;
{ "main.preview_players.xoffset", "-1" },
{ "main.preview_players.yoffset", "-1" },
+ { "setup.button.prev_player.x", "320" },
+ { "setup.button.prev_player.y", "64" },
+ { "setup.button.next_player.x", "384" },
+ { "setup.button.next_player.y", "64" },
+
{ "preview.x", "272" },
{ "preview.y", "380" },
{ "preview.align", "center" },
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 music[NUM_SPECIAL_GFX_ARGS];
struct MenuMainInfo main;
+ struct MenuSetupInfo setup;
};
struct DoorInfo
break;
case SCREEN_CTRL_ID_PREV_PLAYER:
- *x = mSX + TILEX * 10;
- *y = mSY + TILEY * MENU_SCREEN_START_YPOS;
+ *x = mSX + GDI_ACTIVE_POS(menu.setup.button.prev_player.x);
+ *y = mSY + GDI_ACTIVE_POS(menu.setup.button.prev_player.y);
break;
case SCREEN_CTRL_ID_NEXT_PLAYER:
- *x = mSX + TILEX * 12;
- *y = mSY + TILEY * MENU_SCREEN_START_YPOS;
+ *x = mSX + GDI_ACTIVE_POS(menu.setup.button.next_player.x);
+ *y = mSY + GDI_ACTIVE_POS(menu.setup.button.next_player.y);
break;
case SCREEN_CTRL_ID_INSERT_SOLUTION: