Raised This Month: $ Target: $400
 0% 

What exact source header files can I use?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
DiscoBBQ
Veteran Member
Join Date: Jan 2005
Location: Clemson, South Carolina
Old 07-24-2010 , 11:29   What exact source header files can I use?
Reply With Quote #1

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 );
 }
)
__________________
"Every man is guilty of all the good he did not do"
DiscoBBQ is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode