From 4f2a48ac4dc0f58ca3d09f03662bc8cfcaf4968c Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 13 Mar 2003 02:10:48 +0000 Subject: [PATCH] cleanup svn-id: r6809 --- scumm/smush/brenderer.h | 4 ++-- scumm/smush/frenderer.cpp | 2 +- scumm/smush/frenderer.h | 2 +- scumm/smush/scumm_renderer.cpp | 2 +- scumm/smush/scumm_renderer.h | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scumm/smush/brenderer.h b/scumm/smush/brenderer.h index 0db860297a1..9fd616552e5 100644 --- a/scumm/smush/brenderer.h +++ b/scumm/smush/brenderer.h @@ -42,7 +42,7 @@ protected: int32 _height; //!< The current frame's height const char *_fname; //!< The filename of the animation being played protected: - virtual void save(int32 frame = -1) = 0; + virtual void save() = 0; protected: const char *getFilename() const { return _fname; }; //!< accessor for animation filename @@ -71,7 +71,7 @@ public: */ class NullRenderer : public BaseRenderer { protected: - void save(int32 frame = -1) {}; + void save() {}; public: NullRenderer() {}; virtual ~NullRenderer() {}; diff --git a/scumm/smush/frenderer.cpp b/scumm/smush/frenderer.cpp index 761d504f74c..212ad8f7c09 100644 --- a/scumm/smush/frenderer.cpp +++ b/scumm/smush/frenderer.cpp @@ -41,7 +41,7 @@ FontRenderer::~FontRenderer() { } } -void FontRenderer::save(int32 frame) { +void FontRenderer::save() { _chars[_nbChars].width = _width; _chars[_nbChars].height = _height; int size = _width * _height; diff --git a/scumm/smush/frenderer.h b/scumm/smush/frenderer.h index 8d31a1e87e5..93f3b954001 100644 --- a/scumm/smush/frenderer.h +++ b/scumm/smush/frenderer.h @@ -66,7 +66,7 @@ public: virtual ~FontRenderer(); virtual bool wait(int32 ms) { return true; }; protected: - virtual void save(int32 frame = -1); + virtual void save(); /*! @brief get the width of a character. @param c the character we want the width from. diff --git a/scumm/smush/scumm_renderer.cpp b/scumm/smush/scumm_renderer.cpp index 998b60ed22c..88fc9558831 100644 --- a/scumm/smush/scumm_renderer.cpp +++ b/scumm/smush/scumm_renderer.cpp @@ -293,7 +293,7 @@ bool ScummRenderer::setPalette(const Palette &pal) { return BaseRenderer::setPalette(pal); // For compatibility with possible subclass... } -void ScummRenderer::save(int32 frame) { +void ScummRenderer::save() { int width = MIN(_width, _scumm->_realWidth); int height = MIN(_height, _scumm->_realHeight); diff --git a/scumm/smush/scumm_renderer.h b/scumm/smush/scumm_renderer.h index 4f43051e0ef..1432cd8af87 100644 --- a/scumm/smush/scumm_renderer.h +++ b/scumm/smush/scumm_renderer.h @@ -57,7 +57,7 @@ protected: virtual void clean(); virtual bool startDecode(const char *fname, int32 version, int32 nbframes); virtual bool setPalette(const Palette & pal); - virtual void save(int32 frame = -1); + virtual void save(); virtual Mixer *getMixer(); virtual bool prematureClose(); };