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);
77 NETWORKED_VECTOR(m_vecTargetPos)
78 NETWORKED_VECTOR(m_vecTargetAngle)
79 NETWORKED_BOOL(m_bEnabled)
80 NETWORKED_FLOAT(m_flPortalModel)
82 vector m_vecPortalPos;
90 nonvirtual
void TransportEntity(
NSEntity);
92 vector m_vecTargetPos;
109#define READENTITY_PORTAL(field, changedflag) {\
110 if (flChanged & changedflag) {\
111 field = (NSPortal)findfloat(world, ::entnum, readentitynum());\
112 PRINTFLAG(changedflag); \
117#define SOLID_PORTAL 21
NSEntity is the lowest of the user-accessible entity class.
Definition: NSEntity.h:54
Definition: NSPortal.h:38
typedef enumflags
Defines the valid alignment flags for text fields.
Definition: font.h:37