From 39a12060d68b1a5169d643a8c6f56df3d82ac4c1 Mon Sep 17 00:00:00 2001 From: Alfred Eriksson Date: Sun, 11 Jan 2009 10:40:14 +0000 Subject: 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. --- src/game/client/components/hud.cpp | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/game/client/components/hud.cpp') 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(); -- cgit 1.4.1