Commit Graph

1175 Commits

Author SHA1 Message Date
Filippos Karapetis
5bf9c1e024 Merge pull request #143 from fingolfin/dreamweb-cleanup
Dreamweb cleanup
2011-12-15 13:24:23 -08:00
Filippos Karapetis
2a96ee48d4 DREAMWEB: Fix regression in helicopter() 2011-12-15 23:21:57 +02:00
Max Horn
d1ed87bece DREAMWEB: Convert notHeldError to C++, move stuff to DreamBase 2011-12-15 14:09:53 +01:00
Max Horn
9ebcaa33e7 DREAMWEB: Move even more stuff to DreamBase 2011-12-15 13:45:43 +01:00
Max Horn
9972fc613a DREAMWEB: Move more methods to DreamBase 2011-12-15 13:45:43 +01:00
Max Horn
719f3ec178 DREAMWEB: Convert a bunch of stuff to C++
Specifically, I started with openOb() and withWhat() which allowed to
remove offset_commandline and offset_openchangesize. A clean conversion of
these required a conversion of printMessage2 and getOpenedSize.
2011-12-15 13:44:40 +01:00
Filippos Karapetis
1f348745b0 DREAMWEB: Fix regression in describeOb() 2011-12-15 12:24:48 +02:00
Filippos Karapetis
93bf275f4c DREAMWEB: Port 'helicopter' to C++ 2011-12-15 12:15:22 +02:00
Filippos Karapetis
faab2d761d DREAMWEB: Remove some unused global variables from the data blob 2011-12-15 11:30:47 +02:00
Filippos Karapetis
f87227dcd3 DREAMWEB: 'keypadax', 'keypadcx' are no longer needed 2011-12-15 02:14:21 +02:00
Filippos Karapetis
45794d1b82 DREAMWEB: Port 'describeob', 'additionaltext' to C++ 2011-12-15 02:09:17 +02:00
Filippos Karapetis
dd8304dd75 DREAMWEB: Port 'usehandle', 'usealtar' to C++ 2011-12-15 00:43:08 +02:00
Filippos Karapetis
509755a010 DREAMWEB: Further simplification of findSetObject() and findExObject() (thanks wjp) 2011-12-15 00:30:31 +02:00
Filippos Karapetis
f0b0f25bd6 DREAMWEB: Properly set bx in findSetObject() and findExObject() 2011-12-15 00:18:27 +02:00
Filippos Karapetis
ea8b6c8c6d DREAMWEB: Port 'findsetobject' and 'findexobject' to C++ and simplify compare() 2011-12-15 00:12:25 +02:00
Max Horn
b466575d9e DREAMWEB: Move more stuff to DreamBase 2011-12-14 12:46:40 +01:00
Max Horn
e44a79fdd4 DREAMWEB: Convert makeCaps to C++, fix bug in delChar 2011-12-14 12:46:09 +01:00
Max Horn
a87a63c1bd DREAMWEB: Convert execCommand to C++, remove comlist from data blob 2011-12-14 12:45:52 +01:00
Willem Jan Palenstijn
5948b5a9e3 DREAMWEB: Allow quit from diary 2011-12-14 12:33:08 +01:00
Willem Jan Palenstijn
ee5c9678c3 DREAMWEB: Cleanup 2011-12-14 12:33:08 +01:00
Willem Jan Palenstijn
a489430bc3 DREAMWEB: Fix regression in showDiaryPage and lookAtCard 2011-12-14 12:18:11 +01:00
Willem Jan Palenstijn
5af0deba87 DREAMWEB: Cleanup 2011-12-14 12:17:32 +01:00
Filippos Karapetis
f1a099d4f8 DREAMWEB: Port 'lookatcard' to C++ 2011-12-14 02:17:53 +02:00
Filippos Karapetis
a22266d871 DREAMWEB: Port 'runendseq' to C++ and remove the unused 'drawitall' function 2011-12-14 02:04:26 +02:00
Filippos Karapetis
d4124e116a DREAMWEB: Port 'heavy' to C++ 2011-12-14 01:52:13 +02:00
Filippos Karapetis
c95bdeb20c DREAMWEB: Port 'dumpdiarykeys' to C++ and remove the now unused 'findtext1' 2011-12-14 01:03:57 +02:00
Filippos Karapetis
c988038174 DREAMWEB: Port 'showdiarypage' to C++ 2011-12-14 00:47:29 +02:00
Filippos Karapetis
9042f85ef3 DREAMWEB: Fix regression in bartender() and receptionist() 2011-12-13 23:04:26 +02:00
Filippos Karapetis
f9419db947 DREAMWEB: Port 'bartender' and 'receptionist' to C++ 2011-12-13 22:39:34 +02:00
Willem Jan Palenstijn
fb66ae3698 DREAMWEB: Fix regression in selecSlot 2011-12-13 10:45:07 +01:00
Filippos Karapetis
25e42e1baa DREAMWEB: 'removefreeobject' is unused. Port 'updatesymboltop', 'updatesymbolbot' to C++ 2011-12-13 10:22:12 +02:00
Filippos Karapetis
1994bf73ce DREAMWEB: 'lineroutine', 'increment1', 'increment2' are only used inside bresenhams() 2011-12-13 01:14:26 +02:00
Filippos Karapetis
b27a6e72ad DREAMWEB: Port 'runtap' to C++ 2011-12-13 01:02:41 +02:00
Filippos Karapetis
c452bf9c12 DREAMWEB: Port 'selectslot' to C++ 2011-12-13 00:54:51 +02:00
Willem Jan Palenstijn
6d27234006 DREAMWEB: Fix regression in usePipe 2011-12-12 23:48:49 +01:00
Filippos Karapetis
90c1793d47 DREAMWEB: Port 'useaxe', 'usekey' to C++ 2011-12-13 00:11:05 +02:00
Filippos Karapetis
9480b21840 DREAMWEB: Port 'useopenbox' to C++ 2011-12-12 23:58:20 +02:00
Filippos Karapetis
ef94b2d15a DREAMWEB: Port 'usepipe' to C++ 2011-12-12 23:51:40 +02:00
Filippos Karapetis
27f5661dfc DREAMWEB: Port 'useslab' to C++ 2011-12-12 23:39:29 +02:00
Filippos Karapetis
47c4b2b7de DREAMWEB: Port 'usecontrol' to C++ 2011-12-12 23:30:51 +02:00
Filippos Karapetis
e685a171d3 DREAMWEB: Simplify getUnderCentre(), putUnderCentre() and move some functions to DreamBase 2011-12-12 22:55:29 +02:00
Filippos Karapetis
a682734bce DREAMWEB: Set volumeDirection as a negative integer, where this is used, instead of 0xFF 2011-12-12 22:46:28 +02:00
Filippos Karapetis
d41c89124f DREAMWEB: Fix regression in entryAnims() 2011-12-12 22:43:56 +02:00
Filippos Karapetis
fc9a1b8407 DREAMWEB: Port 'getundercentre', 'processtrigger', 'putundercentre', 'triggermessage' to C++ 2011-12-12 22:43:03 +02:00
Filippos Karapetis
6507853b87 DREAMWEB: Port 'entryanims' to C++ 2011-12-12 21:52:00 +02:00
Filippos Karapetis
30b2c37e53 DREAMWEB: Convert 'setuptimeduse', 'entrytexts' to C++ and move priestText() to DreamBase 2011-12-12 20:02:34 +02:00
Filippos Karapetis
18da47dcd6 DREAMWEB: Port 'quitkey' to C++ 2011-12-12 19:16:56 +02:00
Filippos Karapetis
ad0ddcbb8e DREAMWEB: Fix typo in useWire() (thanks wjp, fuzzie) 2011-12-12 18:19:17 +02:00
Filippos Karapetis
903ce79138 DREAMWEB: Port 'usewire' to C++ 2011-12-12 17:59:36 +02:00
Filippos Karapetis
0ade2240d0 DREAMWEB: Port 'autoappear' to C++ 2011-12-12 17:49:34 +02:00
Filippos Karapetis
71362cc35d DREAMWEB: Remove a lot of unused variables 2011-12-12 17:23:32 +02:00
Filippos Karapetis
33b5c9e040 DREAMWEB: Silence signed/unsigned warning 2011-12-12 16:56:01 +02:00
Filippos Karapetis
273fc3ff1a DREAMWEB: Port 'usebuttona' to C++ 2011-12-12 16:55:32 +02:00
Willem Jan Palenstijn
cc079c739a DREAMWEB: Fix regression in rollEndCredits
I had previously tested the wrong end credits by accident. Oops...
2011-12-12 14:03:35 +01:00
Max Horn
b699d5e81e DREAMWEB: Remove now unused DreamGenContext::playChannel0() wrapper 2011-12-12 13:26:22 +01:00
Max Horn
af85b85a84 DREAMWEB: Convert rollEndCredits/rollEndCredits2 to C++ 2011-12-12 13:26:03 +01:00
Max Horn
5d80fda3a4 DREAMWEB: Add Dreambase::loadSpeech method 2011-12-12 12:40:28 +01:00
Max Horn
864ab1b265 DREAMWEB: Remove volumetabname from data blob 2011-12-12 12:29:08 +01:00
Max Horn
54ed4255c0 DREAMWEB: Add a FIXME 2011-12-12 12:28:42 +01:00
Filippos Karapetis
83610d98b0 Revert "DREAMWEB: Simplify the time display code"
This reverts commit 546c6a07e4.

