mirror of https://github.com/FWGS/hlsdk-xash3d
Fix client visual studio build
This commit is contained in:
parent
02532a478b
commit
5da21e38d2
|
@ -993,7 +993,7 @@ void CHudSpectator::DrawOverviewLayer()
|
||||||
if ( hasMapImage)
|
if ( hasMapImage)
|
||||||
{
|
{
|
||||||
i = m_MapSprite->numframes / (4*3);
|
i = m_MapSprite->numframes / (4*3);
|
||||||
i = sqrt(i);
|
i = sqrt(float(i));
|
||||||
xTiles = i*4;
|
xTiles = i*4;
|
||||||
yTiles = i*3;
|
yTiles = i*3;
|
||||||
}
|
}
|
||||||
|
|
|
@ -54,7 +54,7 @@ float rel_pitch;
|
||||||
#define IMPULSE_DOWN 2
|
#define IMPULSE_DOWN 2
|
||||||
#define IMPULSE_UP 4
|
#define IMPULSE_UP 4
|
||||||
|
|
||||||
bool CL_IsDead();
|
int CL_IsDead( void );
|
||||||
Vector dead_viewangles(0, 0, 0);
|
Vector dead_viewangles(0, 0, 0);
|
||||||
|
|
||||||
void IN_ToggleButtons( float forwardmove, float sidemove )
|
void IN_ToggleButtons( float forwardmove, float sidemove )
|
||||||
|
|
|
@ -32,6 +32,10 @@
|
||||||
|
|
||||||
extern vec3_t vec3_origin;
|
extern vec3_t vec3_origin;
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
vec3_t vec3_origin;
|
||||||
|
#endif
|
||||||
|
|
||||||
double sqrt( double x );
|
double sqrt( double x );
|
||||||
|
|
||||||
float Length( const float *v )
|
float Length( const float *v )
|
||||||
|
|
Loading…
Reference in New Issue