aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kgraphics.cpp
AgeCommit message (Collapse)Author
2009-10-31- Added some TODOsFilippos Karapetis
- Disabled the kGraph case used in KQ6 Windows for now, as it's problematic and crashes the game - Added extra param to kDrawCel(), used in KQ6 Windows The icon bar in KQ6 Windows is shown a bit better now svn-id: r45567
2009-10-31SCI/newgui: kGraph support for Save-UpscaledHires-Box (not sure if ↵Martin Kiewitz
coordinates are really hires, it seems that they are not) svn-id: r45564
2009-10-30Formatting.Johannes Schickel
svn-id: r45553
2009-10-30Some work on the kPortrait kernel function, used to show hires character ↵Filippos Karapetis
portraits in the Windows CD version of KQ6 svn-id: r45552
2009-10-29CleanupFilippos Karapetis
svn-id: r45506
2009-10-29- Implemented savegame deletion for SQ4 floppyFilippos Karapetis
- Added a more proper way to disable the "Change Directory" button, by checking its name, rather than the string it contains svn-id: r45504
2009-10-29Disable the "Delete" button for all versions of SQ4 floppy, and the "Change ↵Filippos Karapetis
Directory" button for all games (English and non-English versions) svn-id: r45503
2009-10-29SCI/newgui: Defining color white and others in SciGuiScreen and using that. ↵Martin Kiewitz
Also clears screen with 0 on sci1.1 games (needs further investigation), fixes pictures svn-id: r45500
2009-10-28Added a workaround for the casino door in LSL1Filippos Karapetis
svn-id: r45494
2009-10-28SCI/newgui: BaseSetter moved to SciGuiMartin Kiewitz
svn-id: r45480
2009-10-28SCI/newgui: IsItSkip moved into SciGuiMartin Kiewitz
svn-id: r45479
2009-10-28SCI/newgui: CleanupMartin Kiewitz
svn-id: r45478
2009-10-28Fixed the rectangle top inside kBaseSetter()Filippos Karapetis
svn-id: r45466
2009-10-28CleanupFilippos Karapetis
svn-id: r45465
2009-10-28Oops, removed leftover code (z was taken into account after all, but in a ↵Filippos Karapetis
different place...) svn-id: r45464
2009-10-28Rewrote kBaseSetter() to use new graphics functions and behave like the ↵Filippos Karapetis
original, and fixed a bug in the process (the previous code ignored z when calculating the height) svn-id: r45463
2009-10-28Reimplemented isItSkip() using new graphics codeFilippos Karapetis
svn-id: r45461
2009-10-28Enclose all of the old graphics code within the INCLUDE_OLDGFX safeguard ↵Filippos Karapetis
(defined in sci.h) svn-id: r45459
2009-10-25Moved the cel count calculation to the new graphics codeFilippos Karapetis
svn-id: r45379
2009-10-25SCI: kAddToPic - removing support for argc==0 case, if this really gets used ↵Martin Kiewitz
somewhere, we need to set _picNotValid in that case svn-id: r45372
2009-10-23SCI: kAddToPic - abort when list is null reference (fixes qfg1 saved game ↵Martin Kiewitz
loading on some screens) svn-id: r45351
2009-10-23SCI: speed throttler moved to kGameIsRestarting for all games. Also made the ↵Martin Kiewitz
delay shorter. sq3 now seems to work fine, kq1 also has animations and lsl5 mud wrestling is also working correctly. svn-id: r45345
2009-10-22SCI: kAnimate disable throttler for SCI0 and SCI01 games cause of issues in ↵Martin Kiewitz
at least kq1. temporary solution only! svn-id: r45341
2009-10-22CleanupFilippos Karapetis
svn-id: r45337
2009-10-22Moved the view loop counting code in the new GUIFilippos Karapetis
svn-id: r45322
2009-10-21- Removed kShow() and the related code it uses - it's a debugging function, ↵Filippos Karapetis
and we have the same functionality in the debug console - Merged the view signal flags from kernel.h and gui_animate.h, and named them appropriately. Also, updated the notes next to them, cause some were incorrectly marked as not used in our engine - Added a note about a hack used in the old GUI in the view signal flags - Moved the control state flags inside gui_helpers.h svn-id: r45310
2009-10-20SCI: kPalVary - pauseMartin Kiewitz
svn-id: r45292
2009-10-20SCI: kPalVary basicMartin Kiewitz
svn-id: r45287
2009-10-20SCI/newgui: Changed kPalette(animate) and implemented setFlags/unsetFlagsMartin Kiewitz
svn-id: r45277
2009-10-20SCI/newgui: kPalette/animate - accidentally changed speed to uint16 in prev. ↵Martin Kiewitz
revision although its signed svn-id: r45274
2009-10-20SCI/newgui: kPalette cleanup, preparing for sq5 paletteAnimate supportMartin Kiewitz
svn-id: r45273
2009-10-18SCI: kDrawCel priority is signedMartin Kiewitz
svn-id: r45239
2009-10-18SCI: Make the implicit segMan param to GET_SEL32(V) and PUT_SEL32(V) explicitMax Horn
svn-id: r45234
2009-10-18Move the SeqDecoder to the Sci namespace, it makes more sense than Graphics ↵Matthew Hoops
because it's only used in Sci. svn-id: r45230
2009-10-18SCI: cleanup text alignmentMartin Kiewitz
svn-id: r45224
2009-10-18Re-enabled the speed throttler for SCI1.1 games again, as disabling it makes ↵Filippos Karapetis
CPU load spike up in some of them (e.g. LSL6). Added a workaround for the Sierra logo scene in QFG3, too svn-id: r45215
2009-10-18Limited the speed throttler in kAnimate to work on SCI0-SCI1. SCI1.1 games ↵Filippos Karapetis
seem to work fine without it, and disabling it removes the very long delay at the Sierra logo in QFG3 svn-id: r45211
2009-10-17SCI: kAnimate comment added about qfg3Martin Kiewitz
svn-id: r45189
2009-10-16SCI: kAnimate now delays the first few calls less, otherwise sq3 will remove ↵Martin Kiewitz
details graphicwise. Walter please check, if this creates a regression with lsl3. svn-id: r45173
2009-10-16Hide the mouse cursor when showing a videoFilippos Karapetis
svn-id: r45171
2009-10-16Converting AVIPlayer into a class that inherits from VideoDecoder and adapt ↵Matthew Hoops
SCI to use this. Also, moving the codec and Codec class into their own folder. (Based on a patch by md5) svn-id: r45170
2009-10-16SCI: insert comment about kq6 issue caused by new speed throttler. ↵Martin Kiewitz
theoretically this could go away when reanimate/cel updates are implemented svn-id: r45160
2009-10-16Moved the SEQ decoder outside the gfx directory, as it is completely stand ↵Filippos Karapetis
alone now and no longer uses any GUI-related code svn-id: r45153
2009-10-16Added a new convenience method to the video player, which adds the event of ↵Filippos Karapetis
skipping videos with the escape key by default, thereby simplifying the video playing code in all places where it's used svn-id: r45151
2009-10-15Changed the KQ6 floppy SEQ decoder to use the common VideoPlayer interface. ↵Filippos Karapetis
Some cleanup svn-id: r45124
2009-10-15SCI: kAnimate speed throttler fixMartin Kiewitz
svn-id: r45118
2009-10-15SCI: kAnimate now uses gfxop_sleep for sleeping, mouse cursor is more fluid ↵Martin Kiewitz
that way svn-id: r45105
2009-10-15SCI: included stub for kPalVary to make Pharkas work a little bit more ↵Martin Kiewitz
(currently crashes in kMessage) svn-id: r45102
2009-10-14SCI: removed speed throttler (cause of kAnimate change)Martin Kiewitz
svn-id: r45094
2009-10-14SCI: kAnimate now delays a bit if needed (fixes typing in intro of lsl5, kq6 ↵Martin Kiewitz
sierra logo and much more) svn-id: r45093