From 77a40741060f75fe1ac46217d75e77c3b2738242 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Tue, 10 Jan 2017 10:16:28 -0600 Subject: SCI: Protect and clarify the purpose of Resource _header data --- engines/sci/resource.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'engines/sci/resource.h') diff --git a/engines/sci/resource.h b/engines/sci/resource.h index 65a26ba56d..c0c969ab88 100644 --- a/engines/sci/resource.h +++ b/engines/sci/resource.h @@ -243,9 +243,12 @@ class Resource : public SciSpan { friend class ChunkResourceSource; #endif -// NOTE : Currently most member variables lack the underscore prefix and have -// public visibility to let the rest of the engine compile without changes. -public: +protected: + /** + * Holds the extra header data from view, pic, and palette patches so that + * these patches can be rewritten to disk as valid patch files by the + * `diskdump` debugger command. + */ byte *_header; uint32 _headerSize; -- cgit v1.2.3