Commit graph

911 commits

Author SHA1 Message Date
Andre Heider
2506560bda TOOLS: const correctness to fix compilation.
svn-id: r52394
2010-08-25 19:41:59 +00:00
Thierry Crozat
bc821136fd i18n: Add support for context in translations.
This change means there can now be different translations for the same
english string depending on the context. It is based on gettext msgctxt feature.
There is a new macro _c(msg, ctxt) that should be used instead of _(msg) in
the source code when we want to add a context to the message. For the
moment I have added contexts to only one message ("None") so that I could
test the changes. Context could be added also to get shorter translations when
GUI is in 1x mode.

I have also added back the fuzzy option to msmerge since it is useful when
adding contexts to populate the translations for the new contexts.

svn-id: r52308
2010-08-23 19:45:14 +00:00
Thierry Crozat
083faee7c1 i18n: Formatting fixes.
svn-id: r52285
2010-08-22 19:47:07 +00:00
Thierry Crozat
c89462c2a6 i18n: Implement po file parsing in create_translations tool
Until now the parsing was done by the po2c perl script, which
generated a messages.h file. The create_translations executable
had then to be recompiled before being executed. This commit
removes the po2c perl script. The parsing is now directly done by
the create_translations tool.

The parsing has also been extended to support the msgctxt strings.
This is not dumped yet in translations.dat but will be once I have
finished implementing context support for the translations.

svn-id: r52284
2010-08-22 18:49:19 +00:00
Arnaud Boutonné
0b4fef3aa7 Hugo - Move DOS hardcoded inventory strings to Hugo.dat
svn-id: r52226
2010-08-20 15:30:30 +00:00
Eugene Sandulenko
040dfff8ce i18n: Move translations to standalone file. Patch #3044975
svn-id: r52208
2010-08-19 11:46:55 +00:00
Arnaud Boutonné
ef21077b81 create_hugo - Add MSVC9 files
svn-id: r52141
2010-08-17 10:09:50 +00:00
Eugene Sandulenko
06960d33e1 HUGO: Adding engine to the main tree
svn-id: r52137
2010-08-17 09:28:20 +00:00
Florian Kagerer
f4d38ccd40 LOL: added english floppy version
svn-id: r51834
2010-08-07 14:38:07 +00:00
Johannes Schickel
b7aa748dd2 KYRA: Append newline in help string of create_kyradat.
svn-id: r51771
2010-08-05 23:04:57 +00:00
Johannes Schickel
e82194e4c5 KYRA: Fix compilation of create_kyradat.
svn-id: r51769
2010-08-05 22:39:54 +00:00
Florian Kagerer
9c8b465505 KYRA: FM-Towns audio driver rewrite
- FM-Towns euphony driver completely rewritten based on KYRA FM-Towns and LOOM towns disasm.

- Split all the emu and driver code from sound_towns.cpp into different files to make things a bit less confusing.

