Commit Graph

6059 Commits

Author SHA1 Message Date
Torbjörn Andersson
5e304618bf SCI: Fix potential (but probably very unlikely) memory leak
Spotted by Clang's code analyzer.
2013-01-02 20:19:36 +01:00
Willem Jan Palenstijn
3dad5e55e2 SCI32: Add more KScrollWindow notes 2012-12-31 21:51:46 +01:00
Willem Jan Palenstijn
8ff034ef94 SCI32: Add more KScrollWindow notes 2012-12-30 16:12:47 +01:00
Willem Jan Palenstijn
704eb425d3 SCI32: Add notes about KScrollWindow/Where,Go 2012-12-30 13:57:08 +01:00
Willem Jan Palenstijn
1fde5e615e SCI32: Add some notes about KScrollWindow/Add 2012-12-30 13:12:51 +01:00
Filippos Karapetis
dc93093afa SCI: Fix a small glitch when loading (regression)
This is caused by commit ed6bc0a13d,
and caused players to click an extra time when trying to change the
game audio options after loading a game
2012-12-03 02:11:34 +02:00
Filippos Karapetis
ed6bc0a13d SCI: Resync audio options when a game is restarted (bug #3589453) 2012-12-02 15:20:41 +02:00
Filippos Karapetis
8c4beffdf0 SCI: Add the French DOS version of Freddy Pharkas (bug #3589449) 2012-12-01 22:00:45 +02:00
D G Turner
77a9f01454 SCI: Amended fix for palette related compiler warnings. 2012-11-26 21:08:39 +00:00
Filippos Karapetis
9c510c1b52 SCI: Fix warnings 2012-11-26 11:27:02 +02:00
Filippos Karapetis
fb0788d12f SCI: Properly reset the palVary signal when loading (bug #3575569) 2012-11-15 14:57:55 +02:00
Filippos Karapetis
3e8758b810 SCI: Add the French version of QFG3 (bug #3586214) 2012-11-11 21:18:21 +02:00
Filippos Karapetis
3b5e92d4f3 SCI: Fix bug #3575569 - "SCI: QFG1VGA: Palette/hue bug after loading"
We make sure that any leftover palVary timers are removed when
loading. This is an edge case, but it won't hurt to remove these
timers just in case
2012-11-07 18:11:09 +02:00
Filippos Karapetis
2c5769c23b SCI: Fix the detection entries for Slater & Charlie (bug #3578617)
The incorrect GUIO_NOSPEECH flag silenced the speech when the user
chose to override the game's audio settings
2012-11-07 02:53:44 +02:00
Filippos Karapetis
c34704972e SCI: reset _throttleLastTime when restarting
This ensures that the load dialog in the ScummVM menu won't be
available at inappropriate times when a game is restarting (e.g QFG1,
during the starting warning dialogs - bug #3565505)
2012-11-06 12:58:33 +02:00
Filippos Karapetis
e7d4f88a57 SCI: Add a workaround for bug #3568452 - "SCI: QFG1VGA - Path finding bug in the forest"
This workaround has been added for now to stop the game from freezing.
A more correct solution would be to match our pathfinding algorithm
to what SSCI is doing, but with this workaround we can stop the more
immediate problem (game freezing) now.
2012-10-22 13:17:57 +03:00
Filippos Karapetis
1286710248 SCI: Fix bug #3578335 - "SCI: Mixed-Up Mother Goose EGA - crash upon choosing kid"
In several SCI0 games, the parameter to kDoSoundFade can be null.
We handle that case, instead of adding individual workarounds per game
2012-10-22 12:47:28 +03:00
Filippos Karapetis
bcf41fa7d2 SCI: Add another version of Castle of Dr. Brain (bug #3578286) 2012-10-22 12:32:11 +03:00
Filippos Karapetis
81c9bcc010 SCI: Fix bug #3578336 - "SCI: Codename: ICEMAN - No 'EGA undithering' option" 2012-10-22 12:25:52 +03:00
Filippos Karapetis
146d00a799 SCI: Add the Inside the Chest / Benind the Developer's Shield demo 2012-10-22 12:19:13 +03:00
Filippos Karapetis
76ff4c7001 SCI: Hopefully fix bug #3565505 - "SCI : crash when loading a savegame"
This bug occurs because in the cases specified in the bug report, the main
loop hasn't run fully yet, and there is a mini loop running instead (e.g.
inside Print())
Hopefully, this catches most cases where the crash occurs, but it needs more
testing to find if there is any other such case.
2012-10-13 21:06:02 +03:00
Filippos Karapetis
b91a132763 SCI: Fix bug #3568431 - "SCI: QFG1VGA - Text glitch at the ghosts death screen"
This is a script bug, and is present in the original game as well. Thanks to
lskovlun for assisting with this one
2012-10-13 19:44:33 +03:00
Filippos Karapetis
dbb09fe984 SCI: Add documentation regarding all SCI1.1 CD games in syncIngameAudioOptions() 2012-10-08 23:50:47 +03:00
Filippos Karapetis
3a852fb96a SCI: Also add LSL6 CD to syncIngameAudioOptions() 2012-10-08 23:49:49 +03:00
Filippos Karapetis
676f303a33 SCI: Document syncIngameAudioOptions() 2012-10-08 23:14:02 +03:00
Filippos Karapetis
a73e3f44ad SCI: Add a workaround for the large text boxes in Freddy Pharkas CD
Fixes bug #3575276 - "SCI: Freddy Pharkas: Text sometimes drawn/erased
incorrectly"
2012-10-08 22:47:27 +03:00
Willem Jan Palenstijn
d1e2d61b78 SCI: Fix Uhura's Woo conversation option
This is bug #3040722.

It was trying to open a non-existent submenu. We now force a return
after handling the conversation option right before it tries to look for
this submenu.
2012-10-07 12:27:14 +02:00
Willem Jan Palenstijn
8f754ced42 SCI: Flip assert
This way the assert is checking that the allocated buffer is large enough
for the memcpy that follows it.
2012-10-07 12:27:14 +02:00
Willem Jan Palenstijn
e38d4f20e8 SCI: Fix dissect_script crash with invalid object types 2012-10-06 13:07:12 +02:00
Willem Jan Palenstijn
5f3f21e20e SCI: Fix some console output formatting 2012-10-06 13:07:12 +02:00
Willem Jan Palenstijn
ba1307b0ce SCI: Add kReadNumber fixme
Thanks to Walter for noticing this.
2012-10-05 16:41:02 +02:00
Filippos Karapetis
f2fa6a934d SCI: Fix compilation with MSVC (atan2() was ambiguous) 2012-10-01 03:06:59 +03:00
Willem Jan Palenstijn
17887e24a2 SCI: Implement kMergePoly
Thanks to Walter for creating debugging tools for MergePoly and testing.
2012-09-30 18:18:20 +02:00
Johannes Schickel
89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Alyssa Milburn
f08978a075 JANITORIAL: Remove underscores from MidiParser variable names. 2012-09-07 23:04:34 +02:00
Filippos Karapetis
7824d0e8e9 SCI: Limit the hack used for sound initialization to the Fun Seeker's demo only 2012-09-01 20:17:27 +03:00
Filippos Karapetis
60c2061710 SCI: Allow the Fun Seeker's Guide demo to run
This demo doesn't have any music, and the original doesn't work with any sound
driver, so don't error out when the sound driver can't be initialized properly
2012-09-01 17:59:52 +03:00
Matthew Hoops
857b92f8ff Merge pull request #268 from clone2727/video-rewrite
VideoDecoder upgrade & partial rewrite
2012-08-26 15:41:56 -04:00
Filippos Karapetis
a391599403 SCI: Update a comment 2012-08-21 11:55:21 +03:00
Filippos Karapetis
7d436622a8 SCI: More work on kRemapColors
This implements some more color remap-based palette effects, found in QFG4
2012-08-21 03:32:23 +03:00
Filippos Karapetis
1a61056b06 SCI: Extend a workaround for the dream sequence in QFG4 2012-08-21 03:32:21 +03:00
Filippos Karapetis
9568b78bab SCI: Use a simpler atan implementation for kGetAngle in SCI1 and newer games
SCI1 games (QFG2 and newer) use a simpler and more accurate atan implementation
for kGetAngle. This properly fixes bug #3540976.
2012-08-21 03:32:18 +03:00
Filippos Karapetis
b19ccb9d1e SCI: Set the correct audio type for SCI1.1 sound effects, fixing bug #3554709
Now, sound effects in SCI1.1 games will no longer be incorrectly using the speech
sound volume. This avoids them being silenced in floppy games that are flagged
as not having speech. Fixes bug #3554709 - "SCI: Digital SFX don't play when
Override Global Audio set"
2012-08-20 03:22:56 +03:00
Filippos Karapetis
8524ebd699 SCI: Fix script bug #3555404 - "SCI: KQ6 Spider Scene Game Freeze" 2012-08-20 02:58:37 +03:00
Matthew Hoops
18823198ad VIDEO: Merge AdvancedVideoDecoder into VideoDecoder 2012-08-16 14:00:14 -04:00
Matthew Hoops
fb35c7f46f VIDEO: Remove setSystemPalette() 2012-08-16 13:30:32 -04:00
Matthew Hoops
7294a1cbcf VIDEO: Remove the Coktel video code from using the VideoDecoder API
After discussing with DrMcCoy, we felt this the best way to proceed. A wrapper class that implements AdvancedVideoDecoder is still around for use in SCI.
2012-08-16 12:17:23 -04:00
D G Turner
1f91cc1aa0 SCI: Add PQ3 Spanish DOS detection entry from bug #3555647. 2012-08-11 17:55:31 +01:00
D G Turner
2d1a63c930 SCI: Add KQ5 Spanish DOS detection entry from bug #3555646. 2012-08-11 17:37:14 +01:00
Willem Jan Palenstijn
546e2086e3 SCI: Remove duplicate detection entry
There is no indication in the corresponding bug report this was for
an Amiga version.
2012-08-07 21:06:04 +02:00