65057 Commits

Author SHA1 Message Date
Strangerke
76480bed15 MADS: Rex - Fix some uninitialized variables in the menu 2014-08-06 19:16:08 +02:00
Strangerke
f24346aad7 MADS: Avoid potential buffer overflows 2014-08-06 19:06:19 +02:00
uruk
59bc45e79f CGE2: Get rid of _keyAlt. 2014-08-06 17:44:12 +02:00
Torbjörn Andersson
e8cb2a37bd ZVISION: Silence Cppcheck warnings about buffer overflow
I don't know if it's the buffer sizes or the format strings that
should be fixed, but increasing the buffer size seems like the safer
thing to do in cases of doubt.
2014-08-06 17:34:43 +02:00
Filippos Karapetis
ea2ee4ada7 SAGA: Fix OOB access in the Shorten decoder
The changes are based on the Java implementation of the Shorten decoder.
This avoids all the out of bounds access (negative array indices), but
it still doesn't fully fix the actual decoder
2014-08-06 15:12:07 +03:00
Filippos Karapetis
9eb88328ca SCI: Fix script bug #6692 - QFG3: Crash when speaking at the top of the giant tree 2014-08-06 15:09:55 +03:00
Filippos Karapetis
672a46b84f DETECTOR: Do not show the zero matched size for illegitimate copies 2014-08-06 15:08:57 +03:00
Filippos Karapetis
1f2db34042 TOLTECS: Blacklist a pirated CD-RIP version (bug #6690)
This is a known pirated version, where all the audio has been removed.
Thus, no support will be added for that version.
2014-08-06 15:07:31 +03:00
Johannes Schickel
3dc9b75dfc Merge pull request #485 from Akz-/mp3-seeking-fix
AUDIO: Increment total play time when decoding MP3 data.
2014-08-04 15:38:02 +02:00
uruk
010a806a19 CGE2: Rework canSaveGameStateCurrently(). 2014-08-03 22:50:16 +02:00
uruk
69b9a3fdff CGE2: Properly fade out if the player exits during the intro too. 2014-08-03 22:49:43 +02:00
uruk
11d2cf66b6 CGE2: Rework the handling of the sound buttons on the toolbar.
Also keep in sync the volume settings and the audio mode of the game and the settings in the Launcher.
2014-08-03 22:23:55 +02:00
uruk
07fc3fb3c3 CGE2: Some repair in Bitmap::code(). 2014-08-03 19:16:18 +02:00
Strangerke
b8b3e5af04 CGE2: Some more minor cleanup 2014-08-03 15:44:20 +02:00
uruk
41fece6487 CGE2: Remove #if 0-s. 2014-08-03 15:18:44 +02:00
uruk
7dfb2b01f1 CGE2: Rearrange content of saveload.cpp and cge2.h a bit. 2014-08-03 15:04:00 +02:00
Strangerke
2697c71301 CGE2: Misc cleanup 2014-08-03 14:47:25 +02:00
uruk
60a77ae6d7 CGE2: Add autosave functionality. 2014-08-03 14:46:11 +02:00
uruk
61083e5cab CGE2: Add RTL support. 2014-08-03 12:15:07 +02:00
uruk
00bb645e54 CGE2: Fix mismatched new/delete pair in Sprite::ghost() and snGhost(). 2014-08-03 11:59:55 +02:00
uruk
241d07ff07 CGE2: Silence GCC warning concerning destructors of Choice's children. 2014-08-03 11:53:28 +02:00
uruk
8eae09afca CGE2: Fix memory leak concerning the quit menu. 2014-08-03 11:36:56 +02:00
uruk
239fa2a5cf CGE2: Rename classes representing quit menu choices. 2014-08-03 10:50:53 +02:00
wonst719
c23ac81e36 Fix non-MSVC build 2014-08-03 17:45:51 +09:00
Strangerke
6558581d68 CGE2: Remove more checks on the return value of new 2014-08-03 10:33:37 +02:00
uruk
2b60bb9cc3 CGE2: Fix possible null pointer dereference. 2014-08-03 09:27:47 +02:00
Strangerke
9dc06870e7 CGE2: Start removing the checks on the return value of new 2014-08-03 01:51:33 +02:00
uruk
d44ff54912 CGE2: Fix error message in makeSpeechBubbleTail(). 2014-08-02 23:17:25 +02:00
Strangerke
f2de89c7bc CGE2: Fix CppCheck warnings by reducing variable scope 2014-08-02 22:26:00 +02:00
Johannes Schickel
0708a0e83a Merge pull request #483 from lordhoto/scumm-sfx-fix
SCUMM: Fix playback of digital sfx when speech is muted.
2014-08-02 21:46:43 +02:00
Strangerke
3376ab4f62 CGE2: Update the comment about another non-fixable workaround 2014-08-02 19:05:30 +02:00
Strangerke
0eb7e52490 CGE2: Update comment concerning a workaround for a non-fixable issue 2014-08-02 19:04:41 +02:00
Paul Gilbert
96ab1d5d83 CGE2: Further FXP multiply fix to fix hero scaling 2014-08-02 10:23:43 -04:00
Strangerke
1a49887855 CGE2: Some cosmetic changes 2014-08-01 19:36:24 +02:00
Strangerke
c012c762d0 CGE2: Remove moveHi() and moveLo() from bitmap 2014-08-01 19:22:12 +02:00
Paul Gilbert
0d662566bd CGE2: Further fixes to FXP operators to fix pathfinding 2014-08-01 11:16:39 -04:00
Matthew Hoops
dc155b23f0 AUDIO: Better handle endOfStream() vs endOfData() in SubSeekableAudioStream 2014-08-01 01:47:30 -04:00
Matthew Hoops
d8ef40879c AUDIO: Better handle endOfStream() vs endOfData() in SubLoopingAudioStream 2014-08-01 01:39:46 -04:00
Joni Vähämäki
1d12bddd63 AUDIO: Rename MP3Stream's _totalTime to _curTime to better reflect the variable's purpose. 2014-08-01 01:43:04 +03:00
uruk
6d278157e1 CGE2: Comment out delay in the splash screen during testing. 2014-07-30 21:13:47 +02:00
uruk
6a38671cc2 CGE2: Rearrange showTitle() and add some delay to the display.
Now the splash screen doesn't vanish almost immediately right after it's drawn.
2014-07-30 19:34:37 +02:00
uruk
733f72d810 CGE2: Fix sunset() and sunrise().
Now they really do the fade-in/fade-out effect.
2014-07-30 19:15:59 +02:00
uruk
06144cee4b CGE2: Remove dummies from save header and change save checksum.
The old saves are broken by our new FXP implementation anyway.
2014-07-30 09:05:07 +02:00
uruk
6b48172ae1 CGE2: Disable checking the sound options while the intro animation is running.
Since there are no toolbar during the intro, checking it's buttons would cause a crash.
2014-07-30 09:01:18 +02:00
Paul Gilbert
4139e79fcc CGE2: Fixes for the FXP class 2014-07-29 20:23:02 -04:00
uruk
e5139cdd9c CGE2: Fix loading during gameplay. 2014-07-29 20:59:29 +02:00
uruk
0b8a727a0e CGE2: Repair computation of save checksum. 2014-07-29 18:42:00 +02:00
uruk
4e32736e44 CGE2: Prevent the engine from entering an endless loop when loading.
Also remove CommandHandler::reset(), since it's not useful anymore.
2014-07-29 16:41:56 +02:00
uruk
fc8f6d9cfe CGE2: Fix initialization of volume switches. 2014-07-29 16:27:18 +02:00
uruk
b33653000d CGE2: Fix saving of moving heroes. 2014-07-29 16:13:29 +02:00