Commit Graph

41166 Commits

Author SHA1 Message Date
Thierry Crozat
b77434c415 I18N: Fix create_translation tool when string contain special characters
The english or translated strings in the PO file might have representations of special characters (e.g. '\n') or protected characters (e.g. '\"') visible as
in the source code. However at run time ScummVM expects them to be
the special characters and not their visible representations. Now the
create_translations tool does the substitution if it finds such characters.

svn-id: r52739
2010-09-15 23:12:29 +00:00
Johannes Schickel
b2c57117fd DRACI: Initialize MIDI channel volume properly.
This fixes bug #3067148 "DRACI: Volume range not respected". It seems Draci's
MIDI files do not setup the channel volume properly before using the channels,
but rely on having the maxed out. Since formerly the channel volume was
initialized to 255, it caused the channel volume to be zero in case the user
used 128 for his volume settings (128*255/255=128, and MIDI volume goes from
0-127).

svn-id: r52738
2010-09-15 22:30:00 +00:00
Johannes Schickel
b9a74a7915 KYRA: Send GM reset on startup.
svn-id: r52737
2010-09-15 22:00:43 +00:00
Johannes Schickel
6588398ce6 MIDI: Send a reset MIDI device signal on startup.
This is currently done in the engine code. I adapted AGI, AGOS, DRACI,
GROOVIE, LURE, MADE, QUEEN, SAGA, SKY, TINSEL and TOUCHE to send a reset
device on startup. The sound output still works fine (started up a game
from every engine), so this should hopefully not introduce any regressions.

As far as I can tell it seems that SCUMM does send a proper device reset, so
I did not touch it. KYRA only sends a proper reset for MT-32 currently. I am
not sure about SCI though.

This fixes bug #3066826 "SIMON: MIDI notes off when using RTL after SCI".

svn-id: r52736
2010-09-15 22:00:20 +00:00
Matthew Hoops
bb5db4aa3b MOHAWK: Finish implementation of the Riven Marble Puzzle
You can now place the marbles and pressing the button will now only set the power to on if the marbles are in the correct positions.

svn-id: r52735
2010-09-15 20:28:42 +00:00
Arnaud Boutonné
47c46cdfde GOB: Add detection for Gob1 CD Polish
svn-id: r52734
2010-09-15 19:00:28 +00:00
Filippos Karapetis
6cf1a4d537 SCI: Some very early work on kRemapColors (just comments/observations for now)
svn-id: r52733
2010-09-15 15:21:59 +00:00
Filippos Karapetis
c74c206f05 SCI2: adding a stub for the kPurge memory function
kPurge is specific to the SSCI memory manager. We have our own memory manager and
garbage collector, thus we ignore these calls

svn-id: r52732
2010-09-15 12:14:34 +00:00
Willem Jan Palenstijn
c81f009e8f SAGA: Fix audio flags for VOC sounds
This is a regression from r43470 and fixes the speech in the intro.
Bug #3065113.

svn-id: r52727
2010-09-14 22:16:31 +00:00
Johannes Schickel
f742d2ecc5 SCI: Some constification.
svn-id: r52726
2010-09-14 21:53:22 +00:00
Thierry Crozat
8ab435397f I18N: Update Spanish and Italian translations
svn-id: r52725
2010-09-14 19:02:33 +00:00
Yotam Barnoy
94b41f5d2e COMMON: remove virtual functions from BufferedStreams
As Max pointed out to me, they don't work as expected when called from constructors/destructors.

svn-id: r52724
2010-09-14 14:57:30 +00:00
Willem Jan Palenstijn
9dfb24851c COMMON: Remove dangerous virtual keywords.
See r52722.

svn-id: r52723
2010-09-14 14:18:25 +00:00
Yotam Barnoy
a1b16661de PSP: remove virtual inheritance of BufferedWriteStream and BufferedSeekableReadStream
As Max pointed out to me, one can't really use virtual functions called from constructors/destructors.

svn-id: r52722
2010-09-14 14:00:15 +00:00
Jordi Vilalta Prat
2cd25f87cd NEWS: Fixed a few SCI entries and space cleanup.
svn-id: r52721
2010-09-14 12:47:42 +00:00
Arnaud Boutonné
2315907de5 HUGO: Rename some classes for better readibility
svn-id: r52720
2010-09-14 05:32:20 +00:00
Travis Howell
f7fa335a1b AGI: Fix compilation.
svn-id: r52719
2010-09-14 00:47:26 +00:00
Johannes Schickel
efc13c42b2 AGI: Improve support for MT-32 in the MIDI output.
Formerly the AGI MIDI code did not setup the channel mask properly, in case
"native_mt32" was set. This resulted in one missing channel (i.e. channel 0),
since the MT-32 only responds to data for channels 1-9.

svn-id: r52718
2010-09-14 00:44:41 +00:00
Johannes Schickel
2a353089aa GUI: Remove dead code.
This code was added when tooltip support was added. Since we changed the way
how tooltips are drawn later on, this code is not required anymore. Actually
it was never used, but it could've been used to save/restore the state of the
GUI for the tooltips.

svn-id: r52717
2010-09-14 00:34:12 +00:00
Johannes Schickel
dd76a20acd GUI: Fix caret undrawing. (Regression from r48551)
Starting with r48551 the caret undrawing caused the text selection color in
ListWidgets to be removed. It also added a slight offset to the character
next to the undrawn caret. All this is fixed now.

