Commit Graph

56965 Commits

Author SHA1 Message Date
Torbjörn Andersson
1cc0e9cb88 TONY: Fix memory leak on save game failure (CID 1003579)
Though shouldn't it also alert the user to the failure?
2013-06-02 22:13:59 +02:00
Torbjörn Andersson
9d28a6f531 TONY: Fix potential memory leak
Unfortunately, I'm not sure where and when this function is called.
But this should be correct. CID 1003575
2013-06-02 22:00:25 +02:00
Torbjörn Andersson
52be12830b NEVERHOOD: Fix crash in scene 1105 (teddy bear panel)
Leaving the panel in scene 1105 only worked if the panel was open.
If the panel was closed, nothing would happen on the first click,
and on the second it would crash. If I understood this correctly,
it was because trying to leave while the panel was closed would
(incorrectly) mark it as open, and then it would crash when trying
to remove the objects behind the panel from the scene.
2013-06-02 10:54:37 +02:00
Torbjörn Andersson
f8c0d354af SCUMM: Remove unused variable _quit
CID 1003018
2013-06-02 09:43:59 +02:00
Johannes Schickel
0e5bcd207b Merge pull request #332 from bluegr/roland_gs_cleanup
SCUMM: iMuse - Clean-up of Roland GS code (updated)
2013-06-01 19:40:27 -07:00
Tarek Soliman
39b0886186 MAEMO: Update debian/changelog 2013-06-01 21:06:42 -05:00
Torbjörn Andersson
86721390d2 LURE: Add missing va_end()
CID 1002106
2013-06-01 22:39:31 +02:00
Torbjörn Andersson
c4b3f113d3 SAGA: Add missing "break"s
It seems pretty clear to me that these fallthroughs were not
intentional, seeing how one of them could cause ITE to fall through
to IHNM-specific code.

CID 1003744, 1003745
2013-06-01 22:16:32 +02:00
Torbjörn Andersson
251b760b99 NEVERHOOD: Removed debug (?) code that bypassed puzzle
The effect of the removed code was to bypass the potion-mixing
puzzle while shrunken. The puzzle works fine for me, so there's
no reason to keep this bypass. Also, it caused a dead code
warning, CID 1022345.
2013-06-01 16:47:56 +02:00
Eugene Sandulenko
8f81485de6 NEWS: Specify date for 1.6.0 2013-05-31 23:46:39 +03:00
Torbjörn Andersson
f7099c57d1 NEVERHOOD: Made multi-line function-line macros safer
Wrapped the code in the SetUpdateHandler(), SetMessageHandler(),
SetSpriteUpdate(), SetFilterX(), SetFilterY() and NextState()
macros in "do { ... } while (0)". Otherwise you may fool yourself
because in "if (condition) macro();" the "if" will only cover the
first statement of the macro.

