|
| OpenGLShaderRenderer (int screenW, int screenH, Common::RenderMode renderMode, bool authenticGraphics) |
|
void | copyToVertexArray (uint idx, const Math::Vector3d &src) |
|
virtual void | init () override |
|
virtual void | clear (uint8 r, uint8 g, uint8 b, bool ignoreViewport=false) override |
|
virtual void | setViewport (const Common::Rect &rect) override |
|
virtual Common::Point | nativeResolution () override |
|
virtual void | positionCamera (const Math::Vector3d &pos, const Math::Vector3d &interest) override |
|
virtual void | updateProjectionMatrix (float fov, float aspectRatio, float nearClipPlane, float farClipPlane) override |
|
virtual void | useColor (uint8 r, uint8 g, uint8 b) override |
|
virtual void | polygonOffset (bool enabled) override |
|
virtual void | depthTesting (bool enabled) override |
|
virtual void | setStippleData (byte *data) override |
|
virtual void | useStipple (bool enabled) override |
|
Texture * | createTexture (const Graphics::Surface *surface) override |
|
void | freeTexture (Texture *texture) override |
|
virtual void | drawTexturedRect2D (const Common::Rect &screenRect, const Common::Rect &textureRect, Texture *texture) override |
|
virtual void | renderSensorShoot (byte color, const Math::Vector3d sensor, const Math::Vector3d player, const Common::Rect viewPort) override |
|
virtual void | renderPlayerShootBall (byte color, const Common::Point position, int frame, const Common::Rect viewPort) override |
|
virtual void | renderPlayerShootRay (byte color, const Common::Point position, const Common::Rect viewPort) override |
|
void | drawCelestialBody (Math::Vector3d position, float radius, uint8 color) override |
|
virtual void | renderCrossair (const Common::Point crossairPosition) override |
|
virtual void | renderFace (const Common::Array< Math::Vector3d > &vertices) override |
|
virtual void | flipBuffer () override |
|
virtual void | drawFloor (uint8 color) override |
|
virtual Graphics::Surface * | getScreenshot () override |
|
| Renderer (int screenW, int screenH, Common::RenderMode renderMode, bool authenticGraphics) |
|
Graphics::Surface * | convertImageFormatIfNecessary (Graphics::ManagedSurface *surface) |
|
virtual void | renderCube (const Math::Vector3d &position, const Math::Vector3d &size, Common::Array< uint8 > *colours, Common::Array< uint8 > *ecolours, float offset=0.0) |
|
virtual void | renderRectangle (const Math::Vector3d &position, const Math::Vector3d &size, Common::Array< uint8 > *colours, Common::Array< uint8 > *ecolours, float offset=0.0) |
|
virtual void | renderPolygon (const Math::Vector3d &origin, const Math::Vector3d &size, const Common::Array< float > *ordinates, Common::Array< uint8 > *colours, Common::Array< uint8 > *ecolours, float offset=0.0) |
|
virtual void | renderPyramid (const Math::Vector3d &origin, const Math::Vector3d &size, const Common::Array< float > *ordinates, Common::Array< uint8 > *colours, Common::Array< uint8 > *ecolours, int type) |
|
void | setColorRemaps (ColorReMap *colorRemaps) |
|
virtual void | drawBackground (uint8 color) |
|
void | drawEclipse (uint8 color1, uint8 color2, float difference) |
|
virtual void | drawSkybox (Texture *texture, Math::Vector3d camera) |
|
Common::Rect | viewport () const |
|
void | readFromPalette (uint8 index, uint8 &r, uint8 &g, uint8 &b) |
|
void | setPaletteValue (uint8 index, uint8 r, uint8 g, uint8 b) |
|
uint8 | indexFromColor (uint8 r, uint8 g, uint8 b) |
|
uint8 | mapEGAColor (uint8 index) |
|
bool | getRGBAt (uint8 index, uint8 ecolor, uint8 &r1, uint8 &g1, uint8 &b1, uint8 &r2, uint8 &g2, uint8 &b2, byte *&stipple) |
|
bool | getRGBAtC64 (uint8 index, uint8 &r1, uint8 &g1, uint8 &b1, uint8 &r2, uint8 &g2, uint8 &b2) |
|
bool | getRGBAtCGA (uint8 index, uint8 &r1, uint8 &g1, uint8 &b1, uint8 &r2, uint8 &g2, uint8 &b2, byte *&stipple) |
|
bool | getRGBAtCPC (uint8 index, uint8 &r1, uint8 &g1, uint8 &b1, uint8 &r2, uint8 &g2, uint8 &b2, byte *&stipple) |
|
bool | getRGBAtEGA (uint8 index, uint8 &r1, uint8 &g1, uint8 &b1, uint8 &r2, uint8 &g2, uint8 &b2) |
|
bool | getRGBAtZX (uint8 index, uint8 &r1, uint8 &g1, uint8 &b1, uint8 &r2, uint8 &g2, uint8 &b2, byte *&stipple) |
|
bool | getRGBAtHercules (uint8 index, uint8 &r1, uint8 &g1, uint8 &b1, uint8 &r2, uint8 &g2, uint8 &b2, byte *&stipple) |
|
void | extractCPCIndexes (uint8 cm1, uint8 cm2, uint8 &i1, uint8 &i2) |
|
void | extractC64Indexes (uint8 cm1, uint8 cm2, uint8 &i1, uint8 &i2) |
|
void | selectColorFromFourColorPalette (uint8 index, uint8 &r1, uint8 &g1, uint8 &b1) |
|
void | scaleStipplePattern (byte originalPattern[128], byte newPattern[128]) |
|
void | setColorMap (ColorMap *colorMap_) |
|
void | clearColorPairArray () |
|
void | fillColorPairArray () |
|
Math::Matrix4 | getMvpMatrix () const |
|
void | flipVertical (Graphics::Surface *s) |
|
bool | computeScreenViewport () |
|