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

Go to the source code of this file.

Enumerations

enum  { DL_SHRINK = 1<<0, DL_EXPAND = 1<<1, DL_FLASH = 1<<2 }
 

Functions

void updatedynlights ()
 
int finddynlights ()
 
void calcdynlightmask (vtxarray *va)
 
int setdynlights (vtxarray *va)
 
void adddynlight (const vec &o, float radius, const vec &color, int fade=0, int peak=0, int flags=0, float initradius=0, const vec &initcolor=vec(0, 0, 0), physent *owner=nullptr)
 
void dynlightreaching (const vec &target, vec &color, vec &dir, bool hud=false)
 
void removetrackeddynlights (physent *owner=nullptr)
 

Enumeration Type Documentation

anonymous enum
Enumerator
DL_SHRINK 
DL_EXPAND 
DL_FLASH 

Function Documentation

void adddynlight ( const vec o,
float  radius,
const vec color,
int  fade = 0,
int  peak = 0,
int  flags = 0,
float  initradius = 0,
const vec initcolor = vec(0, 0, 0),
physent owner = nullptr 
)
void calcdynlightmask ( vtxarray va)
void dynlightreaching ( const vec target,
vec color,
vec dir,
bool  hud = false 
)
int finddynlights ( )
void removetrackeddynlights ( physent owner = nullptr)
int setdynlights ( vtxarray va)
void updatedynlights ( )