64985 Commits

Author SHA1 Message Date
uruk
e709be446c CGE2: Remove unnecessary #pragma before Sprite::touch(). 2014-08-11 14:53:49 +02:00
uruk
01950e1b1c CGE2: Remove unused function from vga13h.cpp. 2014-08-11 14:48:33 +02:00
Alyssa Milburn
c3f3b623d6 COMPOSER: Remove sprites when stopping V1 scripts (bug #6091). 2014-08-09 23:11:47 +02:00
Alyssa Milburn
94f8359896 COMPOSER: Make sure V1 scripts are run before redrawing. 2014-08-09 23:11:02 +02:00
uruk
0ea1268940 CGE2: Fix canSaveGameStateCurrently(). 2014-08-09 17:22:19 +02:00
Eugene Sandulenko
a11b52ec11 PEGASUS: Cleanup from unused constants.
Agreed with clone2727.
2014-08-09 16:50:45 +02:00
Eugene Sandulenko
253d443085 Merge pull request #490 from raziel-/patch-2
AMIGAOS: Add AmigaOS version format
2014-08-09 15:38:03 +02:00
Eugene Sandulenko
bda6debd7e Merge pull request #489 from raziel-/patch-1
AMIGAOS: Stack cookie and no more AmigaOS version number
2014-08-09 15:36:57 +02:00
Eugene Sandulenko
6e794a9823 Merge pull request #487 from clone2727/audio_fixes
AUDIO: Miscellaneous AudioStream fixes
2014-08-09 15:33:50 +02:00
Eugene Sandulenko
908b4113c1 Merge pull request #484 from wonst719/korean-work
SCUMM: Improve non-Towns CJK text rendering
2014-08-09 15:26:20 +02:00
raziel-
0c625084c2 AMIGAOS: Add AmigaOS version format
AmigaOS features a "version" command which can read out version information if stored in a sepcific way.
To get to that information it parses the exe for "$VER:" and prints out everything behind it.

This adds such a version information to ScummVM so users on AmigaOS can read it out without the need to use "scummvm --version"
2014-08-09 15:57:35 +03:00
uruk
58822b47a7 CGE2: Use spaces instead of tabs. 2014-08-09 13:54:20 +02:00
uruk
895f8a5e59 CGE2: Remove commented out code from text.cpp. 2014-08-09 13:51:31 +02:00
raziel-
cbae401a79 AMIGAOS: Add a stack cookie
Setting up a static stack to avoid crashes from a stack set too low.
2014-08-08 13:43:59 +01:00
raziel-
38f7a9bc70 AMIGAOS: Cleanup of the AmigaOS version number 2014-08-08 14:05:23 +03:00
raziel-
13d01576b0 AMIGAOS: Get rid of the OS version number
"4" is the version of the OS. It will certainly change with future updates.
2014-08-08 13:50:27 +03:00
Filippos Karapetis
e11fe13620 SCI: Handle 's at the end of words - bug #6608 2014-08-08 03:59:02 +03:00
Filippos Karapetis
593c8c9bed SCI: Code formatting fixes 2014-08-08 02:59:45 +03:00
Filippos Karapetis
f2f8bf5685 SCI: Fix wrong game features heuristic for Hoyle 1/2 - bug #6606
Games with newer graphics functions can call kDrawPic with 4 or 8
parameters. Older games call it with 6 parameters. Fixes the about
dialog in Hoyle 1
2014-08-08 02:51:57 +03:00
Filippos Karapetis
e7f023883e SCI: Extend hack to fix regression in GK1 2014-08-08 02:11:49 +03:00
Filippos Karapetis
43f57f274a SCI: Add the French version of Phantasmagoria - bug #6574 2014-08-08 02:11:49 +03:00
Filippos Karapetis
e13cc80348 SCI: Show the address segment when trying to free hunks from an invalid
address
2014-08-08 02:11:49 +03:00
Filippos Karapetis
1cbfe02bcf SCI: Allow invalid references to kUnload() - bug #6600
Since the reference will be invalidated anyway by kUnload itself,
there's no real reason to check for its validity. We do the same with
kGraph() and kDisplay().
2014-08-08 02:11:49 +03:00
Torbjörn Andersson
278a14d96e COMMON: Fix crash when quitting on "Game data not found" dialog
ScummVM would try to look up "confirm_exit" in the active domain,
even though the active domain had been removed and pointed to an
invalid address. To avoid this, try to keep _activeDomain and
_activeDomainName updated if removeGameDomain() removes the active
domain.

For good measure, also do it if the active domain is removed by
renameGameDomain(), though I don't know if there was any case where
this would have caused trouble.
2014-08-07 22:55:52 +02:00
Torbjörn Andersson
42c9b1a2c1 COMMON: Minor whitespace fix. 2014-08-07 22:46:24 +02:00
Johannes Schickel
bb70ea04e9 TEST: Remove odd test in rendermode tests.
This specific test checked whether the pointer for two static strings have a
different address. Since the specific strings checked had the same "value"
string pooling optimizations will result in them to have the same address and
thus make this test fail. Furthermore, the test seemed completely pointless,
I simply dropped it now.
2014-08-07 15:04:13 +02:00
Strangerke
37b77168ec TOON: Remove some dead code 2014-08-06 20:57:30 +02:00
Strangerke
09d1dee599 MADS: Fix some more uninitialized variables 2014-08-06 20:07:11 +02:00
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