@ -268,12 +268,12 @@ stub functions for such things as precaching. So we don't have to modify weapon
@@ -268,12 +268,12 @@ stub functions for such things as precaching. So we don't have to modify weapon
@ -28,11 +28,11 @@ int UTIL_SharedRandomLong( unsigned int seed, int low, int high );
@@ -28,11 +28,11 @@ int UTIL_SharedRandomLong( unsigned int seed, int low, int high );
@ -233,9 +233,7 @@ int CHud::DrawHudString( int xpos, int ypos, int iMaxX, char *szIt, int r, int g
@@ -233,9 +233,7 @@ int CHud::DrawHudString( int xpos, int ypos, int iMaxX, char *szIt, int r, int g
@ -262,7 +260,7 @@ int DrawUtfString( int xpos, int ypos, int iMaxX, char *szIt, int r, int g, int
@@ -262,7 +260,7 @@ int DrawUtfString( int xpos, int ypos, int iMaxX, char *szIt, int r, int g, int
returnxpos;
}
intCHud::DrawHudStringLen(char*szIt)
intCHud::DrawHudStringLen(constchar*szIt)
{
intl=0;
for(;*szIt!=0&&*szIt!='\n';szIt++)
@ -280,7 +278,7 @@ int CHud::DrawHudNumberString( int xpos, int ypos, int iMinX, int iNumber, int r
@@ -280,7 +278,7 @@ int CHud::DrawHudNumberString( int xpos, int ypos, int iMinX, int iNumber, int r
}
// draws a string from right to left (right-aligned)
@ -1235,11 +1229,11 @@ int AddToFullPack( struct entity_state_s *state, int e, edict_t *ent, edict_t *h
@@ -1235,11 +1229,11 @@ int AddToFullPack( struct entity_state_s *state, int e, edict_t *ent, edict_t *h
}
state->rendermode=ent->v.rendermode;
state->renderamt=ent->v.renderamt;
state->renderamt=(int)ent->v.renderamt;
state->renderfx=ent->v.renderfx;
state->rendercolor.r=ent->v.rendercolor.x;
state->rendercolor.g=ent->v.rendercolor.y;
state->rendercolor.b=ent->v.rendercolor.z;
state->rendercolor.r=(byte)ent->v.rendercolor.x;
state->rendercolor.g=(byte)ent->v.rendercolor.y;
state->rendercolor.b=(byte)ent->v.rendercolor.z;
state->aiment=0;
if(ent->v.aiment)
@ -1286,7 +1280,7 @@ int AddToFullPack( struct entity_state_s *state, int e, edict_t *ent, edict_t *h
@@ -1286,7 +1280,7 @@ int AddToFullPack( struct entity_state_s *state, int e, edict_t *ent, edict_t *h
// If we wanted to response, we'd write data into response_buffer
@ -1888,10 +1882,10 @@ to be created during play ( e.g., grenades, ammo packs, projectiles, corpses, et
@@ -1888,10 +1882,10 @@ to be created during play ( e.g., grenades, ammo packs, projectiles, corpses, et
*/
voidCreateInstancedBaselines(void)
{
intiret=0;
/*int iret = 0;
entity_state_tstate;
memset(&state,0,sizeof(state));
memset(&state,0,sizeof(state));*/
// Create any additional baselines here for things like grendates, etc.
@ -230,7 +230,7 @@ int CGraph::HandleLinkEnt( int iNode, entvars_t *pevLinkEnt, int afCapMask, NODE
@@ -230,7 +230,7 @@ int CGraph::HandleLinkEnt( int iNode, entvars_t *pevLinkEnt, int afCapMask, NODE
@ -586,7 +586,7 @@ int CGraph::FindShortestPath( int *piPath, int iStart, int iDest, int iHull, int
@@ -586,7 +586,7 @@ int CGraph::FindShortestPath( int *piPath, int iStart, int iDest, int iHull, int