Filippos Karapetis
5b5a684c05
Merge pull request #128 from fingolfin/dreamweb-segments
...
DREAMWEB: Refactor segment management
2011-12-08 00:31:33 -08:00
Filippos Karapetis
02fed995a9
Merge pull request #129 from fingolfin/dreamweb-sound
...
DREAMWEB: Move sound related code to a new source file
2011-12-08 00:14:04 -08:00
Max Horn
cb0a12033b
DREAMWEB: Move more stuff to DreamBase
2011-12-08 00:24:25 +01:00
Max Horn
25b6496643
DREAMWEB: Convert doFade()
2011-12-08 00:24:24 +01:00
Max Horn
b07edcb8fe
DREAMWEB: Move printBoth, printChar, printDirect to DreamBase
2011-12-08 00:24:22 +01:00
Max Horn
460e53172b
DREAMWEB: Refactor segment management
...
All segment code is now in a new header file segment.h. A new class
takes care of managing the segments: SegmentManager. The DreamBase class
subclasses this -- thus, segments can now be accessed from within it.
2011-12-08 00:24:22 +01:00
Willem Jan Palenstijn
5ab404f5ba
DREAMWEB: Reduce code duplication
2011-12-08 00:08:25 +01:00
Filippos Karapetis
b02a957f77
DREAMWEB: 'examineinventory' ported to C++
2011-12-08 00:57:14 +02:00
D G Turner
4bdd112e7b
DREAMWEB: Ported 'runintroseq' to C++.
2011-12-07 22:43:15 +00:00
Filippos Karapetis
1f4414fc54
DREAMWEB: 'monkandryan' ported to C++
2011-12-08 00:41:10 +02:00
Filippos Karapetis
61c2331af3
DREAMWEB: 'priest' and 'priesttext' ported to C++
2011-12-08 00:04:55 +02:00
Filippos Karapetis
aae7192d09
DREAMWEB: 'bossman' ported to C++
2011-12-07 23:33:27 +02:00
Filippos Karapetis
6d7053dec9
DREAMWEB: Fixed regression in louisChair()
2011-12-07 23:05:41 +02:00
Filippos Karapetis
d48bcc9362
DREAMWEB: 'louischair' ported to C++
2011-12-07 23:01:32 +02:00
Max Horn
45a99e7276
DREAMWEB: Move sound related code to a new source file
2011-12-07 21:58:31 +01:00
D G Turner
11b1ec1bc6
DREAMWEB: Blacklist 18 functions already moved to stubs.cpp...
...
Some of these functions in stubs.cpp have been removed or merged since
they are only used in a single place or are now unused.
2011-12-07 20:20:02 +00:00
Filippos Karapetis
5f14d805ca
DREAMWEB: 'alleybarksound', 'drinker', 'interviewer' converted to C++
2011-12-07 22:10:36 +02:00
D G Turner
e27b2aa39d
DREAMWEB: Blacklist 'allocatemem' and remove parameter-less C++ version.
2011-12-07 19:15:25 +00:00
Filippos Karapetis
a155ec59b4
DREAMWEB: 'candles1', 'candles2', 'smallcandle' converted to C++
2011-12-07 21:01:53 +02:00
Willem Jan Palenstijn
f7cd6781d8
DREAMWEB: Convert 'selectlocation'
2011-12-07 19:42:15 +01:00
Filippos Karapetis
ad877e9306
DREAMWEB: 'intromagic2', 'intromagic3' ported to C++
2011-12-07 20:30:17 +02:00
Willem Jan Palenstijn
9e617d0dfd
Merge pull request #127 from fingolfin/dreamweb-cleanup
...
Dreamweb: Remove more dead stuff, advance DreamBase <-> DreamGenContext split
2011-12-07 10:23:21 -08:00
D G Turner
c1b7d25bb7
DREAMWEB: 'clearrest' ported to C++.
2011-12-07 18:00:05 +00:00
D G Turner
03204ad319
DREAMWEB: Regenerated dreamgen.*
...
Oops. Missed doing this in previous commit.
2011-12-07 17:01:26 +00:00
D G Turner
bb479f6d7a
DREAMWEB: 'deallocatemem' blacklisted, already ported to C++.
2011-12-07 16:59:49 +00:00
D G Turner
39f2b24f11
DREAMWEB: Remove now unused sound interrupt related functions.
...
All are empty and unused, except for soundStartup() which was called
but was empty and soundCheckInt which unconditionally set kTestResult
to 1 (assumed to be "Test Pass"), but this value is not used anywhere
and the function was not called anyway, so safe to remove.
2011-12-07 16:40:57 +00:00
Max Horn
28ba2071e4
DREAMWEB: Move showFrame() and some things using it to DreamBase
2011-12-07 16:50:37 +01:00
Max Horn
409e359fed
DREAMWEB: Move g_lineData to DreamBase::_lineDaata
2011-12-07 16:50:36 +01:00
Max Horn
8b0ecc7462
DREAMWEB: Move checkDest() to DreamBase
2011-12-07 16:50:36 +01:00
Max Horn
c6ec610d5c
DREAMWEB: Move some more things to DreamBase
2011-12-07 16:50:36 +01:00
Max Horn
4c64f87892
DREAMWEB: Some more workspace cleanup
2011-12-07 14:19:44 +01:00
Max Horn
e862aa4f7c
DREAMWEB: Turn workspace from a segment into a plain array
2011-12-07 14:14:43 +01:00
Max Horn
0737888e0f
DREAMWEB: Avoid accessing DreamWebEngine::_context whenever possible
2011-12-07 11:50:06 +01:00
Max Horn
89128f2b3f
DREAMWEB: Document class DreamBase
2011-12-07 11:47:22 +01:00
Max Horn
3056c39a75
DREAMWEB: Convert volumeAdjust
2011-12-07 11:47:21 +01:00
Max Horn
f37b748676
DREAMWEB: Merge DreamWeb::fadeDos into DreamGenContext::fadeDOS
2011-12-07 11:19:48 +01:00
Max Horn
ce8b1e06c7
DREAMWEB: Merge DreamWebEngine::setPalette into DreamGenContext::showGroup
2011-12-07 11:15:37 +01:00
Max Horn
641e1bff59
DREAMWEB: Make DreamBase::engine protected
2011-12-07 11:07:42 +01:00
Max Horn
7b71bb6444
DREAMWEB: Pass data segment as SegmentRef to Context constructor
...
And not as SegmentPtr.
2011-12-07 11:07:42 +01:00
Max Horn
a29869b313
DREAMWEB: Remove more dead stuff
2011-12-07 11:07:37 +01:00
Max Horn
bd71a3bcec
DREAMWEB: Replace cs by data (outside of dreamgen.cpp)
2011-12-07 11:07:10 +01:00
Max Horn
dc34fc1dfb
DREAMWEB: Move generated constants out of class DreamGenContext
2011-12-07 10:32:22 +01:00
Max Horn
f9fddab379
DREAMWEB: Remove unused method
2011-12-07 10:30:44 +01:00
Max Horn
fdb8b305e0
DREAMWEB: Move more methods to DreamBase, cleanup
2011-12-07 10:30:44 +01:00
Max Horn
c0e2dddd27
DREAMWEB: Move a few methods to DreamBase, remove some unused code
2011-12-07 10:30:44 +01:00
Max Horn
2521646676
DREAMWEB: Add DreamBase as second base class for DreamGenContext
...
The idea is to slowly transfer converted methods into this new base class.
This transition then proves that the method does not access or modify
any of the emulation context.
for eaiser step-by-step migration away from Context
2011-12-07 10:30:44 +01:00
Willem Jan Palenstijn
218f47a7f2
DREAMWEB: Fix regression in keeper
2011-12-07 09:57:38 +01:00
Filippos Karapetis
a72832d054
DREAMWEB: 'attendant', 'keeper' ported to C++
2011-12-07 10:41:31 +02:00
Filippos Karapetis
3962bcb2d6
DREAMWEB: 'manasleep2' ported to C++ (same as 'manasleep')
2011-12-07 10:41:30 +02:00
Willem Jan Palenstijn
7c81f75d27
DREAMWEB: Use symbolic constants and move functions to right files
2011-12-07 08:25:14 +01:00