43139 Commits

Author SHA1 Message Date
Arnaud Boutonné
1dd3142330 HUGO: Fix several bugs reported by D. Gray
svn-id: r55067
2010-12-30 21:07:38 +00:00
Bastien Bouclet
14cd97cc77 MOHAWK: Implement Myst opcodes 129 to 132, and 192 to 197, Stellar observatory buttons
svn-id: r55065
2010-12-30 13:53:14 +00:00
Yotam Barnoy
7558331550 PLUGINS: rename ONE_PLUGIN_AT_A_TIME define to UNCACHED_PLUGINS
ONE_PLUGIN_AT_A_TIME is too long.

svn-id: r55064
2010-12-30 08:01:58 +00:00
Bastien Bouclet
6c9a4d36ec MOHAWK: Implement Myst opcode 214, Stellar observatory initialization
svn-id: r55063
2010-12-29 19:33:49 +00:00
Florian Kagerer
5e88223e8e PLUGINS: fixed MSVC build
svn-id: r55062
2010-12-29 15:37:57 +00:00
Yotam Barnoy
8f36a5f887 PLUGINS: single plugin model now saves plugin filename to config file
After searching for the right plugin once, the filename will be saved to the config file under the domain 'plugin_files'. The key is the gameid and the value is the plugin file. The backup mechanism is searching plugin by plugin.

svn-id: r55061
2010-12-29 15:25:21 +00:00
Yotam Barnoy
77a6dc7046 CONFIG-MGR: added ability to add other non-game domains
The way we determine if a domain is a game domain or not when loading from the config file is by checking for a 'gameId' key. This required changing the method of loading somewhat. MiscDomains (ie. non-game domains) are saved to the config file before game domains but after the main domains.

This change shouldn't mess anything up but it could probably use a look-through just in case.

svn-id: r55060
2010-12-29 15:16:31 +00:00
David Turner
7bc8fe8ef5 CINE: Fix Memory Leak in PCSoundFxPlayer.
Found this using Valgrind when loading a Future Wars savegame from the launcher.
Occurs since the load() method called stop() but this did not unload() the allocated playing
resource data unless it was still playing. Fixed in stop() by calling unload() in all cases.

svn-id: r55059
2010-12-29 09:53:58 +00:00
David Turner
fef667cbe9 CINE: Fixed mismatched deallocation in ScriptVars reported by Valgrind.
svn-id: r55058
2010-12-29 09:50:48 +00:00
Arnaud Boutonné
4a94eba80a TOON: Add mapping for upper 'ç' and for plenking, both used in french version
svn-id: r55057
2010-12-28 21:19:31 +00:00
Filippos Karapetis
7bc1ff065b SCI: Fixed script bug #3038870 - "SCI Fanmade - Demo Quest: ScummVM hangs with typo" and
removed a related FIXME

svn-id: r55056
2010-12-28 21:05:30 +00:00
Sylvain Dupont
ab01c8e5fc TOON: Fixed memory corruption in several rooms
Some mask line drawings were writing outside the buffer.

svn-id: r55055
2010-12-28 13:13:55 +00:00
Sylvain Dupont
bccf4606c9 TOON: Removed useless confusing code in conversation process part
svn-id: r55054
2010-12-28 13:11:17 +00:00
Travis Howell
ccb8a01b17 SCUMM: Correct fix for bug #3145951 - DIG: Subtitles won't turn off (regression).
svn-id: r55053
2010-12-28 06:05:57 +00:00
Travis Howell
cfbac503ad SCUMM: Another fix for bug #3145951 - DIG: Subtitles won't turn off (regression).
svn-id: r55052
2010-12-28 05:43:03 +00:00
Sylvain Dupont
1b8678d5de TOON: Path finding bug fixes
Allows Flux to walk close to Drew if really needed to prevent total path block.
Prevents path finding if the character is out of the screen

svn-id: r55051
2010-12-27 21:56:52 +00:00
Travis Howell
fe12e08dd6 SCUMM: Fix bug #3145951 - DIG: Subtitles won't turn off (regression).
svn-id: r55050
2010-12-27 14:07:53 +00:00
Travis Howell
e7e92a7577 SCUMM: Fix bug #3143039 - ACTIVITY: Circus Stormin' crash.
svn-id: r55049
2010-12-27 14:02:17 +00:00
Yotam Barnoy
4f36239644 PLUGINS: fixed resource leak that caused PSP to crash
The leaky file handles didn't show up when debugging using the shell since that uses the Windows file handles, of which there are many more.

svn-id: r55048
2010-12-26 20:44:19 +00:00
Sylvain Dupont
f9409fc7d5 TOON: Fixed Bug #3124527 with Dungeon freeze
Bug #3089974: "TOON: Game freezes in act 2 when thrown to the prison"

Wrong pointer increment in conversation process code.

svn-id: r55047
2010-12-26 20:14:04 +00:00
Filippos Karapetis
1528a3d904 SCI: A more efficient solution for bug #3037874 (SCI high CPU usage), which will hopefully
not clash with the speed throttler. This is a more proper fix for bug #3058865, and a
partial fix for bug #3127824

