ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Wintermute::BaseSurfaceOpenGL3D Class Reference

#include <base_surface_opengl3d.h>

Inheritance diagram for Wintermute::BaseSurfaceOpenGL3D:
Collaboration diagram for Wintermute::BaseSurfaceOpenGL3D:

List of all members.

Public Member Functions

 BaseSurfaceOpenGL3D (BaseGame *game, BaseRenderer3D *renderer)
 ~BaseSurfaceOpenGL3D ()
bool invalidate () override
bool displayHalfTrans (int x, int y, Rect32 rect) override
bool isTransparentAt (int x, int y) override
bool displayTransZoom (int x, int y, Rect32 rect, float zoomX, float zoomY, uint32 alpha=0xFFFFFFFF, Graphics::TSpriteBlendMode blendMode=Graphics::BLEND_NORMAL, bool mirrorX=false, bool mirrorY=false) override
bool displayTrans (int x, int y, Rect32 rect, uint32 alpha=0xFFFFFFFF, Graphics::TSpriteBlendMode blendMode=Graphics::BLEND_NORMAL, bool mirrorX=false, bool mirrorY=false) override
bool displayTransOffset (int x, int y, Rect32 rect, uint32 alpha=0xFFFFFFFF, Graphics::TSpriteBlendMode blendMode=Graphics::BLEND_NORMAL, bool mirrorX=false, bool mirrorY=false, int offsetX=0, int offsetY=0) override
bool display (int x, int y, Rect32 rect, Graphics::TSpriteBlendMode blendMode=Graphics::BLEND_NORMAL, bool mirrorX=false, bool mirrorY=false) override
bool displayTransform (int x, int y, Rect32 rect, Rect32 newRect, const Graphics::TransformStruct &transform) override
bool displayZoom (int x, int y, Rect32 rect, float zoomX, float zoomY, uint32 alpha=0xFFFFFFFF, bool transparent=false, Graphics::TSpriteBlendMode blendMode=Graphics::BLEND_NORMAL, bool mirrorX=false, bool mirrorY=false) override
bool displayTiled (int x, int y, Rect32 rect, int numTimesX, int numTimesY) override
bool restore () override
bool create (const Common::String &filename, bool defaultCK, byte ckRed, byte ckGreen, byte ckBlue, int lifeTime=-1, bool keepLoaded=false) override
bool create (int width, int height) override
bool putSurface (const Graphics::Surface &surface, bool hasAlpha=false) override
bool putPixel (int x, int y, byte r, byte g, byte b, int a=-1) override
bool getPixel (int x, int y, byte *r, byte *g, byte *b, byte *a=nullptr) override
bool comparePixel (int x, int y, byte r, byte g, byte b, int a=-1) override
bool startPixelOp () override
bool endPixelOp () override
bool isTransparentAtLite (int x, int y) override
void setTexture ()
GLuint getTextureName ()

Private Attributes

GLuint _tex
BaseRenderer3D_renderer
uint8_imageData
uint _texWidth
uint _texHeight

Detailed Description

Definition at line 34 of file base_surface_opengl3d.h.


Constructor & Destructor Documentation

Wintermute::BaseSurfaceOpenGL3D::BaseSurfaceOpenGL3D ( BaseGame game,
BaseRenderer3D renderer 
)

Definition at line 55 of file base_surface_opengl3d.cpp.

Wintermute::BaseSurfaceOpenGL3D::~BaseSurfaceOpenGL3D (  ) 

Definition at line 59 of file base_surface_opengl3d.cpp.


Member Function Documentation

bool Wintermute::BaseSurfaceOpenGL3D::comparePixel ( int  x,
int  y,
byte  r,
byte  g,
byte  b,
int  a = -1 
) [override, virtual]

Reimplemented from Wintermute::BaseSurface.

Definition at line 260 of file base_surface_opengl3d.cpp.

bool Wintermute::BaseSurfaceOpenGL3D::create ( const Common::String filename,
bool  defaultCK,
byte  ckRed,
byte  ckGreen,
byte  ckBlue,
int  lifeTime = -1,
bool  keepLoaded = false 
) [override, virtual]

Implements Wintermute::BaseSurface.

Definition at line 153 of file base_surface_opengl3d.cpp.

bool Wintermute::BaseSurfaceOpenGL3D::create ( int  width,
int  height 
) [override, virtual]

Reimplemented from Wintermute::BaseSurface.

Definition at line 212 of file base_surface_opengl3d.cpp.

bool Wintermute::BaseSurfaceOpenGL3D::display ( int  x,
int  y,
Rect32  rect,
Graphics::TSpriteBlendMode  blendMode = Graphics::BLEND_NORMAL,
bool  mirrorX = false,
bool  mirrorY = false 
) [override, virtual]

Implements Wintermute::BaseSurface.

Definition at line 115 of file base_surface_opengl3d.cpp.

bool Wintermute::BaseSurfaceOpenGL3D::displayHalfTrans ( int  x,
int  y,
Rect32  rect 
) [override, virtual]

Reimplemented from Wintermute::BaseSurface.

Definition at line 73 of file base_surface_opengl3d.cpp.

bool Wintermute::BaseSurfaceOpenGL3D::displayTiled ( int  x,
int  y,
Rect32  rect,
int  numTimesX,
int  numTimesY 
) [override, virtual]

