gFloor Class Reference

Inheritance diagram for gFloor:

Inheritance graph
[legend]
Collaboration diagram for gFloor:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 gFloor ()
virtual ~gFloor ()
virtual void glFloorColor (REAL alpha, REAL intens)
virtual void FloorColor (REAL &r, REAL &g, REAL &b)
virtual void glFloorTexture ()
virtual void glFloorTexture_a ()
virtual void glFloorTexture_b ()
virtual REAL GridSize ()
virtual bool BlackSky ()


Detailed Description

Definition at line 95 of file gFloor.cpp.


Constructor & Destructor Documentation

gFloor::gFloor (  )  [inline]

Definition at line 97 of file gFloor.cpp.

00097 {};

virtual gFloor::~gFloor (  )  [inline, virtual]

Definition at line 98 of file gFloor.cpp.

00098 {};


Member Function Documentation

virtual void gFloor::glFloorColor ( REAL  alpha,
REAL  intens 
) [inline, virtual]

Implements eFloor.

Definition at line 100 of file gFloor.cpp.

References b, rRenderer::Color(), FloorColor(), REAL, renderer, and sr_glOut.

00100                                                       {
00101         if (!sr_glOut)
00102             return;
00103 
00104         REAL r, g, b;
00105         FloorColor(r, g, b);
00106         renderer->Color(r, g, b, alpha);
00107     }

Here is the call graph for this function:

virtual void gFloor::FloorColor ( REAL r,
REAL g,
REAL b 
) [inline, virtual]

Implements eFloor.

Definition at line 109 of file gFloor.cpp.

References floor_blue, floor_green, floor_red, moviepack_floor_blue, moviepack_floor_green, moviepack_floor_red, and sg_MoviePack().

Referenced by glFloorColor().

00109                                                      {
00110         if (sg_MoviePack())
00111         {
00112             r = moviepack_floor_red;
00113             g = moviepack_floor_green;
00114             b = moviepack_floor_blue;
00115         }
00116         else
00117         {
00118             r = floor_red;
00119             g = floor_green;
00120             b = floor_blue;
00121         }
00122     }

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void gFloor::glFloorTexture (  )  [inline, virtual]

Implements eFloor.

Definition at line 125 of file gFloor.cpp.

References ArmageTron_floor, ArmageTron_mp_floor, rITexture::Select(), and sg_MoviePack().

00125                                  {
00126         if (sg_MoviePack())
00127             ArmageTron_mp_floor.Select();
00128         else
00129             ArmageTron_floor.Select();
00130     }

Here is the call graph for this function:

virtual void gFloor::glFloorTexture_a (  )  [inline, virtual]

Implements eFloor.

Definition at line 132 of file gFloor.cpp.

References floor_a, mp_floor_a, rITexture::Select(), and sg_MoviePack().

00132                                    {
00133         if (sg_MoviePack())
00134             mp_floor_a.Select();
00135         else
00136             floor_a.Select();
00137     }

Here is the call graph for this function:

virtual void gFloor::glFloorTexture_b (  )  [inline, virtual]

Implements eFloor.

Definition at line 139 of file gFloor.cpp.

References floor_b, mp_floor_b, rITexture::Select(), and sg_MoviePack().

00139                                    {
00140         if (sg_MoviePack())
00141             mp_floor_b.Select();
00142         else
00143             floor_b.Select();
00144     }

Here is the call graph for this function:

virtual REAL gFloor::GridSize (  )  [inline, virtual]

Implements eFloor.

Definition at line 146 of file gFloor.cpp.

References sg_gridSize, sg_gridSizeMoviePack, and sg_MoviePack().

00146                            {
00147         if (sg_MoviePack())
00148             return sg_gridSizeMoviePack;
00149         else
00150             return sg_gridSize;
00151     }

Here is the call graph for this function:

virtual bool gFloor::BlackSky (  )  [inline, virtual]

Implements eFloor.

Definition at line 153 of file gFloor.cpp.

References sg_MoviePack().

00153                            {
00154         return sg_MoviePack();
00155     }

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Sat Mar 15 23:39:18 2008 for Armagetron Advanced by  doxygen 1.5.4