Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

DECAL Class Reference

#include <decal.h>

List of all members.

Public Methods

 DECAL ()
 ~DECAL ()
int Compare (const DECAL &Decal)
int GetMyPosition () const
void SetMyPosition (int newPosition)

Public Attributes

int linkPosition
int type
int flag
int counter
int active
VECTOR CollisionVector
VERTEX Vertex [4]
float Size
VECTOR Position
QUAT Orientation


Constructor & Destructor Documentation

DECAL::DECAL  
 

Definition at line 34 of file decal.cpp.

00035 {
00036 }

DECAL::~DECAL  
 

Definition at line 38 of file decal.cpp.

00039 {
00040 }


Member Function Documentation

int DECAL::Compare const DECAL &    Decal
 

Definition at line 42 of file decal.cpp.

References bigger, linkPosition, same, and smaller.

00043 {
00044     if (linkPosition < Decal.linkPosition)
00045             return smaller;
00046       if (linkPosition > Decal.linkPosition)
00047             return bigger;
00048       else
00049             return same;
00050 }

int DECAL::GetMyPosition   const [inline]
 

Definition at line 18 of file decal.h.

References linkPosition.

00018 {return linkPosition;}

void DECAL::SetMyPosition int    newPosition [inline]
 

Definition at line 19 of file decal.h.

References linkPosition.

00019 {linkPosition = newPosition;}


Member Data Documentation

int DECAL::active
 

Definition at line 25 of file decal.h.

Referenced by DrawDecals(), UpdateBullets(), and WinMain().

VECTOR DECAL::CollisionVector
 

Definition at line 26 of file decal.h.

Referenced by DrawImpactFlash(), and UpdateBullets().

int DECAL::counter
 

Definition at line 24 of file decal.h.

Referenced by RenderBSP(), and UpdateBullets().

int DECAL::flag
 

Definition at line 23 of file decal.h.

int DECAL::linkPosition
 

Definition at line 20 of file decal.h.

Referenced by Compare(), GetMyPosition(), SetMyPosition(), and UpdateBullets().

QUAT DECAL::Orientation
 

Definition at line 30 of file decal.h.

Referenced by DrawDecals(), and DrawMuzzleFlash().

VECTOR DECAL::Position
 

Definition at line 29 of file decal.h.

Referenced by DrawDecals(), and DrawMuzzleFlash().

float DECAL::Size
 

Definition at line 28 of file decal.h.

Referenced by CreateDecal(), DrawMuzzleFlash(), InitGL(), and UpdateBullets().

int DECAL::type
 

Definition at line 22 of file decal.h.

Referenced by RenderBSP(), and UpdateBullets().

VERTEX DECAL::Vertex[4]
 

Definition at line 27 of file decal.h.

Referenced by CreateDecal(), RenderBulletDecal(), and RenderBurnDecal().


The documentation for this class was generated from the following files:
Generated on Fri Dec 23 05:15:51 2005 for Constructive Solid Geometry by doxygen1.2.15