svn-id: r6809
This commit is contained in:
Max Horn 2003-03-13 02:10:48 +00:00
parent f6b03c0aba
commit 4f2a48ac4d
5 changed files with 6 additions and 6 deletions

View File

@ -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() {};

View File

@ -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;

View File

@ -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.

View File

@ -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);

View File

@ -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();
};