From c4e8ffc821af321bedecd58d8f25dbe96e5b31ad Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Wed, 25 May 2016 17:33:39 -0500 Subject: SCI32: Update header parameters with const, to match implementation --- engines/sci/graphics/celobj32.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines') diff --git a/engines/sci/graphics/celobj32.h b/engines/sci/graphics/celobj32.h index 0bb4b03ae2..6e401b3df4 100644 --- a/engines/sci/graphics/celobj32.h +++ b/engines/sci/graphics/celobj32.h @@ -474,7 +474,7 @@ private: bool analyzeForRemap() const; public: - CelObjView(GuiResourceId viewId, int16 loopNo, int16 celNo); + CelObjView(const GuiResourceId viewId, const int16 loopNo, const int16 celNo); virtual ~CelObjView() override {}; using CelObj::draw; @@ -525,7 +525,7 @@ public: */ int16 _priority; - CelObjPic(GuiResourceId pictureId, int16 celNo); + CelObjPic(const GuiResourceId pictureId, const int16 celNo); virtual ~CelObjPic() override {}; using CelObj::draw; @@ -546,7 +546,7 @@ public: */ class CelObjMem : public CelObj { public: - CelObjMem(reg_t bitmap); + CelObjMem(const reg_t bitmap); virtual ~CelObjMem() override {}; virtual CelObjMem *duplicate() const override; @@ -562,7 +562,7 @@ public: */ class CelObjColor : public CelObj { public: - CelObjColor(uint8 color, int16 width, int16 height); + CelObjColor(const uint8 color, const int16 width, const int16 height); virtual ~CelObjColor() override {}; using CelObj::draw; -- cgit v1.2.3