diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-08-19 11:10:03 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-08-19 11:10:03 +0000 |
| commit | 288a6c265ebcf61df788d3fc41ce1f9d57615eeb (patch) | |
| tree | 6b09d05f5310c030e4ea47bdf603246202e06d86 /src/client | |
| parent | 3cfa5354f2a6b164f0e46ebde60af3b0d697fbcd (diff) | |
- pisma sa uz zobrazuju :)
git-svn-id: http://opensvn.csie.org/tuxanci_ng@224 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/client')
| -rwxr-xr-x | src/client/font.c | 2 | ||||
| -rw-r--r-- | src/client/game.c | 2 |
2 files changed, 3 insertions, 1 deletions
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 |