Filippos Karapetis
1b11f48a35
DREAMWEB: Cleanup identifyOb()
2011-12-26 13:18:09 +02:00
D G Turner
6f8a4bb336
DREAMWEB: Ported 'searchforfiles' to C++
2011-12-26 05:46:01 +00:00
D G Turner
389afc4666
DREAMWEB: Port 'findpathofpoint' to C++
2011-12-26 05:02:51 +00:00
Filippos Karapetis
d503838fd6
DREAMWEB: Moved the two rollEndCredits functions together in print.cpp and renamed them to rollEndCreditsGameWon and rollEndCreditsGameLost
2011-12-26 03:15:47 +02: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
a4643a0484
DREAMWEB: Move titles.cpp to DreamBase
2011-12-26 01:41:56 +01:00
Max Horn
dbe5b50cd3
DREAMWEB: Port rollEm() to C++
2011-12-26 01:41:56 +01: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
bdded1ce12
DREAMWEB: The ASM-style version of getEitherAd() is no longer needed
2011-12-25 22:11:27 +02:00
Filippos Karapetis
95c9a6d8cd
DREAMWEB: Move all of the functions in newplace.cpp into DreamBase
2011-12-25 21:10:20 +02:00
Filippos Karapetis
e27a5931c8
DREAMWEB: Remove getdestinfo() and access the roomPics array directly in locationPic()
2011-12-25 21:00:30 +02: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
95ffd7f4ce
DREAMWEB: Port 'purgeanitem' to C++, some cleanup
2011-12-25 19:25:00 +02:00
Filippos Karapetis
eaf87bdfa7
DREAMWEB: Port 'emergencypurge' to C++
2011-12-25 18:42:13 +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
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
Filippos Karapetis
c7dbbc8606
DREAMWEB: Ported 'reminders' to C++ and renamed it to edensFlatReminders()
2011-12-23 03:27:27 +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
Filippos Karapetis
0cd53d5d3e
DREAMWEB: Port 'lookatplace' to C++
2011-12-18 21:07:27 +02:00
Filippos Karapetis
5843fc1157
DREAMWEB: 'nextcolon' is unused
2011-12-18 20:22:03 +02:00
Filippos Karapetis
25b99c448d
DREAMWEB: Rewrite signOn into C++, and remove the users and passwords from the data blob
...
Note that the string processing logic in signOn is a bit different from
the original, but the end result is the same (with cleaner code)
2011-12-18 20:17:55 +02:00
Filippos Karapetis
833507695e
DREAMWEB: Remove the now unused 'keynum' and 'newlogonum' variables from the data blob
2011-12-18 17:58:43 +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
Willem Jan Palenstijn
ebbc8ae3d2
DREAMWEB: Set es for reel callbacks while it may be necessary
2011-12-18 15:57:24 +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
Filippos Karapetis
62dc71a73a
DREAMWEB: Port 'getkeyandlogo' to C++
2011-12-18 16:43:05 +02:00
Filippos Karapetis
362f21d30d
DREAMWEB: Port 'showkeys' to C++
2011-12-18 15:44:17 +02: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
f0508dd05a
DREAMWEB: Fix regression in useWinch
2011-12-18 14:08:32 +01:00
Willem Jan Palenstijn
cf73ee9939
DREAMWEB: Fix multiple regressions in checkInside and loadCart
2011-12-18 13:22:12 +01:00
Willem Jan Palenstijn
feaf297c75
DREAMWEB: Fix multiple regressions in setPickup
2011-12-18 13:06:05 +01:00
Willem Jan Palenstijn
4178ad6b68
DREAMWEB: Fix ReelRoutine terminator saving/loading
2011-12-18 12:38:53 +01:00
Filippos Karapetis
5d1e1fbbbc
DREAMWEB: Spacing
2011-12-18 13:16:25 +02:00
Filippos Karapetis
09eaef6bcd
DREAMWEB: Remove regression from b0a42f1
(duplicate saved reel data)
2011-12-18 13:08:27 +02:00
Filippos Karapetis
a1799ba091
DREAMWEB: Close the file opened in querySaveMetaInfos() when returning
2011-12-18 12:19:19 +02: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
Filippos Karapetis
9818def85b
DREAMWEB: Port 'lookininterface' to C++
2011-12-18 03:28:21 +02:00
Filippos Karapetis
83b31ccb1d
DREAMWEB: Remove an erroneous comment (copy/paste error)
2011-12-18 03:07:54 +02:00
Filippos Karapetis
08fec8fa34
DREAMWEB: Add meta information to saved games
...
This information includes savegame versioning and the saved game's
date/time, played time and game thumbnail. This information is stored
into an unused data block of the original save format, so the
generated ScummVM saves are (hopefully) fully compatible with the
original ones and can be loaded in the original interpreter
2011-12-18 02:55:22 +02:00
Willem Jan Palenstijn
656409c72b
DREAMWEB: Fix regression in slabdoorb
2011-12-17 23:28:26 +01: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
46caa77164
DREAMWEB: Add disabled reelRoutine conversion work
2011-12-17 22:28:54 +01:00
Willem Jan Palenstijn
b0a42f115e
DREAMWEB: Use serializer for ReelRoutines
2011-12-17 21:30: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
b8ab0e6217
DREAMWEB: Fix regression in getOpenedSize
2011-12-17 19:19:08 +01:00
Willem Jan Palenstijn
6dd09b8935
DREAMWEB: Convert checkForExit
2011-12-17 19:19:08 +01:00
Filippos Karapetis
f8bfe84c44
DREAMWEB: Remove dead code
2011-12-17 20:06:55 +02:00
Filippos Karapetis
855b5320b3
DREAMWEB: Use ScummVM's save/load dialogs by default
2011-12-17 19:30:48 +02:00
Filippos Karapetis
af1c8d774d
DREAMWEB: Fix two off-by-one errors in saveGame(), rewrite scanForNames() to use listSavefiles() and use Common::strlcopy instead of strncpy
2011-12-17 19:30:06 +02:00
Filippos Karapetis
0731bcb5ac
DREAMWEB: Implement removeSaveState()
2011-12-17 19:28:04 +02: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
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
b1edf24462
DREAMWEB: Fix a regression in businessMan(), and updated its comments
2011-12-17 15:43:10 +02: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
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
f9d4886e50
DREAMWEB: Port 'usestereo' to C++
2011-12-17 02:04:31 +02:00
Filippos Karapetis
b289533e4d
DREAMWEB: Fix regression in identifyOb
2011-12-17 01:39:29 +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
2887686d56
DREAMWEB: Port 'showslots' to C++
2011-12-16 22:47:33 +02:00
Filippos Karapetis
984010faae
DREAMWEB: Port 'identifyob' to C++
2011-12-16 22:29:41 +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
2f0c671256
DREAMWEB: Move most of people.cpp to DreamBase
2011-12-16 17:44:59 +01:00
Max Horn
8cb92c2367
DREAMWEB: Convert fadeScreenDownHalf to C++
2011-12-16 17:44:59 +01:00
Max Horn
010714ce5b
DREAMWEB: Move more to DreamBase; fix regression in introMonks1()
2011-12-16 17:44:36 +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
f878f0453a
DREAMWEB: Convert useGun to C++
2011-12-16 16:25:38 +01:00
Willem Jan Palenstijn
86c3c8b462
DREAMWEB: Fix regressions in helicopter and poolGuard
2011-12-16 11:02:51 +01:00
Filippos Karapetis
84be5b0446
DREAMWEB: Rename 'reelCallbacksCPP' to reelCallbacks'
2011-12-16 00:46:05 +02:00
Filippos Karapetis
a6b2b9c7ff
DREAMWEB: Enable the C++ callback of poolGuard()
2011-12-16 00:42:25 +02:00
Filippos Karapetis
30b4037ffb
DREAMWEB: Port 'poolguard' to C++
...
This is the last of the people-related functions, so the assembly-like
wrappers of addToPeopleList() and showGameReel() have been removed. Also,
madManText() has been simplified
2011-12-16 00:41:27 +02:00
Filippos Karapetis
66618f4e02
DREAMWEB: Port 'endgameseq' to C++
2011-12-16 00:15:04 +02:00
Filippos Karapetis
6792fa2fb6
DREAMWEB: Port 'businessman' to C++
2011-12-16 00:02:57 +02:00
Filippos Karapetis
60f9b91ced
DREAMWEB: Port 'mugger' to C++, remove the unused 'findpuztext' function and fix tasm-recover
2011-12-15 23:45:09 +02:00
Filippos Karapetis
5bf9c1e024
Merge pull request #143 from fingolfin/dreamweb-cleanup
...
Dreamweb cleanup
2011-12-15 13:24:23 -08:00
Filippos Karapetis
2a96ee48d4
DREAMWEB: Fix regression in helicopter()
2011-12-15 23:21:57 +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
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
93bf275f4c
DREAMWEB: Port 'helicopter' to C++
2011-12-15 12:15:22 +02:00
Filippos Karapetis
faab2d761d
DREAMWEB: Remove some unused global variables from the data blob
2011-12-15 11:30:47 +02:00
Filippos Karapetis
f87227dcd3
DREAMWEB: 'keypadax', 'keypadcx' are no longer needed
2011-12-15 02:14:21 +02:00
Filippos Karapetis
45794d1b82
DREAMWEB: Port 'describeob', 'additionaltext' to C++
2011-12-15 02:09:17 +02:00
Filippos Karapetis
dd8304dd75
DREAMWEB: Port 'usehandle', 'usealtar' to C++
2011-12-15 00:43:08 +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
Max Horn
e44a79fdd4
DREAMWEB: Convert makeCaps to C++, fix bug in delChar
2011-12-14 12:46:09 +01:00
Max Horn
a87a63c1bd
DREAMWEB: Convert execCommand to C++, remove comlist from data blob
2011-12-14 12:45:52 +01:00
Willem Jan Palenstijn
5948b5a9e3
DREAMWEB: Allow quit from diary
2011-12-14 12:33:08 +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
Filippos Karapetis
d4124e116a
DREAMWEB: Port 'heavy' to C++
2011-12-14 01:52:13 +02:00
Filippos Karapetis
c95bdeb20c
DREAMWEB: Port 'dumpdiarykeys' to C++ and remove the now unused 'findtext1'
2011-12-14 01:03:57 +02:00
Filippos Karapetis
c988038174
DREAMWEB: Port 'showdiarypage' to C++
2011-12-14 00:47:29 +02:00
Filippos Karapetis
9042f85ef3
DREAMWEB: Fix regression in bartender() and receptionist()
2011-12-13 23:04:26 +02:00
Filippos Karapetis
f9419db947
DREAMWEB: Port 'bartender' and 'receptionist' to C++
2011-12-13 22:39:34 +02:00
Willem Jan Palenstijn
fb66ae3698
DREAMWEB: Fix regression in selecSlot
2011-12-13 10:45:07 +01:00
Filippos Karapetis
25e42e1baa
DREAMWEB: 'removefreeobject' is unused. Port 'updatesymboltop', 'updatesymbolbot' to C++
2011-12-13 10:22:12 +02:00
Filippos Karapetis
1994bf73ce
DREAMWEB: 'lineroutine', 'increment1', 'increment2' are only used inside bresenhams()
2011-12-13 01:14:26 +02:00
Filippos Karapetis
b27a6e72ad
DREAMWEB: Port 'runtap' to C++
2011-12-13 01:02:41 +02:00
Filippos Karapetis
c452bf9c12
DREAMWEB: Port 'selectslot' to C++
2011-12-13 00:54:51 +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
e685a171d3
DREAMWEB: Simplify getUnderCentre(), putUnderCentre() and move some functions to DreamBase
2011-12-12 22:55:29 +02:00
Filippos Karapetis
a682734bce
DREAMWEB: Set volumeDirection as a negative integer, where this is used, instead of 0xFF
2011-12-12 22:46:28 +02:00
Filippos Karapetis
d41c89124f
DREAMWEB: Fix regression in entryAnims()
2011-12-12 22:43:56 +02:00
Filippos Karapetis
fc9a1b8407
DREAMWEB: Port 'getundercentre', 'processtrigger', 'putundercentre', 'triggermessage' to C++
2011-12-12 22:43:03 +02:00
Filippos Karapetis
6507853b87
DREAMWEB: Port 'entryanims' to C++
2011-12-12 21:52:00 +02:00
Filippos Karapetis
30b2c37e53
DREAMWEB: Convert 'setuptimeduse', 'entrytexts' to C++ and move priestText() to DreamBase
2011-12-12 20:02:34 +02:00
Filippos Karapetis
18da47dcd6
DREAMWEB: Port 'quitkey' to C++
2011-12-12 19:16:56 +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
0ade2240d0
DREAMWEB: Port 'autoappear' to C++
2011-12-12 17:49:34 +02:00
Filippos Karapetis
71362cc35d
DREAMWEB: Remove a lot of unused variables
2011-12-12 17:23:32 +02:00
Filippos Karapetis
33b5c9e040
DREAMWEB: Silence signed/unsigned warning
2011-12-12 16:56:01 +02:00
Filippos Karapetis
273fc3ff1a
DREAMWEB: Port 'usebuttona' to C++
2011-12-12 16:55:32 +02:00
Willem Jan Palenstijn
cc079c739a
DREAMWEB: Fix regression in rollEndCredits
...
I had previously tested the wrong end credits by accident. Oops...
2011-12-12 14:03:35 +01:00
Max Horn
b699d5e81e
DREAMWEB: Remove now unused DreamGenContext::playChannel0() wrapper
2011-12-12 13:26:22 +01:00
Max Horn
af85b85a84
DREAMWEB: Convert rollEndCredits/rollEndCredits2 to C++
2011-12-12 13:26:03 +01:00
Max Horn
5d80fda3a4
DREAMWEB: Add Dreambase::loadSpeech method
2011-12-12 12:40:28 +01:00
Max Horn
864ab1b265
DREAMWEB: Remove volumetabname from data blob
2011-12-12 12:29:08 +01:00
Max Horn
54ed4255c0
DREAMWEB: Add a FIXME
2011-12-12 12:28:42 +01:00
Filippos Karapetis
83610d98b0
Revert "DREAMWEB: Simplify the time display code"
...
This reverts commit 546c6a07e4
.
This wasn't a good idea, after all - it breaks saves and the game
time is always the real time (which is not what the original did - it
only synced the game time with the real time at the beginning)
2011-12-12 13:10:07 +02:00
Filippos Karapetis
546c6a07e4
DREAMWEB: Simplify the time display code
2011-12-12 12:58:03 +02:00
Max Horn
ef2096736d
DREAMWEB: Convert greyscaleSum, allPalette, dumpCurrent
2011-12-12 11:45:35 +01:00
Filippos Karapetis
9a420d232f
DREAMWEB: Remove a lot of unused/unneeded variables
2011-12-12 12:07:09 +02:00
Willem Jan Palenstijn
fb7246f3de
DREAMWEB: Convert 'createName'
2011-12-12 10:47:24 +01:00
Willem Jan Palenstijn
2ff147352c
DREAMWEB: Cleanup and add FIXMEs
2011-12-12 09:19:25 +01:00
Filippos Karapetis
3ff9b7f9ed
DREAMWEB: Fix typo in monkSpeaking()
2011-12-12 04:22:49 +02:00
Max Horn
571fcfe15d
DREAMWEB: Move fadeDOS to vgafades.cpp, cleanup
2011-12-12 04:20:27 +02:00
Filippos Karapetis
ea941af7f2
DREAMWEB: Convert 'monkspeaking' and 'showmonk' to C++
...
Also, remove the 'monkface' data from the data blob
2011-12-12 04:18:17 +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
21885f0621
DREAMWEB: Port 'getback1', 'newplace' to C++
2011-12-11 21:21:20 +02:00
Filippos Karapetis
b7de94dd14
DREAMWEB: Convert 'cantdrop', 'droperror' to C++
2011-12-11 20:54:00 +02:00
Willem Jan Palenstijn
fcf2aa8e2f
DREAMWEB: Move Savenames out of opaque data blob
2011-12-11 15:57:03 +01:00
Willem Jan Palenstijn
05a2713874
DREAMWEB: Convert checkInput
2011-12-11 15:45:53 +01:00
Willem Jan Palenstijn
11adaf6d69
DREAMWEB: Convert 'showNames'
2011-12-11 15:33:34 +01:00
Willem Jan Palenstijn
b8d18d8ba8
DREAMWEB: Fix namesToOld/oldToNames
...
They only saved the first four savegame descriptions. (Bug from the
original game.)
2011-12-11 15:10:11 +01:00
Willem Jan Palenstijn
cd44631ffd
DREAMWEB: Add FIXME about errors on quit
2011-12-11 11:48:32 +01:00
Willem Jan Palenstijn
36b8a60eda
DREAMWEB: Properly fix workoutFrames regression
2011-12-11 10:14:06 +01:00
Max Horn
6b226d5943
DREAMWEB: Do savefile reading directly in loadPosition() / scanForNames()
2011-12-11 10:02:50 +01:00
Max Horn
3d753794e6
DREAMWEB: Move savefile creation into DreamGenContext::savePosition
...
Also, make sure the save file is properly finalized before being closed.
2011-12-11 10:01:28 +01:00
Max Horn
dfeb31e187
DREAMWEB: Add DreamWebEngine::getSavegameFilename
2011-12-11 10:01:28 +01:00
Max Horn
51b724fa43
DREAMWEB: Remove DreamGenContext::closeFile, stop using kHandle
2011-12-11 10:01:28 +01:00
Max Horn
364b30425a
DREAMWEB: Make use of member vars of class Engine
2011-12-11 10:01:28 +01:00
Willem Jan Palenstijn
15d053a805
DREAMWEB: Fix regression in diaryKeyN
2011-12-10 18:19:46 +01:00
Willem Jan Palenstijn
6c443ab5fe
DREAMWEB: Fix regression in quitSymbol
2011-12-10 18:17:02 +01:00
Filippos Karapetis
c8ff54d2cd
Merge pull request #133 from fingolfin/dreamweb-cleanup
...
Dreamweb cleanup
2011-12-09 13:06:31 -08:00
Max Horn
ebba7e39c3
DREAMWEB: Remove unused code
2011-12-09 17:58:30 +01:00
Filippos Karapetis
e2a92bff29
DREAMWEB: Port 'diarykeyp', 'diarykeyn' to C++
2011-12-09 18:55:02 +02:00
Filippos Karapetis
6c5f424540
DREAMWEB: Port 'quitSymbol' to C++
2011-12-09 18:40:34 +02:00
Filippos Karapetis
6d1ab6d8cd
DREAMWEB: Port 'monitorlogo' to C++
2011-12-09 18:19:17 +02:00
Filippos Karapetis
447f0c6643
DREAMWEB: Use the C++ version of workScreen() in C++ code
2011-12-09 18:18:32 +02:00
Willem Jan Palenstijn
aebab022de
DREAMWEB: Fix regression in showSaveOps
2011-12-09 11:12:51 +01:00
Filippos Karapetis
246f7549e4
DREAMWEB: The 'title7graphics' offset is unused
2011-12-09 10:37:26 +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
9f2ed38ef1
DREAMWEB: Port 'endgame', 'showgun' to C++
...
Also, remove the associated 'endtextname' and 'gungraphic' offsets from
the blob
2011-12-09 10:14:08 +02:00
Filippos Karapetis
597ff0bb98
DREAMWEB: Port 'soldier1' to C++
2011-12-09 09:43:42 +02:00
Willem Jan Palenstijn
e5a6b7b16c
DREAMWEB: Fix regression in hangOnPQ (in conversations)
2011-12-09 08:04:17 +01:00
Filippos Karapetis
db340ed9b8
DREAMWEB: Convert 'hangonpq' to C++ and remove quitlist from the blob
...
This is the last place where checkCoords() was called without parameters
2011-12-09 01:53:20 +02:00
Filippos Karapetis
baf2cc8b8e
DREAMWEB: Port 'usediary' to C++ and remove diarylist from the blob
2011-12-09 01:24:25 +02:00
Filippos Karapetis
a668c33cd3
DREAMWEB: Port 'dosaveload' to C++ and remove opslist from the blob
2011-12-09 01:04:39 +02:00
Filippos Karapetis
0d90b66d38
DREAMWEB: Port 'discops' to C++
2011-12-09 00:29:11 +02:00
Filippos Karapetis
4fdaba7e5e
DREAMWEB: Port 'talk' to C++. Remove decidelist and talklist offsets
2011-12-09 00:11:24 +02:00
D G Turner
e23d0660ea
DREAMWEB: Remove two unused fade functions from dreamgen.*
2011-12-08 21:58:37 +00:00
Filippos Karapetis
2f0376c026
DREAMWEB: offset_decidelist is now unnecessary (regenerated dreamgen.h)
2011-12-08 23:35:41 +02:00
Filippos Karapetis
47fd83e19f
DREAMWEB: Port 'decide' to C++
2011-12-08 23:05:31 +02:00
Filippos Karapetis
128f75739c
DREAMWEB: Port 'getunderzoom', 'putunderzoom', 'showdecisions', 'undertextline' to C++
2011-12-08 22:48:00 +02:00
Filippos Karapetis
8b61fb168d
DREAMWEB: Port 'madmanrun' to C++
2011-12-08 22:05:32 +02:00
Filippos Karapetis
e287ac0e39
DREAMWEB: Port 'afternewroom' to C++
2011-12-08 21:54:58 +02:00
Willem Jan Palenstijn
cd9a65f340
DREAMWEB: Fix workoutFrames when walking off-screen
...
This triggered the paranoia asserts.
2011-12-08 20:37:54 +01:00
Filippos Karapetis
05fff73c66
Merge pull request #130 from fingolfin/dreamweb-misc
...
Dreamweb: convert workoutFrames to c++, some cleanup
2011-12-08 11:12:48 -08:00