TYPE_SWITCH,
&setup.show_titlescreen, "show_titlescreen"
},
+ {
+ TYPE_SWITCH_3_STATES,
+ &setup.show_level_story, "show_level_story"
+ },
{
TYPE_SWITCH,
&setup.quick_doors, "quick_doors"
si->autorecord_after_replay = TRUE;
si->auto_pause_on_start = FALSE;
si->show_titlescreen = TRUE;
+ si->show_level_story = STATE_ONCE;
si->quick_doors = FALSE;
si->team_mode = FALSE;
si->handicap = TRUE;
{
LevelStats_setPlayed(i, 0);
LevelStats_setSolved(i, 0);
+
+ levelset.level_story_shown[i] = FALSE;
}
checkSeriesInfo();
boolean autorecord_after_replay;
boolean auto_pause_on_start;
boolean show_titlescreen;
+ boolean show_level_story;
boolean quick_doors;
boolean team_mode;
boolean handicap;
{
int music[MAX_LEVELS];
+ boolean level_story_shown[MAX_LEVELS];
+
char *identifier;
int level_nr;
};
if (!hasLevelInfo())
return FALSE;
+ if (setup.show_level_story == STATE_FALSE ||
+ (setup.show_level_story == STATE_ONCE && levelset.level_story_shown[level_nr]))
+ return FALSE;
+
+ levelset.level_story_shown[level_nr] = TRUE;
+
DrawInfoScreen_FromInitGame(INFO_MODE_LEVEL);
return TRUE;
{ TYPE_SWITCH, &setup.quick_switch, "Quick Player Focus Switch:" },
{ TYPE_SWITCH, &setup.quick_doors, "Quick Menu Doors:" },
{ TYPE_SWITCH, &setup.show_titlescreen, "Show Title Screens:" },
+ { TYPE_YES_NO_ONCE, &setup.show_level_story, "Show Level Stories:" },
{ TYPE_SWITCH, &setup.toons, "Show Toons:" },
{ TYPE_SWITCH, &setup.small_game_graphics, "Small Game Graphics:" },
{ TYPE_YES_NO_AUTO, &setup.debug.xsn_mode, debug_xsn_mode },