aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kgraphics.cpp
AgeCommit message (Collapse)Author
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
2009-10-07SCI: set default EGA palette to 0, if no parameter is actually given us. ↵Martin Kiewitz
Fixes lsl2, kq4, sq3, etc. svn-id: r44743
2009-10-07SCI/newgui: kSetCursor (show, hide, pos, shape) implementedMartin Kiewitz
svn-id: r44734
2009-10-07SCI: SciGuiCursor class added, cleanup, OSystem removed from SciGui constructorMartin Kiewitz
svn-id: r44730
2009-10-07SCI: removed r44595, sierra sci really does behave like Common::Rect, no ↵Martin Kiewitz
need for +1 svn-id: r44725
2009-10-06SCI/newgui: kHiLite supportMartin Kiewitz
svn-id: r44701
2009-10-05Moved the cursor movement code in the GUIFilippos Karapetis
svn-id: r44664
2009-10-05Lines are no longer treated as fake rectangles and are shown correctly againFilippos Karapetis
svn-id: r44663
2009-10-05SCI/newgui: kDrawControl on icon implementedMartin Kiewitz
svn-id: r44658
2009-10-05- Renamed GUI -> Gui and capitalized as appropriate (e.g. SciGUIwindowMgr -> ↵Filippos Karapetis
SciGuiWindowMgr) - Renamed "cell" -> "cel" svn-id: r44649
2009-10-04SCI: Really remove sci/gui/gui.h include from engine/state.hMax Horn
svn-id: r44644
2009-10-04SCI/newgui: implemented kPalette / set intensityMartin Kiewitz
svn-id: r44631
2009-10-04SCI: Rename EngineState::segMan to _segManMax Horn
svn-id: r44629
2009-10-04SCI/gui: renaming...Martin Kiewitz
svn-id: r44618
2009-10-04SCI: kAddToPic, kAnimate and kSetNowSeen transferred to SciGUI32, not yet ↵Martin Kiewitz
implemented in newgui svn-id: r44606
2009-10-04SCI: Fixing a bunch of warnings; change 'intencity' -> 'intensity';Max Horn
properly init a sciPalette via memset svn-id: r44604
2009-10-04SCI: removing unused variables from onControlMartin Kiewitz
svn-id: r44596
2009-10-04SCI: onControl now uses gui classesMartin Kiewitz
svn-id: r44595
2009-10-03SCI: Redraw edit controls when they change.Willem Jan Palenstijn
svn-id: r44576
2009-10-03SCI: Merge new GUI code written by m_kiewitz.Willem Jan Palenstijn
This is a major rewrite of the graphics code. A slightly adapted version of the old code is still available and currently the default. The new code is selectable in sci.cpp, but is not yet finished. svn-id: r44565
2009-09-30Removed an old (and now obsolete) workaround for KQ5Filippos Karapetis
svn-id: r44507
2009-09-30Added a new special reg_t, SIGNAL_REG, for signaling when an error occurs ↵Filippos Karapetis
(usually), or to signal success in some special occasions svn-id: r44505
2009-09-29- Changed the unimplemented debug SCI kernel functions (InspectObj, ↵Filippos Karapetis
ShowSends, ShowObjs, ShowFree, StackUsage and Profiler) to be dummy functions - we have our own debugger, and don't use these functions for debugging - Removed the function number parameter from all kernel functions, as it's no longer needed, and removed the FAKE_FUNCT_NR hack - Removed kUnknown() and kStub() - Dummy/unknown kernel functions are no longer invoked, and a warning is shown instead, with the paremeters passed to them Note: there is an evil hack used for debugging scripts in invoke_selector(), which probably no longer works now svn-id: r44461
2009-09-27SCI: Fix scrolling in SCI1 list controls.Walter van Niftrik
svn-id: r44429
2009-09-27SCI: turn assert into warning, as it used in QfG2 char importWillem Jan Palenstijn
svn-id: r44400