Commit Graph

40296 Commits

Author SHA1 Message Date
Arnaud Boutonné
a484a99e9f GOB: Avoid a crash in the protection screen of Fascination (PC).
When failing the protection check, the script of the PC version was writing on purpose everywhere in the memory to hang the computer. This resulted in a crash in Scummvm, fixed by this workaround. (Tested on the 256 Col version french and german)

svn-id: r52316
2010-08-24 06:25:08 +00:00
Martin Kiewitz
e93eaa0d95 SCI: some more work on replacing restore dialog
svn-id: r52314
2010-08-23 23:04:07 +00:00
Thierry Crozat
8c08e6e80c I18N: Do not translate 'English' in the language selection PopUpWidget.
svn-id: r52313
2010-08-23 22:46:05 +00:00
Martin Kiewitz
0c5561105c SCI: storing game super class address now inside SciEngine
svn-id: r52311
2010-08-23 20:29:13 +00:00
John Willis
edea88cf54 dingux: Add standard ScummVM copyright headers to the dingux backend.
svn-id: r52309
2010-08-23 19:49:51 +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
Martin Kiewitz
45a87ffe3f SCI: some work on replacing sierra restore dialog
svn-id: r52305
2010-08-23 19:10:06 +00:00
Matthew Hoops
9f5f27b42e MOHAWK: Fix xgwatch in the DVD version, which uses sounds in a different location
svn-id: r52302
2010-08-23 17:01:33 +00:00
Martin Kiewitz
7b8add291e SCI: multiple changes for mother goose vga
which is sci1 and sci1.1
fixes bug #3051145
- separating this mother goose from ega and sci2.1
- adding workaround when restoring saved games in these games, games try to calculate restored savedgameid instead of looking it up, we patch this code out and also set the global to the current savedgameid
- adding workaround for scripts checking savedgameid to be below 13 (our savedgameids begin at 100 now)
- changing official range for savedgameids from 1000->1999 to 100->199, otherwise mother goose would have required much larger patches and this range should be fine even if we replace savedgame dialogs later

svn-id: r52301
2010-08-23 16:33:19 +00:00
Matthew Hoops
c1e63b55e4 MOHAWK: Print the rect of the hotspot in the 'hotspot' command too
svn-id: r52300
2010-08-23 14:41:25 +00:00
Martin Kiewitz
d6fc42ebc9 SCI: slightly changing msecs for scrolling
svn-id: r52299
2010-08-23 13:57:00 +00:00
Filippos Karapetis
23d4177d20 SCI: Check for EOF and errors when reading from a file. Fixes bug #3049360 - "SCI: Bug in file read/write operations"
svn-id: r52298
2010-08-23 12:56:41 +00:00
Willem Jan Palenstijn
eeff13d747 SCI: Fix whitespace
svn-id: r52297
2010-08-23 10:18:06 +00:00
Max Horn
db7e69b258 CONFIG: Always sort 'scummvm' and keymapper domains first
svn-id: r52296
2010-08-23 10:00:40 +00:00
Max Horn
7a125f85fe SCUMM: cleanup
svn-id: r52295
2010-08-23 10:00:19 +00:00
Filippos Karapetis
f960f5da23 SCI: Fixed bug #3051163 - "MOTHERGOOSE: Crash at the very end" and merged 2 SQ6 workarounds
svn-id: r52294
2010-08-23 08:29:16 +00:00
Matthew Hoops
8d0b207dd5 MOHAWK: Add initial work for the dome sliders
While the sliders cannot move yet, the game now knows if the puzzle is complete and whether you're over a slider or not. Drawing the sliders and moving the sliders will come next.

svn-id: r52292
2010-08-23 04:14:30 +00:00
Filippos Karapetis
542711cea7 SCI: Fixed bug #3048908 - "PQ3EGA: Wrong speech bubble background colors" and added a FIXME inside kGraphDrawLine
svn-id: r52291
2010-08-22 23:55:29 +00:00
Arnaud Boutonné
704ee45b98 GOB - Suppress debug comments
svn-id: r52290
2010-08-22 23:21:48 +00:00
Filippos Karapetis
11d5f5ac06 SCI: Fixed bug #3050856 - "SQ3 : Crash at intro"
svn-id: r52289
2010-08-22 23:11:55 +00:00
Arnaud Boutonné
c8005dfb75 GOB - Fix 2 bugs in Fascination Hebrew, now playable.
Again, thanks SylvainTV for the debugging efforts

svn-id: r52288
2010-08-22 23:11:29 +00:00
Florian Kagerer
0348ca3e65 SCUMM: fix CD audio regression in Monkey Island 1 DOS/CD
svn-id: r52287
2010-08-22 20:37:48 +00:00
Arnaud Boutonné
4109b40d88 GOB - Add detection for all the languages on Fascination CD
Add detection for Spanish, Italian, German and French

