diff options
| author | Alfred Eriksson <somerunce@gmail.com> | 2009-01-11 10:40:14 +0000 |
|---|---|---|
| committer | Alfred Eriksson <somerunce@gmail.com> | 2009-01-11 10:40:14 +0000 |
| commit | 39a12060d68b1a5169d643a8c6f56df3d82ac4c1 (patch) | |
| tree | bb104b9b446a00687e533924b5765ff3918780cc /src/game/client/components/hud.cpp | |
| parent | 371e8623161095b8f74d51d37f3de368b5cd584c (diff) | |
| download | zcatch-39a12060d68b1a5169d643a8c6f56df3d82ac4c1.tar.gz zcatch-39a12060d68b1a5169d643a8c6f56df3d82ac4c1.zip | |
removed the tuning filtering and warning. modded servers can use tuning for free. added pure server checking - ctf, dm and tdm gametypes are not allowed to have different tuning.
Diffstat (limited to 'src/game/client/components/hud.cpp')
| -rw-r--r-- | src/game/client/components/hud.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/game/client/components/hud.cpp b/src/game/client/components/hud.cpp index 697e75bd..65b1728e 100644 --- a/src/game/client/components/hud.cpp +++ b/src/game/client/components/hud.cpp @@ -167,24 +167,6 @@ void HUD::render_connectionwarning() } } -void HUD::render_tunewarning() -{ - TUNING_PARAMS standard_tuning; - - // render warning about non standard tuning - bool flash = time_get()/(time_freq()/2)%2 == 0; - if(config.cl_warning_tuning && memcmp(&standard_tuning, &gameclient.tuning, sizeof(TUNING_PARAMS)) != 0) - { - const char *text = "Warning! Server is running non-standard tuning."; - if(flash) - gfx_text_color(1,0.4f,0.4f,1.0f); - else - gfx_text_color(0.75f,0.2f,0.2f,1.0f); - gfx_text(0x0, 5, 40, 6, text, -1); - gfx_text_color(1,1,1,1); - } -} - void HUD::render_teambalancewarning() { // render prompt about team-balance @@ -307,7 +289,6 @@ void HUD::on_render() render_fps(); if(client_state() != CLIENTSTATE_DEMOPLAYBACK) render_connectionwarning(); - render_tunewarning(); render_teambalancewarning(); render_voting(); render_cursor(); |