svn-id: r55046
2010-12-26 15:28:02 +00:00
Matthew Hoops
f2495a42f6 MOHAWK: Move myst_saveload.* to myst_state.*
svn-id: r55045
2010-12-26 15:10:33 +00:00
Matthew Hoops
918c4febb0 MOHAWK: Fix a typo
svn-id: r55044
2010-12-26 14:58:15 +00:00
Matthew Hoops
1bbe49dba9 SCI: Silence a gcc warning
svn-id: r55043
2010-12-26 14:56:51 +00:00
Sylvain Dupont
63e58baae1 TOON: Fix problem when exiting the king cave
svn-id: r55042
2010-12-26 14:32:38 +00:00
Bastien Bouclet
6cd890aaac MOHAWK: Merge classes MystVariables and MystSaveLoad to form MystGameState
svn-id: r55041
2010-12-26 14:31:03 +00:00
David Turner
98783a15e8 HUGO: Fix MIDI Player Memory Leak in H3 Win.
svn-id: r55040
2010-12-26 13:58:39 +00:00
Florian Kagerer
8347b44fb2 KYRA FM-TOWNS: improved cd audio music fading
svn-id: r55039
2010-12-25 22:10:51 +00:00
Alyssa Milburn
64a8652cd6 MOHAWK: Add subimage drawing/caching code
svn-id: r55038
2010-12-25 19:52:54 +00:00
Alyssa Milburn
1897e5e132 MOHAWK: detect the European versions of Zoombinis
svn-id: r55037
2010-12-25 19:52:24 +00:00
Alyssa Milburn
4c0b02fe21 MOHAWK: LB CD-ROM title prefixes aren't Windows-specific
svn-id: r55036
2010-12-25 18:45:48 +00:00
Alyssa Milburn
85da9de3bf MOHAWK: detect/load the Rugrats Adventure Game
svn-id: r55035
2010-12-25 18:45:29 +00:00
Filippos Karapetis
bc9442d6d8 SCI: Fixed bug #3059860 - "LB2CD: Glitch in Act 6 coroner answer buttons"
svn-id: r55034
2010-12-24 15:53:06 +00:00
Filippos Karapetis
5e5410f891 SCI: Only sync the synonyms vocabulary if the game actually has one (thanks wjp)
svn-id: r55033
2010-12-24 14:56:04 +00:00
Filippos Karapetis
9af30a2546 SCI: Now saving/loading the list of synonyms (set by kSetSynonyms), like SSCI did
This is a more correct way of fixing bug #3037618 than in rev #55017.
- Changed replaceant/replacement to be uint16's (they're very small positive
values, usually smaller than 4096)
- Changed SynonymList to an Array (so that it can be saved/loaded)
- Removed the PQ2 script patch to Game::replay()
- Added savegame history

svn-id: r55032
2010-12-24 14:47:47 +00:00
Bastien Bouclet
938b633238 MOHAWK: Fix playing sound from aliases in Myst ME.
svn-id: r55031
2010-12-24 11:04:25 +00:00
Bastien Bouclet
04b5163228 MOHAWK: Fix Myst's combination book pages drawing at the bottom of the screen.
svn-id: r55030
2010-12-24 10:52:02 +00:00
Angus Lees
1dce5fa11d ANDROID: Remove obsolete reference to ANDROID_TOP in build instructions.
svn-id: r55029
2010-12-24 02:09:59 +00:00
Yotam Barnoy
10b96eb94d PLUGINS: PluginManager minor cleanups
svn-id: r55027
2010-12-23 14:37:03 +00:00
Lars Skovlund
a03a3fd411 Fix code formatting
svn-id: r55026
2010-12-23 14:05:16 +00:00
Lars Skovlund
5b2071487f SCI: Unbreak script loading on big-endian machines. Thanks to [md5] and wjp.
svn-id: r55025
2010-12-23 14:03:58 +00:00
Yotam Barnoy
ee2b1092ab PLUGINS: switched plugin manager to inheritance rather than #defines
The reason for this was that I found issues where the wrong functions were called in EngineManager for single plugin operation. Rather than inserting more messy #defines, I preferred to change the PluginManager to use virtual functions, which also makes EngineManager simpler.

svn-id: r55024
2010-12-23 13:38:37 +00:00
Filippos Karapetis
401a8c355d SCI: Some initial work on the sound of robot videos (doesn't work yet, seems to be a problem with the encoding of the customized SOL audio files in robot videos)
svn-id: r55023
2010-12-23 13:11:10 +00:00
Filippos Karapetis
f891323f1f SCI: Fixed typo
svn-id: r55022
2010-12-23 12:54:47 +00:00
Yotam Barnoy
81dd62f3cb PLUGINS: don't fully load each plugins at startup for single plugin method
The reason to load each plugin was to figure out if it's a sound or engine plugin. Since all our plugin files are currently engines, there's no reason to load every file. If we get dynamic sound plugins, it'd be a good idea to make a quick and easy way to know which kind of plugin it is (e.g. a prefix or suffix in the filename).

svn-id: r55021
2010-12-23 07:54:54 +00:00
Arnaud Boutonné
8cc28b218c HUGO: Suppress two obsolete defines
svn-id: r55020
2010-12-22 23:11:41 +00:00
Arnaud Boutonné
18d3e58825 HUGO: Suppress some obsolete volume related variables
svn-id: r55019
2010-12-22 22:56:42 +00:00
Arnaud Boutonné
6d30449d5a HUGO: Implement syncSoundSettings()
svn-id: r55018
2010-12-22 22:25:52 +00:00
Filippos Karapetis
8e26ae0f92 SCI: Fixed bug #3037618 - "PQ2 : Restoring in Scuba Van causes Parser Issues"
svn-id: r55017
2010-12-22 22:18:21 +00:00
David Turner
cc30fa378e MOHAWK: Add Framework getVar() code to Myst Credits Stack Script Parser.
svn-id: r55016
2010-12-22 21:08:26 +00:00