diff options
author | Colin Snover | 2017-10-06 16:05:54 -0500 |
---|---|---|
committer | Colin Snover | 2017-10-06 22:56:24 -0500 |
commit | b6c3f0f547f478271a8ecee68654f18ab8de75ce (patch) | |
tree | 5528b42f338208bb5a9c2328f907b6f80f090df5 /engines/sci/engine | |
parent | ac0a83a4249089ecfaf47ea4e9e2505057c2d844 (diff) | |
download | scummvm-rg350-b6c3f0f547f478271a8ecee68654f18ab8de75ce.tar.gz scummvm-rg350-b6c3f0f547f478271a8ecee68654f18ab8de75ce.tar.bz2 scummvm-rg350-b6c3f0f547f478271a8ecee68654f18ab8de75ce.zip |
SCI32: Clean up CelObj
* Rewrap comments to 80 columns
* Clarify comments where possible
* Use smart pointers where appropriate
* Change view/pic flags detection to always use word-size
(byte-size check for flag 0x80 was a compiler optimisation)
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/segment.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/sci/engine/segment.h b/engines/sci/engine/segment.h index d6e2dd3c24..2a4fd9149b 100644 --- a/engines/sci/engine/segment.h +++ b/engines/sci/engine/segment.h @@ -1102,12 +1102,11 @@ public: BITMAP_PROPERTY(32, DataOffset, 24); - // NOTE: This property is used as a "magic number" for - // validating that a block of memory is a valid bitmap, - // and so is always set to the size of the header. + // This property is used as a "magic number" for validating that a block of + // memory is a valid bitmap, and so is always set to the size of the header. BITMAP_PROPERTY(32, UncompressedDataOffset, 28); - // NOTE: This property always seems to be zero + // This property always seems to be zero in SSCI BITMAP_PROPERTY(32, ControlOffset, 32); inline uint16 getXResolution() const { |