diff options
author | Tobia Tesan | 2013-07-10 12:46:32 +0200 |
---|---|---|
committer | Tobia Tesan | 2013-08-01 00:06:38 +0200 |
commit | 6f03fbac843410f457115bd075a6926ed3924ce0 (patch) | |
tree | 88c027130ca6a16fade0059c6f9703e0b16da3e9 /engines/wintermute/base/gfx/osystem/base_surface_osystem.h | |
parent | 163cd6a5284a352225fbfa621a1e7152d0e5f8e0 (diff) | |
download | scummvm-rg350-6f03fbac843410f457115bd075a6926ed3924ce0.tar.gz scummvm-rg350-6f03fbac843410f457115bd075a6926ed3924ce0.tar.bz2 scummvm-rg350-6f03fbac843410f457115bd075a6926ed3924ce0.zip |
WINTERMUTE: Pass structs by const reference
Diffstat (limited to 'engines/wintermute/base/gfx/osystem/base_surface_osystem.h')
-rw-r--r-- | engines/wintermute/base/gfx/osystem/base_surface_osystem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/gfx/osystem/base_surface_osystem.h b/engines/wintermute/base/gfx/osystem/base_surface_osystem.h index 7eef416d0e..2e2da3c289 100644 --- a/engines/wintermute/base/gfx/osystem/base_surface_osystem.h +++ b/engines/wintermute/base/gfx/osystem/base_surface_osystem.h @@ -56,7 +56,7 @@ public: bool displayTransOffset(int x, int y, Rect32 rect, uint32 alpha = DEFAULT_RGBAMOD, TSpriteBlendMode blendMode = BLEND_NORMAL, bool mirrorX = false, bool mirrorY = false, int offsetX = 0, int offsetY = 0) override; bool display(int x, int y, Rect32 rect, TSpriteBlendMode blendMode = BLEND_NORMAL, bool mirrorX = false, bool mirrorY = false) override; bool displayZoom(int x, int y, Rect32 rect, float zoomX, float zoomY, uint32 alpha = DEFAULT_RGBAMOD, bool transparent = false, TSpriteBlendMode blendMode = BLEND_NORMAL, bool mirrorX = false, bool mirrorY = false) override; - bool displayTransform(int x, int y, Rect32 rect, Rect32 newRect, TransformStruct transform) override; + bool displayTransform(int x, int y, Rect32 rect, Rect32 newRect, const TransformStruct &transform) override; bool repeatLastDisplayOp(int offsetX, int offsetY, int numTimesX, int numTimesY) override; virtual bool putSurface(const Graphics::Surface &surface, bool hasAlpha = false) override; /* static unsigned DLL_CALLCONV ReadProc(void *buffer, unsigned size, unsigned count, fi_handle handle); |