diff options
author | md5 | 2011-03-20 15:29:12 +0200 |
---|---|---|
committer | md5 | 2011-03-20 15:29:12 +0200 |
commit | 89f9c5a9c35834856bb3692fb30a9eb42606ec91 (patch) | |
tree | c357cf62e94a9ec4f518b797ee86c26583e21629 /engines/sci/graphics/ports.h | |
parent | 4df049f4d7fccb794db45c932e5188296907dbc8 (diff) | |
download | scummvm-rg350-89f9c5a9c35834856bb3692fb30a9eb42606ec91.tar.gz scummvm-rg350-89f9c5a9c35834856bb3692fb30a9eb42606ec91.tar.bz2 scummvm-rg350-89f9c5a9c35834856bb3692fb30a9eb42606ec91.zip |
SCI: Moved the engine hunk pointer processing code inside the GfxPorts class
This allows us make _windowList private again
Diffstat (limited to 'engines/sci/graphics/ports.h')
-rw-r--r-- | engines/sci/graphics/ports.h | 4 |
1 files changed, 3 insertions, 1 deletions
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; |