diff options
author | Robin Watts | 2008-02-03 01:26:12 +0000 |
---|---|---|
committer | Robin Watts | 2008-02-03 01:26:12 +0000 |
commit | 5b64d512abb6f6a836d49559907e43a7719b62ef (patch) | |
tree | 8acbdb68564ae8f57854af11ec45e097559ceccc /engines/scumm/base-costume.h | |
parent | 899fdcb3677925a8c1d9b4c9335ae17a2f1cccff (diff) | |
download | scummvm-rg350-5b64d512abb6f6a836d49559907e43a7719b62ef.tar.gz scummvm-rg350-5b64d512abb6f6a836d49559907e43a7719b62ef.tar.bz2 scummvm-rg350-5b64d512abb6f6a836d49559907e43a7719b62ef.zip |
Introduce ARM code for commonest case of "proc3" costume blitting (as
used for animation in SamNMax). Enabled by the USE_ARM_COSTUME_ASM
define. Currently enabled for WinCE only.
svn-id: r30750
Diffstat (limited to 'engines/scumm/base-costume.h')
-rw-r--r-- | engines/scumm/base-costume.h | 15 |
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; |