Commit Graph

40319 Commits

Author SHA1 Message Date
Martin Kiewitz
af6492fa45 SCI: some work on replacing save dialog
svn-id: r52341
2010-08-24 13:50:55 +00:00
Johannes Schickel
feff6fecdf KYRA: Cleanup.
svn-id: r52340
2010-08-24 13:41:24 +00:00
Martin Kiewitz
10a1806f32 SCI: fixing const cast warning
making clone happy :D

svn-id: r52339
2010-08-24 13:37:24 +00:00
Filippos Karapetis
83c8ed97e3 TINSEL: Code cleanup, fixed potentially undefined behavior
svn-id: r52338
2010-08-24 13:31:44 +00:00
Johannes Schickel
2d615944fb NEWS: Mention that Kyra3 now supports the original file layout.
svn-id: r52337
2010-08-24 13:11:29 +00:00
Johannes Schickel
c913ffe83f KYRA: Add support for playing KYRA3 from CD.
svn-id: r52336
2010-08-24 13:11:12 +00:00
Johannes Schickel
a551faa8a4 COMMON: Constify directoryGlobs variable in ADParams.
svn-id: r52335
2010-08-24 13:10:48 +00:00
Arnaud Boutonné
a85cb60e00 GOB: Two fixes for the Fascination delay issue.
Add two more workarounds for the delay issue between the storage 
room and the lab. This fixes the PC Floppy Hebrew and german 
versions.

svn-id: r52334
2010-08-24 12:50:12 +00:00
Filippos Karapetis
3082354fa4 TINSEL: Adjusted the commented out music debug code for the latest changes to
the lookup tables

svn-id: r52333
2010-08-24 12:45:19 +00:00
Eugene Sandulenko
663a606602 AGI: Fix bug #3017908: "AGI: No music with the new MIDI patch"
Fixed by performing proper MIDI initialization.

svn-id: r52332
2010-08-24 12:41:56 +00:00
Filippos Karapetis
808e36541e TINSEL: Removed the hardcoded MIDI offset arrays.
MIDI offsets for the enhanced music soundtrack
are now calculated on the fly

svn-id: r52331
2010-08-24 12:27:22 +00:00
Eugene Sandulenko
066174ad75 SCUMM: Change palette for C64 games.
Based on bugreport #2847001: "SCUMM v0: Wrong palette colors". Old
palette is #ifdef'ed for reference.

svn-id: r52330
2010-08-24 12:24:23 +00:00
Yotam Barnoy
9e04bc7643 NEWS: updated with latest PSP changes.
svn-id: r52329
2010-08-24 12:12:23 +00:00
Yotam Barnoy
b88f341b80 PSP: switched to using BufferedSeekableReadStream and BufferedWriteStream
The last PSP optimization made reading much faster, but writing isn't buffered so saving the config file was VERY slow.
I decided the cleanest way to do this would be to add BWS and use BSRS.

svn-id: r52327
2010-08-24 11:24:34 +00:00
Martin Kiewitz
347accf2d7 SCI: dont load target palette when gameIsRestarting != 0
fixes sepia palette getting applied when loading in pharkas (part of bug #3051905)

svn-id: r52326
2010-08-24 11:21:32 +00:00
Yotam Barnoy
efdbb076a2 COMMON: implemented BufferedWriteStream and fixed bug in BufferedReadStream
I need the write buffering for the new version of the PSP streams and thought the simplest way to implement it would be along the lines of BufferedReadStream. Sadly, I found a nasty little bug in BRS but that's taken care of.
Also, I adapted these streams for target-specific memory allocation by using virtual functions for allocation/deallocation.

svn-id: r52325
2010-08-24 11:18:48 +00:00
Eugene Sandulenko
cb93679ea2 TINSEL: Fixed final track mapping to Ench soundtrack.
For some reason it referred to non-existent 3141. Changed it to
correct 3142.

svn-id: r52324
2010-08-24 09:47:04 +00:00
Eugene Sandulenko
95748c07cc TINSEL: Partial fix for MIDI in German release.
Bug #2827022: "DW: Enhanced music doesn't work". This release
has completely different MIDI.DAT file. So far offsets and detection
for this version were added. The mapping has to be confirmed with
James Woodcock.

svn-id: r52323
2010-08-24 09:46:17 +00:00
John Willis
c2ad45a5cf GP2XWIZ: Graphics code cleanup and start to add support for the GP2X Caanoo device.
svn-id: r52321
2010-08-24 09:29:30 +00:00
Martin Kiewitz
b192de5423 SCI: changing signature of kRestoreGame
and changing patch code accordingly

svn-id: r52320
2010-08-24 09:11:53 +00:00
Martin Kiewitz
d828b36d76 SCI: changing maximum slots from 0-999 to 0-99
svn-id: r52319
2010-08-24 09:05:54 +00:00
Martin Kiewitz
d5d8434fd6 SCI: now pausing/unpausing music in replaced restore dialog
dialog will not get replaced in sci32, nor in mother goose. Enable by adding "scireplacedialog" inside scummvm section of scummvm.ini file. Note: this feature is experimental

svn-id: r52318
2010-08-24 09:00:53 +00:00
Martin Kiewitz
f1f24b7b28 SCI: bit more work on restore dialog replacing
(works now, if enabled - but music isn't yet paused)

svn-id: r52317
2010-08-24 08:31:57 +00:00
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