aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gui/gui.cpp
AgeCommit message (Collapse)Author
2009-10-09SCI/newgui: Implemented kAddToPic (almost complete, but z-sorting and some ↵Martin Kiewitz
extra code missing) svn-id: r44807
2009-10-08SCI/newgui: more cleanupMartin Kiewitz
svn-id: r44799
2009-10-08SCI/newgui: cleanup, fixing uninitialized variable in SciGuiPaletteMartin Kiewitz
svn-id: r44796
2009-10-08SCI/newgui: kAnimate changesMartin Kiewitz
svn-id: r44789
2009-10-08SCI/newgui: implemented more of kAnimate, currently crashes on windowMgr update.Martin Kiewitz
svn-id: r44788
2009-10-08SCI/newgui: kAnimate - _delete invoking implementedMartin Kiewitz
svn-id: r44782
2009-10-08SCI/newgui: kAnimate - more implemented, cels are now drawn but isnt working ↵Martin Kiewitz
correctly currently svn-id: r44781
2009-10-08SCI/newgui: kAnimate SciGuiGfx::AnimateFill implementedMartin Kiewitz
svn-id: r44780
2009-10-07SCI: Turn lookup_node & lookup_list into SegManager::lookupNode & ↵Max Horn
SegManager::lookupList svn-id: r44769
2009-10-07SCI: debug command undither implementedMartin Kiewitz
svn-id: r44761
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/newgui: kDrawPic cleanup, addToFlag inverse detection currently not ↵Martin Kiewitz
working needs fixing svn-id: r44756
2009-10-07SCI/newgui: implemented debug command show_mapMartin Kiewitz
svn-id: r44735
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-06Reverted #44697 (line drawing in the new GUI), with some function renaming. ↵Filippos Karapetis
Apparently, Sierra's implementation of the Bresenham line drawing algorithm was a bit different than ours, which resulted in problems with flood fill svn-id: r44720
2009-10-06WIP code for replacing the FreeSCI view decoding code with the new one (no ↵Filippos Karapetis
changes to the logic, yet) svn-id: r44717
2009-10-06- Fixed kGetTime() againFilippos Karapetis
- Removed the odd way of calculating elapsed time in SciGui(). We got _system->getMillis() for that purpose - Replaced the code in SciGui::wait() with the one in SciGui32::wait (which works fine, and is correct). The code in SciGui() was not polling for events while waiting, either svn-id: r44712
2009-10-06Removed yet another unused reference to OSystemFilippos Karapetis
svn-id: r44708
2009-10-06Removed an unused reference to OSystemFilippos Karapetis
svn-id: r44704
2009-10-06SCI/newgui: kHiLite supportMartin Kiewitz
svn-id: r44701
2009-10-06SCI/newgui: palette functions from SciGuiGfx now in SciGuiPaletteMartin Kiewitz
svn-id: r44698
2009-10-06- Removed the SciGuiGfx parameter from SciGuiViewFilippos Karapetis
- Moved _sysPalette inside SciGuiScreen - Made CreatePaletteFromData() a static helper function svn-id: r44696
2009-10-06- Unified the screen buffers that are used by the current and the new GUIFilippos Karapetis
- Replaced the FreeSCI line drawing code (which is actually Bresenham) with Graphics::drawLine(), after discussing with waltervn. This shouldn't bring any regressions, as we're no longer offering the option to scale the background at a vector level. After playing through some of the games, I haven't noticed any regressions - Some cleanup svn-id: r44692
2009-10-05SCI/newgui: changed the way dithering works on ega games, also default value ↵Martin Kiewitz
change for kDrawStatus svn-id: r44679
2009-10-05SCI/newgui: color duplicated to upper 4 bits on EGA to remove dithering with ↵Martin Kiewitz
black svn-id: r44678
2009-10-05SCI: kDrawStatus changed, dont call gui if no text receivedMartin Kiewitz
svn-id: r44674
2009-10-05SVN/newgui: kDrawStatus implementedMartin Kiewitz
svn-id: r44670
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-05Better naming for the palette setting functions, to disambiguate them from ↵Filippos Karapetis
the existing ones svn-id: r44662
2009-10-05RenamedFilippos Karapetis
setCLUT() -> setPalette() getCLUT() -> getPalette() svn-id: r44661
2009-10-05SCI/newgui: drawControlIcon - updates screen nowMartin Kiewitz
svn-id: r44660
2009-10-05Minimize unnecessary calls to updateScreen() in the new GUI. This improves ↵Filippos Karapetis
drawing speed dramatically svn-id: r44659
2009-10-05SCI/newgui: kDrawControl on icon implementedMartin Kiewitz
svn-id: r44658
2009-10-05SCI: Name argumentWillem Jan Palenstijn
svn-id: r44656
2009-10-05More method renamingFilippos Karapetis
svn-id: r44651
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: Rework the way SciGUIwindowMgr keeps track of windows/ports; remove the ↵Max Horn
GUI heapmanager svn-id: r44635
2009-10-04SCI/newgui: implemented kPalette / set intensityMartin Kiewitz
svn-id: r44631
2009-10-04SCI/newgui: invokeselector implemented into kAnimateMartin Kiewitz
svn-id: r44627
2009-10-04SCI/gui: more renaming...Martin Kiewitz
svn-id: r44620
2009-10-04SCI/newgui: more descriptive names.Willem Jan Palenstijn
svn-id: r44612
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/newgui: onControl implementedMartin Kiewitz
svn-id: r44594
2009-10-04SCI/newgui: unfinished TextColors/TextFonts support/setting default palette ↵Martin Kiewitz
mapping for kq5 svn-id: r44585
2009-10-03SCI/newgui: constant 0xFFFF -> -1Martin Kiewitz
svn-id: r44573
2009-10-03SCI/newgui: set title on newWindowMartin Kiewitz
svn-id: r44567