refEntity_t Struct Reference

#include <tr_types.h>


Data Fields

refEntityType_t reType
int renderfx
qhandle_t hModel
vec3_t axis [3]
qboolean nonNormalizedAxes
vec3_t origin
vec3_t oldorigin
qhandle_t customShader
byte shaderRGBA [4]
vec2_t shaderTexCoord
float radius
float rotation
float shaderTime
int frame
vec3_t lightingOrigin
float shadowPlane
int oldframe
float backlerp
int skinNum
qhandle_t customSkin
union {
   struct {
      int   miniStart
      int   miniCount
   }   uMini
uRefEnt
union {
   struct {
      float   rotation
      float   radius
      byte   vertRGBA [4][4]
   }   sprite
   struct {
      float   width
      float   width2
      float   stscale
   }   line
   struct {
      float   width
      vec3_t   control1
      vec3_t   control2
   }   bezier
   struct {
      float   width
      float   width2
      float   stscale
      float   height
      float   bias
      qboolean   wrap
   }   cylinder
   struct {
      float   width
      float   deviation
      float   stscale
      qboolean   wrap
      qboolean   taper
   }   electricity
data
float endTime
float saberLength
vec3_t angles
vec3_t modelScale
void * ghoul2


Field Documentation

vec3_t refEntity_t::angles
 

Definition at line 243 of file tr_types.h.

Referenced by CG_Player(), CG_SetGhoul2Info(), and CG_SetGhoul2InfoRef().

vec3_t refEntity_t::axis[3]
 

Definition at line 143 of file tr_types.h.

Referenced by CG_AddFragment(), CG_AddPlayerWeapon(), CG_AddViewWeapon(), CG_Beam(), CG_Chunks(), CG_CreateDistortionTrailPart(), CG_CreateModelFromSpawnEnt(), CG_DoSaber(), CG_Draw3DModel(), CG_DrawPlayerShield(), CG_DrawPlayerSphere(), CG_GetTagWorldPosition(), CG_LaunchGib(), CG_MakeExplosion(), CG_MiscEnt(), CG_Player(), CG_PositionEntityOnTag(), CG_PositionRotatedEntityOnTag(), CG_ScorePlum(), CG_TestModel_f(), CG_ThrowChunk(), FX_AddOrientedLine(), G2_BoltToGhoul2Model(), Item_Model_Paint(), ScaleModelAxis(), UI_DoSaber(), and UI_ScaleModelAxis().

float refEntity_t::backlerp
 

Definition at line 180 of file tr_types.h.

Referenced by CG_AddViewWeapon(), CG_GetTagWorldPosition(), CG_Player(), CG_PositionEntityOnTag(), CG_PositionRotatedEntityOnTag(), and CG_TestModel_f().

struct { ... } refEntity_t::bezier
 

float refEntity_t::bias
 

Definition at line 224 of file tr_types.h.

vec3_t refEntity_t::control1
 

Definition at line 215 of file tr_types.h.

vec3_t refEntity_t::control2
 

Definition at line 216 of file tr_types.h.

qhandle_t refEntity_t::customShader
 

Definition at line 151 of file tr_types.h.

Referenced by CG_AddScorePlum(), CG_Bleed(), CG_BubbleTrail(), CG_CreateDistortionTrailPart(), CG_Disintegration(), CG_DoSaber(), CG_DrawPlayerShield(), CG_DrawPlayerSphere(), CG_MakeExplosion(), CG_Player(), CG_SmokePuff(), CG_TestLine(), FX_AddOrientedLine(), FX_DEMP2_AltDetonate(), and UI_DoSaber().

qhandle_t refEntity_t::customSkin
 

Definition at line 184 of file tr_types.h.

Referenced by CG_Draw3DModel(), and Item_Model_Paint().

struct { ... } refEntity_t::cylinder
 

union { ... } refEntity_t::data
 

Referenced by CG_AddOLine(), and FX_AddOrientedLine().

float refEntity_t::deviation
 

Definition at line 230 of file tr_types.h.

struct { ... } refEntity_t::electricity
 

float refEntity_t::endTime
 

Definition at line 237 of file tr_types.h.

Referenced by CG_Disintegration().

int refEntity_t::frame
 

Definition at line 163 of file tr_types.h.

Referenced by CG_AddViewWeapon(), CG_CreateModelFromSpawnEnt(), CG_GetTagWorldPosition(), CG_MiscEnt(), CG_Player(), CG_PositionEntityOnTag(), CG_PositionRotatedEntityOnTag(), CG_TestModel_f(), CG_TestModelNextFrame_f(), and CG_TestModelPrevFrame_f().

void* refEntity_t::ghoul2
 

Definition at line 247 of file tr_types.h.

Referenced by CG_Draw3DModel(), CG_Player(), CG_SetGhoul2Info(), CG_SetGhoul2InfoRef(), and Item_Model_Paint().

float refEntity_t::height
 

Definition at line 223 of file tr_types.h.

qhandle_t refEntity_t::hModel
 

Definition at line 140 of file tr_types.h.

Referenced by CG_AddPlayerWeapon(), CG_AddViewWeapon(), CG_Chunks(), CG_CreateDistortionTrailPart(), CG_CreateModelFromSpawnEnt(), CG_Draw3DModel(), CG_DrawActiveFrame(), CG_DrawPlayerShield(), CG_DrawPlayerSphere(), CG_GetTagWorldPosition(), CG_LaunchGib(), CG_MakeExplosion(), CG_MiscEnt(), CG_Player(), CG_TestModel_f(), CG_ThrowChunk(), FX_DEMP2_AltDetonate(), and Item_Model_Paint().

vec3_t refEntity_t::lightingOrigin
 

Definition at line 175 of file tr_types.h.

Referenced by CG_AddPlayerWeapon(), CG_CreateModelFromSpawnEnt(), CG_Player(), and Item_Model_Paint().

struct { ... } refEntity_t::line
 

int refEntity_t::miniCount
 

Definition at line 194 of file tr_types.h.

int refEntity_t::miniStart
 

Definition at line 193 of file tr_types.h.

vec3_t refEntity_t::modelScale
 

Definition at line 245 of file tr_types.h.

Referenced by CG_Chunks(), CG_CreateDistortionTrailPart(), CG_CreateModelFromSpawnEnt(), CG_MiscEnt(), CG_Player(), CG_SetGhoul2Info(), CG_SetGhoul2InfoRef(), Item_Model_Paint(), ScaleModelAxis(), and UI_ScaleModelAxis().

qboolean refEntity_t::nonNormalizedAxes
 

Definition at line 144 of file tr_types.h.

Referenced by CG_Chunks(), CG_DrawPlayerSphere(), CG_MakeExplosion(), ScaleModelAxis(), and UI_ScaleModelAxis().

int refEntity_t::oldframe
 

Definition at line 179 of file tr_types.h.

Referenced by CG_AddViewWeapon(), CG_GetTagWorldPosition(), CG_Player(), CG_PositionEntityOnTag(), CG_PositionRotatedEntityOnTag(), and CG_TestModel_f().

vec3_t refEntity_t::oldorigin
 

Definition at line 148 of file tr_types.h.

Referenced by CG_Beam(), CG_Disintegration(), CG_DoSaber(), CG_MakeExplosion(), CG_Player(), CG_TestLine(), FX_AddOrientedLine(), Item_Model_Paint(), and UI_DoSaber().

vec3_t refEntity_t::origin
 

Definition at line 145 of file tr_types.h.

Referenced by CG_AddFragment(), CG_AddPlayerWeapon(), CG_AddScorePlum(), CG_AddViewWeapon(), CG_Beam(), CG_Bleed(), CG_Chunks(), CG_CreateDistortionTrailPart(), CG_CreateModelFromSpawnEnt(), CG_Disintegration(), CG_DoSaber(), CG_Draw3DModel(), CG_DrawMiscEnts(), CG_DrawPlayerShield(), CG_DrawPlayerSphere(), CG_GetTagWorldPosition(), CG_LaunchGib(), CG_MakeExplosion(), CG_MiscEnt(), CG_Player(), CG_PositionEntityOnTag(), CG_PositionRotatedEntityOnTag(), CG_SmokePuff(), CG_TestLine(), CG_TestModel_f(), CG_ThrowChunk(), FX_AddOrientedLine(), FX_DEMP2_AltDetonate(), G2_BoltToGhoul2Model(), Item_Model_Paint(), and UI_DoSaber().

float refEntity_t::radius
 

Definition at line 203 of file tr_types.h.

Referenced by CG_AddScorePlum(), CG_Bleed(), CG_BubbleTrail(), CG_CreateDistortionTrailPart(), CG_DoSaber(), CG_Draw3DModel(), CG_DrawPlayerSphere(), CG_Player(), CG_ScorePlum(), CG_SetGhoul2Info(), CG_SetGhoul2InfoRef(), CG_SmokePuff(), CG_TestLine(), Item_Model_Paint(), and UI_DoSaber().

int refEntity_t::renderfx
 

Definition at line 138 of file tr_types.h.

Referenced by CG_AddFragment(), CG_AddPlayerWeapon(), CG_AddViewWeapon(), CG_Beam(), CG_Bleed(), CG_CheckThirdPersonAlpha(), CG_CreateDistortionTrailPart(), CG_Disintegration(), CG_DoSaber(), CG_Draw3DModel(), CG_DrawPlayerSphere(), CG_Player(), CG_TestGun_f(), FX_DEMP2_AltDetonate(), and Item_Model_Paint().

refEntityType_t refEntity_t::reType
 

Definition at line 137 of file tr_types.h.

Referenced by CG_AddLine(), CG_AddOLine(), CG_Beam(), CG_Bleed(), CG_BubbleTrail(), CG_CreateModelFromSpawnEnt(), CG_DoSaber(), CG_MiscEnt(), CG_ScorePlum(), CG_SmokePuff(), CG_TestLine(), and UI_DoSaber().

float refEntity_t::rotation
 

Definition at line 202 of file tr_types.h.

Referenced by CG_AddOLine(), CG_Bleed(), CG_BubbleTrail(), CG_MakeExplosion(), and CG_SmokePuff().

float refEntity_t::saberLength
 

Definition at line 238 of file tr_types.h.

Referenced by CG_DoSaber(), and UI_DoSaber().

byte refEntity_t::shaderRGBA[4]
 

Definition at line 154 of file tr_types.h.

Referenced by CG_AddFadeRGB(), CG_AddFragment(), CG_AddOLine(), CG_AddScorePlum(), CG_BubbleTrail(), CG_CheckThirdPersonAlpha(), CG_CreateDistortionTrailPart(), CG_DoSaber(), CG_DrawPlayerShield(), CG_DrawPlayerSphere(), CG_Player(), CG_SmokePuff(), CG_TestLine(), FX_AddOrientedLine(), Item_Model_Paint(), and UI_DoSaber().

vec2_t refEntity_t::shaderTexCoord
 

Definition at line 155 of file tr_types.h.

Referenced by CG_AddOLine(), CG_DoSaber(), and CG_TestLine().

float refEntity_t::shaderTime
 

Definition at line 162 of file tr_types.h.

Referenced by CG_BubbleTrail(), CG_MakeExplosion(), CG_SmokePuff(), and CG_TestLine().

float refEntity_t::shadowPlane
 

Definition at line 176 of file tr_types.h.

Referenced by CG_AddPlayerWeapon(), and CG_Player().

int refEntity_t::skinNum
 

Definition at line 183 of file tr_types.h.

Referenced by CG_TestModelNextSkin_f(), and CG_TestModelPrevSkin_f().

struct { ... } refEntity_t::sprite
 

float refEntity_t::stscale
 

Definition at line 231 of file tr_types.h.

qboolean refEntity_t::taper
 

Definition at line 233 of file tr_types.h.

struct { ... } refEntity_t::uMini
 

union { ... } refEntity_t::uRefEnt
 

byte refEntity_t::vertRGBA[4][4]
 

Definition at line 204 of file tr_types.h.

float refEntity_t::width
 

Definition at line 229 of file tr_types.h.

float refEntity_t::width2
 

Definition at line 221 of file tr_types.h.

qboolean refEntity_t::wrap
 

Definition at line 232 of file tr_types.h.


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