Nuclide
Software Development Kit for id Tech
NSPortal.h File Reference

Go to the source code of this file.

Classes

class  NSPortal
 

Macros

#define READENTITY_PORTAL(field, changedflag)
 
#define SOLID_PORTAL   21
 

Variables

typedef enumflags
 
float portalnum
 
float impulse
 
bool isPortal
 

Macro Definition Documentation

◆ READENTITY_PORTAL

#define READENTITY_PORTAL (   field,
  changedflag 
)
Value:
{\
if (flChanged & changedflag) {\
field = (NSPortal)findfloat(world, ::entnum, readentitynum());\
PRINTFLAG(changedflag); \
}\
}
Definition: NSPortal.h:38

◆ SOLID_PORTAL

#define SOLID_PORTAL   21

Variable Documentation

◆ enumflags

typedef enumflags
Initial value:
{
PORTALFL_CHANGED_ORIGIN_X,
PORTALFL_CHANGED_ORIGIN_Y,
PORTALFL_CHANGED_ORIGIN_Z,
PORTALFL_CHANGED_ANGLES_X,
PORTALFL_CHANGED_ANGLES_Y,
PORTALFL_CHANGED_ANGLES_Z,
PORTALFL_CHANGED_TARG_ENTITY,
PORTALFL_CHANGED_TARG_ORIGIN_X,
PORTALFL_CHANGED_TARG_ORIGIN_Y,
PORTALFL_CHANGED_TARG_ORIGIN_Z,
PORTALFL_CHANGED_TARG_ANGLES_X,
PORTALFL_CHANGED_TARG_ANGLES_Y,
PORTALFL_CHANGED_TARG_ANGLES_Z,
PORTALFL_CHANGED_ENABLED,
PORTALFL_CHANGED_MODELINDEX
} nsportal_changed_t

◆ impulse

float impulse

◆ isPortal

bool isPortal

◆ portalnum

float portalnum