Commit Graph

46592 Commits

Author SHA1 Message Date
Thierry Crozat
38c9988938 COMMON: Fix crash in TranslationManager when reading long strings
It was writing data beyond the end of a buffer. This change makes
sure this does not happen. It only changes reading of the messages
since the language codes, charset names and contexts are always
much smaller than the buffer.
2011-06-14 23:15:50 +01:00
athrxx
1ca44c076c SCUMM: fix possible portability issue 2011-06-15 00:10:55 +02:00
eriktorbjorn
b6dd530724 SCUMM: Fix noisy Valgrind warning. 2011-06-14 23:55:57 +02:00
CeRiAl
d809756c8d SCALERS: Fix Normal1xAspect scaler bug reported in bug #3313709 2011-06-14 22:43:28 +02:00
CeRiAl
2ff4380c55 WINCE: Add support for language auto-detection in WinCE 2011-06-14 22:42:16 +02:00
Thierry Crozat
e826aaab39 I18N: Update Czech translation from patch #3316238 2011-06-14 21:10:35 +01:00
Max Horn
d9a996e6ef DETECTOR: Change ADFileBasedFallback::desc to ADGameDescription pointer 2011-06-14 18:52:12 +02:00
Max Horn
5016645345 DETECTOR: Remove kADFlagPrintWarningOnFileBasedFallback 2011-06-14 18:52:11 +02:00
Max Horn
01f806c2db DETECTOR: Treat file based fallback like any other fallback method 2011-06-14 18:52:11 +02:00
Max Horn
879c3c7817 DETECTOR: Pass allFiles to AdvancedMetaEngine::fallbackDetect()
Also reorder the parameters of composeFileHashMap, placing the "return value"
first.
2011-06-14 18:52:11 +02:00
Max Horn
64e523141f DETECTOR: Change detectGameFilebased return value 2011-06-14 18:52:10 +02:00
Max Horn
0686204792 DETECTOR: cleanup 2011-06-14 18:52:10 +02:00
Max Horn
49a1ea1789 DETECTOR: Cleanup, extend doxygen comments 2011-06-14 18:52:09 +02:00
Max Horn
ee9276b816 SCUMM: Fix doxygen comments 2011-06-14 18:52:09 +02:00
Max Horn
3b5863834b GROOVIE: Document why I *think* kADFlagUseExtraAsHint is used 2011-06-14 18:52:09 +02:00
Max Horn
7e7748d692 LURE: Add a comment explaining why kADFlagUseExtraAsHint is used
For the records, this was introduced by Eugene in SVN revision 30106,
corresponding to git commit b87b0f21
2011-06-14 18:52:08 +02:00
Max Horn
e6f6d67bdd TOUCHE: cleanup 2011-06-14 18:52:08 +02:00
Max Horn
593b929047 DETECTOR: Separate code for handling obsolete gameids from advanced detector
This includes a renaming of ADObsoleteGameID to Engine::ObsoleteGameID,
and AdvancedDetector::findGameID now is Engines::findGameID.

