mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-27 20:28:27 +00:00
cleanup
svn-id: r6809
This commit is contained in:
parent
f6b03c0aba
commit
4f2a48ac4d
@ -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() {};
|
||||
|
@ -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;
|
||||
|
@ -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.
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user