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

Go to the source code of this file.

Enumerations

enum  entupdate_t {
  ENT_NONE = 0 , ENT_ENTITY , ENT_PMOVEVARS , ENT_ENTITYRENDERABLE ,
  ENT_ENTITYPROJECTILE , ENT_SURFPROP , ENT_PHYSICS , ENT_MONSTER ,
  ENT_TALKMONSTER , ENT_SPEAKER , ENT_PLAYER , ENT_ITEM ,
  ENT_WEAPON , ENT_SPECTATOR , ENT_PORTAL , ENT_AMBIENTSOUND ,
  ENT_BEAM , ENT_FUNNEL , ENT_SMOKER , ENT_DLIGHT ,
  ENT_PROJECTEDTEXTURE , ENT_SPOTLIGHT , ENT_FOG , ENT_STEAM ,
  ENT_FOGCONTROLLER , ENT_CASCADELIGHT , ENT_LASER , ENT_PARTSYSTEM ,
  ENT_SPRITE , ENT_GLOW , ENT_SPRAY , ENT_DECAL ,
  ENT_OLDCAMERA , ENT_MONITOR , ENT_VEHICLE , ENT_TRACKTRAIN ,
  ENT_VEH_BRUSH , ENT_VEH_TANKMORTAR , ENT_VEH_4WHEEL , ENT_PROPROPE ,
  ENT_PHYSROPE , ENT_BUBBLES , ENT_CONVEYOR , ENT_WAYPOINT ,
  ENT_INSTRUCTOR , ENT_PUSH , ENT_SOUNDSCAPE , ENT_SEPARATOR
}
 Entity update identifiers. More...
 

Functions

entity Entity_FindClosest (entity startTarget, string className)
 Returns the closest point entity of a given classname. More...
 
entity Entity_SelectRandom (string className)
 Returns a random entity of a given classname. More...