diff options
author | Tobia Tesan | 2013-07-09 21:02:55 +0200 |
---|---|---|
committer | Tobia Tesan | 2013-08-01 00:03:47 +0200 |
commit | 285ed18979a470c458654f9f0c42ca02aa927f80 (patch) | |
tree | 4838feb56c4a113caf4bca4b69d6d8abd006cca6 /engines/wintermute/graphics/transparent_surface.cpp | |
parent | b34d7b753912af6dd971872cd702d489974606ff (diff) | |
download | scummvm-rg350-285ed18979a470c458654f9f0c42ca02aa927f80.tar.gz scummvm-rg350-285ed18979a470c458654f9f0c42ca02aa927f80.tar.bz2 scummvm-rg350-285ed18979a470c458654f9f0c42ca02aa927f80.zip |
WINTERMUTE: Rename rotate() -> rotoscale() for consistency
Diffstat (limited to 'engines/wintermute/graphics/transparent_surface.cpp')
-rw-r--r-- | engines/wintermute/graphics/transparent_surface.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/wintermute/graphics/transparent_surface.cpp b/engines/wintermute/graphics/transparent_surface.cpp index 1139b08199..07c2537d0f 100644 --- a/engines/wintermute/graphics/transparent_surface.cpp +++ b/engines/wintermute/graphics/transparent_surface.cpp @@ -496,9 +496,10 @@ Common::Rect TransparentSurface::blit(Graphics::Surface &target, int posX, int p return retSize; } -TransparentSurface *TransparentSurface::rotate(TransformStruct *transform) const { +TransparentSurface *TransparentSurface::rotoscale(TransformStruct *transform) const { assert (transform); + assert (transform->_angle != 0); // This would not be ideal Point32 newHotspot; Common::Rect srcRect(0, 0, (int16)w, (int16)h); |