fix compilation of null backend

svn-id: r45979
This commit is contained in:
Joost Peters 2009-11-18 22:59:31 +00:00
parent 286a648ecd
commit 5e56184616

View File

@ -74,7 +74,7 @@ public:
bool setGraphicsMode(const char *name);
virtual bool setGraphicsMode(int mode);
virtual int getGraphicsMode() const;
virtual void initSize(uint width, uint height);
virtual void initSize(uint width, uint height, const Graphics::PixelFormat *format);
virtual int16 getHeight();
virtual int16 getWidth();
virtual void setPalette(const byte *colors, uint start, uint num);
@ -97,7 +97,7 @@ public:
virtual bool showMouse(bool visible);
virtual void warpMouse(int x, int y);
virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, byte keycolor = 255, int cursorTargetScale = 1);
virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, int cursorTargetScale, const Graphics::PixelFormat *format);
virtual bool pollEvent(Common::Event &event);
virtual uint32 getMillis();
@ -197,7 +197,7 @@ int OSystem_NULL::getGraphicsMode() const {
return -1;
}
void OSystem_NULL::initSize(uint width, uint height) {
void OSystem_NULL::initSize(uint width, uint height, const Graphics::PixelFormat *format) {
}
int16 OSystem_NULL::getHeight() {
@ -262,7 +262,7 @@ bool OSystem_NULL::showMouse(bool visible) {
void OSystem_NULL::warpMouse(int x, int y) {
}
void OSystem_NULL::setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, byte keycolor, int cursorTargetScale) {
void OSystem_NULL::setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, int cursorTargetScale, const Graphics::PixelFormat *format) {
}
bool OSystem_NULL::pollEvent(Common::Event &event) {