aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kgraphics.cpp
AgeCommit message (Collapse)Author
2010-09-15SCI: Some very early work on kRemapColors (just comments/observations for now)Filippos Karapetis
svn-id: r52733
2010-09-09SCI: kIsOnMe is kOnMe, merge both into kIsOnMeMartin Kiewitz
and map kOnMe for SCI2 to kIsOnMe, remove commented out hacks. fix signatures for those 2 functions, added TODO - someone should fix the SCI32 signatures svn-id: r52664
2010-09-09SCI: Cleanup kWinHelp's dialog handlingMatthew Hoops
Don't display the message twice and now we use the filename in the message. svn-id: r52663
2010-09-09SCI: Kernel table changesFilippos Karapetis
- Added the kernel names for all unimplemented kernel debug functions, and mapped them all to kDummy, so that the kernel tables are correct and all kernel functions are mapped (useful for debugging) - Added a stub for kWinHelp (normally opens an external Windows help file), with an appropriate dialog - Added a stub for kWinDLL, which currently errors out on purpose (this needs to be investigated, as it loads and uses external Windows DLLs) - Readded kListIndexOf in kList (the signature was wrong when the previous commit was made) svn-id: r52660
2010-09-09SCI: SCI2/2.1 kernel table changesFilippos Karapetis
- Mark several SCI2/2.1 kernel functions used for debugging as dummy - Added an empty function for kSetWindowsOption, used for settings specific to Windows versions (e.g. showing/hiding the title bar) - Added a stub for kGetWindowsOption (currently returning 0 to a Windows related option for Phantasmagoria) svn-id: r52652
2010-09-09SCI: adding text code reference supportMartin Kiewitz
fixes glossary in pepper, bug #3040039 svn-id: r52651
2010-09-08SCI: ability to change r_acc within DrawControlMartin Kiewitz
preparation for returning rect array on |r| textcodes svn-id: r52642
2010-09-04SCI: removing non-sierra sci code in kDirLoopMartin Kiewitz
svn-id: r52515
2010-09-03SCI: kDirLoop freshly reversedMartin Kiewitz
svn-id: r52510
2010-08-29SCI: adding virtual lists for qfg-import roomsMartin Kiewitz
now lists import files of all possible games, adds game title before that, removes game prefixes for all files svn-id: r52441
2010-08-22SCI: Fixed bug #3048908 - "PQ3EGA: Wrong speech bubble background colors" ↵Filippos Karapetis
and added a FIXME inside kGraphDrawLine svn-id: r52291
2010-08-22SCI: Reimplemented the kShow kernel command, used by the inbuilt SCI ↵Filippos Karapetis
debugger. There is no real need to implement kernel debug commands, but since this one maps almost directly to our own "show" debug command, it has been reimplemented (was removed in rev #45310). Normally, there is no real need to implement kernel functions for debug functionality, since there are advanced tools for this purpose nowadays (plus, ScummVM's debugger). Fixes bug #3050616 - "QFG1 EGA: priority/control/view functions crash, debug mode" svn-id: r52281
2010-08-17SCI: added a wrapper for GUI::MessageDialogFilippos Karapetis
svn-id: r52171
2010-08-11SCI: fixing kGraphFillBoxAny implementationMartin Kiewitz
working now like in sierra sci, when using priority/control - fixes pepper adventures in time - no failure screen - bug #3040185 cleanup of GfxPaint16::fillRect svn-id: r51994
2010-08-02SCI: only display qfg-import information dialog onceMartin Kiewitz
per room usage svn-id: r51664
2010-08-02SCI: Rewrap overlong lines; improve dialog text slightlyMax Horn
svn-id: r51641
2010-08-02SCI: fixing typoMartin Kiewitz
svn-id: r51614
2010-08-02SCI: qfg2/3 importMartin Kiewitz
- change directory button disabled - showing message where to put characters, if saved from original sci interpreter svn-id: r51613
2010-08-01SCI: Move kernelShakeScreen to GfxScreen so it can be used in SCI32 (it's ↵Matthew Hoops
used in GK1) svn-id: r51583
2010-07-30SCI: adding workaround for kSetCursor kq5cdMartin Kiewitz
adding comments as well svn-id: r51510
2010-07-30SCI: arguments of mag-kSetCursor documentedMartin Kiewitz
adding primitive support to just set the cursor to the required view resource, nothing else implemented yet svn-id: r51501
2010-07-30SCI: cleaning up kSetCursorMartin Kiewitz
showing warning about unsupported mag-cursor when argc = 10 is used removing argc = 9 support, must have been a script bug somewhere svn-id: r51500
2010-07-30SCI: Updated some comments related to Freddy Pharkas and silenced warning ↵Filippos Karapetis
for kDoAudio subop 13 svn-id: r51499
2010-07-30SCI: Added a case for 10 params inside kSetCursorSci11(), thus fixing the ↵Filippos Karapetis
crash from bug #3034973 - "PHARKAS: Crash early in game' svn-id: r51497
2010-07-27SCI: implemented kPalette(save/restore)Martin Kiewitz
svn-id: r51381
2010-07-26SCI: implement scaling for kDrawCelMartin Kiewitz
fixes qfg4 demo properly (bug #3034506, previous commit r51304) svn-id: r51332
2010-07-26SCI: changing CRLF to LFMartin Kiewitz
svn-id: r51331
2010-07-26SCI: reverting r51304, broke kq6 hiresMartin Kiewitz
svn-id: r51329
2010-07-26SCI: adding workaround for island of dr. brainMartin Kiewitz
room 290 elevator puzzle, solves bug #3034485 svn-id: r51319
2010-07-26SCI: Fixed bug #3034506, "QFG4 Demo: kPalette Subfunction Sig Mismatch", ↵Filippos Karapetis
plus another sig mismatch on kDrawCel later on, when Dr. Cranium talks svn-id: r51304
2010-07-25SCI: adding kAddPicAt dummyMartin Kiewitz
svn-id: r51283
2010-07-25SCI: adding separate kCantBeHere32 (stub)Martin Kiewitz
svn-id: r51273
2010-07-24SCI: adding kOnMe transparency supportMartin Kiewitz
and disabling speed throttler for poor clones computer :P fixes some hotspots in gk1 only supposed to react on actual pixel clicks svn-id: r51255
2010-07-24SCI: removing sci32 gfx debug messagesMartin Kiewitz
svn-id: r51254
2010-07-24SCI: cache Planes for sci32Martin Kiewitz
svn-id: r51249
2010-07-24SCI: kCelWide/kCelHigh now adjust on hires viewsMartin Kiewitz
somewhat fixes gk1 hires inventory issue svn-id: r51245
2010-07-24SCI: removing some debug stuff from sci32 gfxMartin Kiewitz
svn-id: r51244
2010-07-23SCI: support kSetCursorSci11(-2)Martin Kiewitz
svn-id: r51202
2010-07-22SCI: kSetCursor works the same in sci16Martin Kiewitz
(coordinates are not a regular Rect, but bottom/right is the last allowed coordinate) svn-id: r51177
2010-07-22SCI: Some slight work on robot filesFilippos Karapetis
svn-id: r51176
2010-07-22SCI: kSetCursor change for sci32Martin Kiewitz
we use the movezone like any other rect, but sierra sci actually specifies bottom/right as being the last possible coordinates svn-id: r51174
2010-07-22SCI: sci2+ has a different kSetCursor orderMartin Kiewitz
fixes gk1 mouse cursor issue thx to wjp svn-id: r51168
2010-07-21SCI: Moved all the video related functions in a separate fileFilippos Karapetis
svn-id: r51110
2010-07-21SCI: Moved the SCI32 kernel functions out of kernel32.cpp and into their ↵Filippos Karapetis
respective files svn-id: r51108
2010-07-21SCI: r51104 adding #ifdef and check for hiresMartin Kiewitz
pq4cd is probably low-res, so adding check for hires and adding #ifdef as well svn-id: r51106
2010-07-21SCI: halfing kCelWide for sci2.1Martin Kiewitz
fixes lsl6 inventory icon placement, ffs. see comments svn-id: r51104
2010-07-17SCI: removing kSetPort 4 argument support from r44938, which was wrong - ↵Martin Kiewitz
adding workaround for lsl6 ending - fixes lsl6 ending svn-id: r50967
2010-07-15SCI: solved lsl1 casino door, lsl6 tram disappearing and qfg1 vga gate issue ↵Martin Kiewitz
- i hope this won't cause regressions, but calling the method in collision case is definitely wrong svn-id: r50921
2010-07-15SCI: r50919 had some temporary test code in it, removing that so it really ↵Martin Kiewitz
returns the actual "problem" svn-id: r50920
2010-07-15SCI: some big changes to kCantBeHere - kCantBeHere returns the actual ↵Martin Kiewitz
"problem" instead of being a plain boolean - part of solving lsl1 casino door / qfg1vga gate svn-id: r50919