aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kgraphics.cpp
AgeCommit message (Collapse)Author
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
2009-10-14SCI/newgui: kPalette / setIntensity / reimplemented setPalette optional ↵Martin Kiewitz
parameter, fixed memory corruption in setIntensity svn-id: r45091
2009-10-14SCI/newgui: changed kPalette (setIntensity) to behave differently (seems we ↵Martin Kiewitz
had it wrong) also changed nonsense clipping svn-id: r45090
2009-10-14SCI: kDrawPic now reads out blackout flag for transitionsMartin Kiewitz
svn-id: r45089
2009-10-14Fixed the palette in the SEQ decoder againFilippos Karapetis
svn-id: r45088
2009-10-14Started rewriting the SEQ decoder to use the new GUI functionsFilippos Karapetis
svn-id: r45083
2009-10-14Fixed kMoveCursor(). Now the cursor will be moved to the correct spot when ↵Filippos Karapetis
pressing tab in dialogs svn-id: r45078
2009-10-14SCI: kDrawPic - flags is actually uint16Martin Kiewitz
svn-id: r45069
2009-10-14SCI: kDrawControl now also fixes bad rects (fixes jones/vga)Martin Kiewitz
svn-id: r45064
2009-10-14SCI: Fix warning, cleanupMax Horn
svn-id: r45059
2009-10-14- Moved cel width and height calculation in the GUIFilippos Karapetis
- Merged the engine states of the old and new GUI svn-id: r45057
2009-10-13Moved some old GUI specific code from kgraphics.cpp into gui32.cppFilippos Karapetis
svn-id: r45047
2009-10-13SCI/newgui: DrawControl type 10 is actually just a dummy in qfg1ega, we dont ↵Martin Kiewitz
need to do anything. I believe some other control is responsible for the percentage box svn-id: r45044
2009-10-13SCI/newgui: K_CONTROL_* renamed to SCI_CONTROLS_TYPE_*Martin Kiewitz
svn-id: r45035
2009-10-13SCI: stub for kDrawControl K_CONTROL_PERCENTAGEMartin Kiewitz
svn-id: r45032
2009-10-13Removed some leftover code, fixes KQ5CDFilippos Karapetis
svn-id: r45031
2009-10-13Merged the rest of the cursor codeFilippos Karapetis
svn-id: r45029