aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/surface.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-09-09 08:15:59 -0400
committerPaul Gilbert2015-09-09 08:15:59 -0400
commit1a92f869b8b34f70eb41ed6cad0937f9d45ba46a (patch)
treefedbf41c7437d601489704978fab281fa31e2ced /engines/sherlock/surface.h
parent834955959802dce12286bbeed3e5f628a3236c86 (diff)
downloadscummvm-rg350-1a92f869b8b34f70eb41ed6cad0937f9d45ba46a.tar.gz
scummvm-rg350-1a92f869b8b34f70eb41ed6cad0937f9d45ba46a.tar.bz2
scummvm-rg350-1a92f869b8b34f70eb41ed6cad0937f9d45ba46a.zip
SHERLOCK: 3DO: Change more color method params from byte to uint
Diffstat (limited to 'engines/sherlock/surface.h')
-rw-r--r--engines/sherlock/surface.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sherlock/surface.h b/engines/sherlock/surface.h
index 97424a1ed4..64b57f644a 100644
--- a/engines/sherlock/surface.h
+++ b/engines/sherlock/surface.h
@@ -165,8 +165,8 @@ public:
/**
* Draws the given string into the back buffer using the images stored in _font
*/
- virtual void writeString(const Common::String &str, const Common::Point &pt, byte overrideColor);
- void writeFancyString(const Common::String &str, const Common::Point &pt, byte overrideColor1, byte overrideColor2);
+ virtual void writeString(const Common::String &str, const Common::Point &pt, uint overrideColor);
+ void writeFancyString(const Common::String &str, const Common::Point &pt, uint overrideColor1, uint overrideColor2);
inline uint16 w() const { return _surface.w; }
inline uint16 h() const { return _surface.h; }
@@ -175,8 +175,8 @@ public:
inline byte *getBasePtr(int x, int y) { return (byte *)_surface.getBasePtr(x, y); }
inline const byte *getBasePtr(int x, int y) const { return (const byte *)_surface.getBasePtr(x, y); }
inline Graphics::Surface &getRawSurface() { return _surface; }
- inline void hLine(int x, int y, int x2, uint32 color) { _surface.hLine(x, y, x2, color); }
- inline void vLine(int x, int y, int y2, uint32 color) { _surface.vLine(x, y, y2, color); }
+ inline void hLine(int x, int y, int x2, uint color) { _surface.hLine(x, y, x2, color); }
+ inline void vLine(int x, int y, int y2, uint color) { _surface.vLine(x, y, y2, color); }
};
} // End of namespace Sherlock