diff options
author | Willem Jan Palenstijn | 2016-03-20 16:53:58 +0100 |
---|---|---|
committer | Colin Snover | 2016-06-21 08:14:12 -0500 |
commit | ab864ba3666b39586c54467137a2b26d246ba430 (patch) | |
tree | ab5fbac13293ace4913f76acf929f6843bfb6a3a /engines/sci/engine/gc.cpp | |
parent | a613a27b44eae68650eb9150ea146dff9befea28 (diff) | |
download | scummvm-rg350-ab864ba3666b39586c54467137a2b26d246ba430.tar.gz scummvm-rg350-ab864ba3666b39586c54467137a2b26d246ba430.tar.bz2 scummvm-rg350-ab864ba3666b39586c54467137a2b26d246ba430.zip |
SCI32: Implement kScrollWindow
These should be all the actually used subfunctions.
Co-authored-by: Colin Snover <github.com@zetafleet.com>
Diffstat (limited to 'engines/sci/engine/gc.cpp')
-rw-r--r-- | engines/sci/engine/gc.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/sci/engine/gc.cpp b/engines/sci/engine/gc.cpp index 70c8c52bf0..b229490570 100644 --- a/engines/sci/engine/gc.cpp +++ b/engines/sci/engine/gc.cpp @@ -24,6 +24,10 @@ #include "common/array.h" #include "sci/graphics/ports.h" +#ifdef ENABLE_SCI32 +#include "sci/graphics/controls32.h" +#endif + namespace Sci { //#define GC_DEBUG_CODE @@ -150,6 +154,12 @@ AddrSet *findAllActiveReferences(EngineState *s) { } } +#ifdef ENABLE_SCI32 + // Init: ScrollWindows + if (g_sci->_gfxControls32) + wm.pushArray(g_sci->_gfxControls32->listObjectReferences()); +#endif + debugC(kDebugLevelGC, "[GC] -- Finished explicitly loaded scripts, done with root set"); processWorkList(s->_segMan, wm, heap); |