Commit Graph

347 Commits

Author SHA1 Message Date
Bertrand Augereau
1f531c6f7f DREAMWEB: 'obicons' ported to C++ 2011-09-01 00:02:05 +02:00
Bertrand Augereau
cd5af89557 DREAMWEB: 'getanyad' ported to C++ 2011-08-31 15:15:26 +02:00
Bertrand Augereau
25675e8858 DREAMWEB: Structs member renaming 2011-08-30 03:26:19 +02:00
Bertrand Augereau
2fc467dc4f DREAMWEB: 'checkifex' ported to C++ 2011-08-30 03:11:32 +02:00
Bertrand Augereau
aefdf240fb DREAMWEB: 'obpicture' ported to C++ 2011-08-30 03:01:40 +02:00
Bertrand Augereau
7624083cdc DREAMWEB: 'getexpos' ported to C++ 2011-08-30 02:37:48 +02:00
Bertrand Augereau
081bdece0c DREAMWEB: More reversing of DynObject struct 2011-08-30 02:37:47 +02:00
Bertrand Augereau
14ac4efa09 DREAMWEB: 'addpeoplelist' takes a ReelRoutine* param 2011-08-29 15:19:22 +02:00
Bertrand Augereau
3d85a4974b DREAMWEB: 'showgamereel' gets a ReelRoutine* as parameter 2011-08-29 15:19:22 +02:00
Bertrand Augereau
b12fed0835 DREAMWEB: 'printmessage' ported to C++ 2011-08-29 12:15:25 +02:00
Bertrand Augereau
24afa11b35 DREAMWEB: All readmouse flavours ported to C++ 2011-08-25 07:58:05 +02:00
Bertrand Augereau
0baa0afb38 DREAMWEB: Better 'mouseCall' api, DreamWebEngine should not use _context, ideally 2011-08-25 07:46:23 +02:00
Bertrand Augereau
2cecbe0e3a DREAMWEB: 'animpointer' ported to C++ 2011-08-25 07:33:59 +02:00
Bertrand Augereau
abb61ec9cf DREAMWEB: 'showpointer' ported to C++ 2011-08-25 00:37:29 +02:00
Bertrand Augereau
fd9e50e245 DREAMWEB: Wrong and useless 'getroomdata' overload spotted by bluegr removed 2011-08-24 22:55:54 +02:00
Filippos Karapetis
64db457b7f DREAMWEB: Use the correct error() call 2011-08-24 21:42:21 +03:00
Filippos Karapetis
5ba98f2d7b DREAMWEB: Added a TODO and an error call to a variant of getroomdata()
This variant recursively calls itself. It's not used anywhere, so it should
be removed if it's actually unused.
2011-08-24 21:09:17 +03:00
Bertrand Augereau
3221e84d51 DREAMWEB: 'dumppointer' ported to C++ 2011-08-24 17:38:29 +02:00
Bertrand Augereau
63b4ded1a0 DREAMWEB: Static dispatching in checkcoords 2011-08-24 16:35:31 +02:00
Bertrand Augereau
7d5f6fedda DREAMWEB: 'checkcoords' ported to C++
(Still has __dispatch_call dependency)
2011-08-24 15:44:20 +02:00
Bertrand Augereau
42e435c604 DREAMWEB: 'dumpblink' ported to C++ 2011-08-24 14:40:52 +02:00
Bertrand Augereau
7f7775e574 DREAMWEB: 'showblink' ported to C++ 2011-08-24 13:20:18 +02:00
Bertrand Augereau
92baa570d1 DREAMWEB: Ported 'delpointer' to C++ 2011-08-24 12:26:57 +02:00
Bertrand Augereau
266af3b089 DREAMWEB: 'geteitherad' ported to C++ 2011-08-24 11:00:10 +02:00
Bertrand Augereau
e31ad4d665 DREAMWEB: Renamed FreeObject to DynObject and ObjData to SetObject 2011-08-23 14:51:29 +02:00
Bertrand Augereau
4d6793d882 DREAMWEB: 'getexad' ported to C++ 2011-08-23 14:51:29 +02:00
Bertrand Augereau
76db28dafb DREAMWEB: 'obname' ported to C++ 2011-08-23 13:22:15 +02:00
Bertrand Augereau
f6670e9f1f DREAMWEB: 'walkandexamine' ported to C++ 2011-08-23 13:22:15 +02:00
Bertrand Augereau
e04761549d DREAMWEB: 'getflagunderp' ported to C++ 2011-08-23 13:22:14 +02:00
Bertrand Augereau
911cb1ea58 DREAMWEB: 'finishedwalking' ported to C++ 2011-08-22 16:46:14 +02:00
Bertrand Augereau
6fc0176aac DREAMWEB: 'checkiffree' ported to C++ 2011-08-22 15:22:44 +02:00
Bertrand Augereau
36dafb3c1f DREAMWEB: 'showframe' overload for this majority of clients that don't need width and height returned 2011-08-21 17:47:10 +02:00
Bertrand Augereau
f4207b8149 DREAMWEB: 'placesetobject' and 'removesetobject' ported to C++ 2011-08-20 14:54:39 +02:00
Bertrand Augereau
b17561dd09 DREAMWEB: 'deletetaken' ported to C++ 2011-08-20 14:19:36 +02:00
Bertrand Augereau
6cab258032 DREAMWEB: Ported 'dochange' to C++ 2011-08-20 12:26:10 +02:00
Bertrand Augereau
eaa342fdd8 DREAMWEB: 'setallchanges' ported to C++ 2011-08-20 12:09:24 +02:00
Bertrand Augereau
663ca4774f DREAMWEB: 'findormake' ported to C++ 2011-08-20 12:09:24 +02:00
Bertrand Augereau
d4be53c5c0 DREAMWEB: Pathfind routines go to pathfind.cpp 2011-08-18 22:52:27 +02:00
Bertrand Augereau
3f6a277819 DREAMWEB: Ported 'findxyfrompath' to C++ 2011-08-18 22:34:34 +02:00
Bertrand Augereau
ef7c28c2cd DREAMWEB: Ported 'blocknametext', 'walktotext', 'personnametext', 2011-08-18 22:17:11 +02:00
Willem Jan Palenstijn
8a5c8f3320 DREAMWEB: Add/fix loading from launcher
This is very error-prone, and needs testing.
2011-08-18 00:29:17 +02:00
Bertrand Augereau
7eab6a7c59 DREAMWEB: 'commandonly' ported to C++ 2011-08-18 00:48:20 +02:00
Bertrand Augereau
3700e04e0f DREAMWEB: Drawing of background objects ported to C++ 2011-08-17 16:26:09 +02:00
Bertrand Augereau
ca32fb2b34 DREAMWEB: Ported 'movemap' to C++ 2011-08-17 01:46:52 +02:00
Bertrand Augereau
63e436d723 DREAMWEB: Bugfix (introduced with porting) 2011-08-16 04:55:20 +02:00
Bertrand Augereau
d8ff4182f7 DREAMWEB: Encapsulate the hack to guess if this is a CD build or not 2011-08-16 03:24:13 +02:00
Bertrand Augereau
73d7ff3523 DREAMWEB: 'showpanel' ported to C++ 2011-08-15 22:30:17 +02:00
Bertrand Augereau
03e222f37f DREAMWEB: 'commandwithob' ported to C++ 2011-08-15 22:30:16 +02:00
Bertrand Augereau
b0f5e4dfb0 DREAMWEB: 'copyname' ported to C++ 2011-08-15 22:30:16 +02:00
Bertrand Augereau
8cb9ff31cf DREAMWEB: 'findobname' ported to C++ 2011-08-15 22:30:16 +02:00
Bertrand Augereau
2dadf6ba19 DREAMWEB: 'getreelstart' is now only called from C++ 2011-08-15 22:30:16 +02:00
Bertrand Augereau
e78a5a2b08 DREAMWEB: 'checkifperson' ported to C++ 2011-08-15 22:30:16 +02:00
Eugene Sandulenko
3de0b4e3f2 Merge pull request #60 from tramboi/master
DREAMWEB: Fixes, cleaning and more functions ported to C++
2011-08-14 04:17:51 -07:00
Bertrand Augereau
b08b31eed3 DREAMWEB: 'setuptimedtemp' ported to C++ 2011-08-11 22:01:53 +02:00
Bertrand Augereau
2250c10ffe DREAMWEB: 'dumptimedtext' ported to C++ 2011-08-11 15:29:29 +02:00
Bertrand Augereau
cea283644f DREAMWEB: 'getreelstart' ported to C++ 2011-08-11 13:29:33 +02:00
Bertrand Augereau
a8c619d7ad DREAMWEB: 'dealwithspecial' has a better signature 2011-08-11 12:33:33 +02:00
Bertrand Augereau
b6a8e2e98c DREAMWEB: Misc cleanings in stubs.cpp 2011-08-11 12:26:30 +02:00
Bertrand Augereau
d5a184e2f0 DREAMWEB: 'showframe' takes a Frame 2011-08-11 03:30:41 +02:00
Bertrand Augereau
78e337203d DREAMWEB: Improvement of 'printdirect' signature and register usage 2011-08-10 17:12:26 +02:00
Bertrand Augereau
4ad8b54241 DREAMWEB: 'checkdest' ported to C++ 2011-08-09 22:40:03 +02:00
Bertrand Augereau
3407f2803a DREAMWEB: 'autosetwalk' ported to C++ 2011-08-09 22:40:03 +02:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Bertrand Augereau
8ee7ed1066 DREAMWEB: Less register usage in 'plotreel' 2011-08-03 18:39:24 +02:00
Bertrand Augereau
135efa50a1 DREAMWEB: Less register interaction in 'multiput' and 'multiget' 2011-08-03 16:44:29 +02:00
Bertrand Augereau
2b03076149 DREAMWEB: 'deltextline' ported to C++ 2011-08-03 16:23:33 +02:00
Bertrand Augereau
c6049ac0c4 DREAMWEB: 'crosshair' ported to C++ 2011-08-03 14:04:53 +02:00
Bertrand Augereau
52fef5a599 DREAMWEB: 'plotreel' ported to C++ 2011-07-30 23:37:18 +02:00
Bertrand Augereau
7c40d798de DREAMWEB: 'dealwithspecial' ported to C++ 2011-07-30 23:21:43 +02:00
Bertrand Augereau
a4f05b36e4 DREAMWEB: 'fillspace' ported to C++ 2011-07-30 22:56:29 +02:00
Bertrand Augereau
fa232d93b1 DREAMWEB: 'allocatemem' has a nicer API 2011-07-30 22:03:28 +02:00
Bertrand Augereau
a607b78ec0 DREAMWEB: 'readheader' ported to C++ 2011-07-30 21:56:33 +02:00
Bertrand Augereau
0cbc291cbd DREAMWEB: 'startloading' ported to C++ 2011-07-30 21:46:59 +02:00
Bertrand Augereau
74a943667f DREAMWEB: 'getroomdata' ported to C++ 2011-07-30 19:54:53 +02:00
Bertrand Augereau
8b0ac65f68 DREAMWEB: Extracted vgagrafx.cpp from stubs.cpp 2011-07-30 14:13:34 +02:00
Bertrand Augereau
69f7a6bcdf DREAMWEB: Encapsulated some endian conversions in accessors 2011-07-30 15:52:28 +02:00
Bertrand Augereau
16348053c7 Merge remote-tracking branch 'official/master'
Conflicts:
	devtools/tasmrecover/tasm-recover
