From 66270e067d16bcaec977feeb573821d807b6bc7e Mon Sep 17 00:00:00 2001 From: flowtron Date: Fri, 30 Jul 2010 22:00:31 +0000 Subject: [PATCH] updating documentation for radar stuff git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5496 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- config/docs.cfg | 8 ++++---- docs/reference.xml | 14 +++++++------- source/src/renderhud.cpp | 3 --- 3 files changed, 11 insertions(+), 14 deletions(-) diff --git a/config/docs.cfg b/config/docs.cfg index b119278c..aa45085e 100644 --- a/config/docs.cfg +++ b/config/docs.cfg @@ -900,8 +900,6 @@ docident [oldfashionedgunstats] [Show ammo stats like in 1.0]; docargument [N] [0: new, 1: old] [min 0/max 1/default 0]; docident [radarentsize] [Sets the icon size of the players shown in the radar and the minimap.]; docargument [V] [] [min 1/max 64/default 4]; -docident [radarres] [Sets the map area size or zoom level shown in the radar.]; -docargument [V] [] [min 10/max 1024/default 64]; docident [recoilbackfade] []; docargument [V] [] [min 0/max 1000/default 100]; docident [recoilbase] []; @@ -1513,8 +1511,10 @@ docremark [other call forms may use the numerical item type]; docident [setwptriggernr] [TODO: Description]; docargument [A] [TODO] [] [0]; docident [showedithide] [shows the settings of edithide (sparklies)]; -docident [showmapbackdrop] [change wether to have a see-through map overview, or render it on a black backdrop]; -docargument [B] [on/off] [min 0/max 1/default 1]; +docident [showmapbackdrop] [change wether to have a see-through map overview (0), or render it on a black backdrop (1) or a combination of both (2)]; +docargument [B] [backdrop-style] [min 0/max 2/default 2]; +docident [showmapbackdroptransparency] [change the level of transparency of "showmapbackdrop 2"]; +docargument [T] [transparency] [min 0/max 100/default 75]; docident [soundmuted] [TODO: Description]; docargument [A] [TODO] [] [0]; docident [testvel] [TODO]; diff --git a/docs/reference.xml b/docs/reference.xml index 91fce9c4..6c3afe7b 100644 --- a/docs/reference.xml +++ b/docs/reference.xml @@ -3275,11 +3275,6 @@ It may also be viewed as the speed at wich the console text dissapears. Sets the icon size of the players shown in the radar and the minimap. - - - Sets the map area size or zoom level shown in the radar. - - @@ -5154,8 +5149,13 @@ correctly (use "1" as a placeholder if needed). -change wether to have a see-through map overview, or render it on a black backdrop - +change wether to have a see-through map overview (0), or render it on a black backdrop (1) or a combination of both (2) + + + + + + diff --git a/source/src/renderhud.cpp b/source/src/renderhud.cpp index 1728d5d0..9d758341 100644 --- a/source/src/renderhud.cpp +++ b/source/src/renderhud.cpp @@ -7,8 +7,6 @@ void drawicon(Texture *tex, float x, float y, float s, int col, int row, float t if(tex && tex->xs == tex->ys) quad(tex->id, x, y, s, ts*col, ts*row, ts); } -//VARP(transparency, 0, 1, 1); // ft: 2010jun12 : seems it's not needed - the opaque/orig items.png works with it on or off - delete if no graphics guy has any objection - inline void turn_on_transparency() { glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); @@ -81,7 +79,6 @@ VARP(crosshairteamsign, 0, 1, 1); VARP(hideradar, 0, 0, 1); VARP(hidecompass, 0, 0, 1); VARP(hideteam, 0, 0, 1); -VARP(radarres, 10, 64, 1024); VARP(radarentsize, 4, 16, 64); VARP(hidectfhud, 0, 0, 1); VARP(hidevote, 0, 0, 2);