updating documentation for radar stuff

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5496 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
flowtron
2010-07-30 22:00:31 +00:00
parent 64b29d4764
commit 66270e067d
3 changed files with 11 additions and 14 deletions
+4 -4
View File
@@ -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];
+7 -7
View File
@@ -3275,11 +3275,6 @@ It may also be viewed as the speed at wich the console text dissapears.
<description>Sets the icon size of the players shown in the radar and the minimap.</description>
<value token="V" description="" minValue="1" maxValue="64" defaultValue="4"/>
</variable>
<variable name="radarres">
<description>Sets the map area size or zoom level shown in the radar.</description>
<value token="V" description="" minValue="10" maxValue="1024" defaultValue="64"/>
</variable>
</identifiers>
</section>
@@ -5154,8 +5149,13 @@ correctly (use "1" as a placeholder if needed).
</variable>
<variable name="showmapbackdrop">
<description>change wether to have a see-through map overview, or render it on a black backdrop</description>
<value token="B" description="on/off" minValue="0" maxValue="1" defaultValue="1" />
<description>change wether to have a see-through map overview (0), or render it on a black backdrop (1) or a combination of both (2)</description>
<value token="B" description="backdrop-style" minValue="0" maxValue="2" defaultValue="2" />
</variable>
<variable name="showmapbackdroptransparency">
<description></description>
<value token="T" description="transparency" minValue="0" maxValue="100" defaultValue="75" />
</variable>
<variable name="radarheight">
-3
View File
@@ -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);