Commit Graph
86814 Commits
Author SHA1 Message Date
Paul Gilbert 5f2c184e4e Changed reading of sprite frame depths to signed bytes - this fixes the problem with the Slippery Pig not showing up in the landing scene in the intro sequence
svn-id: r50492
2010-06-29 11:26:48 +00:00
Paul Gilbert c1176498f1 Removed the old hardcoded calls to loadDSRFile
svn-id: r50491
2010-06-29 11:15:21 +00:00
Paul Gilbert 841356ac80 Added loading of the correct DSR file at the start of each animation scene
svn-id: r50490
2010-06-29 11:09:33 +00:00
Paul Gilbert eb4a48bfd9 Reserved palette ranges used by on-screen messages
svn-id: r50489
2010-06-29 10:52:59 +00:00
Paul Gilbert b91ba9c56e Bugfixes to reading in the animation font name correctly, as well as converted some Common::String usage to char buffers to fix incorrect String usage
svn-id: r50488
2010-06-29 10:40:24 +00:00
Martin Kiewitz f75a6a6f47 SCI: print out actual and supposed parameter types when having a kernel call signature mismatch
svn-id: r50487
2010-06-29 10:39:13 +00:00
Filippos Karapetis 0b470dde63 SCI: Some cleanup of the GC code.
The version of push() that pushes arrays inside WorklistManager has been renamed to pushArray(), so that it's more apparent where arrays are pushed.

svn-id: r50486
2010-06-29 09:02:59 +00:00
Filippos Karapetis 316e96df2b SCI: Removed reg_t_EqualTo, since reg_t already defines an equals operator
svn-id: r50485
2010-06-29 09:01:17 +00:00
Filippos Karapetis 9f1320d5cc SCI: Made the SoundCommandParser a member of the SciEngine class and removed it from the EngineState, since it's static throughout the course of a game
svn-id: r50484
2010-06-29 09:00:08 +00:00
Robert Špalek 5e030bebcc enable reading ZIP archives even without USE_ZLIB
our module unzip.cpp can read uncompressed ZIP archives even without zlib.  if some of the files
inside are compressed and zlib is not linked in, an error is returned.

svn-id: r50483
2010-06-29 06:38:00 +00:00
Robert Špalek 02fb3f88e2 unzip.cpp can read uncompressed ZIP archives even when zlib is not linked in
svn-id: r50482
2010-06-29 06:33:31 +00:00
Alejandro Marzini afd2a2c01d Renamed Samsung TV SDL Event Manager class and file for constancy, and added initialization for it on Samsung TV backend.
svn-id: r50481
2010-06-29 05:00:44 +00:00
David Turner 59f4c903a6 GOB : Adding workaround for Bug #3018918 UOTODDV Reload Goblin Stuck Issue.
This was present in the original interpreter.

svn-id: r50480
2010-06-29 03:53:06 +00:00
Matthew Hoops 48a107b821 Update comment on CD swapping in Riven.
svn-id: r50479
2010-06-29 03:04:08 +00:00
Matthew Hoops 146cc7cb3c Silence a valgrind warning.
svn-id: r50478
2010-06-29 03:00:53 +00:00
Matthew Hoops 79aa49a509 Fix the load game dialog in Riven DVD's menu, borrowed from Parallaction.
svn-id: r50477
2010-06-29 02:55:31 +00:00
Matthew Hoops cd5546f1d1 Override setupIcon() for both Mac OS X and SymbianOS, they have their own icons.
svn-id: r50476
2010-06-29 01:59:10 +00:00
Alejandro Marzini 06290230d5 Updated makefile. Fixed compile errors.
svn-id: r50475
2010-06-29 01:21:30 +00:00
Alejandro Marzini fd77e4b09c Modularized Linuxmoto port.
svn-id: r50474
2010-06-29 01:08:36 +00:00
Johannes Schickel 36e583944f Return "0" in case no device was detected in MidiDriver::detectDevice.
svn-id: r50473
2010-06-29 00:38:06 +00:00
Johannes Schickel a254d29741 Yet another slight fix for the fallback detection.
Before in case MDT_PREFER_MT32 nor MDT_PREFER_GM was specified
the code used "auto" as key name for ConfMan.get, instead of
passing "auto" directly to getDeviceHandle.

svn-id: r50472
2010-06-29 00:30:16 +00:00
Johannes Schickel 19abacc77a Fix fallback detection code in MidiDriver::detectDevice.
It formerly only used the global "mt32_device" and "gm_device"
values, but we also allow game specific values, thus we take
that into account now.

Also formerly the the check for the first available MT32/GM
device only used the device handle of the mt32_device/gm_device
instead of the list of devices it iterates over. Fixed that too.

Last but not least that whole detection code looks strange to me,
it seems we only use mt32_device and gm_device for fallback
detection, at least when the music_driver matches it will always
be used. So I wonder why we have those at all?

svn-id: r50471
2010-06-29 00:29:57 +00:00
Johannes Schickel 5c424cfb41 Fix detection of invalid music drivers specified via command line.
Along with it documented that "0" is a special device handle
for the invalid device. Now getDeviceHandle returns 0, when
the identified device could not be found.

Also getMusicType now returns MT_INVALID (newly introduced),
when a non existing device was specified.

svn-id: r50470
2010-06-29 00:29:35 +00:00
Johannes Schickel 876b6a5006 Prevent "music-driver" to be set to "" on startup.
This is a regression from r50158:
"LAUNCHER: hopefully fixed music driver selection via command line".

The problem here was that the code used operator[] of HashMap
to check whether "music-driver" was specified on command line,
but that on the other hand inserted a (key, value) pair with
a default constructed Common::String as value.

