CEngine

Engine global variables

Type: Reference type

Properties

Declaration Description
const float time Current time
const float frametime Time between frames
float force_retouch How many times to force all entities to retouch entities they are currently touching/intersecting. Should always be >= 0.
const string_t mapname Name of the current map
const string_t startspot Start location in the map
float deathmatch Flag telling whether this is deathmatch
float coop Flag telling whether this is coop
float teamplay Flag telling whether this is teamplay
const float serverflags Server flags
float found_secrets Found secrets
const Vector v_forward Forward vector
const Vector v_up Up vector
const Vector v_right Right vector
const float trace_allsolid Trace all is solid flag
const float trace_startsolid Trace start is solid flag
const float trace_fraction Trace fraction
const Vector trace_endpos Trace end position
const Vector trace_plane_normal Trace plane normal
const float trace_plane_dist Trace plane distance
const edict_t@ trace_ent Trace entity
const float trace_inopen Trace is in open flag
const float trace_inwater Trace is in water flag
const int trace_hitgroup Trace hit group
const int trace_flags Trace flags
const int msg_entity Message entity
int cdAudioTrack CD audio track
const int maxClients Maximum connected clients
const int maxEntities Maximum entities