diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-07-14 13:37:26 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-07-14 13:37:26 +0000 |
| commit | c74efbbdb2e72e2d3ec01d7e606dc1f2a4f36451 (patch) | |
| tree | 64dcd8676f1dd9b7701f579de6afcb95e618b8b0 /src/game/client/game_client.cpp | |
| parent | 7d8aec0d5bc572fedabeb37e2af12f9ba5155585 (diff) | |
| download | zcatch-c74efbbdb2e72e2d3ec01d7e606dc1f2a4f36451.tar.gz zcatch-c74efbbdb2e72e2d3ec01d7e606dc1f2a4f36451.zip | |
fixed some stuff in the font. looks abit better now
Diffstat (limited to 'src/game/client/game_client.cpp')
| -rw-r--r-- | src/game/client/game_client.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/client/game_client.cpp b/src/game/client/game_client.cpp index 361d938b..031c0ac7 100644 --- a/src/game/client/game_client.cpp +++ b/src/game/client/game_client.cpp @@ -1100,11 +1100,11 @@ void modc_render() if(chat_active) { - gfx_texture_set(-1); // TODO: remove when the font looks better + /*gfx_texture_set(-1); // TODO: remove when the font looks better gfx_quads_begin(); gfx_quads_setcolor(0,0,0,0.4f); gfx_quads_drawTL(x-2, y+1, 300, 8); - gfx_quads_end(); + gfx_quads_end();*/ // render chat input char buf[sizeof(chat_input)+16]; @@ -1122,11 +1122,13 @@ void modc_render() if(client_tick() > chat_lines[r].tick+50*15) break; + /* gfx_texture_set(-1); // TODO: remove when the font looks better gfx_quads_begin(); gfx_quads_setcolor(0,0,0,0.4f); gfx_quads_drawTL(x-2, y+1, gfx_pretty_text_width(10, chat_lines[r].text)+3, 8); gfx_quads_end(); + */ gfx_pretty_text(x, y, 10, chat_lines[r].text); y -= 8; |