Commit Graph

642 Commits

Author SHA1 Message Date
Filippos Karapetis
d7335d69e3 DREAMWEB: Move the roomsCanGo array out of the data blob 2011-12-26 13:59:20 +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
Max Horn
dbe5b50cd3 DREAMWEB: Port rollEm() to C++ 2011-12-26 01:41:56 +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
e27a5931c8 DREAMWEB: Remove getdestinfo() and access the roomPics array directly in locationPic() 2011-12-25 21:00:30 +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
3ac88c16ea DREAMWEB: Port 'selectopenob' to C++ 2011-12-25 14:30:00 +02: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
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
Filippos Karapetis
1cb1df3699 DREAMWEB: Port 'incryanpage' to C++ 2011-12-24 01:02:43 +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
b6a6778843 DREAMWEB: Remove more unnecessary globals 2011-12-23 20:36:32 +01:00
Max Horn
b6e139d112 DREAMWEB: Convert resetLocation and purgeALocation to C++ 2011-12-23 10:18:01 +01: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
Filippos Karapetis
c7dbbc8606 DREAMWEB: Ported 'reminders' to C++ and renamed it to edensFlatReminders() 2011-12-23 03:27:27 +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
8449493eff DREAMWEB: Convert removeObFromInv, deleteExObject, deleteExFrame, deleteExText 2011-12-18 16:01:06 +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
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
Willem Jan Palenstijn
30089ec315 DREAMWEB: Convert clearBuffers, clearChanges 2011-12-17 22:28:54 +01:00
Willem Jan Palenstijn
6dd09b8935 DREAMWEB: Convert checkForExit 2011-12-17 19:19:08 +01: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
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
8cb92c2367 DREAMWEB: Convert fadeScreenDownHalf to C++ 2011-12-16 17:44:59 +01:00
Max Horn
f878f0453a DREAMWEB: Convert useGun to C++ 2011-12-16 16:25:38 +01: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
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
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
ea8b6c8c6d DREAMWEB: Port 'findsetobject' and 'findexobject' to C++ and simplify compare() 2011-12-15 00:12:25 +02: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
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
f9419db947 DREAMWEB: Port 'bartender' and 'receptionist' to C++ 2011-12-13 22:39:34 +02: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
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
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
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
5bbca02938 DREAMWEB: Oops, place the newly ignored variables in their right place in tasm-recover 2011-12-12 17:26:03 +02:00
Filippos Karapetis
71362cc35d DREAMWEB: Remove a lot of unused variables 2011-12-12 17:23:32 +02:00
Filippos Karapetis
273fc3ff1a DREAMWEB: Port 'usebuttona' to C++ 2011-12-12 16:55:32 +02:00
Max Horn
af85b85a84 DREAMWEB: Convert rollEndCredits/rollEndCredits2 to C++ 2011-12-12 13:26:03 +01:00
Max Horn
864ab1b265 DREAMWEB: Remove volumetabname from data blob 2011-12-12 12:29:08 +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
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