Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Enumerations | Functions
entities.hpp File Reference
#include "inexor/shared/cube_vector.hpp"
#include "inexor/shared/ents.hpp"

Go to the source code of this file.

Classes

struct  fpsentity
 trigger handler More...
 

Namespaces

 entities
 

Enumerations

enum  {
  TRIGGER_RESET = 0, TRIGGERING, TRIGGERED, TRIGGER_RESETTING,
  TRIGGER_DISAPPEARED
}
 (door) triggers in singleplayer maps (sp and dmsp game modes) More...
 

Functions

bool entities::delayspawn (int type)
 Returns whether the ammo entity gets spawned at mapstart. More...
 
const char * entities::entmdlname (int type)
 
const char * entities::itemname (int i)
 
int entities::itemicon (int i)
 
void entities::preloadentities ()
 
void entities::renderentities ()
 
void entities::resettriggers ()
 
void entities::checktriggers ()
 
void entities::checkitems (fpsent *d)
 
void entities::checkquad (int time, fpsent *d)
 
void entities::resetspawns ()
 
void entities::spawnitems (bool force)
 
void entities::putitems (packetbuf &p)
 
void entities::setspawn (int i, bool on)
 
void entities::teleport (int n, fpsent *d)
 
void entities::pickupeffects (int n, fpsent *d)
 
void entities::teleporteffects (fpsent *d, int tp, int td, bool local)
 
void entities::jumppadeffects (fpsent *d, int jp, bool local)
 
void entities::repammo (fpsent *d, int type, bool local)
 
void entities::editent (int i, bool local)
 
const char * entities::entnameinfo (entity &e)
 
const char * entities::entname (int i)
 
int entities::extraentinfosize ()
 
void entities::writeent (entity &e, char *buf)
 
void entities::readent (entity &e, char *buf, int ver)
 
float entities::dropheight (entity &e)
 
bool entities::hasmapmodel (const extentity &e)
 
void entities::fixentity (extentity &e)
 
void entities::entradius (extentity &e, bool color)
 
bool entities::mayattach (extentity &e)
 
bool entities::attachent (extentity &e, extentity &a)
 
bool entities::printent (extentity &e, char *buf, int len)
 
extentityentities::newentity ()
 
void entities::deleteentity (extentity *e)
 
void entities::clearents ()
 
vector< extentity * > & entities::getents ()
 
const char * entities::entmodel (const entity &e)
 
void entities::animatemapmodel (const extentity &e, int &anim, int &basetime)
 

Enumeration Type Documentation

anonymous enum

(door) triggers in singleplayer maps (sp and dmsp game modes)

Warning
may becomes deprecated if visual scripting will be implemented one day...
Enumerator
TRIGGER_RESET 
TRIGGERING 
TRIGGERED 
TRIGGER_RESETTING 
TRIGGER_DISAPPEARED