blob: 5635d56a65a1595cf13cd15c29c2d439f428dc2e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Expose things from pr_edict.cpp.
//
// $NoKeywords: $
//===========================================================================//
#ifndef PR_EDICT_H
#define PR_EDICT_H
#include "edict.h"
void InitializeEntityDLLFields( edict_t *pEdict );
// If iForceEdictIndex is not -1, then it will return the edict with that index. If that edict index
// is already used, it'll return null.
edict_t *ED_Alloc( int iForceEdictIndex = -1 );
void ED_Free( edict_t *ed );
// Clear the FL_EDICT_FREE flag and the g_FreeEdicts bit.
void ED_ClearFreeFlag( edict_t *pEdict );
edict_t *EDICT_NUM(int n);
int NUM_FOR_EDICT(const edict_t *e);
void ED_AllowImmediateReuse();
void ED_ClearFreeEdictList();
#endif
|