2011-07-29 00:58:25 +02:00
Bertrand Augereau
27482d2de2 DREAMWEB: Fixed showframe ABI to conform to wjp's patch c626394f2b 2011-07-29 00:00:45 +02:00
Willem Jan Palenstijn
ea05f68046 DREAMWEB: Rewrite main loop 2011-07-28 21:25:10 +02:00
Willem Jan Palenstijn
c54cae6aea DREAMWEB: Move main function to stubs 2011-07-28 21:25:10 +02:00
Willem Jan Palenstijn
c626394f2b DREAMWEB: Fix rendering underlined characters
The frame number argument to showframe is 9 bits of ax in the
original asm, but was passed in a uint8.
2011-07-28 21:13:02 +02:00
Willem Jan Palenstijn
7e88112ad2 DREAMWEB: Fix kerning in printchar
ah should contain the next char to print for kernchars(), but
it was getting clobbered in one code path, and not even set in another.
2011-07-28 21:09:51 +02:00
Bertrand Augereau
fe73a24078 DREAMWEB: 'makebackob' ported 2011-07-28 17:26:48 +02:00
Bertrand Augereau
b5c6ac150b DREAMWEB: diffDest blitting in 'showframe' doesn't pollute the interface any more 2011-07-28 17:26:48 +02:00
Bertrand Augereau
f657d4800a DREAMWEB: Cleanings and less register use 2011-07-28 17:26:48 +02:00
Bertrand Augereau
5fc6a6e385 DREAMWEB: 'getroomspaths' and 'facerightway' ported to C++ 2011-07-28 17:26:47 +02:00
Bertrand Augereau
521ffc5b56 DREAMWEB: Extraction of print.cpp from stubs.cpp 2011-07-28 17:26:47 +02:00
Bertrand Augereau
8233a37b4a DREAMWEB: Extraction of sprite.cpp from stubs.cpp 2011-07-28 17:26:46 +02:00
Bertrand Augereau
c0795b4b43 DREAMWEB: Less register pollution 2011-07-28 17:26:46 +02:00
Bertrand Augereau
a101204422 DREAMWEB: Ported 'lockeddoorway' 2011-07-28 17:26:45 +02:00
Bertrand Augereau
d1812fda52 DREAMWEB: Fix (underlined object names) in 'printchar' parameter interpretation 2011-07-28 17:26:44 +02:00
Bertrand Augereau
cbcdb61b28 DREAMWEB: Blacklisted 'usetimedtext', 'getundertimed' and 'putundertimed' 2011-07-23 20:49:10 +02:00
Bertrand Augereau
a58e2bea08 DREAMWEB: 'multiput' and 'multiget' get signatures 2011-07-23 19:24:59 +02:00
Bertrand Augereau
0066e4007a DREAMWEB: Less register usage in 'printslow' 2011-07-23 18:32:48 +02:00
Bertrand Augereau
08e407bbe5 DREAMWEB: 'printdirect' has a C++ signature 2011-07-23 18:23:40 +02:00
Bertrand Augereau
402e41dd67 DREAMWEB: Less register usage in 'getnumber' 2011-07-23 18:23:40 +02:00
Bertrand Augereau
60d4970fd0 DREAMWEB: 'dumptextline' ported to C++ 2011-07-23 18:23:40 +02:00
Bertrand Augereau
c4f9afaa02 DREAMWEB: Less register usage in 'printslow' 2011-07-23 18:23:40 +02:00
Bertrand Augereau
2e0e2b2687 DREAMWEB: Useless register shuffling in printboth 2011-07-23 18:23:40 +02:00
Bertrand Augereau
6d926d830e DREAMWEB: Cleaning in 'printslow' 2011-07-23 18:23:39 +02:00
Bertrand Augereau
3d518d3d2c DREAMWEB: Cleaning of 'printasprite' 2011-07-23 18:23:39 +02:00
Bertrand Augereau
8a5c2f9dc3 DREAMWEB: Cleaning of 'showframe' 2011-07-23 18:23:39 +02:00
Bertrand Augereau
ac29c2a64d DREAMWEB: 'printboth' ported to C++ 2011-07-23 18:23:39 +02:00
Bertrand Augereau
7f45c6fec9 DREAMWEB: 'multidump' has a nicer signature 2011-07-23 18:23:39 +02:00
Bertrand Augereau
d0f917d857 DREAMWEB: 'printslow' ported to C++ 2011-07-23 18:23:39 +02:00
Bertrand Augereau
96221b5742 DREAMWEB: Less registers, more params, in the text printing subsystem 2011-07-23 18:23:39 +02:00
Bertrand Augereau
f15661f698 DREAMWEB: 'printchar' ported to C++ 2011-07-23 18:23:38 +02:00
Bertrand Augereau
599fbf4fe6 DREAMWEB: 'printdirect' ported to C++ 2011-07-23 18:23:38 +02:00
Bertrand Augereau
b728323df7 DREAMWEB: 'getnumber' ported to C++ 2011-07-23 18:23:38 +02:00
Eugene Sandulenko
6a6594c7a9 DREAMWEB: Made aboutturn() more readable 2011-07-20 17:24:04 +01:00
Eugene Sandulenko
f28e4b6de7 DREAMWEB: Fix code formatting 2011-07-20 17:21:03 +01:00
eriktorbjorn
e25e85fbb0 DREAMWEB: Blacklist and reimplement cancelch0() and cancelch1()
Now any sound playing on the channels is stopped immediately. This
fixes missing voice-overs in the intro, makes it possible to skip
lines of conversation, and fixes a problem where the sound effect
from the Altar Room would keep playing after leaving the room.
Possibly other glitches as well.
2011-07-20 13:15:30 +02:00
Eugene Sandulenko
540d0260e6 DREAMWEB: Add ScummVM headers, remove SVN keywords. 2011-07-19 11:26:40 +01:00
Bertrand Augereau
599c0f4862 DREAMWEB: Gave a proper signature to gextnextword 2011-07-18 22:59:17 +02:00
Bertrand Augereau
825e736aed DREAMWEB: getnextword doesn't read one byte too far any more 2011-07-18 22:59:17 +02:00
Bertrand Augereau
9072ecf781 DREAMWEB: Blacklisted 'kernchars' and 'getnextword' 2011-07-18 22:59:16 +02:00
Bertrand Augereau
7d9ff04fbf DREAMWEB: Added resilience to frameoutv to avoid memory stomping at the TV studio 2011-07-18 22:59:16 +02:00
Bertrand Augereau
0eccad88f4 DREAMWEB: doorway and widedoor have signatures 2011-07-18 22:59:16 +02:00
Bertrand Augereau
0a6f83691d DREAMWEB: aboutturn reversed 2011-07-18 22:59:16 +02:00
Bertrand Augereau
b8cc90ad6c DREAMWEB: Reversed random sprite callback 2011-07-18 22:59:16 +02:00
Bertrand Augereau
2fd19aeedf DREAMWEB: initman reversed 2011-07-18 22:59:16 +02:00
Bertrand Augereau
3ce4f26540 DREAMWEB: walking blacklisted 2011-07-18 22:59:15 +02:00
Bertrand Augereau
04d9db0902 DREAMWEB: mainman reversed 2011-07-18 22:59:15 +02:00
Bertrand Augereau
40e5e03e32 DREAMWEB: Blacklisted liftsprite 2011-07-18 22:59:15 +02:00
Bertrand Augereau
25528a56e8 DREAMWEB: dodoor blacklisted 2011-07-18 22:59:15 +02:00
Bertrand Augereau
3ff0cf2d29 DREAMWEB: Sprite::b19 is Sprite::frame 2011-07-18 22:59:15 +02:00
Bertrand Augereau
11917ad700 DREAMWEB: steady and constant objects sprites callbacks 2011-07-18 22:59:15 +02:00
Bertrand Augereau
c011bee0e2 DREAMWEB: backobject reversed 2011-07-18 22:59:14 +02:00
Bertrand Augereau
9f8036cd86 DREAMWEB: Blacklisted frameoutbh and frameoutfx 2011-07-18 22:59:14 +02:00
Bertrand Augereau
880bcc69ef DREAMWEB: showframe blacklisted 2011-07-18 22:59:14 +02:00
Bertrand Augereau
7af3cd565c DREAMWEB: C++-isation of a part of the sprite subsystem 2011-07-18 22:59:14 +02:00
eriktorbjorn
c709636716 DREAMWEB: Clarify a comment in my previous commit slightly. 2011-07-16 11:07:22 +02:00
eriktorbjorn
d1fbf59520 DREAMWEB: Rewrote lockmon() to fix pausing/unpausing
The original function would busy-wait for the user to press space
again. We can't do that, of course, since we don't have interrupt-
driven keyboard input.
2011-07-16 11:04:49 +02:00
Vladimir Menshakov
7745850808 DREAMWEB: Save registers in vsync, like in original sources 2011-06-25 21:53:35 +04:00
Vladimir Menshakov
545e482b5a DREAMWEB: Reimplemented modifychar and language switching 2011-06-25 18:21:37 +04:00
Vladimir Menshakov
375298f69a DREAMWEB: Replaced foreign-guarded code with "foreignrelease" variable, added modifychar stub 2011-06-25 18:21:37 +04:00
Bertrand Augereau
cf12e04997 DREAMWEB: frameoutv becomes a native function 2011-06-22 23:11:44 +02:00
eriktorbjorn
f8a4ccbc65 DREAMWEB: Use kMaingamepal provided by the tasm-recover
This should significantly decrease the risk of mysterious palette
bugs in the PCX title cards after regenerating dreamgen.cpp
2011-06-20 20:16:21 +02:00
eriktorbjorn
f78d5bc553 DREAMWEB: Remove readabyte() and readoneblock()
They were only used by the PCX decoder, which was rewritten some
time ago to no longer use them.
2011-06-20 20:09:26 +02:00
Max Horn
88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Paul Gilbert
a15d233dc4 DREAMWEB: Fix compilation error on MSVC 2011-06-19 23:19:02 +10:00
Vladimir Menshakov
41159c68ab DREAMWEB: removed hack from openfile 2011-06-19 15:50:22 +04:00
Vladimir Menshakov
41a399231b DREAMWEB: added stubs for loading from lancher (disabled). 2011-06-18 14:29:10 +04:00
Vladimir Menshakov
cf671227fe DREAMWEB: do not call updatescreen before quitting, fixed crash on dosreturn, cleaned up dosreturn stub 2011-06-18 13:33:58 +04:00
Vladimir Menshakov
6fe3e63ed1 DREAMWEB: replaced generated code with c++ style stubs 2011-06-17 00:31:36 +04:00
Vladimir Menshakov
4fd3cdf984 DREAMWEB: Improved code formatting 2011-06-16 16:31:17 +04:00
Vladimir Menshakov
14121a6f57 DREAMWEB: moved stubs into stubs.cpp 2011-06-16 01:03:29 +04:00