Doxygen comments were added or improved
2011-06-14 18:52:07 +02:00
Max Horn
6412d09126 DETECTOR: Remove PlainGameDescriptorGUIOpts 2011-06-14 18:17:02 +02:00
Max Horn
01c4d90016 ENGINES: cleanup 2011-06-14 18:17:02 +02:00
Max Horn
7c992d6598 DETECTOR: Merge ADParams into AdvancedMetaEngine 2011-06-14 18:17:01 +02:00
Max Horn
e4a4aa30f7 SWORD1: Cleanup music stream initialization 2011-06-14 18:17:01 +02:00
Max Horn
929e7ba4a5 SWORD1: Replace some sprintf uses 2011-06-14 18:17:01 +02:00
Matthew Hoops
a495632e07 MOHAWK: Finish implementation of Riven's stopSound() opcode 2011-06-14 10:46:48 -04:00
Matthew Hoops
5174832e31 MOHAWK: Finish implementation of Riven's storeMovieOpcode opcode 2011-06-14 10:36:49 -04:00
D G Turner
de96474672 BACKENDS: Fix Compilation. 2011-06-14 00:48:59 +01:00
D G Turner
8c485fe2da BACKENDS: Improve SDL Mixer Output Format Checks and Reporting.
This commit corrects a number of minor issues and adds warnings
for when the desired output parameters given to SDL_OpenAudio()
don't match the obtained.
2011-06-14 00:15:50 +01:00
Thierry Crozat
f932a11587 I18N: Update translation files from template 2011-06-13 22:39:59 +01:00
Thierry Crozat
2d3a915994 I18N: Update translation template file from source code 2011-06-13 22:39:30 +01:00
Thierry Crozat
c01141a144 SCUMM: Change MessageDialog button label for consistency
Everywhere else the 'OK' button label is all upper case and here was
the only place where it was not (it was 'Ok').
2011-06-13 22:21:43 +01:00
Thierry Crozat
06bbb57ad7 I18N: Make many more GUI MessageDialog strings translatable 2011-06-13 22:19:18 +01:00
Thierry Crozat
ba758710f5 I18N: Update list of files used to generate translation template
This fixes an error due to a file that had been deleted a few weeks
ago.
2011-06-13 22:08:47 +01:00
athrxx
724b22e5c7 SCUMM FM-TOWNS: add number of color check in TownsScreen::updateOutputBuffer()
Although the 16 color surface is normally not on bottom, there could (theoretically?) be cases in 8bit fallback mode where this becomes relevant.
2011-06-13 22:35:01 +02:00
Filippos Karapetis
bfa26ffc44 SCI: Reverted commit db7dea3
The original check was correct, and the associated MG bug (#3049515) has
actually been fixed with another commit.

Fixes bug (regression) #3315639 - "Character Glitches in KQ4 SCI".
Many thanks to waltervn and wjp for their help on this
2011-06-13 16:43:04 +03:00
athrxx
3e6f031fc5 SCUMM: some cleanup in gfx_towns.cpp 2011-06-13 12:39:15 +02:00
athrxx
afb1b3d8d3 SCUMM: fix engine destructor
(This is relevant for cases where the engine errors out early, before certain arrays get initialized).
2011-06-13 03:02:59 +02:00
Willem Jan Palenstijn
4c70d39933 SCI: Shrink rectangle updated by DrawControl(Text)
This fixes dialogs in Jones CD (bug #3297111) together
with 9e2c7f26d2.

This grow was probably accidentally added in
6fda9a5067. Assembly of KQ5CD and JonesCD
confirms it shouldn't be there.
2011-06-13 01:24:28 +02:00
Filippos Karapetis
259bb84174 SWORD25: Removed leftover dead code 2011-06-12 22:24:33 +03:00
Willem Jan Palenstijn
8e2f2e3730 SCI: Remove workaround that caused graphics corruption
This fixes coins disappearing in Mother Goose SCI1.1 (bug #3051136).
Filippos has confirmed the workaround is no longer necessary for the
menubar in LSL6 for which it was added.
2011-06-12 20:26:07 +02:00
Willem Jan Palenstijn
9e2c7f26d2 SCI: Treat all priorities above 15 as none
Before only 255 was treated this way. This fixes part of the broken
dialog boxes in Jones CD (bug #3297111) which use priority 254,
and matches Jones CD disassembly.
2011-06-12 20:25:46 +02:00
md5
60943efafd SCI: Fixed bug #3295931 - "SCI: JONES: Disabled commands are available using shortcuts" 2011-06-12 17:58:25 +03:00
athrxx
d9dcb5725a LOL: fix typo 2011-06-12 16:46:08 +02:00
athrxx
aeff4b623e LOL: add another detection entry for Italian fan translation
(this detection entry applies if the game has been patched with the official 1.02 patch before using the translation patch)
2011-06-12 15:15:22 +02:00
Thierry Crozat
6d952b3e58 I18N: Regenerate translations data file 2011-06-12 13:49:00 +01:00
Thierry Crozat
9200289bde I18N: Update Hungarian translation from patch #3315326 2011-06-12 13:49:00 +01:00
Thierry Crozat
44f604068e I18N: Update Czech translation from patch #3313204 2011-06-12 13:48:59 +01:00
md5
c5610182a6 SCI: Some fixes for the find_callk command 2011-06-12 15:36:08 +03:00
md5
7ab6dfc00e SCI: Fixed the show_saved_bits console command
This is achieved by hiding the graphical debugger overlay temporarily in
order to show the command's results
2011-06-12 15:07:42 +03:00
Willem Jan Palenstijn
4ec20f857f SCI: Add FIXME for bug #3051136 2011-06-12 02:02:06 +02:00
Willem Jan Palenstijn
4296ac6d15 SCI: Fix sign in disasm of relative jumps 2011-06-12 02:00:09 +02:00