halflife-photomode/engine/edict.h

32 lines
684 B
C
Raw Normal View History

//========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============
2013-08-30 13:34:05 -07:00
//
// Purpose:
2013-08-30 13:34:05 -07:00
//
// $NoKeywords: $
//=============================================================================
#pragma once
#define MAX_ENT_LEAFS 48
2013-08-30 13:34:05 -07:00
#include "progdefs.h"
struct edict_s
{
qboolean free;
int serialnumber;
link_t area; // linked to a division node or leaf
2013-08-30 13:34:05 -07:00
int headnode; // -1 to use normal leaf check
int num_leafs;
short leafnums[MAX_ENT_LEAFS];
2013-08-30 13:34:05 -07:00
float freetime; // sv.time when the object was freed
2013-08-30 13:34:05 -07:00
void* pvPrivateData; // Alloced and freed by engine, used by DLLs
entvars_t v; // C exported fields from progs
2013-08-30 13:34:05 -07:00
// other fields from progs come immediately after
};