diff options
author | Strangerke | 2016-03-18 07:48:29 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-05-10 09:54:21 +0200 |
commit | d546847b5a02f020f816d556ca16ee0df8a04756 (patch) | |
tree | 049ec42c08f69393a4b346582f18fff8bed29e13 /engines/gnap/resource.h | |
parent | deb1199c1da740ad1441a8deacc8cf5d40c81db6 (diff) | |
download | scummvm-rg350-d546847b5a02f020f816d556ca16ee0df8a04756.tar.gz scummvm-rg350-d546847b5a02f020f816d556ca16ee0df8a04756.tar.bz2 scummvm-rg350-d546847b5a02f020f816d556ca16ee0df8a04756.zip |
GNAP: More renaming in resource.h
Diffstat (limited to 'engines/gnap/resource.h')
-rw-r--r-- | engines/gnap/resource.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/engines/gnap/resource.h b/engines/gnap/resource.h index 8e0c591614..2ae933f3f7 100644 --- a/engines/gnap/resource.h +++ b/engines/gnap/resource.h @@ -56,13 +56,13 @@ struct SequenceFrame { }; struct SequenceAnimation { - int16 field_0; - int16 field_2; - int32 field_4; - int16 framesCount; - int16 field_A; + int16 _unusedVal1; + int16 _unusedVal2; + int32 _additionalDelay; + int16 _framesCount; + int16 _maxTotalDuration; SequenceFrame *frames; - SequenceAnimation() : frames(0) {} + SequenceAnimation() : frames(nullptr) {} ~SequenceAnimation() { delete[] frames; } void loadFromStream(Common::MemoryReadStream &stream); }; @@ -72,11 +72,11 @@ public: SequenceResource(int resourceId, byte *data, uint32 size); ~SequenceResource(); public: - uint32 _field_0; + uint32 _unusedVal1; int32 _sequenceId; - int32 _field_8; + int32 _defaultId; int32 _sequenceId2; - uint32 _field_10; + uint32 _defaultId2; uint32 _flags; int32 _totalDuration; int16 _xOffs; @@ -94,8 +94,8 @@ public: byte *_pixels; uint32 *_palette; int16 _width, _height; - uint16 _unk1; - uint16 _unk2; + uint16 _unknownVal1; + uint16 _unknownVal2; uint16 _transparent; uint16 _colorsCount; }; |