28 #ifndef WINTERMUTE_BASE_RENDERER_SDL_H 29 #define WINTERMUTE_BASE_RENDERER_SDL_H 31 #include "engines/wintermute/base/gfx/base_renderer.h" 33 #include "common/rect.h" 34 #include "common/list.h" 36 #include "graphics/surface.h" 37 #include "graphics/transform_struct.h" 40 class BaseSurfaceOSystem;
70 bool initRenderer(
int width,
int height,
bool windowed)
override;
73 bool forcedFlip()
override;
76 void fade(uint16 alpha)
override;
77 void fadeToColor(byte r, byte g, byte b, byte a)
override;
79 bool drawLine(
int x1,
int y1,
int x2,
int y2, uint32 color)
override;
82 void onWindowChange()
override;
83 void setWindowed(
bool windowed)
override;
99 bool setViewport(
int left,
int top,
int right,
int bottom)
override;
100 bool setViewport(
Rect32 *rect)
override {
return BaseRenderer::setViewport(rect); }
102 void pointFromScreen(
Point32 *point);
103 void pointToScreen(
Point32 *point);
105 void dumpData(
const char *filename)
override;
107 float getScaleRatioX()
const override {
110 float getScaleRatioY()
const override {
113 bool startSpriteBatch()
override;
114 bool endSpriteBatch()
override;
115 void endSaveLoad()
override;
136 RenderQueueIterator _lastFrameIter;
146 bool _disableDirtyRects;
152 int _lastScreenChangeID;
Definition: base_game.h:76
void fade(uint16 alpha) override
bool fill(byte r, byte g, byte b, Common::Rect *rect=nullptr) override
Definition: base_image.h:45
void drawFromQueuedTicket(const RenderQueueIterator &ticket)
Definition: render_ticket.h:51
void drawFromTicket(RenderTicket *renderTicket)
void fadeToColor(byte r, byte g, byte b, byte a) override
Definition: base_surface_osystem.h:40
BaseSurface * createSurface() override
Definition: base_surface.h:38
Definition: base_render_osystem.h:61
BaseImage * takeScreenshot() override
Definition: base_renderer.h:53
Definition: list_intern.h:51
bool indicatorFlip() override
Common::String getName() const override
Definition: achievements_tables.h:27