View Single Post
Old 01-09-2008, 01:09 PM   #7
jadar_koal
Lurker
 
Join Date: Jan 2008
Posts: 4
i comented Text_PaintWithCursor out and succeeded to build the ui and the jk2_game but i can't do enything with the jk2_cgame
i searched for CG_Player in the cg_players.c and found this:

/*
===============
CG_Player
===============
*/
#include "../namespace_begin.h"
int BG_EmplacedView(vec3_t baseAngles, vec3_t angles, float *newYaw, float constraint);
#include "../namespace_end.h"

float CG_RadiusForCent( centity_t *cent )
{
if ( cent->currentState.eType == ET_NPC )
{
if (cent->currentState.NPC_class == CLASS_VEHICLE &&
cent->m_pVehicle &&
cent->m_pVehicle->m_pVehicleInfo->g2radius)
{ //has override
return cent->m_pVehicle->m_pVehicleInfo->g2radius;
}
else if ( cent->currentState.g2radius )
{
return cent->currentState.g2radius;
}
}
else if ( cent->currentState.g2radius )
{
return cent->currentState.g2radius;
}
return 64.0f;
}

i tryed to coment it out but i got more errors and didn't get rid of the actual error. this code is at line 8298 in my sdk

EDIT: i succeeded to handle the CG_UpdateThirdPersonTargetDamp and now the only error i have is CG_Player



Last edited by jadar_koal; 01-09-2008 at 01:34 PM.
jadar_koal is offline   you may: quote & reply,