aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2010-06-28SCI: Revise GC interface: use Common::Array<reg_t> instead of callbacksMax Horn
This means a little bit more overhead but makes the code much more readable and understandable. svn-id: r50429
2010-06-28SCI: Make Script member vars private; add const qualifiersMax Horn
Only three Script members remain public (for now) svn-id: r50428
2010-06-28SCI: Change warning back to error in Script::initialiseObjectsSci0Max Horn
Instead of turning the error into a warning globally, we now have code which ignores the error in Script 202 of KQ5 French, but will keep reporting if it turns up in other places. svn-id: r50427
2010-06-28SCI: More formatting cleanupMax Horn
svn-id: r50426
2010-06-28SCI: Cleanup GfxView code (formatting etc.); also insert some asserts to ↵Max Horn
protect scalingX/Y arrays svn-id: r50425
2010-06-28SCI: Optimized GfxScreen::scale2x a bitMax Horn
svn-id: r50424
2010-06-28SCI: Comment cleanupMax Horn
svn-id: r50423
2010-06-28SCI: Remove GfxView::getLoopInfo; add assert to GfxView::getCelInfoMax Horn
The return value of GfxView::getCelInfo was used virtually everywhere without a check for it being non-NULL. Hence instead of returning NULL when the loop count is zero, it makes more sense to assert out (instead of a segfault, or worse, random data being used). svn-id: r50422
2010-06-28SCI: Add const qualifiers to many GfxView methods and their return values.Max Horn
This helps to ensure proper data encapsulation. Also reformatted some overlong comments to 80 chars per line, and fixed some other code formatting issues. svn-id: r50421
2010-06-28SCI: Make src param of GfxScreen::scale2x constMax Horn
svn-id: r50420
2010-06-28SCI: cleanupMax Horn
svn-id: r50419
2010-06-28SCI: set volume all the time, fixes volume being 0 after fading in sci0Martin Kiewitz
svn-id: r50418
2010-06-28SCI: changed the way setVolume works for sci0 back to the way it was from ↵Martin Kiewitz
r50414, because adlib driver doesn't support channel volume changes for sci0 games, fixes fading in those games svn-id: r50417
2010-06-28SCI: added uninit workaround for lsl3 - when accessing set volume menu the ↵Martin Kiewitz
first time sound got muted before (because a uninitialized temp was used to do it, would have been 's' in sierra sci) svn-id: r50416
2010-06-28SCI: reordering and cleanup, removing debug code from sci0 mix-codeMartin Kiewitz
svn-id: r50415
2010-06-28SCI: implementing real setVolume() support, fixing some fading in sci1 games ↵Martin Kiewitz
(like pq3 intro) svn-id: r50414
2010-06-28SCI: regression from implementing channel remapping and r50405 - center ↵Martin Kiewitz
pitch wheels and hold pedal on init instead of unloadMusic(), fixes lsl5 piano scene svn-id: r50413
2010-06-28SCI: separated the graphics initialization code a bitFilippos Karapetis
- Moved all of the graphics initialization code on startup inside initGraphics() - Moved all of the screen initialization (resolution, upscaled graphics etc) code inside GfxScreen() svn-id: r50412
2010-06-28SCI: fix regression of r50405 - sq1vga right at the beginning - scripts are ↵Martin Kiewitz
pausing sound and then sending manually commands afterwards svn-id: r50411
2010-06-28SCI: show arguments on selector invoke breakpoint even when VM_DEBUG_SEND is ↵Martin Kiewitz
not used, but in a compressed fashion svn-id: r50410
2010-06-28Fade palette in/out when entering/leaving a locationRobert Špalek
svn-id: r50409
2010-06-28bugfix for the item fast-switching commitRobert Špalek
svn-id: r50408
2010-06-28Implement shortcuts for switching items in the inventoryRobert Špalek
slash: switch between the last held item and normal mouse comma, period: replace the currently held item with the previous/next item in the inventory Also, commented a bit better what happens when ESCAPE is present with respect to map programs and cut-scenes. svn-id: r50407