From b6c3f0f547f478271a8ecee68654f18ab8de75ce Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Fri, 6 Oct 2017 16:05:54 -0500 Subject: 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) --- engines/sci/engine/segment.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'engines/sci/engine/segment.h') 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 { -- cgit v1.2.3