Commit graph

82 commits

Author SHA1 Message Date
Filippos Karapetis
4c66f74b58 DREAMWEB: Remove dead code and move most functions to DreamBase 2011-12-26 22:10:20 +02:00
Filippos Karapetis
8c3488a973 DREAMWEB: Remove the now unused ASM style versions of getanyad, getexad, getfreead and getsetad 2011-12-26 16:54:03 +02:00
Willem Jan Palenstijn
2db59ab311 DREAMWEB: Move even more use-related functions to DreamBase 2011-12-26 13:02:18 +01:00
Max Horn
04a147921f DREAMWEB: Rename workToScreenCPP to workToScreen 2011-12-26 01:41:56 +01:00
Filippos Karapetis
6dbc930b18 DREAMWEB: Remove getDestInfo() from locationPic
This allows to move some more functions into DreamBase
2011-12-25 19:48:49 +02:00
Filippos Karapetis
e322d6257d DREAMWEB: Port 'locationpic', 'reexfrominv' to C++ 2011-12-25 16:33:30 +02:00
Filippos Karapetis
3802b21183 DREAMWEB: Move some functions to DreamBase 2011-12-25 15:07:56 +02:00
Willem Jan Palenstijn
42068065b5 DREAMWEB: Move more functions to DreamBase 2011-12-24 14:23:34 +01:00
Willem Jan Palenstijn
bcf789274f DREAMWEB: Move many use-related functions to DreamBase 2011-12-24 13:52:50 +01:00
Willem Jan Palenstijn
b9839635ea DREAMWEB: Convert getObTextStart 2011-12-24 12:23:24 +01:00
Willem Jan Palenstijn
64b7aee081 DREAMWEB: Minor cleanup 2011-12-24 12:10:35 +01:00
Filippos Karapetis
f6d63ae6a8 DREAMWEB: Use the C++ versions of getAnyAd and makeWorn in some places
This allows us to remove the ASM style version of makeWorn()
2011-12-24 00:37:13 +02:00
Max Horn
b6e139d112 DREAMWEB: Convert resetLocation and purgeALocation to C++ 2011-12-23 10:18:01 +01:00
Max Horn
ef98df5895 DREAMWEB: cleanup 2011-12-23 03:43:19 +02:00
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