From 288a6c265ebcf61df788d3fc41ce1f9d57615eeb Mon Sep 17 00:00:00 2001 From: oroborus Date: Tue, 19 Aug 2008 11:10:03 +0000 Subject: - pisma sa uz zobrazuju :) git-svn-id: http://opensvn.csie.org/tuxanci_ng@224 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/client/font.c | 2 ++ src/client/game.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/client/font.c b/src/client/font.c index 7e95286..07b98f4 100755 --- a/src/client/font.c +++ b/src/client/font.c @@ -56,6 +56,8 @@ void drawFont(char *s, int x, int y, int r, int g, int b) SDL_Surface *p; SDL_Color farba_pisma = {r, g, b, 0}; + //printf("drawFont %s\n", s); + assert( s != NULL ); p = getSDL_Screen(); diff --git a/src/client/game.c b/src/client/game.c index 66e179c..b82dd4a 100644 --- a/src/client/game.c +++ b/src/client/game.c @@ -46,7 +46,7 @@ static void initGame() createHomeDirector(); initSDL(); - + initFont("DejaVuSans.ttf", 16); initLayer(); initImageData(); #ifndef NO_SOUND -- cgit v1.2.3