// functions
// ----------------------------------------------------------------------------
+boolean isLevelEditorTestGame(void)
+{
+ return level_editor_test_game;
+}
+
static int getMaxInfoTextLength(void)
{
return (SXSIZE / getFontWidth(INFOTEXT_FONT));
#include "main.h"
+boolean isLevelEditorTestGame(void);
+
void CreateLevelEditorGadgets(void);
void FreeLevelEditorGadgets(void);
void UnmapLevelEditorGadgets(void);
// 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())
+ game_bd.game->state_counter = GAME_INT_UNCOVER_ALL - 8;
- if (setup.bd_skip_uncovering)
+ if (setup.bd_skip_uncovering || isLevelEditorTestGame())
gd_scroll(game_bd.game, TRUE, TRUE);
ClearRectangle(gd_screen_bitmap, 0, 0, SXSIZE, SYSIZE);