aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2010-06-27SCI: Removed the hack for loading games from the launcher from run_vm(). ↵Filippos Karapetis
This is now done on startup. This should fix loading from the launcher for LSL6 svn-id: r50406
2010-06-27SCI: tell midiparser that he lost ownership of channels in case we take them ↵Martin Kiewitz
away svn-id: r50405
2010-06-27CleanupFilippos Karapetis
svn-id: r50404
2010-06-27Cleanup, remove unused/obsolete codeFilippos Karapetis
svn-id: r50403
2010-06-27Made the script initialization/uninitialization methods part of the segment ↵Filippos Karapetis
manager svn-id: r50402
2010-06-27SCI: resetting curPos as well when mixing sound resourcesMartin Kiewitz
svn-id: r50401
2010-06-27Escape a "?" character to prevent "??)" to be interpreted as trigraph and ↵Johannes Schickel
thus becoming "]". svn-id: r50399
2010-06-27SCI: Made the code for initializing script classes, objects and locals part ↵Filippos Karapetis
of the Script class svn-id: r50398
2010-06-27SCI: adding alias for vmvars ("vv") and vmvarlist ("vl")Martin Kiewitz
svn-id: r50397
2010-06-27SCI: Moved all the script-related code inside script.cpp/.h, and all script ↵Filippos Karapetis
opcode-related code inside vm.cpp/.h svn-id: r50396
2010-06-27SCI: added additional output to vmvars commandMartin Kiewitz
svn-id: r50395
2010-06-27i18n: Sync all translation with sourcesEugene Sandulenko
svn-id: r50394
2010-06-27i18n: Update Russian translationEugene Sandulenko
svn-id: r50393
2010-06-27Silenced a false positive in MSVC about a potentially uninitialized variableFilippos Karapetis
svn-id: r50392
2010-06-27SCI: added alias for bplist ("bl") and bpdel ("bc"), added capability of ↵Martin Kiewitz
deleting all breakpoints by using "bc *" svn-id: r50391
2010-06-27SCI: Separated the code for initializing script classes from the code for ↵Filippos Karapetis
initializing script objects svn-id: r50390
2010-06-27SCI: removing debug command "set_acc", use "vmvars a" insteadMartin Kiewitz
svn-id: r50389
2010-06-27SCI: added new command "p" / "stepover" to execute one command, but skip ↵Martin Kiewitz
send/calls processing. single-step is now "trace" (alias "s" and "t"), stepping till ret is "step_ret" (alias "pret"), removed unused kDebugSeek svn-id: r50388
2010-06-27SCI: fixing regression from one of the mergesMartin Kiewitz
svn-id: r50387
2010-06-27Add italian translation from the patch tracker (#3022046) and update credits.Thierry Crozat
svn-id: r50386
2010-06-27SCI: filter out set signal commands from midi streams, if they happen at ↵Martin Kiewitz
ticker 0. fixes castle daventry getting removed immediately in kq5 french/mac svn-id: r50385
2010-06-27GUI: and another fix for the music device popupFlorian Kagerer
svn-id: r50384
2010-06-27Fixed GCC warnings. (Same warning twice, actually.)Torbjörn Andersson
svn-id: r50383
2010-06-27GUI: fix music device popup (thanks to clone2727 for reporting)Florian Kagerer
svn-id: r50382
2010-06-27Update the french translation.Thierry Crozat
svn-id: r50381
2010-06-27SCI: now showing kernel call name when argument signature check failsMartin Kiewitz
svn-id: r50380
2010-06-27Turned the error when failing to locate an invalid object back to a warning ↵Filippos Karapetis
(KQ5 French has an invalid object in script 202) svn-id: r50379
2010-06-27SCI: debug command vmvars - adding acc supportMartin Kiewitz
svn-id: r50378
2010-06-27GUI: Copy over fonts from the vendor branch, so they will lay next to the GUI.Eugene Sandulenko
It will be used for future support of locale-dependent fonts. svn-id: r50377
2010-06-27SCI: Fix for large views in GK2. At least it does not segfault now.Lars Skovlund
svn-id: r50376