From 3bbaa8edb55614111891e7530af8d196a77a3496 Mon Sep 17 00:00:00 2001 From: Bertrand Augereau Date: Thu, 5 Jun 2003 02:46:08 +0000 Subject: converted from struc to class and added a function to update _numStrips, needed since we don't reinstantiate BCR all the time anymore svn-id: r8308 --- scumm/base-costume.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scumm') diff --git a/scumm/base-costume.h b/scumm/base-costume.h index 72b2f1cdfb..6280eff5b1 100644 --- a/scumm/base-costume.h +++ b/scumm/base-costume.h @@ -46,7 +46,7 @@ class Scumm; /** * Base class for both CostumeRenderer and AkosRenderer. */ -struct BaseCostumeRenderer { +class BaseCostumeRenderer { public: byte _dirty_id; @@ -118,6 +118,8 @@ public: virtual void setPalette(byte *palette) = 0; virtual void setFacing(Actor *a) = 0; virtual void setCostume(int costume) = 0; + void updateNbStrips (void) { _numStrips = _vm->gdi._numStrips; } + byte drawCostume(const CostumeData &cost); -- cgit v1.2.3