Implements Wintermute::BaseSurface.

Definition at line 140 of file base_surface_opengl3d.cpp.

bool Wintermute::BaseSurfaceOpenGL3D::displayTrans ( int  x,
int  y,
Rect32  rect,
uint32  alpha = 0xFFFFFFFF,
Graphics::TSpriteBlendMode  blendMode = Graphics::BLEND_NORMAL,
bool  mirrorX = false,
bool  mirrorY = false 
) [override, virtual]

Implements Wintermute::BaseSurface.

Definition at line 101 of file base_surface_opengl3d.cpp.

bool Wintermute::BaseSurfaceOpenGL3D::displayTransform ( int  x,
int  y,
Rect32  rect,
Rect32  newRect,
const Graphics::TransformStruct transform 
) [override, virtual]

Implements Wintermute::BaseSurface.

Definition at line 122 of file base_surface_opengl3d.cpp.

bool Wintermute::BaseSurfaceOpenGL3D::displayTransOffset ( int  x,
int  y,
Rect32  rect,
uint32  alpha = 0xFFFFFFFF,
Graphics::TSpriteBlendMode  blendMode = Graphics::BLEND_NORMAL,
bool  mirrorX = false,
bool  mirrorY = false,
int  offsetX = 0,
int  offsetY = 0 
) [override, virtual]

Implements Wintermute::BaseSurface.

Definition at line 108 of file base_surface_opengl3d.cpp.

bool Wintermute::BaseSurfaceOpenGL3D::displayTransZoom ( int  x,
int  y,
Rect32  rect,
float  zoomX,
float  zoomY,
uint32  alpha = 0xFFFFFFFF,
Graphics::TSpriteBlendMode  blendMode = Graphics::BLEND_NORMAL,
bool  mirrorX = false,
bool  mirrorY = false 
) [override, virtual]

Implements Wintermute::BaseSurface.

Definition at line 94 of file base_surface_opengl3d.cpp.

bool Wintermute::BaseSurfaceOpenGL3D::displayZoom ( int  x,
int  y,
Rect32  rect,
float  zoomX,
float  zoomY,
uint32  alpha = 0xFFFFFFFF,
bool  transparent = false,
Graphics::TSpriteBlendMode  blendMode = Graphics::BLEND_NORMAL,
bool  mirrorX = false,
bool  mirrorY = false 
) [override, virtual]

Implements Wintermute::BaseSurface.

Definition at line 135 of file base_surface_opengl3d.cpp.

bool Wintermute::BaseSurfaceOpenGL3D::endPixelOp (  )  [override, virtual]

Reimplemented from Wintermute::BaseSurface.

Definition at line 278 of file base_surface_opengl3d.cpp.

bool Wintermute::BaseSurfaceOpenGL3D::getPixel ( int  x,
int  y,
byte r,
byte g,
byte b,
byte a = nullptr 
) [override, virtual]

Reimplemented from Wintermute::BaseSurface.

Definition at line 255 of file base_surface_opengl3d.cpp.

GLuint Wintermute::BaseSurfaceOpenGL3D::getTextureName (  )  [inline]

Definition at line 63 of file base_surface_opengl3d.h.

bool Wintermute::BaseSurfaceOpenGL3D::invalidate (  )  [override, virtual]

Reimplemented from Wintermute::BaseSurface.

Definition at line 64 of file base_surface_opengl3d.cpp.

bool Wintermute::BaseSurfaceOpenGL3D::isTransparentAt ( int  x,
int  y 
) [override, virtual]

Reimplemented from Wintermute::BaseSurface.

Definition at line 78 of file base_surface_opengl3d.cpp.

bool Wintermute::BaseSurfaceOpenGL3D::isTransparentAtLite ( int  x,
int  y 
) [override, virtual]

Reimplemented from Wintermute::BaseSurface.

Definition at line 285 of file base_surface_opengl3d.cpp.

bool Wintermute::BaseSurfaceOpenGL3D::putPixel ( int  x,
int  y,
byte  r,
byte  g,
byte  b,
int  a = -1 
) [override, virtual]

Reimplemented from Wintermute::BaseSurface.

Definition at line 250 of file base_surface_opengl3d.cpp.

bool Wintermute::BaseSurfaceOpenGL3D::putSurface ( const Graphics::Surface surface,
bool  hasAlpha = false 
) [override, virtual]

Reimplemented from Wintermute::BaseSurface.

Definition at line 226 of file base_surface_opengl3d.cpp.

bool Wintermute::BaseSurfaceOpenGL3D::restore (  )  [override, virtual]

Reimplemented from Wintermute::BaseSurface.

Definition at line 148 of file base_surface_opengl3d.cpp.

void Wintermute::BaseSurfaceOpenGL3D::setTexture (  ) 

Definition at line 299 of file base_surface_opengl3d.cpp.

bool Wintermute::BaseSurfaceOpenGL3D::startPixelOp (  )  [override, virtual]

Reimplemented from Wintermute::BaseSurface.

Definition at line 265 of file base_surface_opengl3d.cpp.


Member Data Documentation

Definition at line 68 of file base_surface_opengl3d.h.


The documentation for this class was generated from the following files:


Generated on Sat Sep 26 2020 05:04:13 for ResidualVM by doxygen 1.7.1
curved edge   curved edge