projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed interface for functions to auto-play tapes to return played tapes
[rocksndiamonds.git]
/
src
/
libgame
/
text.c
diff --git
a/src/libgame/text.c
b/src/libgame/text.c
index 3fb6ab0613ad00e76e21736cfea595c7944e60e0..117c9b1cda08765556a2549163ab6326a8559221 100644
(file)
--- a/
src/libgame/text.c
+++ b/
src/libgame/text.c
@@
-138,10
+138,6
@@
int maxWordLengthInRequestString(char *text)
void DrawInitText(char *text, int ypos, int font_nr)
{
void DrawInitText(char *text, int ypos, int font_nr)
{
- LimitScreenUpdates(TRUE);
-
- UPDATE_BUSY_STATE();
-
if (window != NULL &&
gfx.draw_init_text &&
gfx.num_fonts > 0 &&
if (window != NULL &&
gfx.draw_init_text &&
gfx.num_fonts > 0 &&
@@
-161,11
+157,21
@@
void DrawInitText(char *text, int ypos, int font_nr)
void DrawInitTextHead(char *text)
{
void DrawInitTextHead(char *text)
{
+ // always draw headlines when loading initial stuff
+ LimitScreenUpdates(FALSE);
+
+ UPDATE_BUSY_STATE();
+
DrawInitText(text, 120, FC_GREEN);
}
void DrawInitTextItem(char *text)
{
DrawInitText(text, 120, FC_GREEN);
}
void DrawInitTextItem(char *text)
{
+ // limit drawing (potentially many) loading items
+ LimitScreenUpdates(TRUE);
+
+ UPDATE_BUSY_STATE();
+
DrawInitText(text, 150, FC_YELLOW);
}
DrawInitText(text, 150, FC_YELLOW);
}