{ "tape.label.gfx.date.x", "305" },
{ "tape.label.gfx.date.y", "285" },
{ "tape.label.gfx.date.width", "90" },
- { "tape.label.gfx.date.height", "13" },
- { "tape.label.gfx.time", UNDEFINED_FILENAME },
+ { "tape.label.gfx.date.height", "31" },
+ { "tape.label.gfx.time", "RocksDoor.png" },
+ { "tape.label.gfx.time.x", "345" },
+ { "tape.label.gfx.time.y", "335" },
+ { "tape.label.gfx.time.width", "45" },
+ { "tape.label.gfx.time.height", "13" },
{ "request.button.gfx.yes", "RocksDoor.png" },
{ "request.button.gfx.yes.x", "302" },
{ "tape.label.date.x", "5" },
{ "tape.label.date.y", "5" },
- { "tape.label.time.x", "-1" },
- { "tape.label.time.y", "-1" },
+ { "tape.label.time.x", "45" },
+ { "tape.label.time.y", "55" },
{ "tape.text.date.x", "7" },
{ "tape.text.date.y", "19" },
int maxWordLengthInString(char *text)
{
char *text_ptr;
- int max_word_len = 0;
+ int word_len = 0, max_word_len = 0;
for (text_ptr = text; *text_ptr; text_ptr++)
- max_word_len = (*text_ptr != ' ' ? max_word_len + 1 : 0);
+ {
+ word_len = (*text_ptr != ' ' ? word_len + 1 : 0);
+
+ max_word_len = MAX(word_len, max_word_len);
+ }
return max_word_len;
}
/* (important: after "BackToFront()", but before "SetDrawtoField()") */
game_status = last_game_status; /* restore current game status */
+#if 1
+ if (action == ACTION_CLOSING &&
+ game_status == GAME_MODE_PLAYING &&
+ level.game_engine_type == GAME_ENGINE_TYPE_RND)
+ SetDrawtoField(DRAW_BUFFERED);
+#else
if (game_status == GAME_MODE_PLAYING &&
level.game_engine_type == GAME_ENGINE_TYPE_RND)
SetDrawtoField(DRAW_BUFFERED);
+#endif
+
#else
BackToFront();
#endif