#include "defs.h"
#include "rGL.h"
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 | |
rRenderer * | renderer |
#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 |
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 }
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 }
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 }
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 }
void BeginQuadStrip | ( | ) | [inline] |
Definition at line 181 of file rRender.h.
References rRenderer::BeginQuadStrip().
Referenced by gNetPlayerWall::RenderBegin().
00181 { 00182 renderer->BeginQuadStrip(); 00183 }
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 }
void BeginTriangles | ( | ) | [inline] |
Definition at line 161 of file rRender.h.
References rRenderer::BeginTriangles().
Referenced by gCycle::Render().
00161 { 00162 renderer->BeginTriangles(); 00163 }
void BeginTriangleStrip | ( | ) | [inline] |
Definition at line 177 of file rRender.h.
References rRenderer::BeginTriangleStrip().
00177 { 00178 renderer->BeginTriangleStrip(); 00179 }
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().
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 }
Definition at line 190 of file rRender.h.
References rRenderer::Line().
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 }
void MultMatrix | ( | REAL | mdata[4][4] | ) | [inline] |
Definition at line 219 of file rRender.h.
References rRenderer::MultMatrix().
00219 { 00220 renderer->MultMatrix(mdata); 00221 }
void PopMatrix | ( | ) | [inline] |
Definition at line 214 of file rRender.h.
References rRenderer::PopMatrix().
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 }
void PushMatrix | ( | ) | [inline] |
Definition at line 210 of file rRender.h.
References rRenderer::PushMatrix().
00210 { 00211 renderer->PushMatrix(); 00212 }
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().
Definition at line 232 of file rRender.h.
References rRenderer::ScaleMatrix().
00232 { 00233 renderer->ScaleMatrix(f1,f2,f3); 00234 }
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 }
void sr_glRendererInit | ( | ) |
Definition at line 255 of file rGLRender.cpp.
References tNEW.
Referenced by main().
00255 { 00256 tNEW(glRenderer); 00257 }
void sr_RendererCleanup | ( | ) |
Definition at line 136 of file rRender.h.
References rRenderer::TexCoord().
Definition at line 132 of file rRender.h.
References rRenderer::TexCoord().
Definition at line 128 of file rRender.h.
References rRenderer::TexCoord().
Referenced by gLogo::Display(), and gWallRim_helper().
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().
Definition at line 237 of file rRender.h.
References rRenderer::TranslateMatrix().
00237 { 00238 renderer->TranslateMatrix(x1,x2,x3); 00239 }
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().
void Vertex3 | ( | REAL * | x | ) | [inline] |
Definition at line 30 of file rRender.cpp.
Referenced by gLogo::Display(), and gFloor::glFloorColor().