aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/base-costume.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/base-costume.h')
-rw-r--r--engines/scumm/base-costume.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/engines/scumm/base-costume.h b/engines/scumm/base-costume.h
index 7acaff2679..59ca3ded1f 100644
--- a/engines/scumm/base-costume.h
+++ b/engines/scumm/base-costume.h
@@ -106,22 +106,25 @@ protected:
// width and height of cel to decode
int _width, _height;
+public:
struct Codec1 {
// Parameters for the original ("V1") costume codec.
+ // These ones are accessed from ARM code. Don't reorder.
+ int x;
+ int y;
const byte *scaletable;
+ int skip_width;
+ byte *destptr;
+ const byte *mask_ptr;
+ int scaleXstep;
byte mask, shr;
byte repcolor;
byte replen;
- int scaleXstep;
- int x, y;
+ // These ones aren't accessed from ARM code.
Common::Rect boundsRect;
int scaleXindex, scaleYindex;
- int skip_width;
- byte *destptr;
- const byte *mask_ptr;
};
-public:
BaseCostumeRenderer(ScummEngine *scumm) {
_actorID = 0;
_shadow_mode = 0;