Raised This Month: $12 Target: $400
 3% 

HL SDK -- edict_t


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Zenith77
Veteran Member
Join Date: Aug 2005
Old 05-22-2006 , 15:11   HL SDK -- edict_t
Reply With Quote #1

This may seem like a really stupid question, but I can't find the source file where the edict_t struct is defined. The only thing I found was entvars_s in progdef.h under the engine folder. I thought that was it, based on how valve declared structs throughout the SDK (_s to _t), but I still didn't find where edict_t was declared.

All directions apperciated

Thank you ^^
--Zenith77
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
faluco
Developer
Join Date: Mar 2005
Location: Valencia, Spain
Old 05-22-2006 , 15:31  
Reply With Quote #2

its declared in edict.h as edict_s
Code:
struct edict_s
{
	qboolean	free;
	int			serialnumber;
	link_t		area;				// linked to a division node or leaf
	
	int			headnode;			// -1 to use normal leaf check
	int			num_leafs;
	short		leafnums[MAX_ENT_LEAFS];

	float		freetime;			// sv.time when the object was freed

	void*		pvPrivateData;		// Alloced and freed by engine, used by DLLs

	entvars_t	v;					// C exported fields from progs

	// other fields from progs come immediately after
};
^---- code incase you dont find it
__________________
:F
faluco is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 05-22-2006 , 16:08  
Reply With Quote #3

o lol, I was 100% sure that wasn't it lol, for some reason...


thanks...
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
Reply



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 13:25.


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