Commit Graph
570 Commits
Author SHA1 Message Date
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 1749182e98 DREAMWEB: Move ObjPos lists out of buffers 2011-12-23 23:46:38 +01: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 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
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 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
Filippos Karapetis c7dbbc8606 DREAMWEB: Ported 'reminders' to C++ and renamed it to edensFlatReminders() 2011-12-23 03:27:27 +02:00
Filippos Karapetis 0cd53d5d3e DREAMWEB: Port 'lookatplace' to C++ 2011-12-18 21:07:27 +02:00
Willem Jan Palenstijn 60ece632b8 DREAMWEB: Remove reelRoutines from data blob 2011-12-18 16:54:16 +01:00
Willem Jan Palenstijn 49877b2319 DREAMWEB: Move all reel functions to DreamBase 2011-12-18 16:34:57 +01:00
Willem Jan Palenstijn 8449493eff DREAMWEB: Convert removeObFromInv, deleteExObject, deleteExFrame, deleteExText 2011-12-18 16:01:06 +01:00
Filippos Karapetis a5879196df DREAMWEB: Port 'showdiarykeys' to C++ 2011-12-18 15:44:16 +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 cf73ee9939 DREAMWEB: Fix multiple regressions in checkInside and loadCart 2011-12-18 13:22:12 +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 10e1637612 DREAMWEB: Fix regressions in findExObject, findSetObject 2011-12-17 23:16:36 +01:00
Willem Jan Palenstijn 30089ec315 DREAMWEB: Convert clearBuffers, clearChanges 2011-12-17 22:28:54 +01: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 6dd09b8935 DREAMWEB: Convert checkForExit 2011-12-17 19:19:08 +01:00
Filippos Karapetis 7d38ba5619 DREAMWEB: Fix another regression in isRyanHolding() (thanks wjp) 2011-12-17 15:25:56 +02:00
Filippos Karapetis 1277958053 DREAMWEB: Fix regression in isRyanHolding() 2011-12-17 15:23:06 +02:00
Filippos Karapetis b371c46af9 DREAMWEB: Port 'checkinside' to C++ 2011-12-17 00:43:09 +02:00
Filippos Karapetis 2887686d56 DREAMWEB: Port 'showslots' to C++ 2011-12-16 22:47:33 +02:00
Filippos Karapetis 12cac260c9 DREAMWEB: Port 'isryanholding' to C++ 2011-12-16 22:04:47 +02:00
Max Horn 1d09f7c12a DREAMWEB: Some more cleanup 2011-12-16 18:10:27 +01:00
Max Horn 202f9d18f1 DREAMWEB: Move more things to DreamBase; cleanup some code 2011-12-16 17:43:33 +01:00
Max Horn 027249ec30 DREAMWEB: Remove some dead code 2011-12-16 16:37:06 +01: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 9972fc613a DREAMWEB: Move more methods 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
Filippos Karapetis 1f348745b0 DREAMWEB: Fix regression in describeOb() 2011-12-15 12:24:48 +02:00
Filippos Karapetis 45794d1b82 DREAMWEB: Port 'describeob', 'additionaltext' to C++ 2011-12-15 02:09:17 +02:00
Filippos Karapetis 509755a010 DREAMWEB: Further simplification of findSetObject() and findExObject() (thanks wjp) 2011-12-15 00:30:31 +02:00
Filippos Karapetis f0b0f25bd6 DREAMWEB: Properly set bx in findSetObject() and findExObject() 2011-12-15 00:18:27 +02:00
Filippos Karapetis ea8b6c8c6d DREAMWEB: Port 'findsetobject' and 'findexobject' to C++ and simplify compare() 2011-12-15 00:12:25 +02:00
Max Horn b466575d9e DREAMWEB: Move more stuff to DreamBase 2011-12-14 12:46:40 +01:00
Willem Jan Palenstijn ee5c9678c3 DREAMWEB: Cleanup 2011-12-14 12:33:08 +01:00
Willem Jan Palenstijn a489430bc3 DREAMWEB: Fix regression in showDiaryPage and lookAtCard 2011-12-14 12:18:11 +01:00
Willem Jan Palenstijn 5af0deba87 DREAMWEB: Cleanup 2011-12-14 12:17:32 +01:00
Filippos Karapetis f1a099d4f8 DREAMWEB: Port 'lookatcard' to C++ 2011-12-14 02:17:53 +02:00
Filippos Karapetis a22266d871 DREAMWEB: Port 'runendseq' to C++ and remove the unused 'drawitall' function 2011-12-14 02:04:26 +02:00