From 89f9c5a9c35834856bb3692fb30a9eb42606ec91 Mon Sep 17 00:00:00 2001 From: md5 Date: Sun, 20 Mar 2011 15:29:12 +0200 Subject: SCI: Moved the engine hunk pointer processing code inside the GfxPorts class This allows us make _windowList private again --- engines/sci/graphics/ports.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines/sci/graphics/ports.h') diff --git a/engines/sci/graphics/ports.h b/engines/sci/graphics/ports.h index d14272791f..31ed671daf 100644 --- a/engines/sci/graphics/ports.h +++ b/engines/sci/graphics/ports.h @@ -35,6 +35,7 @@ namespace Sci { class GfxPaint16; class GfxScreen; class GfxText16; +struct WorklistManager; // window styles enum { @@ -102,6 +103,7 @@ public: void kernelGraphAdjustPriority(int top, int bottom); byte kernelCoordinateToPriority(int16 y); int16 kernelPriorityToCoordinate(byte priority); + void processEngineHunkList(WorklistManager &wm); void printWindowList(Console *con); Port *_wmgrPort; @@ -115,10 +117,10 @@ public: virtual void saveLoadWithSerializer(Common::Serializer &ser); +private: /** The list of open 'windows' (and ports), in visual order. */ PortList _windowList; -private: /** The list of all open 'windows' (and ports), ordered by their id. */ PortArray _windowsById; -- cgit v1.2.3