src/render/rRender.h File Reference

#include "defs.h"
#include "rGL.h"

Include dependency graph for rRender.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  rRenderer

Defines

#define glBegin   #error glBegin disabled
#define glEnd   #error glEnd disabled
#define glMatrixMode   #error glEnd disabled
#define STACK_DEPTH   100

Functions

void Vertex (REAL x, REAL y)
void Vertex (REAL x, REAL y, REAL z)
void Vertex3 (REAL *x)
void Vertex (REAL x, REAL y, REAL z, REAL w)
void TexCoord (REAL u, REAL v)
void TexCoord (REAL u, REAL v, REAL w)
void TexCoord (REAL u, REAL v, REAL w, REAL t)
void TexVertex (REAL x, REAL y, REAL z, REAL u, REAL v)
void Color (REAL r, REAL g, REAL b)
void Color (REAL r, REAL g, REAL b, REAL a)
void RenderEnd (bool force=true)
void BeginLines ()
void BeginTriangles ()
void BeginQuads ()
void BeginLineStrip ()
void BeginLineLoop ()
void BeginTriangleStrip ()
void BeginQuadStrip ()
void BeginTriangleFan ()
void Line (REAL x1, REAL y1, REAL z1, REAL x2, REAL y2, REAL z2)
void ProjMatrix ()
void ModelMatrix ()
void TexMatrix ()
void PushMatrix ()
void PopMatrix ()
void MultMatrix (REAL mdata[4][4])
void IdentityMatrix ()
void ScaleMatrix (REAL f)
void ScaleMatrix (REAL f1, REAL f2, REAL f3)
void TranslateMatrix (REAL x1, REAL x2, REAL x3)
void sr_RendererCleanup ()
void sr_glRendererInit ()

Variables

rRendererrenderer


Define Documentation

#define glBegin   #error glBegin disabled

Definition at line 35 of file rRender.h.

Referenced by cWidget::Map::ClipperCircle::Begin(), cWidget::Map::ClipperRect::Begin(), glRenderer::BeginPrimitive(), rViewportConfiguration::DemonstrateViewport(), cWidget::Map::DrawRimWalls(), cWidget::Map::DrawWalls(), rModel::Render(), gCycle::Render2D(), RunGLTest(), and sr_MotionBlurCore().

#define glEnd   #error glEnd disabled

Definition at line 36 of file rRender.h.

Referenced by cWidget::Map::ClipperCircle::Begin(), cWidget::Map::ClipperRect::Begin(), glRenderer::BeginPrimitive(), rViewportConfiguration::DemonstrateViewport(), cWidget::Map::DrawRimWalls(), cWidget::Map::DrawWalls(), glRenderer::End(), rModel::Render(), gCycle::Render2D(), RunGLTest(), and sr_MotionBlurCore().

#define glMatrixMode   #error glEnd disabled

Definition at line 37 of file rRender.h.

Referenced by glRenderer::MatrixMode(), rViewport::Perspective(), gCycle::Render(), cWidget::Map::Render(), eCamera::Render(), RunGLTest(), sr_MotionBlurCore(), and sr_ResetRenderState().

#define STACK_DEPTH   100

Definition at line 104 of file rRender.h.

Referenced by rRenderer::rRenderer().


Function Documentation

void BeginLineLoop (  )  [inline]

Definition at line 173 of file rRender.h.

References rRenderer::BeginLineLoop().

Referenced by arrow(), and gCycle::Render().

00173                            {
00174     renderer->BeginLineLoop();
00175 }

Here is the call graph for this function:

Here is the caller graph for this function:

void BeginLines (  )  [inline]

Definition at line 157 of file rRender.h.

References rRenderer::BeginLines().

Referenced by eGrid::display_simple(), gSpark::Render(), gExplosion::Render(), eDebugLine::Render(), zShapePolygon::render2d(), zShapeCircle::render2d(), gZone::Render2D(), gExplosion::Render2D(), cWidget::NeedleGauge::RenderGraph(), cWidget::VerticalBarGauge::RenderGraph(), cWidget::BarGauge::RenderGraph(), gNetPlayerWall::RenderNormal(), and rTextField::~rTextField().

00157                         {
00158     renderer->BeginLines();
00159 }

Here is the call graph for this function:

Here is the caller graph for this function:

void BeginLineStrip (  )  [inline]

Definition at line 169 of file rRender.h.

References rRenderer::BeginLineStrip().

Referenced by zShapePolygon::render(), zShapeCircle::render(), gZone::Render(), gLaggometer::LagOMeterRenderer::render(), and gNetPlayerWall::RenderBegin().

00169                             {
00170     renderer->BeginLineStrip();
00171 }

Here is the call graph for this function:

Here is the caller graph for this function:

void BeginQuads (  )  [inline]

Definition at line 165 of file rRender.h.

References rRenderer::BeginQuads().

Referenced by gLogo::Display(), rTextField::FlushLine(), gWallRim_helper(), MenuBackground(), zShapePolygon::render(), zShapeCircle::render(), gZone::Render(), gCycle::Render(), rFont::Render(), gNetPlayerWall::RenderNormal(), and gWallRim::RenderReal().

