65610 Commits

Author SHA1 Message Date
Eugene Sandulenko
0ee20cebc7 GCW0: Enable analog joystick by default 2014-10-26 07:20:11 -04:00
Eugene Sandulenko
2699259638 GCW0: Correct launch options 2014-10-26 07:19:37 -04:00
Eugene Sandulenko
d4c687ddc8 GCW0: Further work on the port 2014-10-26 07:00:36 -04:00
Eugene Sandulenko
123e52f441 PRINCE: Fix another variable sign 2014-10-26 09:34:48 +01:00
Eugene Sandulenko
3b9ac0318c PRINCE: Fix variable sign 2014-10-26 09:32:58 +01:00
Eugene Sandulenko
522cd1c970 PRINCE: Fix warning 2014-10-26 09:30:21 +01:00
Torbjörn Andersson
4fdd9bbab3 ZVISION: Fix memory leak (CID 1109659) 2014-10-25 21:11:49 +02:00
Torbjörn Andersson
f25e889c13 PRINCE: Fix potential out-of-bounds read (CID 1248502)
Since _opcodes[] has kNumOpcodes elements, kNumOpcodes itself is
not a valid index.
2014-10-25 21:02:03 +02:00
Torbjörn Andersson
0579bf6f18 PRINCE: Fix potential out-of-bounds reads (CID 1248500, 1248503)
Since heroSetTable[] is an array of int, use >= ARRAYSIZE() instead
of > sizeof().
2014-10-25 20:57:52 +02:00
Torbjörn Andersson
b6302c6e51 PRINCE: Fix potential out-of-bounds write (CID 1248504)
There are kMaxTexts text slots, so kMaxTexts itself is not valid.
2014-10-25 20:52:14 +02:00
Eugene Sandulenko
9c885719fd GCW0: Initial code for GCW Zero port 2014-10-24 18:20:37 +02:00
Paul Gilbert
6fc5092c03 MADS: Remove unused variable 2014-10-22 21:05:47 -04:00
Paul Gilbert
c021759ad2 MADS: Add md5 checks for the asound.00* sound drivers
The implementation of the sound driver code relies on the data for each
sound being at specific locations in the files, so this ensures that
if any language version changes the sound files, we'll know about it
2014-10-22 20:43:22 -04:00
Willem Jan Palenstijn
1860c2107a SCI: Add notes 2014-10-19 23:44:45 +02:00
Filippos Karapetis
d3475fe3b6 GRAPHICS: Silence an MSVC warning 2014-10-19 17:03:14 +03:00
Filippos Karapetis
1d5536da02 SCI: Enable some menus in Jones after restoring (bugs #6537 and #6723)
The code path that is supposed to enable these never gets called when
restoring from the main menu, or from the ScummVM launcher. Since the
logic on when and what to enable is quite complex, the easiest thing
to do is enable these entries manually after a game is loaded.
2014-10-19 16:52:00 +03:00
Paul Gilbert
e06327e81a MADS: Minor clean up of sprite set removal 2014-10-18 18:27:07 -04:00
Sven Hesse
7bdf48170a GOB: Remove useless memcpy()
Happened while removing Draw::_vgaSmallPalette in 0f9b1364c.

Fixes Coverity issue #1230309.
2014-10-19 00:08:32 +02:00
Filippos Karapetis
92bf8a5420 SCI: Fix bug #6703: "SCI: QFG1 VGA - Can't CTRL+S to access statistics"
This actually affected all Control+key combinations. A regression from
0f90b8eaad0335715d5f6aea6ede32ebbb746e25
2014-10-18 22:06:48 +03:00
Filippos Karapetis
879890e021 MADS: Clear scene sprites and objects when showing a game menu
This shows the game menu, albeit with the wrong palette
2014-10-18 20:46:17 +03:00
Filippos Karapetis
ad1aedec76 MADS: Implement the Rex Cancel button in the game options dialog
The current options are now saved when the dialog opens, and are
restored to their original values if the user cancels
2014-10-18 20:19:14 +03:00
Filippos Karapetis
f0bcacc7b3 MADS: Reset screen clip bounds before copying over a new screen
This is needed for the in-game menu, where a dialog spawns another one
2014-10-18 20:12:42 +03:00
Paul Gilbert
dbfe4972e3 MADS: Remove deprecated code from AnimationView and a bunch of out-of-date TODOs 2014-10-18 11:55:30 -04:00
Paul Gilbert
a657c39824 MADS: Only show Quotes main menu item after winning the game 2014-10-18 11:42:11 -04:00
Paul Gilbert
72303564f7 MADS: Hook up Rex game endings to show the correct animation and/or credits 2014-10-18 11:20:50 -04:00
Filippos Karapetis
22aaf995ed SCI: Hopefully fix bug #6718 in LSL6 Polish
View flags are mainly used by LB2. The flag in the LSL6 view seems to
be garbage, so we ignore it
2014-10-18 16:03:50 +03:00
Filippos Karapetis
4736c490e1 SCI: Separate the rest of the detection-only functions
This should fix bug #6717 - "SCI fallback detection assert failure"
2014-10-18 16:03:49 +03:00
Filippos Karapetis
fe3ed8ded2 SCI: Rename the version of addAppropriateSources() used in detection 2014-10-18 16:03:49 +03:00
Filippos Karapetis
17a77ff69c SCI: Fix some typos, and remove some redundant curly braces 2014-10-18 16:03:48 +03:00
Torbjörn Andersson
497324467f TINSEL: Move object creation from constructor to run()
Moved the creation of _midiMusic, _pcmMusic, _sound and _bmv from
the constructor to run(). It was reported on the forum that the
MT-32 emulator didn't work for Discworld, and I'm speculating that
this is because it was being initialized before the "extra path"
had been added to the search path.

It's likely that not all of these objects are needed for every
version of the game. Fixing that is left as an exercise for
someone more familiar with the different game versions than me.
2014-10-17 19:19:55 +02:00
Paul Gilbert
dee4fd193d MADS: Fix stopping digital audio, music, and palette cycling when animation ends 2014-10-16 21:53:21 -04:00
Strangerke
fa5c223931 TSAGE: R2R - Remove useless includes 2014-10-16 08:07:38 +02:00
Strangerke
c878731937 TSAGE: Move Air Duct and Vampire lair mazes in separate source files 2014-10-16 07:56:48 +02:00
Paul Gilbert
8ee1a85f35 MADS: Save redundant reloads of digital audio when switching animations 2014-10-15 21:18:17 -04:00
Filippos Karapetis
740d1620f2 SCI: Simplify check for non-alphanumeric characters in the parser
This is also for bug #6608. Many thanks to wjp for his help with this
2014-10-15 19:44:03 +03:00
Filippos Karapetis
e6d1337e11 SCI: Ignore most of the non-alphanumeric characters in the parser
This is a more proper handling of non-alphanumeric characters (e.g.
apostrophes) in SCI games with a parser - bug #6608
2014-10-15 18:51:14 +03:00
Filippos Karapetis
33b770ac60 MADS: Move all the anim and text view code into a common class
The animation and text players are more or less common among all MADS
games
2014-10-15 11:43:30 +03:00
Filippos Karapetis
701d43b5c2 MADS: Initial implementation of sound driver handling for V2 games 2014-10-15 11:43:20 +03:00
Filippos Karapetis
331488cae0 MADS: Bugfix for the text view debugger command 2014-10-15 10:37:01 +03:00
Paul Gilbert
1658a34ef5 MADS: Correct the color for the top/bottom line bounding the cutscene 2014-10-14 22:29:29 -04:00
Paul Gilbert
2048fe68d2 MADS: Fix clearing on-screen messages when the cutscene animation changes 2014-10-14 21:49:14 -04:00
Paul Gilbert
ea9599b763 MADS: Implement subtitles for animation cutscenes 2014-10-14 21:37:00 -04:00
Paul Gilbert
b5fb32de5e MADS: Fix to exit game safely when sound driver hasn't been created 2014-10-14 21:26:00 -04:00
Thierry Crozat
c4a829a7c6 CGE2: Add detection for English v1.0 version of the game 2014-10-14 21:44:14 +01:00
Strangerke
d175d58ce1 TSAGE: R2R - Fix a bug when trying to exit the ship console after playing Outpost Alpha 2014-10-14 17:57:02 +02:00
Paul Gilbert
b58f6f397d MADS: New conversation message logic for cutscene animations 2014-10-13 20:28:34 -04:00
Filippos Karapetis
2e87ace09d MADS: Handle the unimplemented 'D' animation command 2014-10-14 01:32:03 +03:00
Filippos Karapetis
9ca021a0d2 MADS: Properly skip empty lines in animation files 2014-10-14 00:35:01 +03:00
Strangerke
126417ae99 TSAGE: R2R - move Scene1337 to its own source file to reduce the size of ringworld2_scenes1 2014-10-13 23:17:24 +02:00
Paul Gilbert
7f7e144dd2 MADS: Add debugger commands for playing text and anim cutscenes 2014-10-13 16:59:15 -04:00