\r
if(bg > 0)\r
{\r
- R_BeginPolygon("gfx/hud/bg_radar.tga", DRAWFLAG_NORMAL);\r
- R_PolygonVertex(pos1, yinvert(mi_pictexcoord1), '1 1 1', bg);\r
- R_PolygonVertex(pos2, yinvert(mi_pictexcoord2), '1 1 1', bg);\r
- R_PolygonVertex(pos3, yinvert(mi_pictexcoord3), '1 1 1', bg);\r
- R_PolygonVertex(pos4, yinvert(mi_pictexcoord0), '1 1 1', bg);\r
+ R_BeginPolygon("gfx/hud/bg_radar.tga", 0);\r
+ R_PolygonVertex(pos1, yinvert('0 1 0'), '1 1 1', bg);\r
+ R_PolygonVertex(pos2, yinvert('1 1 0'), '1 1 1', bg);\r
+ R_PolygonVertex(pos3, yinvert('1 0 0'), '1 1 1', bg);\r
+ R_PolygonVertex(pos4, yinvert('0 0 0'), '1 1 1', bg);\r
R_EndPolygon();\r
}\r
\r
\r
if(fg > 0)\r
{\r
- R_BeginPolygon("gfx/hud/fg_radar.tga", DRAWFLAG_NORMAL);\r
- R_PolygonVertex(pos1, yinvert(mi_pictexcoord1), '1 1 1', fg);\r
- R_PolygonVertex(pos2, yinvert(mi_pictexcoord2), '1 1 1', fg);\r
- R_PolygonVertex(pos3, yinvert(mi_pictexcoord3), '1 1 1', fg);\r
- R_PolygonVertex(pos4, yinvert(mi_pictexcoord0), '1 1 1', fg);\r
+ R_BeginPolygon("gfx/hud/fg_radar.tga", 0);\r
+ R_PolygonVertex(pos1, yinvert('0 1 0'), '1 1 1', fg);\r
+ R_PolygonVertex(pos2, yinvert('1 1 0'), '1 1 1', fg);\r
+ R_PolygonVertex(pos3, yinvert('1 0 0'), '1 1 1', fg);\r
+ R_PolygonVertex(pos4, yinvert('0 0 0'), '1 1 1', fg);\r
R_EndPolygon();\r
\r
- R_BeginPolygon("gfx/hud/fg_radar_team.tga", DRAWFLAG_NORMAL);\r
- R_PolygonVertex(pos1, yinvert(mi_pictexcoord1), rgb, fg);\r
- R_PolygonVertex(pos2, yinvert(mi_pictexcoord2), rgb, fg);\r
- R_PolygonVertex(pos3, yinvert(mi_pictexcoord3), rgb, fg);\r
- R_PolygonVertex(pos4, yinvert(mi_pictexcoord0), rgb, fg);\r
+ R_BeginPolygon("gfx/hud/fg_radar_team.tga", 0);\r
+ R_PolygonVertex(pos1, yinvert('0 1 0'), rgb, fg);\r
+ R_PolygonVertex(pos2, yinvert('1 1 0'), rgb, fg);\r
+ R_PolygonVertex(pos3, yinvert('1 0 0'), rgb, fg);\r
+ R_PolygonVertex(pos4, yinvert('0 0 0'), rgb, fg);\r
R_EndPolygon();\r
}\r
}\r