char *text;
} scaling_types_list[] =
{
- { SCALING_QUALITY_NEAREST, "None" },
+ { SCALING_QUALITY_NEAREST, "Off" },
{ SCALING_QUALITY_LINEAR, "Linear" },
{ SCALING_QUALITY_BEST, "Anisotropic" },
char *text;
} touch_controls_list[] =
{
+ { TOUCH_CONTROL_OFF, "Off" },
{ TOUCH_CONTROL_VIRTUAL_BUTTONS, "Virtual Buttons" },
{ TOUCH_CONTROL_WIPE_GESTURES, "Wipe Gestures" },
{ TOUCH_CONTROL_FOLLOW_FINGER, "Follow Finger" },
static void InitializeMainControls()
{
- TreeInfo *graphics_current =
- getArtworkTreeInfoForUserLevelSet(ARTWORK_TYPE_GRAPHICS);
boolean local_team_mode = (!options.network && setup.team_mode);
int i;
main_text_level_imported_by = leveldir_current->imported_by;
main_text_level_tested_by = leveldir_current->tested_by;
- main_text_title_1 = (leveldir_current->program_title ?
- leveldir_current->program_title :
- graphics_current->program_title ?
- graphics_current->program_title :
- setup.internal.program_title);
- main_text_title_2 = (leveldir_current->program_copyright ?
- leveldir_current->program_copyright :
- graphics_current->program_copyright ?
- graphics_current->program_copyright :
- setup.internal.program_copyright);
- main_text_title_3 = (leveldir_current->program_company ?
- leveldir_current->program_company :
- graphics_current->program_company ?
- graphics_current->program_company :
- setup.internal.program_company);
+ main_text_title_1 = getConfigProgramTitleString();
+ main_text_title_2 = getConfigProgramCopyrightString();
+ main_text_title_3 = getConfigProgramCompanyString();
/* set main control screen positions to dynamically determined values */
for (i = 0; main_controls[i].nr != -1; i++)
void DrawHeadline()
{
- DrawTextSCentered(MENU_TITLE1_YPOS, FONT_TITLE_1, getProgramTitleString());
- DrawTextSCentered(MENU_TITLE2_YPOS, FONT_TITLE_2,
- setup.internal.program_copyright);
+ DrawTextSCentered(MENU_TITLE1_YPOS, FONT_TITLE_1, main_text_title_1);
+ DrawTextSCentered(MENU_TITLE2_YPOS, FONT_TITLE_2, main_text_title_2);
}
void DrawTitleScreenImage(int nr, boolean initial)
void HandleGameActions()
{
+ if (game.restart_game_message != NULL)
+ RequestRestartGame(game.restart_game_message);
+
if (game_status != GAME_MODE_PLAYING)
return;