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 | |
| 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')
| -rw-r--r-- | src/game/client/game_client.cpp | 6 | ||||
| -rw-r--r-- | src/game/client/menu.cpp | 2 |
2 files changed, 5 insertions, 3 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; diff --git a/src/game/client/menu.cpp b/src/game/client/menu.cpp index acb4ebfb..276ff426 100644 --- a/src/game/client/menu.cpp +++ b/src/game/client/menu.cpp @@ -1137,7 +1137,7 @@ void modmenu_init() input::enable_char_cache(); input::enable_key_cache(); - current_font->font_texture = gfx_load_texture("data/big_font.png"); + current_font->font_texture = gfx_load_texture("data/big_font2.png"); background_texture = gfx_load_texture("data/gui_bg.png"); gui_tileset_texture = gfx_load_texture("data/gui/gui_widgets.png"); |