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
warptrails Struct Reference

Public Member Functions

void Draw ()
 

Public Attributes

vector< Mesh * > factions
 
vector< struct WarpTrail * > warps
 

Detailed Description

Definition at line 8 of file warptrail.cpp.

Member Function Documentation

void warptrails::Draw ( )

Definition at line 86 of file warptrail.cpp.

References i, and warps.

Referenced by WarpTrailDraw().

87 {
88  for (unsigned int i = 0; i < warps.size(); ++i)
89  if ( !warps[i]->Draw( this ) ) {
90  delete warps[i];
91  warps.erase( warps.begin()+i );
92  i--;
93  }
94 }

Member Data Documentation

vector< Mesh* > warptrails::factions

Definition at line 10 of file warptrail.cpp.

Referenced by GetWarpMesh().

vector< struct WarpTrail* > warptrails::warps

Definition at line 11 of file warptrail.cpp.

Referenced by AddWarp(), and Draw().


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