Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MeshDrawContext Struct Reference

#include <mesh.h>

Public Types

enum  CLK {
  NONE =0x0, CLOAK =0x1, FOG =0x2, NEARINVIS =0x4,
  GLASSCLOAK =0x8, RENORMALIZE =0x10
}
 

Public Member Functions

 MeshDrawContext (const Matrix &m)
 

Public Attributes

Matrix mat
 The matrix in world space. More...
 
vector< MeshFX > * SpecialFX
 The special FX vector pointing to all active special FX. More...
 
MeshFX xtraFX
 
bool useXtraFX
 
GFXColor CloakFX
 
char cloaked
 
char mesh_seq
 
unsigned char damage
 

Detailed Description

Stores relevant info needed to draw a mesh given only the orig

Definition at line 88 of file mesh.h.

Member Enumeration Documentation

Enumerator
NONE 
CLOAK 
FOG 
NEARINVIS 
GLASSCLOAK 
RENORMALIZE 

Definition at line 97 of file mesh.h.

97 {NONE=0x0, CLOAK=0x1, FOG=0x2, NEARINVIS=0x4, GLASSCLOAK=0x8, RENORMALIZE=0x10};

Constructor & Destructor Documentation

MeshDrawContext::MeshDrawContext ( const Matrix m)
inline

Definition at line 101 of file mesh.h.

References useXtraFX.

101  : mat( m )
102  , CloakFX( 1, 1, 1, 1 )
103  , cloaked( NONE )
104  , damage( 0 )
105  {useXtraFX=false;}

Member Data Documentation

char MeshDrawContext::cloaked

Definition at line 98 of file mesh.h.

Referenced by Mesh::Draw().

GFXColor MeshDrawContext::CloakFX

Definition at line 96 of file mesh.h.

Referenced by Mesh::Draw().

unsigned char MeshDrawContext::damage

Definition at line 100 of file mesh.h.

Referenced by Mesh::Draw().

Matrix MeshDrawContext::mat

The matrix in world space.

Definition at line 91 of file mesh.h.

char MeshDrawContext::mesh_seq

Definition at line 99 of file mesh.h.

Referenced by Mesh::Draw().

vector< MeshFX >* MeshDrawContext::SpecialFX

The special FX vector pointing to all active special FX.

Definition at line 93 of file mesh.h.

Referenced by Mesh::Draw().

bool MeshDrawContext::useXtraFX

Definition at line 95 of file mesh.h.

Referenced by Mesh::Draw(), and MeshDrawContext().

MeshFX MeshDrawContext::xtraFX

Definition at line 94 of file mesh.h.

Referenced by Mesh::Draw().


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