Adjusting a few things, as well as adding a soon-custom gfx.wad

This commit is contained in:
Marco Cawthorne 2018-01-11 22:07:12 -08:00
parent da4450c0b1
commit e016772037
7 changed files with 7 additions and 5 deletions

View file

@ -192,7 +192,7 @@ A label in a cvar driven color scheme
*/
void Object_Label( vector vPosition, string sLabel, vector vSize ) {
vPosition += vMenuOffset;
drawstring( vPosition, sLabel, vSize, autocvar_menu_fgcolor, 1.0f, 0 );
drawstring( vPosition, sLabel, vSize, '1 1 1', 1.0f, 0 );
}
/*
@ -308,9 +308,9 @@ void Object_CvarToggle( vector vPosition, string sLabel, string sCvar ) {
drawfill( vPosition + '-2 -2', [ iWidth + 36, 16 ], '0 0 0', 0.8f );
if ( cvar( sCvar ) == 0 ) {
drawstring( vPosition, sprintf( "[ ] %s", sLabel ), '12 12', autocvar_menu_fgcolor, fAlpha, 0 );
drawstring( vPosition, sprintf( "[ ] %s", sLabel ), '12 12', '1 1 1', fAlpha, 0 );
} else {
drawstring( vPosition, sprintf( "[X] %s", sLabel ), '12 12', autocvar_menu_fgcolor, fAlpha, 0 );
drawstring( vPosition, sprintf( "[X] %s", sLabel ), '12 12', '1 1 1', fAlpha, 0 );
}
}
@ -337,9 +337,9 @@ void Object_FuncToggle( vector vPosition, string sLabel, void( void ) vFunc, int
drawfill( vPosition + '-2 -2', [ iWidth + 36, 16 ], '0 0 0', 0.8f );
if ( iValue == 0 ) {
drawstring( vPosition, sprintf( "[ ] %s", sLabel ), '12 12', autocvar_menu_fgcolor, fAlpha, 0 );
drawstring( vPosition, sprintf( "[ ] %s", sLabel ), '12 12', '1 1 1', fAlpha, 0 );
} else {
drawstring( vPosition, sprintf( "[X] %s", sLabel ), '12 12', autocvar_menu_fgcolor, fAlpha, 0 );
drawstring( vPosition, sprintf( "[X] %s", sLabel ), '12 12', '1 1 1', fAlpha, 0 );
}
}

View file

@ -137,6 +137,7 @@ Technically, it doesn't remove everything
*/
void Entities_Remove( void ) {
if ( self.fRespawns == TRUE ) {
setorigin( self, self.vOldOrigin );
self.solid = SOLID_NOT;
self.model = 0;
} else {

Binary file not shown.

View file

@ -77,6 +77,7 @@ seta cl_cursor_scale "1"
seta r_shadow_realtime_world_shadows "0"
seta r_shadow_realtime_dlight_shadows "0"
seta r_imageexensions "tga bmp pcx"
seta gl_blacklist_debug_glsl 1
seta vid_conautoscale "1"
seta scr_conalpha "1"
seta con_notifylines "0"

BIN
freecs/gfx.wad Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.