CID 1022340, 1022341, 1022342, 1022343
2013-05-31 19:30:36 +02:00
Filippos Karapetis
f38c7d76ef SCI: Add a workaround for a script bug in SQ5, room 800 - bug #3614145 2013-05-31 05:59:25 +03:00
Alyssa Milburn
b16f2d8405 SKY: Try to avoid deadlocks with the mixer mutex.
See bug #3512069.
2013-05-29 09:05:20 +02:00
Strangerke
f055512f17 HOPKINS: Fix crash in Polish demo - Bug #3613954 2013-05-28 08:21:59 +02:00
D G Turner
d11a1eea94 NEVERHOOD: Silence two compiler warnings about set but unused variables. 2013-05-28 02:07:02 +01:00
Filippos Karapetis
907edb50b6 NEVERHOOD: Don't show mouse cursor on game startup
This makes sure that the mouse cursor isn't visible during the intro
2013-05-28 02:43:49 +03:00
Johannes Schickel
d409d07677 CGE: Pass proper size of detection entries to AdvancedMetaEngine code.
This was forgotten to update in 0d50c67a3e.
2013-05-27 23:34:14 +02:00
johndoe123
753d5e8922 Merge pull request #334 from salty-horse/neverhood
NEVERHOOD: Fix incorrect dark palette in Scene2206
2013-05-27 02:52:07 -07:00
Torbjörn Andersson
2e4f64066d NEVERHOOD: Fix invalid memory access in navigation scenes
When a new Smacker is opened, the old Smacker surface is deleted
and a new one is created. Therefore, it has to be removed from the
scene and the new one has to be added.
2013-05-27 06:48:23 +02:00
Strangerke
5e0e672283 CGE: Fix warning in detection
Thanks clone2727 for reporting it
2013-05-26 22:39:18 +02:00
Matthew Hoops
eeeccd4b1f GUI: Fix the spelling of some variable/class names 2013-05-26 15:52:31 -04:00
Matthew Hoops
f15a38558b GUI: Add missing include for IBAction
Hopefully will fix compilation on older Mac versions
2013-05-26 15:39:19 -04:00
Alyssa Milburn
efc374fc43 Merge pull request #307 from criezy/filebrowser-hidden-osx
OSX: Allow user to display hidden files in the browser dialog.
2013-05-26 12:04:52 -07:00
Strangerke
3a23991a18 HOPKINS: Fix bug #3613819 - Crash when loading a savegame in Win95 Demo 2013-05-26 19:32:40 +02:00
D G Turner
718db9f3df PSP: Remove leftover debug statement to non-existant variable.
This would cause a compilation error when the __PSP_DEBUG_PRINT__
define was enabled for debugging as the variable is non-existant.
2013-05-25 16:07:23 +01:00
Einar Johan T. Sømåen
81282b52e7 WINTERMUTE: Fix erroneous _gameRef in BaseQuickMSG
CID 1002323
2013-05-23 14:03:06 +02:00
Strangerke
f06f335a7c HOPKINS: Update detection to avoid as much as possible the use of executables 2013-05-22 23:34:26 +02:00
Thierry Crozat
958c297efc I18N: Regenerate translations data file 2013-05-22 20:27:14 +01:00
Thierry Crozat
53e617c7e1 I18N: Update Polish translation (from patch #3613727) 2013-05-22 20:26:51 +01:00
D G Turner
539c6314b1 NEVERHOOD: Fix uninitialized variable. 2013-05-21 23:54:18 +01:00
Ori Avtalion
4885d4fcd0 GIT: Ignore create_{neverhood,tony} 2013-05-20 23:09:12 +03:00
Johannes Schickel
d19e647047 NEVERHOOD: Add neverhood.dat to dist files. 2013-05-20 11:50:58 +02:00
Filippos Karapetis
e4d5b37a3e Revert "DRASCULA: Add detection entries for the Debian repacked versions (bug #3612236)"
This reverts commit f0071c65ad.
2013-05-20 12:44:17 +03:00
Filippos Karapetis
bd91467891 Revert "DRASCULA: Fix the comment of the Debian repacked Italian version"
This reverts commit d06a654224.
2013-05-20 12:44:03 +03:00
Strangerke
0d50c67a3e CGE: Introduce gametype 2013-05-19 22:52:09 +02:00
Filippos Karapetis
d06a654224 DRASCULA: Fix the comment of the Debian repacked Italian version 2013-05-19 08:37:57 +03:00
Filippos Karapetis
f0071c65ad DRASCULA: Add detection entries for the Debian repacked versions (bug #3612236) 2013-05-19 08:32:37 +03:00
Filippos Karapetis
d2a97bc928 DRASCULA: Reorder detection entries
Entries have been grouped by type (packed / unpacked) and ordered by
language, alphabetically
2013-05-19 08:32:37 +03:00
Filippos Karapetis
2dce7167b9 DRASCULA: Add detection entries for updated unpacked French / Italian versions (bug #3612236) 2013-05-19 08:32:36 +03:00
Ori Avtalion
f4054c5c2f NEVERHOOD: Fix incorrect dark palette in Scene2206 2013-05-19 01:05:42 +03:00
Willem Jan Palenstijn
5499022866 HOPKINS: Remove left-over assignment
This should have been removed in 2743da5854 .
2013-05-18 16:46:05 +02:00
Matthew Hoops
80e3002105 SCI: Add an alternate version of the GK1 demo 2013-05-17 23:13:07 -04:00
Matthew Hoops
ddf3472895 SCI: Add detection for an interactive KQ7 demo
Thanks to DrMcCoy
2013-05-17 23:04:10 -04:00
Paul Gilbert
11e40f7467 HOPKINS: Fix to prevent GMM saving in the underwater sub scenes 2013-05-18 11:31:12 +10:00
Thierry Crozat
dd97907fb0 I18N: Regenerate translations data file 2013-05-17 20:05:11 +01:00
Steffen Nyeland
2412574745 I18N: Update Danish translation 2013-05-17 19:58:52 +01:00
Strangerke
0822b77d95 CGE: Add detection entry for Sfinx 2013-05-17 08:26:46 +02:00
Eugene Sandulenko
6b4e62004a NEVERHOOD: Add detection for Russian version. Requires more work 2013-05-17 08:52:45 +03:00
Johannes Schickel
a1cfe235e4 AUDIO: Reduce callback frequency of the MT-32 emulator.
Formerly the frequency was at 10000Hz. This resulted in 3,4 or even only 1
sample to be generated between callbacks on my system. All the other MIDI
drivers use a much lower frequency here. The MidiDriver_Emulated subclasses
use a frequency of 250Hz (by default) and the MidiDriver_MPU401 subclasses
(which are for example the ALSA output) use 100Hz. With the new frequency
of 250Hz 128 samples are generated between callbacks. This will hopefully
reduce the overhead of the MT-32 emulator (the engine's code was run 10000
times a second too) a bit.

I talked with KingGuppy and it seems the value was increased in the past
(still with the very old MT-32 emulator code) because there were accuracy
issues. However, I gave the lower frequency a quick test with the MI1, MI2
and ITE intro and didn't spot any obvious differences. As a result, KingGuppy
and I agreed to lower it back to 250Hz. If there are any problems coming up
we can still slightly increase the frequency to 1000Hz for example.

Thanks to waltervn for noticing this. Thanks to KingGuppy for discussion.
2013-05-17 00:40:34 +02:00
Alyssa Milburn
a29eb151e0 MOHAWK: Add GF_LB_10 to try fixing bug#3611895. 2013-05-16 13:19:24 +02:00