mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-11-24 21:01:34 +00:00
more hud fixes
This commit is contained in:
parent
221e699e09
commit
135d030e11
4 changed files with 16 additions and 7 deletions
|
@ -1373,7 +1373,7 @@ float CG_DrawScores( float x, float y ) {
|
||||||
// draw from the right side to left
|
// draw from the right side to left
|
||||||
if ( cgs.gametype >= GT_TEAM ) {
|
if ( cgs.gametype >= GT_TEAM ) {
|
||||||
|
|
||||||
CG_FillRect( x - 96, y, 96, 18, bgColor );
|
CG_FillRect( x - 80, y, 96, 18, bgColor );
|
||||||
|
|
||||||
// if (cgs.gametype != GT_CTF){
|
// if (cgs.gametype != GT_CTF){
|
||||||
if (cgs.gametype >= GT_TEAM){
|
if (cgs.gametype >= GT_TEAM){
|
||||||
|
@ -1501,7 +1501,7 @@ float CG_DrawScores( float x, float y ) {
|
||||||
} else {
|
} else {
|
||||||
qboolean spectator;
|
qboolean spectator;
|
||||||
|
|
||||||
CG_FillRect( x - 96, y, 96, 18, bgColor );
|
CG_FillRect( x - 80, y, 96, 18, bgColor );
|
||||||
|
|
||||||
score = cg.snap->ps.persistant[PERS_SCORE];
|
score = cg.snap->ps.persistant[PERS_SCORE];
|
||||||
spectator = ( cg.snap->ps.persistant[PERS_TEAM] == TEAM_SPECTATOR );
|
spectator = ( cg.snap->ps.persistant[PERS_TEAM] == TEAM_SPECTATOR );
|
||||||
|
|
|
@ -608,6 +608,7 @@ static float CG_DrawCarAheadAndBehind( float y ) {
|
||||||
CG_DrawTinyDigitalStringColor( x + cg_wideoffset.integer, y, s, colorWhite);
|
CG_DrawTinyDigitalStringColor( x + cg_wideoffset.integer, y, s, colorWhite);
|
||||||
|
|
||||||
y += TINYCHAR_HEIGHT;
|
y += TINYCHAR_HEIGHT;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return y;
|
return y;
|
||||||
|
|
|
@ -67,7 +67,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#define BASETA "missionpack"
|
#define BASETA "missionpack"
|
||||||
|
|
||||||
#ifndef PRODUCT_VERSION
|
#ifndef PRODUCT_VERSION
|
||||||
#define PRODUCT_VERSION "v0.3c_r458"
|
#define PRODUCT_VERSION "v0.3c_r459"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -888,6 +888,8 @@ q3rallycode
|
||||||
0=engine\code\qcommon\q_shared.h
|
0=engine\code\qcommon\q_shared.h
|
||||||
1=engine\code\cgame\cg_rally_hud.c
|
1=engine\code\cgame\cg_rally_hud.c
|
||||||
2=engine\code\cgame\cg_rally_hud2.c
|
2=engine\code\cgame\cg_rally_hud2.c
|
||||||
|
3=engine\code\cgame\cg_local.h
|
||||||
|
4=engine\code\cgame\cg_draw.c
|
||||||
[Selected Project Files]
|
[Selected Project Files]
|
||||||
Main=
|
Main=
|
||||||
Selected=engine\code\qcommon\q_shared.h
|
Selected=engine\code\qcommon\q_shared.h
|
||||||
|
@ -895,8 +897,14 @@ Selected=engine\code\qcommon\q_shared.h
|
||||||
TopLine=57
|
TopLine=57
|
||||||
Caret=36,70
|
Caret=36,70
|
||||||
[engine\code\cgame\cg_rally_hud.c]
|
[engine\code\cgame\cg_rally_hud.c]
|
||||||
TopLine=533
|
TopLine=590
|
||||||
Caret=5,553
|
Caret=1,610
|
||||||
[engine\code\cgame\cg_rally_hud2.c]
|
[engine\code\cgame\cg_rally_hud2.c]
|
||||||
TopLine=160
|
TopLine=328
|
||||||
Caret=40,204
|
Caret=1,344
|
||||||
|
[engine\code\cgame\cg_local.h]
|
||||||
|
TopLine=1638
|
||||||
|
Caret=1,1654
|
||||||
|
[engine\code\cgame\cg_draw.c]
|
||||||
|
TopLine=1546
|
||||||
|
Caret=22,1504
|
||||||
|
|
Loading…
Reference in a new issue