Commit graph

69 commits

Author SHA1 Message Date
Willem Jan Palenstijn
1fef9d1f75 DREAMWEB: Convert findAllOpen, fillOpen 2011-12-26 16:54:00 +02:00
Filippos Karapetis
63ba3988ff DREAMWEB: Port 'transfertoex' to C++ 2011-12-26 16:10:28 +02:00
Filippos Karapetis
1b11f48a35 DREAMWEB: Cleanup identifyOb() 2011-12-26 13:18:09 +02:00
D G Turner
389afc4666 DREAMWEB: Port 'findpathofpoint' to C++ 2011-12-26 05:02:51 +00:00
Filippos Karapetis
9a89f8884c Merge pull request #153 from fingolfin/dreamweb-cleanup
Dreamweb: Port rollEm() to C++, remove dead code
2011-12-25 16:58:58 -08:00
Filippos Karapetis
7945a0fbb0 DREAMWEB: Cleaned up findFirstPath(), fixed a regression and moved it to DreamBase 2011-12-26 02:50:02 +02:00
Max Horn
04a147921f DREAMWEB: Rename workToScreenCPP to workToScreen 2011-12-26 01:41:56 +01:00
Max Horn
d015f5d446 DREAMWEB: Remove some dead code 2011-12-26 01:41:55 +01:00
D G Turner
c7b1ec2198 DREAMWEB: Ported 'findfirstpath' to C++.
This conversion could do with a bit more work to remove the es/ax/cx
temp usage and clean up the code.
2011-12-25 23:33:11 +00:00
Filippos Karapetis
1f346baa92 DREAMWEB: Port 'findopenpos' to C++ 2011-12-25 22:31:07 +02:00
Filippos Karapetis
95ffd7f4ce DREAMWEB: Port 'purgeanitem' to C++, some cleanup 2011-12-25 19:25:00 +02:00
Filippos Karapetis
21a278bb63 DREAMWEB: Port 'outofopen' to C++ 2011-12-25 18:26:13 +02:00
Filippos Karapetis
bf4271dfc1 DREAMWEB: Port 'swapwithopen' to C++ 2011-12-25 17:54:22 +02:00
Filippos Karapetis
c531c4c1ea DREAMWEB: Port 'swapwithinv' to C++ 2011-12-25 17:32:56 +02:00
Filippos Karapetis
0fff97b4b0 DREAMWEB: Port 'useopened' to C++ 2011-12-25 17:10:49 +02:00
Filippos Karapetis
e322d6257d DREAMWEB: Port 'locationpic', 'reexfrominv' to C++ 2011-12-25 16:33:30 +02:00
Filippos Karapetis
3ac88c16ea DREAMWEB: Port 'selectopenob' to C++ 2011-12-25 14:30:00 +02:00
Willem Jan Palenstijn
fb068a1dbc DREAMWEB: Simplify order of checkObjectSize checks 2011-12-25 12:41:37 +01:00
Filippos Karapetis
652403021d DREAMWEB: Convert 'checkobjectsize' to C++
Also, renamed getOpenedSizeCPP() to getSlotCount(). Special thanks to
wjp for his help and for examining the behavior of a fallback case.
2011-12-25 04:53:26 +02:00
Willem Jan Palenstijn
8e36de736e DREAMWEB: Minor cleanup 2011-12-24 14:41:12 +01:00
Willem Jan Palenstijn
42068065b5 DREAMWEB: Move more functions to DreamBase 2011-12-24 14:23:34 +01:00
Filippos Karapetis
be1a4de291 DREAMWEB: Port 'dropobject' to C++ 2011-12-24 13:32:39 +02:00
Willem Jan Palenstijn
b9839635ea DREAMWEB: Convert getObTextStart 2011-12-24 12:23:24 +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
b2fcdd6c86 DREAMWEB: Move rest of saveload.cpp to DreamBase 2011-12-23 10:18:02 +01: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
Willem Jan Palenstijn
341a2d6874 DREAMWEB: Fix regression in deleteExObject
(thanks to Fingolfin)
2011-12-20 14:07:01 +01:00
Willem Jan Palenstijn
f5e8b3257e DREAMWEB: Fix regressions in intoInv, outOfInv; cleanup selectOb 2011-12-20 00:06:49 +01:00
Filippos Karapetis
5a3deea58e DREAMWEB: More work on inToInv and outOfInv 2011-12-19 23:48:13 +02:00
Filippos Karapetis
f0eee81d32 DREAMWEB: Port 'intoinv', 'outofinv' to C++ 2011-12-19 03:24:03 +02:00
Willem Jan Palenstijn
8449493eff DREAMWEB: Convert removeObFromInv, deleteExObject, deleteExFrame, deleteExText 2011-12-18 16:01:06 +01:00
Willem Jan Palenstijn
133cfc3ae9 DREAMWEB: Fix yet another regression in setPickup
getAnyAd and getEitherAd have different inputs, so can't be
interchanged...
2011-12-18 15:56:59 +01:00
Willem Jan Palenstijn
feaf297c75 DREAMWEB: Fix multiple regressions in setPickup 2011-12-18 13:06:05 +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
5958d2d29a DREAMWEB: Name some DynObject/SetObject fields
Also change getAnyAd() behaviour to be consistent between Free/Ex and
Set objects, diverging from the original.
2011-12-17 21:02:31 +01:00
Willem Jan Palenstijn
b8ab0e6217 DREAMWEB: Fix regression in getOpenedSize 2011-12-17 19:19:08 +01:00
Filippos Karapetis
9fdb38d395 DREAMWEB: Fix another regression in the ASM-style version of getOpenedSize() 2011-12-17 16:32:12 +02:00
Filippos Karapetis
400bda78d2 DREAMWEB: Fix another regression in selectOb() (thanks wjp) 2011-12-17 16:21:32 +02:00
Filippos Karapetis
956abddc5c DREAMWEB: Fix regression in selectOb() (thanks wjp) 2011-12-17 15:50:48 +02:00
Filippos Karapetis
710072c55b DREAMWEB: Fix regression in getOpenedSize() 2011-12-17 14:33:17 +02:00
Filippos Karapetis
05c5e224b4 DREAMWEB: Port 'findinvpos', 'selectob' to C++ and fix a regression in identifyOb() 2011-12-17 13:48:12 +02:00
Filippos Karapetis
b289533e4d DREAMWEB: Fix regression in identifyOb 2011-12-17 01:39:29 +02:00
Filippos Karapetis
984010faae DREAMWEB: Port 'identifyob' to C++ 2011-12-16 22:29:41 +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
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
Willem Jan Palenstijn
2ff147352c DREAMWEB: Cleanup and add FIXMEs 2011-12-12 09:19:25 +01:00
Filippos Karapetis
447f0c6643 DREAMWEB: Use the C++ version of workScreen() in C++ code 2011-12-09 18:18:32 +02:00