// functions
// ----------------------------------------------------------------------------
-boolean isLevelEditorTestGame(void)
+boolean isLevelEditorFastStart(void)
{
- return level_editor_test_game;
+ return (level_editor_test_game && setup.editor.fast_game_start);
}
static int getMaxInfoTextLength(void)
#include "main.h"
-boolean isLevelEditorTestGame(void);
+boolean isLevelEditorFastStart(void);
void CreateLevelEditorGadgets(void);
void FreeLevelEditorGadgets(void);
TYPE_SWITCH,
&setup.editor.show_element_token, "editor.show_element_token"
},
+ {
+ TYPE_SWITCH,
+ &setup.editor.fast_game_start, "editor.fast_game_start"
+ },
{
TYPE_SWITCH,
&setup.editor.show_read_only_warning, "editor.show_read_only_warning"
si->editor.el_headlines = TRUE;
si->editor.show_element_token = FALSE;
+ si->editor.fast_game_start = FALSE;
si->editor.show_read_only_warning = TRUE;
byte *TapeCorrectAction_BD(byte *);
boolean TapeIsPlaying_ReplayBD(void);
-boolean isLevelEditorTestGame(void);
+boolean isLevelEditorFastStart(void);
#endif // IMPORT_BD_H
// when skipping uncovering, continue with uncovered playfield
if (setup.bd_skip_uncovering)
game_bd.game->state_counter = GAME_INT_UNCOVER_ALL + 1;
- else if (isLevelEditorTestGame())
+ else if (isLevelEditorFastStart())
game_bd.game->state_counter = GAME_INT_UNCOVER_ALL - 8;
- if (setup.bd_skip_uncovering || isLevelEditorTestGame())
+ if (setup.bd_skip_uncovering || isLevelEditorFastStart())
gd_scroll(game_bd.game, TRUE, TRUE);
ClearRectangle(gd_screen_bitmap, 0, 0, SXSIZE, SYSIZE);
boolean el_by_type;
boolean show_element_token;
+ boolean fast_game_start;
boolean show_read_only_warning;
{ TYPE_EMPTY, NULL, "" },
#endif
{ TYPE_SWITCH, &setup.editor.show_element_token, "Show element token:" },
+ { TYPE_SWITCH, &setup.editor.fast_game_start, "Fast game start:" },
{ TYPE_EMPTY, NULL, "" },
{ TYPE_SWITCH, &setup.editor.show_read_only_warning, "Show read-only warning:" },
{ TYPE_EMPTY, NULL, "" },