You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
689 B
30 lines
689 B
//===== Copyright © 1996-2005, 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 );
|
|
|
|
edict_t *EDICT_NUM(int n);
|
|
int NUM_FOR_EDICT(const edict_t *e);
|
|
|
|
void ED_AllowImmediateReuse();
|
|
void ED_ClearTimes();
|
|
|
|
#endif
|
|
|
|
|