projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20070312-4-src
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index bf4e262bfc9d4fa8aad1ac12dea5d04175e06260..61ae3e717e954c798de6eb3ca884419b5f378589 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-1838,10
+1838,6
@@
static void DrawPreviewLevelLabelExt(int mode)
font_nr = FONT_TEXT_3;
#endif
font_nr = FONT_TEXT_3;
#endif
-#if 0
- printf("??? %d, %d\n", game_status, font_nr);
-#endif
-
#if 1
max_len_label_text = getMaxTextLength(pos, font_nr);
#else
#if 1
max_len_label_text = getMaxTextLength(pos, font_nr);
#else
@@
-1908,12
+1904,8
@@
void DrawPreviewLevel(boolean restart)
int last_game_status = game_status; /* save current game status */
#if 0
int last_game_status = game_status; /* save current game status */
#if 0
-#if 1
- game_status = GAME_MODE_MAIN;
-#else
/* force PREVIEW font on preview level */
game_status = GAME_MODE_PSEUDO_PREVIEW;
/* force PREVIEW font on preview level */
game_status = GAME_MODE_PSEUDO_PREVIEW;
-#endif
#endif
if (restart)
#endif
if (restart)
@@
-2634,7
+2626,7
@@
boolean Request(char *text, unsigned int req_state)
/* clear door drawing field */
DrawBackground(DX, DY, DXSIZE, DYSIZE);
/* clear door drawing field */
DrawBackground(DX, DY, DXSIZE, DYSIZE);
- /* force DOOR font
on preview level
*/
+ /* force DOOR font
inside door area
*/
game_status = GAME_MODE_PSEUDO_DOOR;
/* write text for request */
game_status = GAME_MODE_PSEUDO_DOOR;
/* write text for request */