mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-22 12:12:16 +00:00
Removed default value for keycolor in the OSystem implementations
svn-id: r13796
This commit is contained in:
parent
bd19811d19
commit
88fdb5a627
@ -76,7 +76,7 @@ public:
|
||||
|
||||
|
||||
// Set the bitmap that's used when drawing the cursor.
|
||||
void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, byte keycolor = 255);
|
||||
void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, byte keycolor);
|
||||
|
||||
// Shaking is used in SCUMM. Set current shake position.
|
||||
void set_shake_pos(int shake_pos);
|
||||
|
@ -85,7 +85,7 @@ class OSystem_Dreamcast : public OSystem {
|
||||
void warpMouse(int x, int y);
|
||||
|
||||
// Set the bitmap that's used when drawing the cursor.
|
||||
void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, byte keycolor = 255);
|
||||
void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, byte keycolor);
|
||||
|
||||
// Shaking is used in SCUMM. Set current shake position.
|
||||
void set_shake_pos(int shake_pos);
|
||||
|
@ -44,7 +44,7 @@
|
||||
*
|
||||
* Secondly, with this abstraction layer, we still avoid a lot of complications based on
|
||||
* differences in FS roots, different path separators, or even systems with no real
|
||||
* paths (Mac OS 9, which doesn't even have the notion of a "current director").
|
||||
* paths (MacOS 9 doesn't even have the notion of a "current directory").
|
||||
* And if we ever want to support devices with no FS in the classical sense (Palm...),
|
||||
* we can build upon this.
|
||||
*/
|
||||
@ -180,13 +180,6 @@ public:
|
||||
_size++;
|
||||
}
|
||||
|
||||
const FilesystemNode& operator [](int idx) const {
|
||||
assert(idx >= 0 && idx < _size);
|
||||
return *_data[idx];
|
||||
}
|
||||
|
||||
int size() const { return _size; }
|
||||
|
||||
const_iterator begin() const {
|
||||
return const_iterator(_data);
|
||||
}
|
||||
|
@ -62,7 +62,7 @@ public:
|
||||
void set_mouse_pos(int x, int y);
|
||||
|
||||
// Set the bitmap that's used when drawing the cursor.
|
||||
void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, int keycolor = 255);
|
||||
void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, byte keycolor);
|
||||
|
||||
// Shaking is used in SCUMM. Set current shake position.
|
||||
void set_shake_pos(int shake_pos);
|
||||
|
@ -1424,7 +1424,7 @@ void OSystem_MorphOS::set_mouse_pos(int x, int y)
|
||||
}
|
||||
}
|
||||
|
||||
void OSystem_MorphOS::setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, byte keycolor = 255)
|
||||
void OSystem_MorphOS::setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, byte keycolor)
|
||||
{
|
||||
MouseWidth = w;
|
||||
MouseHeight = h;
|
||||
|
@ -64,7 +64,7 @@ class OSystem_MorphOS : public OSystem
|
||||
virtual void set_mouse_pos(int x, int y);
|
||||
|
||||
// Set the bitmap that's used when drawing the cursor.
|
||||
virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, byte keycolor = 255);
|
||||
virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, byte keycolor);
|
||||
|
||||
// Shaking is used in SCUMM. Set current shake position.
|
||||
virtual void set_shake_pos(int shake_pos);
|
||||
|
@ -36,7 +36,7 @@ public:
|
||||
void updateScreen() {}
|
||||
bool showMouse(bool visible) { return false; }
|
||||
void set_mouse_pos(int x, int y) {}
|
||||
void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, byte keycolor = 255) {}
|
||||
void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, byte keycolor) {}
|
||||
void set_shake_pos(int shake_pos) {}
|
||||
uint32 get_msecs();
|
||||
void delay_msecs(uint msecs);
|
||||
|
@ -64,7 +64,7 @@ public:
|
||||
void warpMouse(int x, int y);
|
||||
|
||||
// Set the bitmap that's used when drawing the cursor.
|
||||
void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, byte keycolor = 255);
|
||||
void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, byte keycolor);
|
||||
|
||||
// Shaking is used in SCUMM. Set current shake position.
|
||||
void set_shake_pos(int shake_pos);
|
||||
|
@ -107,7 +107,7 @@ public:
|
||||
void warpMouse(int x, int y);
|
||||
|
||||
// Set the bitmap that's used when drawing the cursor.
|
||||
void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, byte keycolor = 255);
|
||||
void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, byte keycolor);
|
||||
|
||||
// Shaking is used in SCUMM. Set current shake position.
|
||||
void set_shake_pos(int shake_pos);
|
||||
|
Loading…
x
Reference in New Issue
Block a user