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 () |
Definition at line 95 of file gFloor.cpp.
gFloor::gFloor | ( | ) | [inline] |
virtual gFloor::~gFloor | ( | ) | [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 }
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 }
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 }
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 }
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 }
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 }
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 }