svn-id: r52716
2010-09-14 00:15:20 +00:00
Johannes Schickel
70245181f1 SCUMM: Fix for bug #3064655 "Restart with F8 key not working properly".
svn-id: r52715
2010-09-13 23:35:55 +00:00
Thierry Crozat
3ed22f9f30 I18N: Update German translation
svn-id: r52714
2010-09-13 21:19:58 +00:00
Thierry Crozat
16589af383 I18N: Update header for French translation file
svn-id: r52713
2010-09-13 21:17:10 +00:00
Thierry Crozat
6594f2894d I18N: Add language name for hungarian translation.
svn-id: r52712
2010-09-13 21:14:05 +00:00
Matthew Hoops
c8b8bb3e9c NEWS: Fix Hero's Quest title
svn-id: r52710
2010-09-13 16:16:06 +00:00
Arnaud Boutonné
1edd47c9ff TOOLS: Add staticfont.h to create_hugo
This file was supposed to be committed in r52696...

svn-id: r52709
2010-09-13 16:01:23 +00:00
Filippos Karapetis
712a28ea6d NEWS: Split the SCI games in a separate category, so that Fascination doesn't go
unnoticed

svn-id: r52708
2010-09-13 14:29:05 +00:00
Filippos Karapetis
0e91370a1d NEWS: Added missing dots
svn-id: r52707
2010-09-13 14:21:23 +00:00
Filippos Karapetis
d73b37972f NEWS: Updates to the SCI games
svn-id: r52706
2010-09-13 14:19:16 +00:00
Willem Jan Palenstijn
08ebd7123a NEWS: Merge news for unreleased 1.1.2 with 1.2.0
svn-id: r52705
2010-09-13 14:16:08 +00:00
Filippos Karapetis
9086210a65 NEWS: Added all the newly supported SCI games in 1.2.0
svn-id: r52704
2010-09-13 14:08:18 +00:00
Filippos Karapetis
ce657cc0dc SCI: Changed the script protection code to be a hack for Hoyle 3 only
This shouldn't be happening normally, but apparently it does, which would indicate
a potential issue with the object locking code

svn-id: r52703
2010-09-13 13:47:56 +00:00
Filippos Karapetis
e242814990 SCI: Proper fix for bug #3038837 - "HOYLE3: EGA/VGA Crashes" and some cleanup
System scripts (i.e. 0 and 900-999) are now protected and never destroyed during a
game

svn-id: r52702
2010-09-13 13:17:55 +00:00
Jordi Vilalta Prat
c2fb737950 I18N: Update the catalan translation.
svn-id: r52701
2010-09-13 12:53:27 +00:00
Jordi Vilalta Prat
bfbb69f77e I18N: Unified messages by removing whitespaces.
svn-id: r52700
2010-09-13 12:50:26 +00:00
Johannes Schickel
c6afdbdca3 KYRA3: Add some sound debug output.
svn-id: r52699
2010-09-13 12:19:19 +00:00
Arnaud Boutonné
4ac61cc290 HUGO: Fix GCC warning (Thanks MSVC for not showing those)
svn-id: r52698
2010-09-12 23:10:31 +00:00
Arnaud Boutonné
597eed0266 HUGO: Use fonts in HUGO.DAT for the DOS version
This is only a temporary solution, to be replaced by a proper .FON 
handling. Hugo 2 and 3 (dos) now start.

svn-id: r52697
2010-09-12 22:59:32 +00:00
Arnaud Boutonné
f656ed2974 TOOLS: Add fonts in hugo.dat for DOS version
svn-id: r52696
2010-09-12 22:54:37 +00:00
Martin Kiewitz
c447b99d4e SCI: patching cleanup (+orgbyte/adjust command)
the new commands were meant for castle/brain hangman puzzle patch, but the patch didn't work well, so I removed it. Still the commands could/should come in handy

svn-id: r52695
2010-09-12 22:09:01 +00:00
Thierry Crozat
c073369f0a i18n: Translate Save and Restore buttons in SCI engine
svn-id: r52694
2010-09-12 21:56:37 +00:00
Filippos Karapetis
b6488818a5 SCI: Bugfix for rev #52688.
We can't just set the lockers of script 0 to 1, as at that point
the objects associated with the script are marked to be deleted,
thus we need to reload the script

svn-id: r52693
2010-09-12 21:50:52 +00:00
Thierry Crozat
fc11604e73 i18n: Translate the Save and Load buttons in myst and riven
svn-id: r52692
2010-09-12 21:35:49 +00:00
Thierry Crozat
61a111d82a i18n: Translate the Save and Load buttons in cruise
This fix Fix bug #3064918 GUI: Save and Load button not translated in
cruise

svn-id: r52691
2010-09-12 21:21:21 +00:00
Thierry Crozat
5b6ca46ade i18n: Update German translation
svn-id: r52690
2010-09-12 19:18:30 +00:00
Matthew Hoops
bb1c8c3f51 VIDEO: Fix rounding the Smacker frame rate
_frameRate is now stored using Common::Rational instead of uint32.

svn-id: r52689
2010-09-12 18:31:10 +00:00
Lars Skovlund
de6555663d Workaround for bug #038837: HOYLE3: EGA/VGA Crashes. Needs further
investigation and a proper fix post-release

svn-id: r52688
2010-09-12 18:13:14 +00:00
Matthew Hoops
161b2e6c79 TESTBED: Title capitalization and consistency
svn-id: r52686
2010-09-12 16:41:13 +00:00
Eugene Sandulenko
09ae34f4a4 TESTBED: Fix warnings
svn-id: r52685
2010-09-12 14:20:52 +00:00
Eugene Sandulenko
f7f5a561eb TINSEL: Remove unused variable
svn-id: r52684
2010-09-12 14:18:40 +00:00