1296 Commits

Author SHA1 Message Date
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
3802b21183 DREAMWEB: Move some functions to DreamBase 2011-12-25 15:07:56 +02:00
Filippos Karapetis
3ac88c16ea DREAMWEB: Port 'selectopenob' to C++ 2011-12-25 14:30:00 +02:00
Filippos Karapetis
e412078319 DREAMWEB: Name the return values of getAnyAd 2011-12-25 14:13:48 +02:00
Willem Jan Palenstijn
5e976490c7 DREAMWEB: Move remaining talk functions to DreamBase 2011-12-25 13:02:56 +01:00
Willem Jan Palenstijn
85e5457402 DREAMWEB: Move talk functions to DreamBase 2011-12-25 12:54:12 +01:00
Willem Jan Palenstijn
fb068a1dbc DREAMWEB: Simplify order of checkObjectSize checks 2011-12-25 12:41:37 +01:00
D G Turner
4bb6305e59 DREAMWEB: Change hangOnPQ function signature to avoid carry flag usage. 2011-12-25 07:42:04 +00:00
D G Turner
088c145f8f DREAMWEB: Port 'dosometalk' to C++ 2011-12-25 07:28:29 +00: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
D G Turner
a1ffa11620 DREAMWEB: Port 'getpersontext' to C++ 2011-12-24 23:00:11 +00:00
D G Turner
df269f839d DREAMWEB: Ported 'starttalk' to C++ 2011-12-24 22:24:05 +00: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
Willem Jan Palenstijn
bcf789274f DREAMWEB: Move many use-related functions to DreamBase 2011-12-24 13:52:50 +01:00
Willem Jan Palenstijn
efb9057dda DREAMWEB: Remove unused function 2011-12-24 13:12:00 +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
Willem Jan Palenstijn
0133ca823e DREAMWEB: Fix wrong buffer size 2011-12-24 12:10:35 +01:00
Willem Jan Palenstijn
64b7aee081 DREAMWEB: Minor cleanup 2011-12-24 12:10:35 +01:00
Filippos Karapetis
99a5db2049 DREAMWEB: Fix typo in incRyanPage() 2011-12-24 01:09:17 +02:00
Filippos Karapetis
1cb1df3699 DREAMWEB: Port 'incryanpage' to C++ 2011-12-24 01:02:43 +02:00
Willem Jan Palenstijn
8e79608a1d DREAMWEB: Move sprite table out of buffers 2011-12-23 23:46:38 +01:00
Willem Jan Palenstijn
bbdbffc107 DREAMWEB: Move changes out of buffers 2011-12-23 23:46:38 +01:00
Willem Jan Palenstijn
10774daa58 DREAMWEB: Move backgrounds, zoom space, initial vars out of buffers 2011-12-23 23:46:38 +01:00
Willem Jan Palenstijn
814793de49 DREAMWEB: Move rainlist out of buffers 2011-12-23 23:46:38 +01:00
Willem Jan Palenstijn
109acaab3c DREAMWEB: Move mapflags out of buffers 2011-12-23 23:46:38 +01:00
Willem Jan Palenstijn
1749182e98 DREAMWEB: Move ObjPos lists out of buffers 2011-12-23 23:46:38 +01:00
Willem Jan Palenstijn
061d24bb82 DREAMWEB: Move palettes out of buffers 2011-12-23 23:46:38 +01:00
Willem Jan Palenstijn
00b0aafd4c DREAMWEB: Fix broken merge for pull request #151 2011-12-23 23:46:38 +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
Willem Jan Palenstijn
d40201103e Merge pull request #151 from fingolfin/dreamweb-cleanup-rebased
Conflicts:
	engines/dreamweb/dreamgen.cpp
	engines/dreamweb/stubs.cpp
2011-12-23 21:03:18 +01:00
Willem Jan Palenstijn
625a5ef2ed DREAMWEB: Minor cleanup 2011-12-23 20:45:51 +01:00
Willem Jan Palenstijn
b6a6778843 DREAMWEB: Remove more unnecessary globals 2011-12-23 20:36:32 +01:00
Willem Jan Palenstijn
6653c977ef DREAMWEB: Remove a few unnecessary globals 2011-12-23 20:26:00 +01:00
Willem Jan Palenstijn
0f36350e03 DREAMWEB: Fix regression from moving ReelRoutines out of data
The struct People still had an old-style pointer to a ReelRoutine.
Fix this by converting People to use a real ReelRoutine * and moving
the PeopleList from the buffers segment to a Common::List.

Thanks to digitall for the assistance with tracking this down.
2011-12-23 19:15:25 +01:00
Willem Jan Palenstijn
99b7fce611 DREAMWEB: Fix regression in sparky 2011-12-23 17:09:46 +01:00
Max Horn
c9e9e5d6d8 DREAMWEB: Add titles.cpp, move some methods to titles.cpp and talk.cpp 2011-12-23 10:18:02 +01: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
f41412186b DREAMWEB: Add newplace.cpp 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
a4ffb8fe54 DREAMWEB: Convert fadeDownMon, fadeUpMon, initialMonCols to C++
Note that the two fade methods are currently unused; the only calls to them
are commented out in the asm version of the code.
This change also removes showGroup()
2011-12-23 03:32:50 +02:00
Max Horn
d033566f6d DREAMWEB: Move most of saveload.cpp to DreamBase 2011-12-23 03:31:01 +02:00
Max Horn
2bdcbadbfe DREAMWEB: Yet more things to DreamBase 2011-12-23 03:30:59 +02:00