projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added support for background image for loading screen
[rocksndiamonds.git]
/
src
/
libgame
/
text.c
diff --git
a/src/libgame/text.c
b/src/libgame/text.c
index 0c586f10d6ae251e4d600e644bb8a1c33b4303fa..36096240203880ba31d6744f0c9bab2d9cc05eb0 100644
(file)
--- a/
src/libgame/text.c
+++ b/
src/libgame/text.c
@@
-152,8
+152,8
@@
static void DrawInitTextExt(char *text, int ypos, int font_nr, boolean update)
int width = video.width;
int height = getFontHeight(font_nr);
int width = video.width;
int height = getFontHeight(font_nr);
- ClearRectangle(drawto, 0, y, width, height);
- DrawTextExt(drawto, x, y, text, font_nr, BLIT_
OPAQUE
);
+ ClearRectangle
OnBackground
(drawto, 0, y, width, height);
+ DrawTextExt(drawto, x, y, text, font_nr, BLIT_
MASKED
);
if (update)
BlitBitmap(drawto, window, 0, 0, video.width, video.height, 0, 0);
if (update)
BlitBitmap(drawto, window, 0, 0, video.width, video.height, 0, 0);