From 4af6f4c23dd59941d9ddbf6db692fd676e8c1efb Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 9 Sep 2024 23:31:06 +0200 Subject: [PATCH] removed setup options and variables not used anymore These setup options and variables have been obsoleted by commit a3ac3523. --- src/files.c | 10 ---------- src/libgame/system.h | 2 -- src/screens.c | 5 ----- 3 files changed, 17 deletions(-) diff --git a/src/files.c b/src/files.c index b9957edf..102753dd 100644 --- a/src/files.c +++ b/src/files.c @@ -10782,14 +10782,6 @@ static struct TokenInfo global_setup_tokens[] = TYPE_SWITCH, &setup.team_mode, "team_mode" }, - { - TYPE_SWITCH, - &setup.handicap, "handicap" - }, - { - TYPE_SWITCH, - &setup.skip_levels, "skip_levels" - }, { TYPE_SWITCH_3_STATES, &setup.allow_skipping_levels, "allow_skipping_levels" @@ -11758,8 +11750,6 @@ static void setSetupInfoToDefaults(struct SetupInfo *si) si->show_titlescreen = TRUE; si->quick_doors = FALSE; si->team_mode = FALSE; - si->handicap = TRUE; - si->skip_levels = TRUE; si->allow_skipping_levels = STATE_ASK; si->increment_levels = TRUE; si->auto_play_next_level = TRUE; diff --git a/src/libgame/system.h b/src/libgame/system.h index d4266201..aa445738 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -1500,8 +1500,6 @@ struct SetupInfo boolean show_titlescreen; boolean quick_doors; boolean team_mode; - boolean handicap; - boolean skip_levels; boolean allow_skipping_levels; boolean increment_levels; boolean auto_play_next_level; diff --git a/src/screens.c b/src/screens.c index bd5e166e..d6a58fba 100644 --- a/src/screens.c +++ b/src/screens.c @@ -7946,12 +7946,7 @@ static struct TokenInfo setup_info_game[] = { TYPE_SWITCH, &setup.multiple_users, "Multiple Users/Teams:" }, { TYPE_YES_NO, &setup.input_on_focus, "Only Move Focussed Player:" }, { TYPE_SWITCH, &setup.time_limit, "Time Limit:" }, -#if 1 { TYPE_YES_NO_ASK, &setup.allow_skipping_levels, "Allow Skipping Levels:" }, -#else - { TYPE_SWITCH, &setup.handicap, "Force Solving Levels:" }, - { TYPE_SWITCH, &setup.skip_levels, "Allow Skipping Levels:" }, -#endif { TYPE_SWITCH, &setup.increment_levels, "Increment Solved Levels:" }, { TYPE_SWITCH, &setup.auto_play_next_level, "Auto-play Next Level:" }, { TYPE_SWITCH, &setup.count_score_after_game, "Count Score After Game:" }, -- 2.34.1