fixed bug where the laptime line switched one digit left instead of right when going over 10 minutes

fixed fullbright shader
version number upcount
This commit is contained in:
q3rally 2021-04-07 07:48:47 +00:00
parent 5f36034b3b
commit c42c0bdb40
5 changed files with 50 additions and 26 deletions

View file

@ -1434,8 +1434,17 @@ textures/q3r_dirt_grass/grass06
textures/q3r_dirt_grass/grass07
{
surfaceparm SURF_GRASS
surfaceparm dust
{
map $lightmap
rgbgen identity
}
{
map textures/q3r_dirt_grass/grass07.tga
blendFunc GL_DST_COLOR GL_ZERO
rgbGen identity
alphaGen lightingSpecular
}
}
@ -1577,8 +1586,16 @@ textures/q3r_dirt_grass/stones01
{
surfaceparm SURF_GRAVEL
surfaceparm dust
{
map $lightmap
rgbgen identity
}
{
map textures/q3r_dirt_grass/stones01.tga
blendFunc GL_DST_COLOR GL_ZERO
rgbGen identity
alphaGen lightingSpecular
}
}
@ -6278,8 +6295,17 @@ textures/q3r_dirt_grass/darkdirt01
{
surfaceparm SURF_DIRT
surfaceparm dust
{
map $lightmap
rgbgen identity
}
{
map textures/q3r_dirt_grass/darkdirt01.tga
blendFunc GL_DST_COLOR GL_ZERO
rgbGen identity
alphaGen lightingSpecular
}
}

View file

@ -425,8 +425,9 @@ static float CG_DrawTimes( float y ) {
if ( cgs.gametype != GT_DERBY ){
time = getStringForTime( cent->bestLapTime );
Com_sprintf(s, sizeof(s), "B; %s", time);
x = 600 - CG_DrawStrlen(s) * TINYCHAR_WIDTH;
Com_sprintf(s, sizeof(s), "B: %s", time);
// x = 600 - CG_DrawStrlen(s) * TINYCHAR_WIDTH;
x = 636 - 96;
CG_FillRect ( x, y, 96, 18, bgColor );
x+= 8;
@ -445,7 +446,8 @@ static float CG_DrawTimes( float y ) {
time = getStringForTime(lapTime);
Com_sprintf(s, sizeof(s), "L: %s", time);
x = 600 - CG_DrawStrlen(s) * TINYCHAR_WIDTH;
// x = 600 - CG_DrawStrlen(s) * TINYCHAR_WIDTH;
x = 636 - 96;
CG_FillRect( x, y, 96, 18, bgColor );
x+= 8;

View file

@ -1580,7 +1580,7 @@ void UI_Refresh( int realtime )
// draw cursor
// UI_SetColor( NULL );
//
// UI_DrawCursor( uis.cursorx-24, uis.cursory-24, 48, 48, uis.cursorModel );
UI_SetColor( NULL );

View file

@ -67,7 +67,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define BASETA "missionpack"
#ifndef PRODUCT_VERSION
#define PRODUCT_VERSION "v0.0.3.0_r352"
#define PRODUCT_VERSION "v0.0.3.0_r354"
#endif

View file

@ -859,17 +859,13 @@ q3rallycode
engine\cross-make-mingw64.sh
[Open project files]
0=engine\code\qcommon\q_shared.h
1=engine\code\cgame\cg_rally_tools.c
2=engine\code\game\g_spawn.c
1=engine\code\cgame\cg_rally_hud.c
[Selected Project Files]
Main=
Selected=engine\code\qcommon\q_shared.h
[engine\code\qcommon\q_shared.h]
TopLine=53
Caret=39,70
[engine\code\cgame\cg_rally_tools.c]
TopLine=639
Caret=1,644
[engine\code\game\g_spawn.c]
TopLine=722
Caret=1,737
[engine\code\cgame\cg_rally_hud.c]
TopLine=440
Caret=22,430