00165                         {
00166     renderer->BeginQuads();
00167 }

Here is the call graph for this function:

Here is the caller graph for this function:

void BeginQuadStrip (  )  [inline]

Definition at line 181 of file rRender.h.

References rRenderer::BeginQuadStrip().

Referenced by gNetPlayerWall::RenderBegin().

00181                             {
00182     renderer->BeginQuadStrip();
00183 }

Here is the call graph for this function:

Here is the caller graph for this function:

void BeginTriangleFan (  )  [inline]

Definition at line 185 of file rRender.h.

References rRenderer::BeginTriangleFan().

Referenced by finite_xy_plane(), and infinity_xy_plane().

00185                               {
00186     renderer->BeginTriangleFan();
00187 }

Here is the call graph for this function:

Here is the caller graph for this function:

void BeginTriangles (  )  [inline]

Definition at line 161 of file rRender.h.

References rRenderer::BeginTriangles().

Referenced by gCycle::Render().

00161                             {
00162     renderer->BeginTriangles();
00163 }

Here is the call graph for this function:

Here is the caller graph for this function:

void BeginTriangleStrip (  )  [inline]

Definition at line 177 of file rRender.h.

References rRenderer::BeginTriangleStrip().

00177                                 {
00178     renderer->BeginTriangleStrip();
00179 }

Here is the call graph for this function:

void Color ( REAL  r,
REAL  g,
REAL  b,
REAL  a 
) [inline]

Definition at line 149 of file rRender.h.

References rRenderer::Color().

00149                                                 {
00150     renderer->Color(r,g,b,a);
00151 }

Here is the call graph for this function:

void Color ( REAL  r,
REAL  g,
REAL  b 
) [inline]

Definition at line 145 of file rRender.h.

References rRenderer::Color().

Referenced by rColor::Apply(), gLogo::Display(), uMenu::Message(), uMenu::OnEnter(), cCockpit::Render(), eDebugLine::Render(), gWallRim::RenderReal(), and welcome().

00145                                          {
00146     renderer->Color(r,g,b);
00147 }

Here is the call graph for this function:

Here is the caller graph for this function:

void IdentityMatrix (  )  [inline]

Definition at line 224 of file rRender.h.

References rRenderer::IdentityMatrix().

Referenced by dir_eWall_select(), and gCycle::Render().

00224                             {
00225     renderer->IdentityMatrix();
00226 }

Here is the call graph for this function:

Here is the caller graph for this function:

void Line ( REAL  x1,
REAL  y1,
REAL  z1,
REAL  x2,
REAL  y2,
REAL  z2 
) [inline]

Definition at line 190 of file rRender.h.

References rRenderer::Line().

00191                                            {
00192     renderer->Line(x1,y1,z1,x2,y2,z2);
00193 }

Here is the call graph for this function:

void ModelMatrix (  )  [inline]

Definition at line 201 of file rRender.h.

References rRenderer::ModelMatrix().

Referenced by eGrid::display_simple(), zShapePolygon::render(), zShapeCircle::render(), gZone::Render(), gExplosion::Render(), gCycle::Render(), eGrid::Render(), zShapePolygon::render2d(), zShapeCircle::render2d(), gZone::Render2D(), gExplosion::Render2D(), and gCycle::RenderName().

00201                          {
00202     renderer->ModelMatrix();
00203 }

Here is the call graph for this function:

Here is the caller graph for this function:

void MultMatrix ( REAL  mdata[4][4]  )  [inline]

Definition at line 219 of file rRender.h.

References rRenderer::MultMatrix().

00219                                         {
00220     renderer->MultMatrix(mdata);
00221 }

Here is the call graph for this function:

void PopMatrix (  )  [inline]

Definition at line 214 of file rRender.h.

References rRenderer::PopMatrix().

00214                        {
00215     renderer->PopMatrix();
00216 }

Here is the call graph for this function:

void ProjMatrix (  )  [inline]

Definition at line 197 of file rRender.h.

References rRenderer::ProjMatrix().

Referenced by eGrid::Render(), and gCycle::RenderName().

00197                         {
00198     renderer->ProjMatrix();
00199 }

Here is the call graph for this function:

Here is the caller graph for this function:

void PushMatrix (  )  [inline]

Definition at line 210 of file rRender.h.

References rRenderer::PushMatrix().

00210                         {
00211     renderer->PushMatrix();
00212 }

Here is the call graph for this function:

void RenderEnd ( bool  force = true  )  [inline]

Definition at line 153 of file rRender.h.

References rRenderer::End().

Referenced by arrow(), gLogo::Display(), eGrid::display_simple(), finite_xy_plane(), rTextField::FlushLine(), infinity_xy_plane(), MenuBackground(), rISurfaceTexture::OnSelect(), zShapePolygon::render(), zShapeCircle::render(), gZone::Render(), gSpark::Render(), gExplosion::Render(), gCycle::Render(), gLaggometer::LagOMeterRenderer::render(), rFont::Render(), eDebugLine::Render(), zShapePolygon::render2d(), zShapeCircle::render2d(), gZone::Render2D(), gExplosion::Render2D(), gCycleWallsDisplayListManager::RenderAll(), eWallRim::RenderAll(), gNetPlayerWall::RenderBegin(), cWidget::NeedleGauge::RenderGraph(), cWidget::VerticalBarGauge::RenderGraph(), cWidget::BarGauge::RenderGraph(), gNetPlayerWall::RenderNormal(), gWallRim::RenderReal(), and rTextField::~rTextField().

