aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gui32
AgeCommit message (Collapse)Author
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-25- Removed graphics options code from the old GUI. Almost all of them are not ↵Filippos Karapetis
supposed to be modified by the user (e.g. the way lines and brushes are drawn), and we can implement any of them again if needed in the new GUI (but they shouldn't really be needed). - Added a config option to disable dithering in the new GUI if requested, called "undither", which is set to true by default and can be changed to false if needed per game - The per-resource palette code has been removed for now, to be replaced by regular hashmaps (once the FreeSCI scifx reading code has been converted) svn-id: r45378
2009-10-25CleanupFilippos Karapetis
svn-id: r45366
2009-10-22CleanupFilippos Karapetis
svn-id: r45337
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/newgui: Changed kPalette(animate) and implemented setFlags/unsetFlagsMartin Kiewitz
svn-id: r45277
2009-10-20SCI/newgui: kPalette cleanup, preparing for sq5 paletteAnimate supportMartin Kiewitz
svn-id: r45273
2009-10-18SCI: Make the implicit segMan param to GET_SEL32(V) and PUT_SEL32(V) explicitMax Horn
svn-id: r45234
2009-10-18SCI: cleanup text alignmentMartin Kiewitz
svn-id: r45224
2009-10-17Started moving some of the old GUI code inside /gui32Filippos Karapetis
svn-id: r45185
2009-10-16Moved sci_ffs() inside iterator.cpp, the only place where it's actually ↵Filippos Karapetis
used, and removed tools.*. Also, removed all the unused includes to tools.h from several places svn-id: r45176
2009-10-14SCI: removed speed throttler (cause of kAnimate change)Martin Kiewitz
svn-id: r45094
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-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-13Merged the rest of the cursor codeFilippos Karapetis
svn-id: r45029
2009-10-13Merged the cursor manipulation code - cursor views are still not doneFilippos Karapetis
svn-id: r45028
2009-10-13SCI/newgui: kSetPort() now also supporting 7 parametersMartin Kiewitz
svn-id: r45027
2009-10-12CleanupFilippos Karapetis
svn-id: r44991
2009-10-12SCI: re-enable accidentally commented update callWillem Jan Palenstijn
svn-id: r44983
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-11SCI/newgui: list control implementedMartin Kiewitz
svn-id: r44929
2009-10-11rename shadow varJoost Peters
svn-id: r44926
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-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: drawMenuBar/clearMenuBar now using gui class, currently unimplemented ↵Martin Kiewitz
in newgui, but so wont get affected by oldgui switching to visualScreen anymore (e.g. qfg2) svn-id: r44837
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-08Restore the engine state stored within SciGui during loading once more, ↵Filippos Karapetis
since it gets replaced during loading. Fixes loading (a regression from #44730) svn-id: r44771
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-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-06SCI/newgui: kHiLite supportMartin Kiewitz
svn-id: r44701
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-05Stop spamming of the consoleFilippos Karapetis
svn-id: r44672
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