Commit Graph

862 Commits

Author SHA1 Message Date
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
Filippos Karapetis
36ea44ea91 DREAMWEB: Revert the changes in zoomOnOff() from ddddce372. Some cleanup 2011-12-06 18:10:45 +02:00
Filippos Karapetis
bb14626630 DREAMWEB: Finish off useObject() 2011-12-06 17:55:08 +02:00
Filippos Karapetis
f2829a6a6c DREAMWEB: 'useelvdoor', 'useobject', 'useplinth' ported to C++ 2011-12-06 17:46:50 +02:00
Filippos Karapetis
ddddce3728 DREAMWEB: Simplified mouse button checks (thanks wjp, Tron) 2011-12-06 17:42:50 +02:00
Filippos Karapetis
6002e1a7ab DREAMWEB: Fixed delEverything() (thanks tramboi) 2011-12-06 17:13:51 +02:00
Filippos Karapetis
b273726df1 DREAMWEB: Fixed mouse button checks (thanks wjp) 2011-12-06 17:08:53 +02:00
Filippos Karapetis
d4f845524e DREAMWEB: 'destselect', 'lastdest', 'nextdest', 'putbackobstuff', 'reexfromopen', 'useplate' ported to C++ 2011-12-06 16:46:26 +02:00
Filippos Karapetis
b201f4f55d DREAMWEB: 'clearpalette', 'deleverything', 'errormessage1', 'errormessage2', 'errormessage3', 'train' ported to C++ 2011-12-06 15:58:20 +02:00
Filippos Karapetis
c11ff14f46 DREAMWEB: Added more language / CD checks 2011-12-06 15:21:30 +02:00
Willem Jan Palenstijn
519184d75c DREAMWEB: Fix language check 2011-12-06 13:44:54 +01:00
Filippos Karapetis
1434bb35af DREAMWEB: 'opentvdoor', 'useclearbox' ported to C++. Some cleanup. 2011-12-06 14:13:54 +02:00
Filippos Karapetis
c244f6e662 DREAMWEB: 'usechurchgate', 'usefullcart' ported to C++ 2011-12-06 13:17:28 +02:00
Filippos Karapetis
6ad12bc093 DREAMWEB: 'makemainscreen', 'obsthatdothings', 'openinv' ported to C++ 2011-12-06 12:59:18 +02:00