Commit Graph
86814 Commits
Author SHA1 Message Date
Matthew Hoops 813689d68c AUDIO: Move LimitingAudioStream to audio/ 2012-08-12 00:08:13 -04:00
D G Turner ab3b052c6f GUI: Fix possible un-initialised variable usage in SaveLoadChooser.
This was reported by valgrind, while looking at a different issue.
2012-08-12 00:19:44 +01:00
D G Turner 78b8fa31ca CINE: Fix typo in OS palette restore code.
This fixes most cases of incorrect palette on savegame loading.
Thanks to yaz0r for this fix.
2012-08-11 21:12:35 +01:00
D G Turner 21c057ce75 CINE: Fix lockup in Scene 5 when "operate Girl" underwater.
Traced with gdb to sound.cpp:792 i.e. _fadeOutTimer infinite loop.

This bug was introduced by the addition of the MT-32 output driver for
Future Wars and associated mutex changes.
The _fadeOutTimer increment is done by the timer callback occuring
during the load method call, but this was excluded by the mutex.

Fixed by moving the mutex in the load method.
2012-08-11 20:08:03 +01: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
Einar Johan Trøan Sømåen 5b3389672b WINTERMUTE: Silence a few float-cast warnings. 2012-08-11 03:15:51 +02:00
Einar Johan Trøan Sømåen 5ecc1fd7f0 WINTERMUTE: Format platform_osystem.cpp, wintermute.cpp and detection_tables.h 2012-08-11 02:46:08 +02:00
Einar Johan Trøan Sømåen 089920377f WINTERMUTE: Make RTL skip any "are you sure?"-dialogs.
The user has already quite intentionally opened the GMM and clicked "return to launcher"
additionally the GMM can be launched at any time, but the "are you sure"-message can't
always be shown, for instance if the user is already in some in-game menu, or a video is
playing.
2012-08-11 02:42:37 +02:00
Einar Johan Trøan Sømåen 9a5f363972 WINTERMUTE: Make missing-file warnings a debugC
The sound-system attempts to open files in various formats, some of which may not exist, no reason for these to fill the console with output.
2012-08-11 02:34:06 +02:00
Einar Johan Trøan Sømåen c422ae9d8a WINTERMUTE: Get rid of strncpy+manual termination. 2012-08-11 02:30:07 +02:00
Vincent Hamm c6c7b16089 CINE: Slight cleanup. 2012-08-11 00:11:21 +01:00
Vincent Hamm 92b5ee0a48 CINE: Fix masking in Operation Stealth. 2012-08-10 14:38:31 +01:00
Johannes Schickel 571fa94310 TESTBED: Fix "if" formatting. 2012-08-09 03:27:21 +02:00
Johannes Schickel 18ab9a1ef1 TSAGE: Fix "if" formatting. 2012-08-09 03:26:55 +02:00
Johannes Schickel 8aa8cb4dd6 DINGUX: Fix "if" formatting. 2012-08-09 03:25:55 +02:00
Johannes Schickel 73598c64dc CREATE_PROJECT: Fix "if" formatting. 2012-08-09 03:25:37 +02:00
Johannes Schickel 84426c6355 AUDIO: Fix "if" formatting in QDM2 code. 2012-08-09 03:25:14 +02:00
Johannes Schickel b4196e48b1 GRAPHICS: Add a DPI parameter to loadTTFFont.
Will be used by WME.
2012-08-09 03:13:00 +02:00
Johannes Schickel 5521261fde OPENGL: Fix RGBA8888 mode setup. 2012-08-09 03:09:01 +02:00
David-John Willis fbf193f756 CONFIGURE: Add case for selecting OpenGL ES support on the OpenPandora. 2012-08-08 13:49:48 +01:00
David-John Willis 4cd34733a3 OPENGL: GL_BGRA does not exist in every GLES implementation.
* It definately does not exist in the GLES implementations I can test with.
* Don't configure if USE_GLES is set.
2012-08-08 13:37:32 +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
D G Turner d83382a9ef SCI: Add extra comments to new detection entries. No functional changes. 2012-08-07 19:27:22 +01:00
Matthew Hoops 220ca52f43 VIDEO: Fix getTime() when a video is not playing 2012-08-07 14:24:32 -04:00
Strangerke 78310d0f4b TSAGE: Apply naming conventions to surfaceGetArea(). Thanks to somaen for reporting it. 2012-08-07 19:07:01 +02:00
Einar Johan Trøan Sømåen d95a2ddef8 WINTERMUTE: Use only one scaler for blitting, the faster one. 2012-08-07 16:49:20 +02:00
Einar Johan Trøan Sømåen 688f792c9f WINTERMUTE: Cache scaled images, to avoid having to rescale every frame. 2012-08-07 16:28:44 +02:00
Einar Johan Trøan Sømåen 8883a9ffd5 WINTERMUTE: Optimize blitting (Do opaque blits for opaque images, and do fill with memcpy) 2012-08-07 16:05:36 +02:00
Einar Johan Trøan Sømåen 3abccb2e33 WINTERMUTE: Change PixelFormat to ARGB (same as Sword25)
Mainly a workaround for the OpenGL-backend.
2012-08-07 14:56:06 +02:00
Einar Johan Trøan Sømåen 52aeaf4ece WINTERMUTE: Move dcscript.h into the proper folder. 2012-08-07 14:06:42 +02:00
Einar Johan Trøan Sømåen 6b159d71ab WINTERMUTE: Remove g_wintermute. 2012-08-07 13:51:22 +02:00
Einar Johan Trøan Sømåen e32b79bff1 WINTERMUTE: Save the random-seed as well. 2012-08-07 13:32:26 +02:00
D G Turner 611905aa97 SCI: Add missing QFG1 detection entries from bug #3554611. 2012-08-07 11:28:10 +01:00
D G Turner aedd0d2a16 SCI: Add missing QFG2 detection entry from bug #3554614. 2012-08-07 10:23:31 +01:00
D G Turner 7f8d15d008 TEENAGENT: Add missing callback for examining left window in house #2. 2012-08-06 18:37:16 +01:00
Paul Gilbert 2dee92a908 TINSEL: Fixed portability issue with earlier savegames 2012-08-06 20:03:56 +10:00
D G Turner 6c06a837ea TEENAGENT: Migrate Dialog Stack Address usages to symbols. 2012-08-05 21:47:38 +01:00
Strangerke 5c522575c7 CGE: Keep Soltys' position when saving 2012-08-05 22:24:32 +02:00
Johannes Schickel 745ef462fc KYRA: Add source of detection entires for LoL French floppy. 2012-08-05 17:10:49 +02:00
Sven Hesse ef8e15255d GOB: Add a Spanish/Italian DOS version of Geisha
As supplied by einstein95 in bug report #3544449.
2012-08-05 10:43:41 +02:00
Strangerke de752a5336 CGE: Fix bug #3547274 - missing travel buttons after save 2012-08-04 23:51:27 +02:00
D G Turner 43e2c6ee1e AUDIO: Correct ADPCM Fixes to ensure internal buffers are drained.
This also adds an omitted _decodedSampleCount initialization in Oki
ADPCM decoder.
2012-08-04 20:29:37 +01:00
D G Turner 9c47fdae29 AUDIO: Fix Oki ADPCM to work with Mono streams using odd sized buffers. 2012-08-04 18:38:12 +01:00
D G Turner b79221729b AUDIO: Fix DVI ADPCM to work with Mono streams using odd sized buffers. 2012-08-04 18:36:13 +01:00
D G Turner 2e848941e5 TEENAGENT: Correct minor text color bug. 2012-08-03 16:47:31 +01:00
D G Turner dc009160bb TEENAGENT: Add symbols for dialog and message text colors. 2012-08-03 16:28:58 +01:00
D G Turner 75e121806d TEENAGENT: Ensure MusicPlayer is stopped on destruction. 2012-08-02 13:01:37 +01:00
D G Turner 95ba78c27d TEENAGENT: Fix for bug #3428161 "PSP: No music in TeenAgent".
This could occur on other platforms too and was a race hazard between
mixer thread startup and music being valid i.e. If the music doesn't
already exist, when the mixer callback is done, this deletes the channel
as idle. Reordered the calls to fix this.

Also, removed unecessary music->start() as this is done by setMusic(n)
on successful load anyway.
2012-08-02 13:00:28 +01:00
D G Turner 52a1a6e60b TEENAGENT: Fix for bug #3428161 "PSP: No music in TeenAgent".
This could occur on other platforms too and was a race hazard between
mixer thread startup and music being valid i.e. If the music doesn't
already exist, when the mixer callback is done, this deletes the channel
as idle. Reordered the calls to fix this.

Also, removed unecessary music->start() as this is done by setMusic(n)
on successful load anyway.
2012-08-02 12:41:40 +01:00