aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kgraphics.cpp
AgeCommit message (Collapse)Author
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
2009-10-13SCI/newgui: kSetPort() now also supporting 7 parametersMartin Kiewitz
svn-id: r45027
2009-10-12SCI: kCelHigh / kCelWide got broken with last revision, now fixedMartin Kiewitz
svn-id: r44987
2009-10-12SCI: now allowing calling celWide and celHigh with only 2 parameters (done ↵Martin Kiewitz
by eco quest 1 when entering menu) svn-id: r44986
2009-10-12SCI: kGraph cleanupMartin Kiewitz
svn-id: r44985
2009-10-12SCI: kGraph now fixes up coordinates before constructing a rect (invalid ↵Martin Kiewitz
rects are given to us by castle of dr. brain right at the 2nd screen when entering left door) svn-id: r44984
2009-10-12SCI/newgui: kGraph RedrawBox (ReAnimate) is now using class calling ↵Martin Kiewitz
(functionality not yet implemented) svn-id: r44976
2009-10-12SCI/newgui: implemented kPicNotValidMartin Kiewitz
svn-id: r44968
2009-10-12SCI/newgui: kGraph updateBox implemented, cleaned up usage of BitsShow() ↵Martin Kiewitz
still not perfect (e.g. kq5 cutscene information box) svn-id: r44966
2009-10-11Added kSetPort case with 4 parameters (used in the ending of LSL6)Filippos Karapetis
svn-id: r44938
2009-10-11SCI/newgui: list control implementedMartin Kiewitz
svn-id: r44929
2009-10-11SCI: Implement CoordPri() with two args.Walter van Niftrik
svn-id: r44927
2009-10-11SCI: kDrawControl for list and textedit controls also using gui classMartin Kiewitz
svn-id: r44925
2009-10-11Fixed compilation with the current GUIFilippos Karapetis
svn-id: r44914
2009-10-11SCI: made kEditControl use SciGui class, not currently implemented in newguiMartin Kiewitz
svn-id: r44913
2009-10-11SCI/newgui: kShakeScreen partially implementedMartin Kiewitz
svn-id: r44897
2009-10-10Merged _k_base_setter() inside kBaseSetter()Filippos Karapetis
svn-id: r44866
2009-10-09SCI/newgui: calling process_sound_events now directly within kAnimate(), ↵Martin Kiewitz
fixes hanging scripts (e.g. sq3 exiting pod, kq1 getting killed) svn-id: r44843
2009-10-09SCI: kgraphics.cpp cleanup (no code changes)Martin Kiewitz
svn-id: r44835
2009-10-09SCI/newgui: kCanBeHere partially implemented, little correctionsMartin Kiewitz
svn-id: r44832
2009-10-09SCI/newgui: support for priority bands, kCoordPri kPriCoord implemented, ↵Martin Kiewitz
priority band picture support also added svn-id: r44825
2009-10-08Started rewriting the check for the graphics functions type (still not ↵Filippos Karapetis
finished) svn-id: r44787
2009-10-07SCI: Turn lookup_node & lookup_list into SegManager::lookupNode & ↵Max Horn
SegManager::lookupList svn-id: r44769
2009-10-07- Cleaned up the cursor codeFilippos Karapetis
- Renamed gui -> _gui in EngineState, for consistency - Added a reference to SciGuiCursor in EngineState, to be used by current code - Renamed setCursorHide -> hideCursor, setCursorShow -> showCursor - Moved the cursor zone limiting code inside SciGuiCursor. This code is currently not functioning, as we need to call refreshPosition() before each updateScreen() call to limit the cursor position. svn-id: r44760
2009-10-07SCI: kDrawPic / had an error in previous revisionMartin Kiewitz
svn-id: r44759
2009-10-07SCI: changed kDrawPic to use oldGfxFuncs()Martin Kiewitz
svn-id: r44757
2009-10-07SCI/newgui: kDrawPic cleanup, addToFlag inverse detection currently not ↵Martin Kiewitz
working needs fixing svn-id: r44756