19 PORTALFL_CHANGED_ORIGIN_X,
20 PORTALFL_CHANGED_ORIGIN_Y,
21 PORTALFL_CHANGED_ORIGIN_Z,
22 PORTALFL_CHANGED_ANGLES_X,
23 PORTALFL_CHANGED_ANGLES_Y,
24 PORTALFL_CHANGED_ANGLES_Z,
25 PORTALFL_CHANGED_TARG_ENTITY,
26 PORTALFL_CHANGED_TARG_ORIGIN_X,
27 PORTALFL_CHANGED_TARG_ORIGIN_Y,
28 PORTALFL_CHANGED_TARG_ORIGIN_Z,
29 PORTALFL_CHANGED_TARG_ANGLES_X,
30 PORTALFL_CHANGED_TARG_ANGLES_Y,
31 PORTALFL_CHANGED_TARG_ANGLES_Z,
32 PORTALFL_CHANGED_ENABLED,
33 PORTALFL_CHANGED_MODELINDEX
41 nonvirtual
void _PortalUpdated(
void);
42 nonvirtual vector _OriginTransform(vector);
43 nonvirtual vector _DirectionTransform(vector);
46 virtual vector camera_transform(vector, vector);
49 virtual void Save(
float);
50 virtual void Restore(
string,
string);
52 virtual void EvaluateEntity(
void);
53 virtual float SendEntity(entity,
float);
55 virtual void PortalWasClosed(
void);
56 virtual void PortalWasOpened(
void);
59 nonvirtual
void SetPortalID(
int);
61 nonvirtual
bool PortalLinkTo(
NSPortal,
bool);
63 nonvirtual
void PortalAutoLink(
bool);
65 nonvirtual
void PortalClose(
void);
67 nonvirtual
void SetPortalModel(
string);
70 virtual void ReceiveEntity(
float,
float);
71 virtual float predraw(
void);
82 vector m_vecPortalPos;
90 nonvirtual
void TransportEntity(
NSEntity);
93 vector m_vecTargetPos;
108#define READENTITY_PORTAL(field, changedflag) {\
109 if (flChanged & changedflag) {\
110 field = (NSPortal)findfloat(world, ::entnum, readentitynum());\
111 PRINTFLAG(changedflag); \
116#define SOLID_PORTAL 21
float portalnum
Definition: NSPortal.h:118
bool isPortal
Definition: NSPortal.h:120
float impulse
Definition: NSPortal.h:119
typedef enumflags
Definition: NSPortal.h:18
NSEntity is the lowest of the user-accessible entity class.
Definition: NSEntity.h:54
Definition: NSPortal.h:38
#define NETWORKED_FLOAT(x)
Definition: defs.h:21
#define NETWORKED_VECTOR(x)
Definition: defs.h:22
#define NETWORKED_BOOL(x)
Definition: defs.h:25