Commit Graph

22810 Commits

Author SHA1 Message Date
Christoph Mallon
0a458019b3 AGOS: Replace if-cascade by switch. 2011-08-07 15:19:07 +02:00
Christoph Mallon
715c07930d CRUISE: Replace casts and offset calculations for memory debugger by a simple struct. 2011-08-07 15:19:07 +02:00
Christoph Mallon
08ad90edf6 TSAGE: Reduce scope of variable. 2011-08-07 15:19:07 +02:00
Paul Gilbert
680ef79726 TSAGE: Implemented title screen of Blue Force 2011-08-07 23:14:09 +10:00
Filippos Karapetis
e95bc9d7b0 SWORD25: Make sure that id is always initialized in playSoundEx() 2011-08-07 16:05:54 +03:00
Filippos Karapetis
5974fcd0c1 TINSEL: Use SAVEGAME_ID when getting savegame info, if a VM is instantiated 2011-08-07 15:10:17 +03:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Christoph Mallon
bf580e6e6b JANITORIAL: Add missing NL at EOF. 2011-08-07 13:53:33 +02:00
Filippos Karapetis
2c9fdf0df7 TINSEL: Fixed deleting saved games from the launcher (bug #3387551) 2011-08-07 14:21:28 +03:00
Tarek Soliman
47f0ce2fa7 TSAGE: Flag Blue Force with ADGF_UNSTABLE 2011-08-06 23:34:44 -05:00
Tarek Soliman
2c3b7392b8 TSAGE: Flag CD titles with ADGF_CD 2011-08-06 23:33:23 -05:00
Tarek Soliman
a30c3697fb TINSEL: Flag CD titles with ADGF_CD 2011-08-06 23:33:15 -05:00
Tarek Soliman
40f765850f SAGA: Flag CD titles with ADGF_CD 2011-08-06 23:33:04 -05:00
Tarek Soliman
45fa59598e MADE: Flag CD titles with ADGF_CD 2011-08-06 23:32:52 -05:00
Tarek Soliman
79efb47cf6 AGOS: Flag CD titles with ADGF_CD 2011-08-06 23:32:37 -05:00
Paul Gilbert
622f8a166c TSAGE: Changed game Id from 'ring' to 'ringworld'
This should help avoid name conflicts in the future with the Ring engine
2011-08-07 11:07:02 +10:00
Matthew Hoops
e43a6671fc SCUMM: Fix some soccer u32 code in op_1011
Spotted by fuzzie
2011-08-06 15:54:11 -04:00
Littleboy
e978a6afb7 ENGINES: Use the new taskbar error notification methods in the engines defaultErrorHandler() 2011-08-06 15:27:43 -04:00
Matthew Hoops
605473d117 SCUMM: Add a few more notes to soccer u32 code 2011-08-06 13:08:56 -04:00
Matthew Hoops
6528f902fc SCUMM: Remove soccer editor-related u32 code
The built-in editor, while could potentially be a cool feature, seems incomplete and unusable. Room 4 (the editor room) in all three games is not accessible without jumping to it.
2011-08-06 13:02:43 -04:00
Alyssa Milburn
72160f53aa TSAGE: Remove incorrect endian-specific read in audio code. 2011-08-06 17:57:34 +02:00
Bastien Bouclet
3384f9146c KYRA: Don't loose the next event when leaving the text input event loop. 2011-08-06 15:48:12 +02:00
Eugene Sandulenko
192b245d51 SCUMM: Fix compilation 2011-08-06 11:39:37 +01:00
Eugene Sandulenko
54f5383356 TASKBAR: Set taskbar to error on engine error() 2011-08-06 11:30:49 +01:00
Eugene Sandulenko
0dafa7f80f ALL: Reduce audio/ header dependency 2011-08-06 11:30:42 +01:00
Eugene Sandulenko
6e795a89b0 AGOS: Reduced header dependency 2011-08-06 11:28:40 +01:00
Eugene Sandulenko
43c7b10566 LASTEXPRESS: Reduce header dependency 2011-08-06 11:28:37 +01:00
Eugene Sandulenko
78f1ea7690 OSYSTEM: extended installTimerProc() with timer ID parameter 2011-08-06 11:28:35 +01:00
Eugene Sandulenko
e72c2fae88 COMPOSER: Added detection entries for 2 more games 2011-08-06 11:28:32 +01:00
Eugene Sandulenko
c451ae639f SCUMM: Proper fix of Russian subtitles
Initial fix in 11a17b3 (r51211) led to chopped inventory items.
No idea why it does not work with our code, as it seems to match
the disassembly. Thus implementing this hackish workaround.
2011-08-06 11:28:30 +01:00
Paul Gilbert
4c89f4ac22 TSAGE: Fix compilation on AmigaOS4 2011-08-06 17:48:37 +10:00
Johannes Schickel
68b4873559 SCUMM: Properly reset midi channel voice mapping in CMS on new track.
This fixes an ugly dead lock in some cases.
2011-08-06 03:45:40 +02:00
Johannes Schickel
70a694ce43 SCUMM: Remove unneeded members in CMS class. 2011-08-06 03:28:42 +02:00
Johannes Schickel
018e304916 SCUMM: Slight cleanup in CMS code. 2011-08-06 03:28:42 +02:00
Johannes Schickel
5a0eb6ba60 SCUMM: Fix some valgrind warnings in CMS code. 2011-08-06 03:28:42 +02:00
Matthew Hoops
ed2563bf35 SCUMM: Mark pass as having CMS support 2011-08-05 18:03:42 -04:00
Matthew Hoops
836f3fa052 SCUMM: Mark monkey1 VGA floppy as having CMS support 2011-08-05 17:29:30 -04:00
Matthew Hoops
a63aaec46b SCUMM: Mark Indy3 VGA as having CMS support 2011-08-05 17:15:23 -04:00
Johannes Schickel
b86de198a0 SCUMM: Fix up CMS player implementation.
It's much better now and hopefully quite close to the original when it comes
to the music part. The intro music of Loom and Monkey Island 1 EGA sounds fine
to me now at least.
2011-08-05 22:58:50 +02:00
Matthew Hoops
bf841e1e94 SCUMM: Fix a few more bugs in soccer u32 op_1014_sub1
Thanks to fuzzie
2011-08-05 13:03:08 -04:00
Matthew Hoops
68f07efa95 SCUMM: Fix another typo in soccer u32 op_1014_sub1 2011-08-05 11:46:21 -04:00
Matthew Hoops
2b92f6df0f SCUMM: Fix minor logic bug in soccer u32 op_1014
Spotted by fuzzie
2011-08-05 11:29:06 -04:00
Matthew Hoops
3b3ab9a502 SCUMM: Add note to soccer u32 op_1011 about cursor scaling 2011-08-05 09:23:18 -04:00
Paul Gilbert
75ca55eaec TSAGE: Updated Ringworld detection entries to ADGF_TESTING 2011-08-05 19:03:12 +10:00
Alyssa Milburn
62a22b6293 COMPOSER: Fix a warning and an uninitialized value. 2011-08-04 21:50:17 +02:00
Matthew Hoops
51fc76acd4 SCUMM: Add notes on the unused soccer u32 opcodes
Might be nice to implement the soccer editor one day in the future, but it's definitely a secondary goal. In fact, I'm not even sure how to access it yet other than jumping to the room (4).
2011-08-04 11:02:11 -04:00
Paul Gilbert
7356b83faf M4: Fix identified assert calls that had file reads inside them 2011-08-04 22:37:30 +10:00
Bertrand Augereau
baa109f058 DREAMWEB: Less register usage in misc. places 2011-08-04 11:13:59 +02:00
Bertrand Augereau
5bf9c42c45 DREAMWEB: Deprecated functions suppressed 2011-08-04 11:07:02 +02:00
Bertrand Augereau
a3c8c1334b DREAMWEB: Helper function to acquire a temporary segment ref to avoid ds and es pollution 2011-08-04 11:03:08 +02:00
Bertrand Augereau
3427d07de0 DREAMWEB: 'doblocks' ported to C++ 2011-08-04 10:45:43 +02:00
Paul Gilbert
5f2402bd36 TSAGE: Fix incorrect sample data being used in _soPlaySound2.
This fixes the playback of the Intruder Alert message in Scene #95.
2011-08-04 08:35:24 +10:00
Bertrand Augereau
8ee7ed1066 DREAMWEB: Less register usage in 'plotreel' 2011-08-03 18:39:24 +02:00
Matthew Hoops
2ea594de83 SCUMM: Fix shadows in soccer
Spotted by fuzzie
2011-08-03 11:57:18 -04:00
Matthew Hoops
a160179f37 SCUMM: Fix remaining soccer u32 op_1007 bugs
Thanks to fuzzie for snooping that one out.

The field boundaries now work correctly. SoccerMLS/Soccer2004 only are missing proper shadow support now. The original soccer is still having problems with clicking on the field.
2011-08-03 11:14:52 -04: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
095689ab49 DREAMWEB: Some sound mixing was not needed anymore 2011-08-03 16:14:39 +02:00
Bertrand Augereau
c04a250c93 DREAMWEB: 'findsource' has a new C++ flavour 2011-08-03 15:58:18 +02:00
Bertrand Augereau
f775224319 DREAMWEB: Ported 'showrain' to C++ 2011-08-03 15:20:59 +02:00
Bertrand Augereau
c6049ac0c4 DREAMWEB: 'crosshair' ported to C++ 2011-08-03 14:04:53 +02:00
Bertrand Augereau
4e39a41e62 DREAWMEB: Ported 'zoom' to C++ 2011-08-03 13:50:24 +02:00
Bertrand Augereau
7fd8895de6 DREAMWEB: 'allocatework' ported to C++ 2011-08-03 13:50:24 +02:00
Paul Gilbert
b9fe3c151f TSAGE: Bugfix to correctly display cursor after loading a savegame if appropriate 2011-08-03 19:44:16 +10:00
Paul Gilbert
04139ae1b5 TSAGE: Workaround for original game bug of inventory being available after credits end 2011-08-03 18:42:05 +10:00
Matthew Hoops
c36642651e SCUMM: Remove BluesBirthday dependency on the binary
The game scripts detected Yellow or Red variants based on what binary was present. That could potentially cause problems with a Mac dump in case someone dumped into MacBinary format.
2011-08-03 00:15:27 -04:00
Johannes Schickel
4faa2d5b42 SCUMM: Typos... thx clone2727. 2011-08-03 05:15:29 +02:00
Johannes Schickel
e1d881a227 SCUMM: Added FIXME to our old AdLib resource conversion code.
We handle command 0x80 incorrectly, which results in sound effects never
looping. This is the cause for bug #2027877 for example. I add this FIXME
since it is (probably) non-trivial to fix and so it won't be forgotten.
2011-08-03 05:10:24 +02:00
Matthew Hoops
743ed0517b SCUMM: Implement soccer u32 op_1017
Used sporadically during gameplay
2011-08-02 16:57:44 -04:00
Matthew Hoops
6d6192b9f7 SCUMM: Fix soccer u32 op_1007 atan2 calls
The games are now becoming playable. Players and the ball appear on the field. However they go off the field at times and shadows do not work properly yet. It's progress though!

Thanks to fuzzie for spotting
2011-08-02 16:45:17 -04:00
Matthew Hoops
6d5d5f8269 SCUMM: Fix some more soccer u32 logic bugs
The camera now pans correctly. The players/ball have yet to reappear on the field, however. Thanks to fuzzie for spotting
2011-08-02 16:11:29 -04:00
Matthew Hoops
42c359a879 SCUMM: Fix op_1011 parameters 2011-08-02 14:38:02 -04:00
Matthew Hoops
96307dc2d8 SCUMM: Implement soccer u32 op_1016
Used when a goal is scored
2011-08-02 13:49:00 -04:00
Matthew Hoops
6a31b57d39 SCUMM: Fix more bugs in soccer u32 spotted by fuzzie 2011-08-02 13:35:25 -04:00
Matthew Hoops
b609004ba2 SCUMM: Fix several soccer u32 logic bugs
Spotted by fuzzie
2011-08-02 11:39:04 -04:00
Paul Gilbert
8f70ee9afc TSAGE: Wait for fading sounds to completely fade when changing scenes 2011-08-01 22:36:21 +10:00
Paul Gilbert
10033ca976 TSAGE: Fix for background music to properly fade when leaving Scene #7700 2011-08-01 22:35:32 +10:00
Paul Gilbert
d71b38b6de TSAGE: Changed debugging statements from warning() to debug() 2011-08-01 22:03:18 +10:00
Paul Gilbert
97c4dd02a2 TSAGE: Fix parameters in various calls to fadeOut method 2011-08-01 21:52:30 +10:00
Paul Gilbert
78c4675c92 TSAGE: SoundBLaster method #38 now actually updates the channel volume 2011-08-01 19:45:49 +10:00
Paul Gilbert
61472ad2c5 TSAGE: Shift mutex locking to resolve a deadlock issue 2011-08-01 19:33:04 +10:00
Matthew Hoops
8259365f1f SCUMM: Add code for remaining soccer u32 opcodes
While it should be complete now, it doesn't quite work properly yet. I need to go back through and double-check everything to make sure I got it right.
2011-07-31 22:41:09 -04: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
5d13e2f837 DREAMWEB: Ported 'clearwork' 2011-07-30 23:11:48 +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
031651e996 DREAMWEB: Introduction of a Reel struct 2011-07-30 16:01:52 +02:00
Bertrand Augereau
92938f810f DREAMWEB: 'showreelframe' ported to C++ 2011-07-30 15:33:19 +02:00
Bertrand Augereau
95fa7451d6 DREAMWEB: 'findsource' ported to C++ 2011-07-30 15:19:22 +02:00
Bertrand Augereau
1f0eccb296 DREAMWEB: 'aboutturn' does not need to be generated now 2011-07-30 15:12:50 +02:00
Bertrand Augereau
b2748740db DREAMWEB: Better API for 'showframe' and no more registers used (expect es:bx for diffdest blitting) 2011-07-30 15:04:25 +02:00
Bertrand Augereau
2d0dfffe00 DREAMWEB: Introduced the Frame struct 2011-07-30 14:32:19 +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
Paul Gilbert
5e726f6043 TSAGE: Tweaks to better detect when a playing sound effect has ended 2011-07-30 19:18:00 +10:00
Paul Gilbert
f482e25f2a TSAGE: Fix call to correct base class in Scene #60 items 2011-07-30 09:32:26 +10:00
Paul Gilbert
471815e00c TSAGE: Fix base hotspot classes of hotspots in Scene #40 2011-07-30 09:13:47 +10:00
Paul Gilbert
4a64e928cf TSAGE: Add missing dispatch method to fix getting shot too quickly in Scene #40 2011-07-30 08:56:16 +10:00
Paul Gilbert
9f00f18e4e TSAGE: Explicitly call the mixer stopAll() when shutting down 2011-07-29 20:08:56 +10:00
Paul Gilbert
c1870551b0 TSAGE: Renamed AdlibFxSoundDriver to a more accurate SoundBlasterDriver 2011-07-29 20:05:02 +10:00
Paul Gilbert
95b49a4cc3 TSAGE: Removed no longer needed fields from the Fx sound driver 2011-07-29 19:57:29 +10:00
Bertrand Augereau
5de064f1e4 DREAMWEB: Use of the new feature of the generator to stop generating code for 'backobject' and 'mainman' (because addr_backobject is used) 2011-07-29 01:12:29 +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
d6ed3ed013 DREAMWEB: 'kernchar' fix 2011-07-29 00:05:43 +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
dfec38c615 DREAMWEB: Misc. register usage cleaning 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
fcd698c289 DREAMWEB: Fixed what is very probably a typo in original code and regenerated the source 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
Paul Gilbert
53e5522e5a TSAGE: Fixed a problem with only the first Fx sound being played 2011-07-28 21:36:15 +10:00
Paul Gilbert
30005b450b TSAGE: Clarified some method names in the sound code 2011-07-28 20:42:29 +10:00
Paul Gilbert
4778bf99eb TSAGE: Added sound debugger command 2011-07-28 07:30:42 +10:00
Paul Gilbert
0034257976 TSAGE: Sound Fx is now playing 2011-07-28 07:30:42 +10:00
Paul Gilbert
034bbde204 TSAGE: Fix problem with sound Fx start method being called multiple times 2011-07-28 07:30:41 +10:00
athrxx
f44874f0a6 KYRA: add support for Russian Kyra 1 floppy fan translation 2011-07-27 16:38:31 +02:00
Johannes Schickel
ecdd2e5fdc COMPOSER: Fix clang warnings. 2011-07-27 15:34:55 +02:00
D G Turner
108bdab4ac COMPOSER: Correct module.mk for Dynamic Plugins. 2011-07-27 13:33:20 +01:00
D G Turner
f487092c9a MOHAWK: Corrected Regression due to minor typo in Myst o_disableAreas.
Thanks to bgKa for looking at this.
2011-07-27 12:51:41 +01:00
Eugene Sandulenko
e02276cab1 Merge pull request #58 from fuzzie/composer
COMPOSER: Merge engine
2011-07-27 03:10:19 -07:00
Paul Gilbert
a877167bfe TSAGE: Beginning of implementation of Fx method #32 2011-07-27 19:39:27 +10:00
Sven Hesse
a852f30fb2 GOB: Add a workaround for bug #3376547 (gob3 footstep sound) 2011-07-25 18:47:31 +02:00
athrxx
f2f6ddced9 KYRA: add support for Kyra 2 Russian floppy 2011-07-25 17:57:33 +02:00
Paul Gilbert
77908a9357 TSAGE: Re-factored sound driver method #32 with extra parameters needed by Sound Fx driver 2011-07-25 21:30:17 +10:00
Eugene Sandulenko
1102c23b5c Merge pull request #55 from tramboi/printing
DREAMWEB: Translate printing subsystem
2011-07-24 17:06:08 -07:00
athrxx
ec55336393 LOL: add support for Russian CD-ROM version 2011-07-24 22:49:21 +02:00
athrxx
7174f14c61 LOL: add support for Russian floppy version 2011-07-24 20:39:08 +02:00
Paul Gilbert
d6422468a9 TSAGE: Reverted to using a single thread for audio playback 2011-07-24 21:25:00 +10: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
183515787d DREAMWEB: Fix code formatting 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
Sven Hesse
74e43312f7 GOB: Fix missing sound effects in Woodruff (bug #3374170)
Another regression of the CoktelDecoder rewrite.
Thanks to digitall for finding the offending commit. :)
2011-07-23 15:39:38 +02:00
Marcus Comstedt
a7e49f2945 TOON: Grow size of path finding heap dynamically 2011-07-21 15:00:04 +02:00
Marcus Comstedt
e4427fd589 TOON: Fix off-by-one use of path heap array
The first element of the _data array in PathFindingHeap was never
used, fix that.
2011-07-21 13:09:18 +02:00
D G Turner
d035bcae82 TOON: Cleanup and Memory Usage Reduction fixes in PathFinding Heap.
This halves the size of the pathifnding heap, but adds warnings if push()
is attempted on a full heap.
2011-07-20 23:05:24 +01: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
Alyssa Milburn
cc49652ca0 COMPOSER: Use AD_ENTRY1, fix copyright. 2011-07-20 17:31:42 +02:00
Alyssa Milburn
e66da8aad3 COMPOSER: Remove svn keywords. 2011-07-20 17:31:04 +02: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
Alyssa Milburn
333c9ce249 COMPOSER: Add dirty rectangles. 2011-07-20 12:16:25 +02:00
Alyssa Milburn
6e66c11e37 COMPOSER: Use singleid, and extras field for demo descriptions. 2011-07-20 11:35:01 +02:00
Alyssa Milburn
f683952327 COMPOSER: Minor whitespace/comment tweaks. 2011-07-20 09:54:11 +02:00
Alyssa Milburn
bdb1b81ca0 COMPOSER: Clip palette fade percentage. 2011-07-19 22:41:58 +02:00
Alyssa Milburn
78cb4919c6 COMPOSER: Buttons belong to libraries. 2011-07-19 21:53:16 +02:00
Alyssa Milburn
0706588388 COMPOSER: Run kEventUnload when appropriate. 2011-07-19 21:48:27 +02:00
Alyssa Milburn
f40f8a1793 COMPOSER: Use enum values for events, rather than numeric cosntants. 2011-07-19 21:48:01 +02:00
Alyssa Milburn
6646be1da1 COMPOSER: Implement kFuncChangeBackground. 2011-07-19 16:12:18 +02:00
Alyssa Milburn
6dfbf74a74 COMPOSER: Implement kFuncGetMousePos. 2011-07-19 16:11:49 +02:00
Alyssa Milburn
2fc49ba2b9 COMPOSER: Implement kFuncClearSprites. 2011-07-19 16:11:27 +02:00
Alyssa Milburn
3f67e45f24 COMPOSER: Implement kFuncQuit. 2011-07-19 14:11:24 +02:00
Eugene Sandulenko
540d0260e6 DREAMWEB: Add ScummVM headers, remove SVN keywords. 2011-07-19 11:26:40 +01:00
Eugene Sandulenko
73cf347b94 Merge pull request #48 from tramboi/master
DREAMWEB: More porting into C++
2011-07-19 03:03:09 -07:00
clone2727
6370984b22 Merge pull request #50 from clone2727/bink
Add support for Bink video to SCUMM HE
2011-07-18 16:04:39 -07:00
Willem Jan Palenstijn
85a056f382 SCI: Fix kFormat's handling of %c with a 0 argument
SSCI used a sprintf to handle %c, appending the result to the output,
which is effectively a nop for a zero argument.

This is bug #3368821. Thanks to digitall for tracing it to KFormat
and testing this patch.
2011-07-18 23:36:56 +02: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
Alyssa Milburn
b80129dd44 COMPOSER: Move Button code around. 2011-07-18 21:58:59 +02:00
Alyssa Milburn
7af0c51f59 COMPOSER: Move scripting code into scripting.cpp. 2011-07-18 21:56:43 +02:00
Alyssa Milburn
b8d081afe6 COMPOSER: Move Pipe code into resource.cpp. 2011-07-18 21:52:55 +02:00
Alyssa Milburn
c4e5cf96ac COMPOSER: Move graphics-related code into graphics.cpp. 2011-07-18 21:50:24 +02:00
Alyssa Milburn
e99f82368a COMPOSER: Remove outdated comments. 2011-07-18 21:18:40 +02:00
Alyssa Milburn
06ca31d642 COMPOSER: Only allow invalid-sized sprites if RLE. 2011-07-18 21:10:00 +02:00
Alyssa Milburn
9cb4bd2a38 COMPOSER: Obey sound priorities. 2011-07-18 21:09:18 +02:00
Alyssa Milburn
cab48d51f5 COMPOSER: Better field names/values. 2011-07-18 17:21:35 +02:00
Alyssa Milburn
1e453e2305 COMPOSER: Fix the search direction in getButtonFor. 2011-07-18 17:04:24 +02:00
Alyssa Milburn
8bf558a299 COMPOSER: Try to fix contains() for kButtonEllipse. 2011-07-18 17:03:55 +02:00
Alyssa Milburn
968db67b40 COMPOSER: Fix Sprite::contains to check for non-transparent, not transparent. 2011-07-18 17:03:31 +02:00
Alyssa Milburn
3891e9097d COMPOSER: Send onChar event in onKeyDown. 2011-07-18 15:07:47 +02:00
Alyssa Milburn
1c03c7d07d COMPOSER: Fixes for getStreamForSprite. 2011-07-18 15:07:19 +02:00
Alyssa Milburn
d176fb1a37 COMPOSER: Clip sprite drawing. 2011-07-18 15:06:38 +02:00
Alyssa Milburn
305023aef5 COMPOSER: Various minor fixes. 2011-07-18 15:06:17 +02:00
Alyssa Milburn
f5bac84649 COMPOSER: Implement saving/loading. 2011-07-18 15:05:38 +02:00
Alyssa Milburn
7f2f38e5da COMPOSER: Fix a couple of memory leaks spotted by digitall. 2011-07-18 15:04:57 +02:00
Alyssa Milburn
f6cd3357e8 COMPOSER: Some more sorting fixes. 2011-07-18 15:04:19 +02:00
Alyssa Milburn
9babfcb8a0 COMPOSER: Fix various stupid script bugs. 2011-07-18 15:03:09 +02:00
Paul Gilbert
b3a05ee089 TSAGE: Bugfix to make Return to Launcher work correctly 2011-07-18 21:13:39 +10:00
eriktorbjorn
c378aadc3f DREAMWEB: Fix Valgrind warning 2011-07-18 10:31:13 +02:00
Alyssa Milburn
2e89bd73f6 COMPOSER: Implement kFuncLoadData. 2011-07-17 23:44:41 +02:00
Alyssa Milburn
0366a982c3 COMPOSER: Implement AddSprite, RemoveSprite, GetSpriteSize script functions. 2011-07-17 23:44:27 +02:00
Alyssa Milburn
b9cd4e7e71 COMPOSER: Some processAnimFrame improvements. 2011-07-17 23:04:29 +02:00
Alyssa Milburn
1608d5a2af COMPOSER: Various additions/improvements to sprite/mouse code. 2011-07-17 23:03:51 +02:00
Alyssa Milburn
85df146ad4 COMPOSER: Don't use memcpy for overlapping copies (fixes gaps in some sprites). 2011-07-17 15:10:58 +02:00
Bertrand Augereau
4d4d3329c3 DREAMWEB: The generator includes a file for custom structs and a file for custom function definitions
It also generates C++ symbols for asm proc addresses
2011-07-17 13:42:12 +02:00
Johannes Schickel
69adb13c2f SCUMM: Fix strange noise in Indy4 outro with AdLib/FM-Towns output.
Formerly we tried to play back a ROL resource on AdLib in this case, since the
game does not contain a ADL resource for the sound the game tries to play here.
The original does not exhibit this behavior, thus I changed it to behave the
same now.

Big thanks to eriktorbjorn for noticing and finding the cause of this problem.
Also thanks to Kirben for checking how the original behaved and _athrxx for
checking the FM-Towns version of Indy4.
2011-07-17 02:27:33 +02:00
Johannes Schickel
8800794f4d SCUMM: Clarify PC Speaker style sound resource handling with a comment. 2011-07-17 00:08:52 +02:00
Alyssa Milburn
1a9ec35de6 COMPOSER: Try handling keyDown event. 2011-07-16 20:55:25 +02:00
Alyssa Milburn
c7f1a87d8b COMPOSER: Misc tweaks/fixes. 2011-07-16 20:55:07 +02:00
Alyssa Milburn
6f80bce816 COMPOSER: Add the remaining bitmap decompressors (SLW8 is still buggy). 2011-07-16 20:05:30 +02:00
Alyssa Milburn
1cf09e3fbf COMPOSER: Misc sprite changes. 2011-07-16 20:04:49 +02:00
Alyssa Milburn
c95320bb17 COMPOSER: Clear audio on new page. 2011-07-16 20:04:23 +02:00
Alyssa Milburn
821023678f COMPOSER: Improve stopping anims. 2011-07-16 20:03:23 +02:00
Alyssa Milburn
aa52698d7e COMPOSER: Fix z-ordering (properly, this time). 2011-07-16 20:02:19 +02:00
Alyssa Milburn
54f26b6c45 COMPOSER: Implement the rest of the script opcodes. 2011-07-16 16:03:28 +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
Alyssa Milburn
ec77c2f6fd COMPOSER: Don't complain about on-time animation ending. 2011-07-16 01:04:45 +02:00
Alyssa Milburn
9e127a1032 COMPOSER: Don't die on missing/bad anims. 2011-07-16 00:59:00 +02:00
Alyssa Milburn
70ae2c74e0 COMPOSER: Handle loading/unloading pages properly. 2011-07-16 00:57:50 +02:00
Alyssa Milburn
28d4aaf095 COMPOSER: Fix z-ordering issues. 2011-07-16 00:57:13 +02:00
Alyssa Milburn
acfd13633d COMPOSER: Always handle multiple resource entries in pipes. 2011-07-16 00:56:18 +02:00
Alyssa Milburn
97d7767e89 COMPOSER: Decompress sprites at load time. 2011-07-15 23:44:00 +02:00
Alyssa Milburn
f396e77cac COMPOSER: Fix removeSprite behaviour. 2011-07-15 23:43:13 +02:00
Alyssa Milburn
f81010887f COMPOSER: Stub remaining script function calls. 2011-07-15 21:10:10 +02:00