This wasn't a good idea, after all - it breaks saves and the game
time is always the real time (which is not what the original did - it
only synced the game time with the real time at the beginning)
2011-12-12 13:10:07 +02:00
Filippos Karapetis
546c6a07e4 DREAMWEB: Simplify the time display code 2011-12-12 12:58:03 +02:00
Max Horn
ef2096736d DREAMWEB: Convert greyscaleSum, allPalette, dumpCurrent 2011-12-12 11:45:35 +01:00
Filippos Karapetis
9a420d232f DREAMWEB: Remove a lot of unused/unneeded variables 2011-12-12 12:07:09 +02:00
Willem Jan Palenstijn
fb7246f3de DREAMWEB: Convert 'createName' 2011-12-12 10:47:24 +01:00
Willem Jan Palenstijn
2ff147352c DREAMWEB: Cleanup and add FIXMEs 2011-12-12 09:19:25 +01:00
Filippos Karapetis
3ff9b7f9ed DREAMWEB: Fix typo in monkSpeaking() 2011-12-12 04:22:49 +02:00
Max Horn
571fcfe15d DREAMWEB: Move fadeDOS to vgafades.cpp, cleanup 2011-12-12 04:20:27 +02:00
Filippos Karapetis
ea941af7f2 DREAMWEB: Convert 'monkspeaking' and 'showmonk' to C++
Also, remove the 'monkface' data from the data blob
2011-12-12 04:18:17 +02:00
Filippos Karapetis
9e1481fc07 DREAMWEB: Port 'showpuztext' to C++ 2011-12-12 02:50:58 +02:00
Willem Jan Palenstijn
d416ea6abd DREAMWEB: Fix regressions in getBack1 and useLighter 2011-12-12 00:12:54 +01:00
Filippos Karapetis
6f6d137726 DREAMWEB: Port 'uselighter' to C++ 2011-12-11 21:46:17 +02:00
Filippos Karapetis
21885f0621 DREAMWEB: Port 'getback1', 'newplace' to C++ 2011-12-11 21:21:20 +02:00
Filippos Karapetis
b7de94dd14 DREAMWEB: Convert 'cantdrop', 'droperror' to C++ 2011-12-11 20:54:00 +02:00
Willem Jan Palenstijn
fcf2aa8e2f DREAMWEB: Move Savenames out of opaque data blob 2011-12-11 15:57:03 +01:00
Willem Jan Palenstijn
05a2713874 DREAMWEB: Convert checkInput 2011-12-11 15:45:53 +01:00
Willem Jan Palenstijn
11adaf6d69 DREAMWEB: Convert 'showNames' 2011-12-11 15:33:34 +01:00
Willem Jan Palenstijn
b8d18d8ba8 DREAMWEB: Fix namesToOld/oldToNames
They only saved the first four savegame descriptions. (Bug from the
original game.)
2011-12-11 15:10:11 +01:00
Willem Jan Palenstijn
cd44631ffd DREAMWEB: Add FIXME about errors on quit 2011-12-11 11:48:32 +01:00
Willem Jan Palenstijn
36b8a60eda DREAMWEB: Properly fix workoutFrames regression 2011-12-11 10:14:06 +01:00
Max Horn
6b226d5943 DREAMWEB: Do savefile reading directly in loadPosition() / scanForNames() 2011-12-11 10:02:50 +01:00
Max Horn
3d753794e6 DREAMWEB: Move savefile creation into DreamGenContext::savePosition
Also, make sure the save file is properly finalized before being closed.
2011-12-11 10:01:28 +01:00
Max Horn
dfeb31e187 DREAMWEB: Add DreamWebEngine::getSavegameFilename 2011-12-11 10:01:28 +01:00
Max Horn
51b724fa43 DREAMWEB: Remove DreamGenContext::closeFile, stop using kHandle 2011-12-11 10:01:28 +01:00
Max Horn
364b30425a DREAMWEB: Make use of member vars of class Engine 2011-12-11 10:01:28 +01:00
Willem Jan Palenstijn
15d053a805 DREAMWEB: Fix regression in diaryKeyN 2011-12-10 18:19:46 +01:00
Willem Jan Palenstijn
6c443ab5fe DREAMWEB: Fix regression in quitSymbol 2011-12-10 18:17:02 +01:00
Filippos Karapetis
c8ff54d2cd Merge pull request #133 from fingolfin/dreamweb-cleanup
Dreamweb cleanup
2011-12-09 13:06:31 -08:00
Max Horn
ebba7e39c3 DREAMWEB: Remove unused code 2011-12-09 17:58:30 +01:00
Filippos Karapetis
e2a92bff29 DREAMWEB: Port 'diarykeyp', 'diarykeyn' to C++ 2011-12-09 18:55:02 +02:00
Filippos Karapetis
6c5f424540 DREAMWEB: Port 'quitSymbol' to C++ 2011-12-09 18:40:34 +02:00
Filippos Karapetis
6d1ab6d8cd DREAMWEB: Port 'monitorlogo' to C++ 2011-12-09 18:19:17 +02:00
Filippos Karapetis
447f0c6643 DREAMWEB: Use the C++ version of workScreen() in C++ code 2011-12-09 18:18:32 +02:00
Willem Jan Palenstijn
aebab022de DREAMWEB: Fix regression in showSaveOps 2011-12-09 11:12:51 +01:00
Filippos Karapetis
246f7549e4 DREAMWEB: The 'title7graphics' offset is unused 2011-12-09 10:37:26 +02:00
Filippos Karapetis
2bc6af518c DREAMWEB: Move some strings used by useDiary() out of the blob 2011-12-09 10:30:55 +02:00
Filippos Karapetis
9f2ed38ef1 DREAMWEB: Port 'endgame', 'showgun' to C++
Also, remove the associated 'endtextname' and 'gungraphic' offsets from
the blob
2011-12-09 10:14:08 +02:00
Filippos Karapetis
597ff0bb98 DREAMWEB: Port 'soldier1' to C++ 2011-12-09 09:43:42 +02:00
Willem Jan Palenstijn
e5a6b7b16c DREAMWEB: Fix regression in hangOnPQ (in conversations) 2011-12-09 08:04:17 +01:00
Filippos Karapetis
db340ed9b8 DREAMWEB: Convert 'hangonpq' to C++ and remove quitlist from the blob
This is the last place where checkCoords() was called without parameters
2011-12-09 01:53:20 +02:00
Filippos Karapetis
baf2cc8b8e DREAMWEB: Port 'usediary' to C++ and remove diarylist from the blob 2011-12-09 01:24:25 +02:00
Filippos Karapetis
a668c33cd3 DREAMWEB: Port 'dosaveload' to C++ and remove opslist from the blob 2011-12-09 01:04:39 +02:00
Filippos Karapetis
0d90b66d38 DREAMWEB: Port 'discops' to C++ 2011-12-09 00:29:11 +02:00
Filippos Karapetis
4fdaba7e5e DREAMWEB: Port 'talk' to C++. Remove decidelist and talklist offsets 2011-12-09 00:11:24 +02:00
D G Turner
e23d0660ea DREAMWEB: Remove two unused fade functions from dreamgen.* 2011-12-08 21:58:37 +00:00
Filippos Karapetis
2f0376c026 DREAMWEB: offset_decidelist is now unnecessary (regenerated dreamgen.h) 2011-12-08 23:35:41 +02:00
Filippos Karapetis
47fd83e19f DREAMWEB: Port 'decide' to C++ 2011-12-08 23:05:31 +02:00
Filippos Karapetis
128f75739c DREAMWEB: Port 'getunderzoom', 'putunderzoom', 'showdecisions', 'undertextline' to C++ 2011-12-08 22:48:00 +02:00
Filippos Karapetis
8b61fb168d DREAMWEB: Port 'madmanrun' to C++ 2011-12-08 22:05:32 +02:00
Filippos Karapetis
e287ac0e39 DREAMWEB: Port 'afternewroom' to C++ 2011-12-08 21:54:58 +02:00
Willem Jan Palenstijn
cd9a65f340 DREAMWEB: Fix workoutFrames when walking off-screen
This triggered the paranoia asserts.
2011-12-08 20:37:54 +01:00
Filippos Karapetis
05fff73c66 Merge pull request #130 from fingolfin/dreamweb-misc
Dreamweb: convert workoutFrames to c++, some cleanup
2011-12-08 11:12:48 -08:00
Filippos Karapetis
96360bb153 DREAMWEB: Port 'intromonks2' to C++ 2011-12-08 21:10:39 +02:00
Max Horn
c8d4f60852 DREAMWEB: Move more stuff to DreamBase 2011-12-08 20:10:33 +01:00
Max Horn
0d7815e9bb DREAMWEB: Convert workoutFrames to C++ 2011-12-08 19:56:06 +01:00
Max Horn
e4e725fa8d DREAMWEB: Remove unused Register::cbw() 2011-12-08 19:56:06 +01:00
Max Horn
5b43fb6be7 DREAMWEB: Code formatting 2011-12-08 19:52:10 +01:00
Filippos Karapetis
e731d9b813 DREAMWEB: Fix warnings 2011-12-08 20:47:55 +02:00
Filippos Karapetis
fcb2060445 DREAMWEB: Port 'intromonks1' to C++ 2011-12-08 20:43:35 +02:00
Willem Jan Palenstijn
627d3f8d41 DREAMWEB: Move functions to DreamBase 2011-12-08 19:18:27 +01:00
Willem Jan Palenstijn
e40f1af3dc DREAMWEB: Remove globals kCurrentframe, kTakeoff 2011-12-08 19:18:27 +01:00
Willem Jan Palenstijn
e8ccbe3558 DREAMWEB: Convert watchreel and remove global kReelpointer 2011-12-08 19:18:27 +01:00
Filippos Karapetis
7e4a261609 DREAMWEB: Port 'showdiary' to C++ 2011-12-08 12:37:24 +02:00
Filippos Karapetis
1d0ba8e8e6 DREAMWEB: Port 'showcooker' to C++ 2011-12-08 12:18:52 +02:00
Filippos Karapetis
d6c371e6ff DREAMWEB: Port 'middlepanel' to C++ 2011-12-08 12:10:43 +02:00
Filippos Karapetis
2a2c9d5951 DREAMWEB: Port 'showopbox', 'showsaveops', 'showloadops' to C++ 2011-12-08 11:59:48 +02:00
Filippos Karapetis
87e60f8430 DREAMWEB: Port 'copper' to C++. Remove 'advisor' (unused) 2011-12-08 11:37:35 +02:00
Willem Jan Palenstijn
5b32729e55 DREAMWEB: Move some data accessor functions to DreamBase 2011-12-08 10:14:37 +01:00
Filippos Karapetis
67fb3dcd5e DREAMWEB: 'printoutermon', 'showarrows' ported to C++ 2011-12-08 10:52:15 +02:00
Filippos Karapetis
34b6935cda DREAMWEB: Add missing semicolon 2011-12-08 10:33:16 +02:00
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
Filippos Karapetis
1c9a3e7da1 DREAMWEB: 'dumpkeypad', 'dumpsymbol', 'dumpsymbox', 'dumpzoom' 2011-12-07 01:51:12 +02:00
Filippos Karapetis
8b4a1625ea DREAMWEB: Added a C++ implementation of isSetObOnMap() 2011-12-07 01:51:11 +02:00
Willem Jan Palenstijn
54c4bac556 DREAMWEB: Fix regression in 'moretalk' 2011-12-06 23:39:12 +01:00
Filippos Karapetis
9d93065b03 DREAMWEB: 'moretalk' and 'redes' ported to C++ 2011-12-07 00:31:00 +02:00
Willem Jan Palenstijn
4951140371 DREAMWEB: Fix regression in useCardReader1 2011-12-06 22:20:16 +01:00
Filippos Karapetis
7445c62a71 DREAMWEB: 'usecardreader1', 'usecardreader2', 'usecardreader3', 'usepoolreader' ported to C++ 2011-12-06 23:02:31 +02:00
Max Horn
9a7b8340c5 DREAMWEB: Fix generated namespace comments 2011-12-06 21:51:16 +01:00
Max Horn
7cff0111ca DREAMWEB: Declare namespace *after* all #includes 2011-12-06 21:50:42 +01:00
Max Horn
3840e86d0d DREAMWEB: Paranoia range check 2011-12-06 21:50:37 +01:00
Max Horn
0193ef590d DREAMWEB: Cleanup end of namespace comments 2011-12-06 21:49:41 +01:00
Willem Jan Palenstijn
adaea53c19 DREAMWEB: Fix warnings 2011-12-06 21:48:58 +01:00
Filippos Karapetis
e4e059b857 DREAMWEB: Add a default use handler, thereby reducing code duplication 2011-12-06 22:24:46 +02:00
Willem Jan Palenstijn
44ed4ef0df DREAMWEB: Move 'train' out of dreamgen again
Apparently it is effectively empty...
2011-12-06 21:19:42 +01:00
Willem Jan Palenstijn
454205a6e3 DREAMWEB: Fix regression in 'gates' 2011-12-06 21:16:21 +01:00
Willem Jan Palenstijn
1193792310 DREAMWEB: Fix regressions in 'monks2text' 2011-12-06 20:57:09 +01:00
Willem Jan Palenstijn
9194b23d5b DREAMWEB: Fix regression in 'usecart' 2011-12-06 20:04:16 +01:00
Willem Jan Palenstijn
ead20c37b4 DREAMWEB: Put 'train' back in dreamgen since it hadn't been converted yet
Also fix syntax error in tasm-recover
2011-12-06 19:40:38 +01:00
Willem Jan Palenstijn
7a3360e09f DREAMWEB: Fix regressions in 'intro1text', 'redrawmainscrn', 'sitdowninbar' 2011-12-06 19:31:14 +01:00
Filippos Karapetis
16c9620dba DREAMWEB: 'grafittidoor', 'hotelcontrol', 'openhoteldoor', 'openhoteldoor2', 'opentomb' ported to C++ 2011-12-06 20:17:19 +02:00
Filippos Karapetis
7566d2c985 DREAMWEB: 'chewy', 'slabdoorb', 'usecart', 'usehole', 'usetrainer', 'usewinch' ported to C++ 2011-12-06 19:54:03 +02:00
Filippos Karapetis
6f2f8976cc DREAMWEB: Fix regression in useObject() from f2829a6 2011-12-06 18:33:42 +02:00