svn-id: r52286
2010-08-22 19:54:12 +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
Matthew Hoops
66f7e4306c SCI: Add uninit'd workaround for the SQ6 demo
svn-id: r52283
2010-08-22 17:55:29 +00:00
Fabio Battaglia
c859395977 NEWS: Mention dingux port
svn-id: r52282
2010-08-22 17:17:53 +00:00
Filippos Karapetis
68f3cc944c SCI: Reimplemented the kShow kernel command, used by the inbuilt SCI debugger. There is no real need to implement kernel debug commands, but since this one maps almost directly to our own "show" debug command, it has been reimplemented (was removed in rev #45310). Normally, there is no real need to implement kernel functions for debug functionality, since there are advanced tools for this purpose nowadays (plus, ScummVM's debugger). Fixes bug #3050616 - "QFG1 EGA: priority/control/view functions crash, debug mode"
svn-id: r52281
2010-08-22 16:30:33 +00:00
Fabio Battaglia
b5cb6b7c98 DINGUX: whitspace commit to start buildbot
svn-id: r52280
2010-08-22 16:07:04 +00:00
Fabio Battaglia
9349bec6db N64: add some comments to code
svn-id: r52277
2010-08-22 14:23:37 +00:00
Fabio Battaglia
c31eba471d N64: small fix to the port readme
svn-id: r52275
2010-08-22 14:15:39 +00:00
Johannes Schickel
5969138eda MP3: Fix seeking.
Formerly we did not read the first chunk of MP3 data after seeking. This
resulted in incorrect sound output in the Freddy Pharkas demo when the
sound was compressed with MP3 for example.

svn-id: r52272
2010-08-22 12:04:44 +00:00
Yotam Barnoy
a503f9223a PSP: switched from stdio to psp functions -- dramatic speed improvement
Turns out that stdio is about 30x(!) slower than using the PSP's functions. Very significant optimization.

svn-id: r52271
2010-08-22 10:48:13 +00:00
Fabio Battaglia
43349a4cbf N64: fix some signed/unsigned int comparison warnings
svn-id: r52270
2010-08-22 09:59:46 +00:00
Matthew Hoops
3677a8a382 SCI: Fix a bug in kFileIOWriteString. The first return statement should go inside the if-statement.
svn-id: r52269
2010-08-22 03:50:42 +00:00
Eugene Sandulenko
c8a9eb9c32 GRAPHICS: Extend Surface::fill() method to support 32bits. Looks ugly
svn-id: r52268
2010-08-21 20:14:46 +00:00
Arnaud Boutonné
5cd3ea41db GOB: Clean up of Fascination code
Move Fascination specific function to appropriate classes, plus some style modifications

svn-id: r52267
2010-08-21 18:16:04 +00:00
Martin Kiewitz
ee6f972247 SCI: improving delaying transitions
should hopefully make them run better on different platforms (some platforms dont update on every updateScreen call, so the transitions worked much faster there (e.g. wii) and some other platforms dont have that much power, so transitions were slower on those)

svn-id: r52266
2010-08-21 17:49:59 +00:00
Johannes Schickel
1a0d7c87d3 Hugo: Some formatting fixes.
svn-id: r52265
2010-08-21 17:27:48 +00:00
Martin Kiewitz
4742b4d728 SCI: now fading color 255 as well in sci1.1
looks better, although sierra didn't do that (examples: qfg3 demo/intro)

svn-id: r52264
2010-08-21 14:54:57 +00:00
Martin Kiewitz
ff24ae66fb SCI: removing debug output from r52259
svn-id: r52263
2010-08-21 14:53:14 +00:00
Fabio Battaglia
882ed43427 N64: Remove some unused variable and silence some signed/unsigned comparison warnings
svn-id: r52262
2010-08-21 14:36:40 +00:00
Johannes Schickel
ff06f0c9d5 i18n: Changed wording of messages about translations.dat file.
svn-id: r52261
2010-08-21 14:05:38 +00:00
Johannes Schickel
7fd7689370 i18n: Formatting fixes.
svn-id: r52260
2010-08-21 13:38:08 +00:00
Martin Kiewitz
864b067f66 SCI: fixing resourcemgr for pharkas/german
pharkas/german has duplicate resource entries inside the main resource files and we used the first ones. This results in half of the game being english and umlauts missing. We now use the last entries, which will fix all those issues (fixes bug #3039551)

svn-id: r52259
2010-08-21 13:36:09 +00:00
Filippos Karapetis
3faae2a831 Reverted part of r52256, it's not really undefined behavior (the two parts of the bitwise OR aren't reading from the same source)
svn-id: r52258
2010-08-21 13:24:09 +00:00
Johannes Schickel
a53d4dde66 i18n: Style fixes.
svn-id: r52257
2010-08-21 13:21:09 +00:00
Filippos Karapetis
d986a78834 SCI: Fixed potentially undefined behavior
svn-id: r52256
2010-08-21 13:03:35 +00:00
Filippos Karapetis
f9d9fe8f12 SCI: Added support for the DEL key
svn-id: r52255
2010-08-21 11:34:19 +00:00
Filippos Karapetis
2c8946f392 SCI: add support for Control-C in earlier SCI games, too
svn-id: r52254
2010-08-21 11:11:54 +00:00