Alright, so I am a little confused as to what functions/classes I can access.
My current compile dependencies are "common;public;public\tier0;public\tier1;game \server;game\shared;"
Linking with "lib\common & lib\public"
Does that mean I can reference anything within those header files?
For instance, In my current code, anytime I try to pull a function from util.h, I always receive an 'unresolved external error' (which occurs when there is no implementation in the linked libraries, right?).
For example:
Code:
void CASW_Plugin::FireGameEvent( KeyValues * event )
{
const char * eventName = event->GetName();
if(strcmp("marine_hurt", eventName) == 0)
{
int index = event->GetInt("entindex");
edict_t *pEntity = PEntityOfEntIndex(index);
Vector org = pEntity->GetCollideable()->GetCollisionOrigin();
//UNRESOLVED EXTERNAL ERROR:
UTIL_BloodSpray( org, org, 0, 10, 12 );
}
)
__________________