Commit Graph

85668 Commits

Author SHA1 Message Date
Thierry Crozat
5848c1f873 I18N: Update translation (French)
Currently translated at 99.8% (974 of 975 strings)
2018-06-06 20:20:26 +02:00
Adrian Frühwirth
31cf2d2fab NEWS: Mention fix for #10559 (distorted speech in Indy4) 2018-06-06 18:20:20 +00:00
Adrian Frühwirth
788d85d6b8 SCUMM: Work around distorted speech on submarine in Indy4
The speech sample at VCTL offset 0x76ccbca ("Hey you!") which is used
when Indy gets caught on the German submarine seems to not be a VOC
but raw PCM s16be at (this is a guess) 44.1 kHz with a bogus VOC header.
To work around this we skip the VOC header and decode the raw PCM data.

Fixes Trac#10559
2018-06-06 18:20:20 +00:00
Donovan Watteau
5534b4b618 I18N: Update translation (French)
Currently translated at 99.7% (973 of 975 strings)
2018-06-05 21:36:53 +02:00
David Fioramonti
2fcc429498 COMMON: More nullptr usage in common/ptr
Replaces some more ptr=0 with ptr=nullptr.
2018-06-04 03:36:27 -07:00
Lothar Serra Mari
41e762afb2 I18N: Update translation (German)
Currently translated at 100.0% (975 of 975 strings)
2018-06-04 08:52:20 +02:00
Torbjörn Andersson
fba0afefa5 SCUMM: Remove unnecessary space. 2018-06-04 06:41:51 +02:00
George Kormendi
89ee7ec472 I18N: Update translation (Hungarian)
Currently translated at 100.0% (975 of 975 strings)
2018-06-04 06:13:47 +02:00
Thierry Crozat
95e1a6b2be I18N: Regenerate translations data file 2018-06-04 05:05:03 +02:00
Adrian Frühwirth
d433aedf37 SCUMM: Improve 'imuse play' debugger command error handling
This commit introduces the following (seemingly non-invasive) changes
to make the 'imuse play' debugger command more useful (i.e. don't crash
when trying to load the wrong kind of (sound) resource.

* ScummEngine::readSoundResource()
  Instead of fatally error()'ing upon hitting a non-sound resource type,
  e.g. a room header (0x524d4844 aka RMHD), we now only issue a warning().
  This enables the already existing dead code which properly returns 0
  (aka no resource loaded).

* ResourceManager::validateResource()
  Instead of fatally error()'ing upon hitting an illegal glob type we now
  only issue a warning() and return false (also existing dead code).
  All methods calling validateResource() check its return value so this
  seems like the right thing to do anyway.

* ScummDebugger::Cmd_IMuse()
  Instead of directly calling ensureResourceLoaded() we now call
  getResourceAddress() instead (which in turn calls ensureResourceLoaded()
  and handles other edge cases) and only attempt to play a sound if the
  returned pointer actually is valid.

Fixes Trac#10527.
2018-06-03 19:38:52 +01:00
David Fioramonti
8405c5d5f0 SAGA: Don't show pause message in saved thumbnail
Fixes Trac#10008. Previously, the game would show
a paused game message in the thumbnail when the
game was saved using the gmm.
2018-06-03 19:36:58 +01:00
Thierry Crozat
19d613ee7d GRAPHICS: Remove BOM at start of larryscale files
Note that larryScale_generated.cpp still contains UTF-8
characters, but they are all in comments, so hopefully
they will not cause problems.
2018-06-03 18:41:54 +01:00
Timo Mikkolainen
441456b738 I18N: Update translation (Finnish)
Currently translated at 100.0% (975 of 975 strings)
2018-06-03 19:14:53 +02:00
Cameron Cawley
478d7b2ee7 WIN32: Fix fallback in getSystemLanguage 2018-06-03 17:43:30 +01:00
Cameron Cawley
ada05fd726 WIN32: Move Windows-specific implementation of logMessage out of OSystem_SDL 2018-06-03 17:43:30 +01:00
Cameron Cawley
e1c83f8e87 WIN32: Move Windows-specific implementation of getSystemLanguage out of OSystem_SDL 2018-06-03 17:43:30 +01:00
Thierry Crozat
6f60ef55ad I18N: Update translations templates 2018-06-03 18:41:57 +02:00
Thierry Crozat
4229e2642e
Merge pull request #1141 from DanielSWolf/larryscale
SCI: High-quality "LarryScale" cel scaler for LSL7
2018-06-03 17:41:47 +01:00
Donovan Watteau
e10c33fc20 I18N: Update translation (French)
Currently translated at 100.0% (973 of 973 strings)
2018-06-03 16:49:38 +02:00
Donovan Watteau
6673a85a4a I18N: Update translation (French)
Currently translated at 100.0% (973 of 973 strings)
2018-06-03 15:15:02 +02:00
Thierry Crozat
faa8732076 I18N: Update translation (French)
Currently translated at 100.0% (973 of 973 strings)
2018-06-03 15:12:48 +02:00
Donovan Watteau
da44ea5e2d I18N: Update translation (French)
Currently translated at 100.0% (973 of 973 strings)
2018-06-03 15:12:10 +02:00
Thierry Crozat
11d2c1959d I18N: Update translation (French)
Currently translated at 100.0% (973 of 973 strings)
2018-06-03 15:10:37 +02:00
Donovan Watteau
24afa8e1f9 I18N: Update translation (French)
Currently translated at 100.0% (973 of 973 strings)
2018-06-03 15:10:12 +02:00
Thierry Crozat
52823cb0b1 I18N: Update translation (French)
Currently translated at 100.0% (973 of 973 strings)
2018-06-03 15:08:23 +02:00
Donovan Watteau
8736250fd6 I18N: Update translation (French)
Currently translated at 100.0% (973 of 973 strings)
2018-06-03 15:07:04 +02:00
Thierry Crozat
35ec6d9409 I18N: Update translations templates 2018-06-03 13:49:24 +02:00
Bastien Bouclet
643ce81cf7 BASE: Remove temporary targets when they fail to launch
Prevents invalid targets created from the command line to show up in the
launcher.

Fixes Trac#2788.
2018-06-03 13:48:31 +02:00
Adrian Frühwirth
56d2bf77ba SCUMM: Ensure pointer returned by getResourceAddress() is usable
In some cases the pointer returned is used directly without further
error checking.
As most instances already assert() in this case this commit simply
adds asserts where missing and deemed appropriate.
2018-06-01 17:08:39 +00:00
jepael
7da892a4a2 I18N: Update translation (Finnish)
Currently translated at 100.0% (973 of 973 strings)
2018-06-01 17:55:20 +02:00
Simei Yin
8ead8de284 SLUDGE: Move save game getter to StackHandler 2018-05-31 23:15:09 +02:00
Simei Yin
fa72209845 SLUDGE: Move stack size getter to struct StackHandler 2018-05-31 23:15:09 +02:00
Simei Yin
80478ee470 SLUDGE: Move copyStack() to struct Variable 2018-05-31 23:15:09 +02:00
Simei Yin
ca583ebfcf SLUDGE: Move last stack finding function to struct VariableStack 2018-05-31 23:15:09 +02:00
Simei Yin
9fb57f944d SLUDGE: Move stack variable getter/setter to VariableStack 2018-05-31 23:15:09 +02:00
Simei Yin
dc18ec2fd0 SLUDGE: Move FastArray getter to struct FastArrayHandler 2018-05-31 23:15:09 +02:00
Simei Yin
399ff4788c SLUDGE: Move fastarray functions to struct Variable 2018-05-31 23:15:09 +02:00
Simei Yin
746fb3819f SLUDGE: Move value getters to struct Variable 2018-05-31 23:15:09 +02:00
Simei Yin
9d85b807fb SLUDGE: Move add/comparison functions to struct Variable 2018-05-31 23:15:09 +02:00
Simei Yin
719f5842fa SLUDGE: Move costume functions to struct Variable 2018-05-31 23:15:09 +02:00
Simei Yin
04ef7becf3 SLUDGE: Move PersonAnimation functions into struct Variable 2018-05-31 23:15:09 +02:00
Simei Yin
805a47b74a SLUDGE: Move text related functions to struct Variable 2018-05-31 23:15:09 +02:00
Simei Yin
98f764050a SLUDGE: Move copyVariable to struct Variable 2018-05-31 23:15:09 +02:00
Simei Yin
56f0821876 SLUDGE: Move save/loadVariable() to struct Variable 2018-05-31 23:15:09 +02:00
Simei Yin
2ab7665e56 SLUDGE: Move SetVariable() into struct Variable 2018-05-31 23:15:09 +02:00
Simei Yin
04444b70f9 SLUDGE: Move unlinkVar into struct Variable 2018-05-31 23:15:09 +02:00
Simei Yin
6004cd319d SLUDGE: Move createCString() with string tools 2018-05-31 23:15:09 +02:00
Paul Gilbert
7edac197e4 XEEN: Correct scroll and music when signing into tavern 2018-05-30 20:12:13 -04:00
Paul Gilbert
d6841efd63 XEEN: Fix Direction Sense display 2018-05-30 18:51:40 -04:00
Paul Gilbert
b191cbf909 XEEN: Stop re-rolling new character stats when some areas of screen clicked 2018-05-30 18:15:50 -04:00