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
36#warning Needs documentation
42 nonvirtual
void _PortalUpdated(
void);
43 nonvirtual vector _OriginTransform(vector);
44 nonvirtual vector _DirectionTransform(vector);
47 virtual vector camera_transform(vector, vector);
50 virtual void Save(
float);
51 virtual void Restore(
string,
string);
53 virtual void EvaluateEntity(
void);
54 virtual float SendEntity(entity,
float);
56 virtual void PortalWasClosed(
void);
57 virtual void PortalWasOpened(
void);
60 nonvirtual
void SetPortalID(
int);
62 nonvirtual
bool PortalLinkTo(
ncPortal,
bool);
64 nonvirtual
void PortalAutoLink(
bool);
66 nonvirtual
void PortalClose(
void);
68 nonvirtual
void SetPortalModel(
string);
71 virtual void ReceiveEntity(
float,
float);
72 virtual float predraw(
void);
78 NETWORKED_VECTOR(m_vecTargetPos)
79 NETWORKED_VECTOR(m_vecTargetAngle)
80 NETWORKED_BOOL(m_bEnabled)
81 NETWORKED_FLOAT(m_flPortalModel)
83 vector m_vecPortalPos;
91 nonvirtual
void TransportEntity(
ncEntity);
93 vector m_vecTargetPos;
110#define READENTITY_PORTAL(field, changedflag) {\
111 if (flChanged & changedflag) {\
112 field = (ncPortal)findfloat(world, ::entnum, readentitynum());\
113 PRINTFLAG(changedflag); \
118#define SOLID_PORTAL 21
ncEntity is the lowest of the user-accessible entity class.
Definition: Entity.h:75
typedef enumflags
Defines the valid alignment flags for text fields.
Definition: font.h:37