diff options
Diffstat (limited to 'scumm/smush/brenderer.h')
-rw-r--r-- | scumm/smush/brenderer.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/scumm/smush/brenderer.h b/scumm/smush/brenderer.h index e45b3e13eb..434c18b8a0 100644 --- a/scumm/smush/brenderer.h +++ b/scumm/smush/brenderer.h @@ -1,4 +1,4 @@ -/* ScummVM - Scumm Interpreter +/* ScummVM - Scumm int32erpreter * Copyright (C) 2001/2002 The ScummVM project * * This program is free software; you can redistribute it and/or @@ -36,34 +36,34 @@ class BaseRenderer : public Renderer { private: Palette _pal; //!< The current palette char * _data; //!< The current frame buffer - int _frame; //!< The current frame number - int _nbframes; //!< The number of frames in the animation - int _width; //!< The current frame's width - int _height; //!< The current frame's height + int32 _frame; //!< The current frame number + int32 _nbframes; //!< The number of frames in the animation + int32 _width; //!< The current frame's width + int32 _height; //!< The current frame's height const char * _fname; //!< The filename of the animation being played protected: - virtual void save(int frame = -1) = 0; + virtual void save(int32 frame = -1) = 0; protected: const char * getFilename() const { return _fname; }; //!< accessor for animation filename - int getNbframes() const { return _nbframes; }; //!< accessor for number of frames - int getWidth() const { return _width; }; //!< accessor for current width - int getHeight() const { return _height; }; //!< accessor for current height + int32 getNbframes() const { return _nbframes; }; //!< accessor for number of frames + int32 getWidth() const { return _width; }; //!< accessor for current width + int32 getHeight() const { return _height; }; //!< accessor for current height const Palette & pal() const { return _pal; }; //!< accessor for current palette const char * data() const { return _data; }; //!< accessor for current frame buffer void clean(); //!< memory cleanup (deletes frame buffer) - void setFrame(int f) { _frame = f; }; //!< allows to change the frame number + void setFrame(int32 f) { _frame = f; }; //!< allows to change the frame number public: - int getFrame() const { return _frame; }; //!< accessor for current frame number + int32 getFrame() const { return _frame; }; //!< accessor for current frame number BaseRenderer(); virtual ~BaseRenderer(); virtual bool initFrame(const Point & size); - virtual char * lockFrame(int frame); + virtual char * lockFrame(int32 frame); virtual bool unlockFrame(); virtual bool flipFrame(); virtual bool setPalette(const Palette & pal); - virtual bool startDecode(const char * fname, int version, int nbframes) { _fname = fname; _nbframes = nbframes; return true; } + virtual bool startDecode(const char * fname, int32 version, int32 nbframes) { _fname = fname; _nbframes = nbframes; return true; } virtual Mixer * getMixer() { return 0; }; virtual bool prematureClose() { return false; }; }; @@ -75,11 +75,11 @@ public: */ class NullRenderer : public BaseRenderer { protected: - void save(int frame = -1) {}; + void save(int32 frame = -1) {}; public: NullRenderer() {}; virtual ~NullRenderer() {}; - bool wait(int ms) { return true; }; + bool wait(int32 ms) { return true; }; }; #endif |