68 Commits

Author SHA1 Message Date
Max Horn
cdc6bc421b DREAMWEB: Turn RectWithCallback into template
Also moves checkCoords to DreamBase, adding a nasty cast to it. This is a
temporary HACK, which allows moving functions that use checkCoords to
DreamBase one at a time, instead of all at once (and at the same time as
checkCoords). This can be undone once everything using checkCoords has been
moved to DreamBase.
2011-12-23 03:39:44 +02:00
Max Horn
8c8666e811 DREAMWEB: Move backdrop.cpp and more to DreamBase; remove some dead code 2011-12-18 14:13:59 +01:00
Willem Jan Palenstijn
f0508dd05a DREAMWEB: Fix regression in useWinch 2011-12-18 14:08:32 +01:00
Filippos Karapetis
421c8cd262 DREAMWEB: Port 'setpickup' to C++ and added an enum for the object types 2011-12-18 11:26:19 +02:00
Willem Jan Palenstijn
656409c72b DREAMWEB: Fix regression in slabdoorb 2011-12-17 23:28:26 +01:00
Willem Jan Palenstijn
3185dac25e DREAMWEB: Work around runtime limitation
The WordRef accessor writes back its value too late. Example: in the
call printDirect(data.word(kLastxpos), .....)
the destructor isn't called until after printDirect returns.
This destroys the modifications to lastXPos that printDirect makes.
2011-12-17 16:40:15 +01:00
Filippos Karapetis
f9d4886e50 DREAMWEB: Port 'usestereo' to C++ 2011-12-17 02:04:31 +02:00
Filippos Karapetis
b371c46af9 DREAMWEB: Port 'checkinside' to C++ 2011-12-17 00:43:09 +02:00
Filippos Karapetis
654a60a90c DREAMWEB: Rewrote useCashCard() in C++ and got rid of moneyPoke() and its associated offsets in the data blob 2011-12-17 00:01:45 +02:00
Filippos Karapetis
12cac260c9 DREAMWEB: Port 'isryanholding' to C++ 2011-12-16 22:04:47 +02:00
Max Horn
202f9d18f1 DREAMWEB: Move more things to DreamBase; cleanup some code 2011-12-16 17:43:33 +01:00
Max Horn
f878f0453a DREAMWEB: Convert useGun to C++ 2011-12-16 16:25:38 +01:00
Max Horn
d1ed87bece DREAMWEB: Convert notHeldError to C++, move stuff to DreamBase 2011-12-15 14:09:53 +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
dd8304dd75 DREAMWEB: Port 'usehandle', 'usealtar' to C++ 2011-12-15 00:43:08 +02:00
Filippos Karapetis
ea8b6c8c6d DREAMWEB: Port 'findsetobject' and 'findexobject' to C++ and simplify compare() 2011-12-15 00:12:25 +02:00
Willem Jan Palenstijn
5948b5a9e3 DREAMWEB: Allow quit from diary 2011-12-14 12:33:08 +01:00
Willem Jan Palenstijn
5af0deba87 DREAMWEB: Cleanup 2011-12-14 12:17:32 +01:00
Filippos Karapetis
b27a6e72ad DREAMWEB: Port 'runtap' to C++ 2011-12-13 01:02:41 +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
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
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
447f0c6643 DREAMWEB: Use the C++ version of workScreen() in C++ code 2011-12-09 18:18:32 +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
baf2cc8b8e DREAMWEB: Port 'usediary' to C++ and remove diarylist from the blob 2011-12-09 01:24:25 +02:00
Willem Jan Palenstijn
627d3f8d41 DREAMWEB: Move functions to DreamBase 2011-12-08 19:18:27 +01:00
Filippos Karapetis
1d0ba8e8e6 DREAMWEB: Port 'showcooker' to C++ 2011-12-08 12:18:52 +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
0193ef590d DREAMWEB: Cleanup end of namespace comments 2011-12-06 21:49:41 +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
9194b23d5b DREAMWEB: Fix regression in 'usecart' 2011-12-06 20:04:16 +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
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
d4f845524e DREAMWEB: 'destselect', 'lastdest', 'nextdest', 'putbackobstuff', 'reexfromopen', 'useplate' ported to C++ 2011-12-06 16:46:26 +02: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
0d768ebe41 DREAMWEB: 'slabdoora', 'slabdoorc', 'slabdoord', 'slabdoore', 'slabdoorf', 'useladder', 'useladderb', ported to C++ 2011-12-06 05:45:36 +02:00