aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-06-29Bugfixes to reading in the animation font name correctly, as well as ↵Paul Gilbert
converted some Common::String usage to char buffers to fix incorrect String usage svn-id: r50488
2010-06-29SCI: print out actual and supposed parameter types when having a kernel call ↵Martin Kiewitz
signature mismatch svn-id: r50487
2010-06-29SCI: Some cleanup of the GC code. Filippos Karapetis
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-29SCI: Removed reg_t_EqualTo, since reg_t already defines an equals operatorFilippos Karapetis
svn-id: r50485
2010-06-29SCI: Made the SoundCommandParser a member of the SciEngine class and removed ↵Filippos Karapetis
it from the EngineState, since it's static throughout the course of a game svn-id: r50484
2010-06-29enable reading ZIP archives even without USE_ZLIBRobert Špalek
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-29unzip.cpp can read uncompressed ZIP archives even when zlib is not linked inRobert Špalek
svn-id: r50482
2010-06-29GOB : Adding workaround for Bug #3018918 UOTODDV Reload Goblin Stuck Issue.David Turner
This was present in the original interpreter. svn-id: r50480
2010-06-29Update comment on CD swapping in Riven.Matthew Hoops
svn-id: r50479
2010-06-29Silence a valgrind warning.Matthew Hoops
svn-id: r50478
2010-06-29Fix the load game dialog in Riven DVD's menu, borrowed from Parallaction.Matthew Hoops
svn-id: r50477
2010-06-29Return "0" in case no device was detected in MidiDriver::detectDevice.Johannes Schickel
svn-id: r50473
2010-06-29Yet another slight fix for the fallback detection.Johannes Schickel
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-29Fix fallback detection code in MidiDriver::detectDevice.Johannes Schickel
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-29Fix detection of invalid music drivers specified via command line.Johannes Schickel
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-28Prevent "music-driver" to be set to "" on startup.Johannes Schickel
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-28Fix regression from r50382, which triggered an assert when clicking "OK" in ↵Johannes Schickel
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-28SCI: removing ignoring of channel volume change code from r50463, the lsl5 ↵Martin Kiewitz
issue was actually caused by the old volume adjust code that was also causing the issues in gk1 svn-id: r50466
2010-06-28SCI: its lsl5 sound resource 294, not 274 (changed comment only)Martin Kiewitz
svn-id: r50465
2010-06-28Don't initialize graphics again when loadingFilippos Karapetis
svn-id: r50464
2010-06-28SCI: ignoring set signal on tick 0 directly in parseNextEvent instead of ↵Martin Kiewitz
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-28SCI: More changes to the code for loading from the launcherFilippos Karapetis
- 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-28Update German translation.Thierry Crozat
svn-id: r50461
2010-06-28Fixed loading of saved games from the launcherFilippos Karapetis
svn-id: r50460
2010-06-28Applied patch #3022511 - "qfg4 detection cleanup"Filippos Karapetis
svn-id: r50457
2010-06-28SCI: remove clipping of volume inside SciMidiParser::setvolumeMartin Kiewitz
svn-id: r50456
2010-06-28SCI: updated comment about transparent pixels in viewsMartin Kiewitz
svn-id: r50454
2010-06-28SCI: kAnimate resetting _lastCastCount all the timeMartin Kiewitz
svn-id: r50453
2010-06-28KYRA: change audio detection flags setting (since most users don't own a ↵Florian Kagerer
real mt-32/lapc1/cm32l/cm64 device and our emulator is incomplete) svn-id: r50452
2010-06-28SCI: fix regression of r50422, please no refactoring without proper testing ↵Martin Kiewitz
- fixes animations in all sorts of games svn-id: r50451
2010-06-28SCI: added comment - lsl5 also has too large windowsMartin Kiewitz
svn-id: r50450
2010-06-28common console: also show prompt, if the engine wrote onto gui console since ↵Martin Kiewitz
last call - fixes sci breakpoints svn-id: r50449
2010-06-28i18n: Add support for locale-dependent fontsEugene Sandulenko
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-28SCI: stupid oversight fix r50446, too hot here :PMartin Kiewitz
svn-id: r50447
2010-06-28SCI: fixing valgrind issue in Script::initialiseClasses thx to wjp for ↵Martin Kiewitz
valgrind testing svn-id: r50446
2010-06-28SCI: cleanup of execstack, output of backtrace slightly modified, is now ↵Martin Kiewitz
also displaying local calls and exports svn-id: r50445
2010-06-28SCI: Some more GC cleanupMax Horn
svn-id: r50443
2010-06-28SCI: Turn more warnings into errors.Max Horn
If one of these is triggered for you, you can add an exception to the error, together with a comment explaining why this exception is necessary. Ideally after verifying that the cause is a script bug and not a bug in our code... svn-id: r50442
2010-06-28SCI: Move a few remaining Script methods to engine/script.cppMax Horn
svn-id: r50441
2010-06-28SCI: Clarify docs of GC related SegmentObj methodsMax Horn
svn-id: r50440
2010-06-28SCI: Make various SegManager constMax Horn
svn-id: r50439
2010-06-28SCI: get rid of Script::allocateObjectMax Horn
svn-id: r50438
2010-06-28Fonts: More BDF font renamesEugene Sandulenko
svn-id: r50437
2010-06-28Fonts: Add Russian codepage fonts, renamed existing onesEugene Sandulenko
svn-id: r50436
2010-06-28Remove CRsWillem Jan Palenstijn
svn-id: r50435
2010-06-28SCI: add const again to newWidthMartin Kiewitz
svn-id: r50434
2010-06-28SCI: fix regression of r50424, 2x scalingMartin Kiewitz
svn-id: r50433
2010-06-28Bugfix to properly erase text messages when they expirePaul Gilbert
svn-id: r50432
2010-06-28SCI: More comment rewrappingMax Horn
svn-id: r50431
2010-06-28SCI: Fix DEBUG_GC mode and permanently enable itMax Horn
svn-id: r50430