UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
entity_s Struct Reference

#include <r_entity.h>

Public Member Functions

 entity_s (int flag=RF_NONE)
 
void setScale (const vec3_t scale_)
 
vec_t getScaleX () const
 

Data Fields

struct model_smodel
 
vec3_t angles
 
vec3_t scale
 
vec3_t color
 
vec3_t origin
 
vec3_t oldorigin
 
AABB eBox
 
struct entity_stagent
 
const char * tagname
 
int skinnum
 
float alpha
 
int flags
 
float distanceFromViewOrigin
 
bool isOriginBrushModel
 
animState_t as
 
transform_t transform
 
vec4_t shell
 
const image_ttexture
 
lighting_tlighting
 
struct entity_snext
 

Detailed Description

Definition at line 77 of file r_entity.h.

Constructor & Destructor Documentation

entity_s::entity_s ( int  flag = RF_NONE)
inline

Definition at line 110 of file r_entity.h.

References OBJZERO.

Member Function Documentation

vec_t entity_s::getScaleX ( ) const
inline

Definition at line 117 of file r_entity.h.

void entity_s::setScale ( const vec3_t  scale_)
inline

Definition at line 114 of file r_entity.h.

References VectorCopy.

Field Documentation

float entity_s::alpha

ignore if RF_TRANSLUCENT isn't set

Definition at line 92 of file r_entity.h.

Referenced by R_DrawFlareSurfaces().

vec3_t entity_s::angles

Definition at line 79 of file r_entity.h.

animState_t entity_s::as

Definition at line 98 of file r_entity.h.

vec3_t entity_s::color

Definition at line 81 of file r_entity.h.

float entity_s::distanceFromViewOrigin

Definition at line 94 of file r_entity.h.

AABB entity_s::eBox

Definition at line 84 of file r_entity.h.

int entity_s::flags

Definition at line 93 of file r_entity.h.

bool entity_s::isOriginBrushModel

true for bmodels that have an origin set

Definition at line 96 of file r_entity.h.

lighting_t* entity_s::lighting

cached static light source information

Definition at line 106 of file r_entity.h.

struct model_s* entity_s::model

Definition at line 78 of file r_entity.h.

struct entity_s* entity_s::next

for chaining

Definition at line 108 of file r_entity.h.

vec3_t entity_s::oldorigin

Definition at line 83 of file r_entity.h.

vec3_t entity_s::origin

Definition at line 82 of file r_entity.h.

vec3_t entity_s::scale

Definition at line 80 of file r_entity.h.

vec4_t entity_s::shell

shell color

Definition at line 102 of file r_entity.h.

int entity_s::skinnum

Definition at line 91 of file r_entity.h.

struct entity_s* entity_s::tagent

pointer to the parent entity

Definition at line 87 of file r_entity.h.

const char* entity_s::tagname

name of the tag

Definition at line 88 of file r_entity.h.

const image_t* entity_s::texture

Definition at line 104 of file r_entity.h.

transform_t entity_s::transform

Definition at line 100 of file r_entity.h.


The documentation for this struct was generated from the following file: