LuckyBro / sgfork

Automatically exported from code.google.com/p/sgfork
GNU General Public License v2.0
0 stars 0 forks source link

Remove g_red(blue)teamname #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
To remove g_red(blue)teamname.
The way how variable is used is ridiculous.
Emergency fix is to replace it temporary with g_redTeam and g_blueTeam.
And also in UI they will be temporary shown as blue and red.
Later we'll review the code from mission pack for different teams and just 
will use that way (with one team only instead of 5 as it done in mission 
pack).

Original issue reported on code.google.com by igorpana...@gmail.com on 21 Aug 2009 at 5:31

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
A small update on this. I reviewed the cvar-list yesterday, and found - in 
addition
to your entire post - a couple of variables that seem to store something
teamname-related. These settings are:
S   A   g_blueTeam "Pagans"
S   A   g_redTeam "Stroggs"
    A   ui_teamnamered "Lawmen2"
    A   ui_teamnameblue "Outlaws2"
    A   g_teamnamered "EYMAN"
    A   g_teamnameblue "HAHAMAN"
    A   ui_teamnameredserver "Lawmen"
    A   ui_teamnameblueserver "Outlaws"
    A   ui_redteam "Lawmen"
    A   ui_blueteam "Outlaws"
    A   g_redteamname "Outlaws"
    A   g_blueteamname "Lawmen"

What are all those variables used for? -- Probably they should all be merged and
removed (replaced by g_redTeam and g_blueTeam which seem to be the old 
Q3-Variables)

Original comment by mortijs-...@yahoo.de on 23 Aug 2009 at 8:21

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
g_(red/blue)teamname are removed in r20.
Others to be checked.

Original comment by igorpana...@gmail.com on 23 Aug 2009 at 8:46

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
in r46. Not in r43.

Original comment by igorpana...@gmail.com on 24 Aug 2009 at 7:43

GoogleCodeExporter commented 9 years ago
Fixed in r47 ;-).

Original comment by kikc...@gmail.com on 24 Aug 2009 at 8:01

GoogleCodeExporter commented 9 years ago
Removed all TA from UI.
Except UI header file.
r55.
UI to be cleaned.

Original comment by igorpana...@gmail.com on 28 Aug 2009 at 7:50