diff options
author | Johannes Schickel | 2016-03-08 20:15:22 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-03-08 20:15:22 +0100 |
commit | 7be486ae271ff87e1f7b3d3a5b9b0596826c6cc1 (patch) | |
tree | 9d379f6fa5efc83e4935558f3d683c36d185a010 /engines/sci/graphics/celobj32.cpp | |
parent | 693f8dc295dc43e3bccd954a8a243f7aedd5da22 (diff) | |
download | scummvm-rg350-7be486ae271ff87e1f7b3d3a5b9b0596826c6cc1.tar.gz scummvm-rg350-7be486ae271ff87e1f7b3d3a5b9b0596826c6cc1.tar.bz2 scummvm-rg350-7be486ae271ff87e1f7b3d3a5b9b0596826c6cc1.zip |
SCI: Slight template formatting fixes.
Diffstat (limited to 'engines/sci/graphics/celobj32.cpp')
-rw-r--r-- | engines/sci/graphics/celobj32.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/graphics/celobj32.cpp b/engines/sci/graphics/celobj32.cpp index 35f934825d..389270ec42 100644 --- a/engines/sci/graphics/celobj32.cpp +++ b/engines/sci/graphics/celobj32.cpp @@ -107,7 +107,7 @@ void CelObj::deinit() { #pragma mark - #pragma mark CelObj - Scalers -template <bool FLIP, typename READER> +template<bool FLIP, typename READER> struct SCALER_NoScale { const byte *_row; READER _reader; @@ -562,7 +562,7 @@ void CelObj::putCopyInCache(const int cacheIndex) const { #pragma mark - #pragma mark CelObj - Drawing -template <typename MAPPER, typename SCALER> +template<typename MAPPER, typename SCALER> struct RENDERER { MAPPER &_mapper; SCALER &_scaler; @@ -594,7 +594,7 @@ struct RENDERER { } }; -template <typename MAPPER, typename SCALER> +template<typename MAPPER, typename SCALER> void CelObj::render(Buffer &target, const Common::Rect &targetRect, const Common::Point &scaledPosition) const { MAPPER mapper; @@ -603,7 +603,7 @@ void CelObj::render(Buffer &target, const Common::Rect &targetRect, const Common renderer.draw(target, targetRect, scaledPosition); } -template <typename MAPPER, typename SCALER> +template<typename MAPPER, typename SCALER> void CelObj::render(Buffer &target, const Common::Rect &targetRect, const Common::Point &scaledPosition, const Ratio &scaleX, const Ratio &scaleY) const { MAPPER mapper; |