00153                                       {
00154     renderer->End(force);
00155 }

Here is the call graph for this function:

Here is the caller graph for this function:

void ScaleMatrix ( REAL  f1,
REAL  f2,
REAL  f3 
) [inline]

Definition at line 232 of file rRender.h.

References rRenderer::ScaleMatrix().

00232                                                   {
00233     renderer->ScaleMatrix(f1,f2,f3);
00234 }

Here is the call graph for this function:

void ScaleMatrix ( REAL  f  )  [inline]

Definition at line 228 of file rRender.h.

References rRenderer::ScaleMatrix().

Referenced by dir_eWall_select().

00228                                {
00229     renderer->ScaleMatrix(f);
00230 }

Here is the call graph for this function:

Here is the caller graph for this function:

void sr_glRendererInit (  ) 

Definition at line 255 of file rGLRender.cpp.

References tNEW.

Referenced by main().

00255                         {
00256     tNEW(glRenderer);
00257 }

Here is the caller graph for this function:

void sr_RendererCleanup (  ) 

Definition at line 32 of file rRender.cpp.

Referenced by cleanup(), and main().

00032                          {
00033     delete renderer;
00034     renderer = 0;
00035 }

Here is the caller graph for this function:

void TexCoord ( REAL  u,
REAL  v,
REAL  w,
REAL  t 
) [inline]

Definition at line 136 of file rRender.h.

References rRenderer::TexCoord().

00136                                                     {
00137     renderer->TexCoord(u,v,w,t);
00138 }

Here is the call graph for this function:

void TexCoord ( REAL  u,
REAL  v,
REAL  w 
) [inline]

Definition at line 132 of file rRender.h.

References rRenderer::TexCoord().

00132                                             {
00133     renderer->TexCoord(u,v,w);
00134 }

Here is the call graph for this function:

void TexCoord ( REAL  u,
REAL  v 
) [inline]

Definition at line 128 of file rRender.h.

References rRenderer::TexCoord().

Referenced by gLogo::Display(), and gWallRim_helper().

00128                                     {
00129     renderer->TexCoord(u,v);
00130 }

Here is the call graph for this function:

Here is the caller graph for this function:

void TexMatrix (  )  [inline]

Definition at line 205 of file rRender.h.

References rRenderer::TexMatrix().

Referenced by dir_eWall_select(), eGrid::display_simple(), MenuBackground(), paint_sr_lowerSky(), and gCycle::Render().

00205                        {
00206     renderer->TexMatrix();
00207 }

Here is the call graph for this function:

Here is the caller graph for this function:

void TexVertex ( REAL  x,
REAL  y,
REAL  z,
REAL  u,
REAL  v 
) [inline]

Definition at line 140 of file rRender.h.

References rRenderer::TexVertex().

00141                                      {
00142     renderer->TexVertex(x,y,z,u,v);
00143 }

Here is the call graph for this function:

void TranslateMatrix ( REAL  x1,
REAL  x2,
REAL  x3 
) [inline]

Definition at line 237 of file rRender.h.

References rRenderer::TranslateMatrix().

00237                                                       {
00238     renderer->TranslateMatrix(x1,x2,x3);
00239 }

Here is the call graph for this function:

void Vertex ( REAL  x,
REAL  y,
REAL  z,
REAL  w 
) [inline]

Definition at line 124 of file rRender.h.

References rRenderer::Vertex().

00124                                                   {
00125     renderer->Vertex(x,y,z,w);
00126 }

Here is the call graph for this function:

void Vertex ( REAL  x,
REAL  y,
REAL  z 
) [inline]

Definition at line 116 of file rRender.h.

References rRenderer::Vertex().

00116                                           {
00117     renderer->Vertex(x,y,z);
00118 }

Here is the call graph for this function:

void Vertex ( REAL  x,
REAL  y 
) [inline]

Definition at line 112 of file rRender.h.

References rRenderer::Vertex().

Referenced by arrow(), gLogo::Display(), gWallRim_helper(), eDebugLine::Render(), cWidget::NeedleGauge::RenderGraph(), and gWallRim::RenderReal().

00112                                   {
00113     renderer->Vertex(x,y);
00114 }

Here is the call graph for this function:

Here is the caller graph for this function:

void Vertex3 ( REAL x  )  [inline]

Definition at line 120 of file rRender.h.

References rRenderer::Vertex3().

00120                             {
00121     renderer->Vertex3(x);
00122 }

Here is the call graph for this function:


Variable Documentation

rRenderer* renderer

Definition at line 30 of file rRender.cpp.

Referenced by gLogo::Display(), and gFloor::glFloorColor().


Generated on Sat Mar 15 23:03:25 2008 for Armagetron Advanced by  doxygen 1.5.4