- Move the driver code to common space since the exact same euphony driver is used by LOOM which means we could get rid of the outdated and incomplete ym2612 driver/emu implementation (which doesn't even do things like instrument loading, pan position, etc). I haven't tried to add this to the Scumm engine yet, since I am not  familiar with it and my priority was to get the driver finished first. But from the look of disasm it shouldn't be difficult to do.

- Introduce a generic FM-Towns audio interface based on FM-Towns system file disasm which was necessary for the euphony driver rewrite. Every FM-Towns game I have seen so far seems to access the audio hardware via these system functions. This interface implementation will also allow reasonably simple creation of new FM-Towns audio drivers (e.g. this could be used for Kings Quest 5 FM-Towns or others).

- Move the PC98 driver to common space, too, since I have a strong feeling that this driver is also used in the PC98 version of Future Wars

- This also improves KYRA FM-Towns music quality, sound effects accuracy and music fading.

svn-id: r51645
2010-08-02 18:30:25 +00:00
Thierry Crozat
575d38f602 i18n: Adding Spanish and Ukrainian translations
svn-id: r51596
2010-08-01 21:41:43 +00:00
Johannes Schickel
f2838316cb create_msvc: Fix SCUMMVM_LIBS support for MSVC2010.
svn-id: r51595
2010-08-01 21:30:15 +00:00
Thierry Crozat
1c6b339bbc i18n: use user friendly language names in GUI
The GUI now uses the content of the Language field from the po file
header if it is present and not empty for the language selection
PopupWidget. If not present it uses the file name as before (e.g.
ru_RU).

Also update all the translation template and all the translation files.

svn-id: r51542
2010-07-31 15:46:43 +00:00
Johannes Schickel
0e5aa06db0 TOOLS: Formatting fixes.
svn-id: r51216
2010-07-23 19:20:28 +00:00
Johannes Schickel
824a3c3ca1 TOOLS: Preliminary SCUMMVM_LIBS support for msvc8/9.
Currently %(SCUMMVM_LIBS)/bin is not added to the executable path, since I can not find any easy way to do that. The libs and include setting should be fine though.

svn-id: r51214
2010-07-23 19:06:38 +00:00
Johannes Schickel
deef8bb650 TOOLS: Fix MSVC 2010 project files.
Formerly the MSVC 2010 project files did not respect the global include/library/executable directories of the user, but used custom paths for that. This resulted in headers and libraries not be found by the MSVC, in case they were not stored in %(SCUMMVM_LIBS).

Additionally it overwrote the executable MSVC used when compiling for x64, thus breaking the x64 target.

svn-id: r51213
2010-07-23 18:42:54 +00:00
Max Horn
0b48a71c99 Remove PalmOS port
svn-id: r50964
2010-07-17 18:41:38 +00:00
Johannes Schickel
9522e68f76 Whops. Also now properly add Matteo's nickname to our credits.
svn-id: r50824
2010-07-12 15:53:24 +00:00
Johannes Schickel
9644e7fe5f Properly add Matteo Angelino to our credits for his Italian translation.
svn-id: r50822
2010-07-12 15:50:48 +00:00
Johannes Schickel
ac268edafb Consistently use "MT-32" as short name of the Roland MT-32 in our GUI and credits files.
svn-id: r50821
2010-07-12 15:50:23 +00:00
Travis Howell
be399485cd Add Nintendo Wii (PAL) versions of Freddi Fish: Kelp Seed Mystery.
svn-id: r50367
2010-06-27 05:30:18 +00:00
Johannes Schickel
ce111a39df Add flag to set USE_DETECTLANG in create_msvc.
svn-id: r50350
2010-06-26 22:45:53 +00:00
Jordi Vilalta Prat
4102b4a682 GUI: Add the catalan translation
svn-id: r50327
2010-06-26 15:59:06 +00:00
Max Horn
7d4d58bab4 SCUMM: Set some more detection file sizes
svn-id: r50270
2010-06-25 16:08:34 +00:00
Thierry Crozat
dfd8ecc55c Gives proper credits for the Hungarian translation. Also remembered to update the website credits this time (it was also missing the Android credits by the way).
svn-id: r50251
2010-06-24 22:56:32 +00:00
Thierry Crozat
ff47de5cd1 Add credits for the translations.
svn-id: r50248
2010-06-24 22:37:30 +00:00
Johannes Schickel
17a96b3bd2 Yet another slight variable renaming to match our conventions.
svn-id: r50242
2010-06-24 22:00:45 +00:00
Johannes Schickel
968e10795f Do not include any headers from common/messages.cpp, since that file might be included into an namespace.
svn-id: r50241
2010-06-24 22:00:20 +00:00
Johannes Schickel
a5fb4fec2e Some more cleanup of po2c's output.
svn-id: r50240
2010-06-24 21:59:50 +00:00
Johannes Schickel
63cab52b85 Adapt po2c's output to better mach our code formatting conventions.
Along with it I added a suffix "-scummvm" to the version variable,
since we also feature some custom extensions like the charset
specification.

svn-id: r50239
2010-06-24 21:59:27 +00:00
Johannes Schickel
c96991d991 Added some consts to the output of tools/po2c.
svn-id: r50238
2010-06-24 21:59:03 +00:00
Max Horn
5b24d39cdd SCUMM: Specify various file sizes of detection files
svn-id: r50151
2010-06-22 16:10:16 +00:00
Max Horn
90a1d7c609 SCUMM: Add Japanese FOA CD version from tracker #3017219
svn-id: r50149
2010-06-22 16:09:27 +00:00
Max Horn
3a2cd87c45 Add '2gs' to tools/md5table.c (this is used in tools/scumm-md5.txt, but was not added to the tool)
svn-id: r50148
2010-06-22 16:08:57 +00:00
Johannes Schickel
3f9bb1e9b0 Fix some warnings inside make-scumm-fontdata.c
svn-id: r49888
2010-06-15 19:26:14 +00:00
Johannes Schickel
a8598767c6 Fix some warnings inside convbdf.c
svn-id: r49887
2010-06-15 19:25:45 +00:00
Johannes Schickel
a6fc45b29b Add translation feature support in create_msvc.
svn-id: r49886
2010-06-15 19:21:20 +00:00
Eugene Sandulenko
859212df25 Implement translation support for ScummVM GUI.
Based on patch #2903830: "Updated Translation Prototype" by alexbevi
which in turn is based on patch #1739965 by jvprat.

Currently it builds all translations right into ScummVM. Once the
feature will be accepted more widely, i.e. more translations will
pop up, it will be trivial to move translation strings to external
file.

Finished translation: Russian
Unfinished translation: Hungarian

Things which are nice to do:
 - Language code -> language mapping for more user friendness
 - Specifying fonts to be used with language
 - Updating of interface language without restart. It will require
   moving of much code to reflowLayout() methods for each dialog

The .po files must be in single byte encodings. I.e. no support
for Unicode.

svn-id: r49759
2010-06-15 10:44:51 +00:00
Max Horn
48cfc94421 Add Gus to credits, update README & NEWS
svn-id: r49454
2010-06-06 13:36:55 +00:00
Max Horn
46155b2c36 Add Android backend from patch #2603856
svn-id: r49449
2010-06-06 09:34:36 +00:00
Filippos Karapetis
2c6ea824ec Reverted commit #49107 - it is pointless to keep silencing this warning (which is, in fact, correct)
svn-id: r49225
2010-05-26 06:44:07 +00:00
Eugene Sandulenko
19f369fe3b Added Russian Windows release of puttmoon
svn-id: r49183
2010-05-24 13:22:52 +00:00
Eugene Sandulenko
c8584b7a82 Fix warnings
svn-id: r49182
2010-05-24 13:20:35 +00:00
Eugene Sandulenko
35b3c3c083 Fix compilation under MinGW
svn-id: r49181
2010-05-24 13:18:00 +00:00
Eugene Sandulenko
f9217ec031 Added Russian airport and farm. Needs more work as crashes at attempt to opening some dictionary entries with Cyrillic characters
svn-id: r49176
2010-05-24 07:47:07 +00:00
Filippos Karapetis
b0ac5ee897 Disabled probably false positive warning 4121 (alignment of a member was sensitive to packing) in mohawk
svn-id: r49107
2010-05-19 17:19:51 +00:00
Filippos Karapetis
db3fc7a89e Added missing single quote
svn-id: r49091
2010-05-19 06:53:47 +00:00
Eugene Sandulenko
95b1c13eae formatting
svn-id: r49090
2010-05-19 05:42:14 +00:00