svn-id: r50469
2010-06-28 23:59:43 +00:00
Johannes Schickel 23fa2296c3 Fix regression from r50382, which triggered an assert when clicking "OK" in the GMM's options dialog.
The problem here is that our ConfigDialog uses "" as domain name,
this will result in the assert in common/config-manager.cpp:323
getting triggered, when using ConfMan.removeKey.

Since setting the domain to the game's domain does not seem save
according to the FIXME in gui/dialogs.cpp about this domain hackery,
I decided to adapt the OptionsDialog to only call ConfMan.removeKey
for "music_driver" etc., when the music driver widgets are present.
This is consistent with the over uses of removeKey in
OptionsDialog::close too.

svn-id: r50468
2010-06-28 23:41:43 +00:00
Tony Puccinelli 54531aaf98 reimplemented DLObject::open
svn-id: r50467
2010-06-28 23:34:06 +00:00
Martin Kiewitz 15f9f37d4d SCI: removing ignoring of channel volume change code from r50463, the lsl5 issue was actually caused by the old volume adjust code that was also causing the issues in gk1
svn-id: r50466
2010-06-28 22:26:28 +00:00
Martin Kiewitz 668d820afd SCI: its lsl5 sound resource 294, not 274 (changed comment only)
svn-id: r50465
2010-06-28 22:14:03 +00:00
Filippos Karapetis ee6aebc780 Don't initialize graphics again when loading
svn-id: r50464
2010-06-28 22:08:46 +00:00
Martin Kiewitz 805374ff4e SCI: ignoring set signal on tick 0 directly in parseNextEvent instead of filtering, also now ignoring channel volume changes on tick 0 (fixes lsl5 fading of sound 274, almost at the end), fixing also fading in gk1 and enabling fading in sci32 again
svn-id: r50463
2010-06-28 22:06:19 +00:00
Filippos Karapetis 58732b9df1 SCI: More changes to the code for loading from the launcher
- Added support for the LSL2 menu bar object
- We no longer need a reference to the init() selector - it's always the first method of the menu bar object

svn-id: r50462
2010-06-28 22:01:26 +00:00
Thierry Crozat 32a192b79a Update German translation.
svn-id: r50461
2010-06-28 21:56:25 +00:00
Filippos Karapetis 0b33cc0dab Fixed loading of saved games from the launcher
svn-id: r50460
2010-06-28 20:58:32 +00:00
Neeraj Kumar e022dd7013 added template code for testing events
svn-id: r50459
2010-06-28 20:55:28 +00:00
Alejandro Marzini 494755cc36 Renamed BufferingSDLMixerManager to DoubleBufferSDLMixerManager.
svn-id: r50458
2010-06-28 20:41:08 +00:00
Filippos Karapetis 438e670166 Applied patch #3022511 - "qfg4 detection cleanup"
svn-id: r50457
2010-06-28 20:31:30 +00:00
Martin Kiewitz d8e4160f34 SCI: remove clipping of volume inside SciMidiParser::setvolume
svn-id: r50456
2010-06-28 20:17:43 +00:00
Neeraj Kumar e3806003ed completed the datetime/timer/mutex tests
svn-id: r50455
2010-06-28 18:14:16 +00:00
Martin Kiewitz 473c429b5c SCI: updated comment about transparent pixels in views
svn-id: r50454
2010-06-28 18:10:21 +00:00
Martin Kiewitz bc77740306 SCI: kAnimate resetting _lastCastCount all the time
svn-id: r50453
2010-06-28 18:07:40 +00:00
Florian Kagerer a0f42b07ce KYRA: change audio detection flags setting (since most users don't own a real mt-32/lapc1/cm32l/cm64 device and our emulator is incomplete)
svn-id: r50452
2010-06-28 17:03:04 +00:00
Martin Kiewitz 06648cb186 SCI: fix regression of r50422, please no refactoring without proper testing - fixes animations in all sorts of games
svn-id: r50451
2010-06-28 16:56:15 +00:00
Martin Kiewitz e857cc623e SCI: added comment - lsl5 also has too large windows
svn-id: r50450
2010-06-28 16:35:20 +00:00
Martin Kiewitz 0a58cdb6e9 common console: also show prompt, if the engine wrote onto gui console since last call - fixes sci breakpoints
svn-id: r50449
2010-06-28 16:09:54 +00:00
Eugene Sandulenko 0e7ccb896d i18n: Add support for locale-dependent fonts
Currently it ws not decided where to put fonts, but if you put BDF files into
themepath, they will get picked up.

The font name has to contain same codepage specification as in the .po file,
i.e. fixed5x8-iso-8859-5.bdf for Cyrillic codepage. In case the font does not
exist, default will be used.

All built in fonts get proper names.

TODO: Currently there is a bug with our font cacher. Font clR6x12-iso-8859-5
is empty after loading from FCC file. Reason is unknown.

svn-id: r50448
2010-06-28 15:17:10 +00:00
Martin Kiewitz 8410dbab53 SCI: stupid oversight fix r50446, too hot here :P
svn-id: r50447
2010-06-28 14:49:54 +00:00
Martin Kiewitz 66fb9e7a90 SCI: fixing valgrind issue in Script::initialiseClasses thx to wjp for valgrind testing
svn-id: r50446
2010-06-28 14:46:28 +00:00
Martin Kiewitz 6402d64419 SCI: cleanup of execstack, output of backtrace slightly modified, is now also displaying local calls and exports
svn-id: r50445
2010-06-28 14:21:56 +00:00
Neeraj Kumar ef1ba0ea15 added code to test timers and mutexes, some issues with mutexes present although
svn-id: r50444
2010-06-28 12:58:14 +00:00
Max Horn 9b4406fd35 SCI: Some more GC cleanup
svn-id: r50443
2010-06-28 12:55:47 +00:00