aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gui32
AgeCommit message (Collapse)Author
2009-12-30SCI32: Added sanity checks to kAddScreenItem and kUpdateScreenItem, so that ↵Filippos Karapetis
they don't try and draw cels outside the screen svn-id: r46767
2009-12-27Renamed gameName -> gameId, to keep the same vocabulary everywhereFilippos Karapetis
svn-id: r46635
2009-12-20Wrapped some more sound code around appropriate definesFilippos Karapetis
svn-id: r46428
2009-12-08SCI: SciGui::getPortPic now uses byrefMartin Kiewitz
svn-id: r46293
2009-12-08SCI: Saving picPort now (fixes loading saved games in castle of dr. brain)Martin Kiewitz
svn-id: r46292
2009-12-04SCI: Make event constants more verboseMartin Kiewitz
svn-id: r46255
2009-12-04SCI: SciEvent created, kernel_sleep() createdMartin Kiewitz
svn-id: r46252
2009-11-20Removed dead codeFilippos Karapetis
svn-id: r46027
2009-11-11SCI/newgui: call menuReset() on game_init(), fixes double menu in pq2Martin Kiewitz
svn-id: r45843
2009-11-04Removed unused variables and placed some more old code inside INCLUDE_OLDGFX ↵Filippos Karapetis
defines svn-id: r45668
2009-11-04- Changed the segment manager to be a static part of the engine, and stopped ↵Filippos Karapetis
deleting and recreating it when restoring games - Merged game_exit(), script_free_vm_memory() and script_free_engine() - Cleanup svn-id: r45666
2009-11-04Removed the reference to EngineState from the SciGuiGfx classFilippos Karapetis
svn-id: r45664
2009-11-04SCI: forgot to adjust gui32 as wellMartin Kiewitz
svn-id: r45662
2009-11-04Removed the reference to SciGuiCursor from EngineStateFilippos Karapetis
svn-id: r45660
2009-11-04priority_first and priority_last are not used by the new drawing code, thus ↵Filippos Karapetis
the new code didn't handle priority changes by kGraph() svn-id: r45658
2009-11-03SCI/newgui: SciGuiMenu partially implementedMartin Kiewitz
svn-id: r45634
2009-11-03Fixed a crash when loading in the old GUIFilippos Karapetis
svn-id: r45628
2009-11-03Remove the SegManager-related hacks for the selector defines, as the segMan ↵Filippos Karapetis
parameter is explicit now svn-id: r45626
2009-11-02SCI: SciGuiMenu created, kMenu-related stuff now using SciGuiMartin Kiewitz
svn-id: r45612
2009-10-31SCI/newgui: fixing kDisposeWindow so that reanimate is correctly called ↵Martin Kiewitz
(fixes cels disappearing after removing windows) svn-id: r45588
2009-10-31- Added some TODOsFilippos Karapetis
- Disabled the kGraph case used in KQ6 Windows for now, as it's problematic and crashes the game - Added extra param to kDrawCel(), used in KQ6 Windows The icon bar in KQ6 Windows is shown a bit better now svn-id: r45567
2009-10-31SCI/newgui: kGraph support for Save-UpscaledHires-Box (not sure if ↵Martin Kiewitz
coordinates are really hires, it seems that they are not) svn-id: r45564
2009-10-30Fixed a crash in the old graphics code from commit #45542Filippos Karapetis
svn-id: r45544
2009-10-30- Removed status_bar_foreground and status_bar_background variables from the ↵Filippos Karapetis
engine state - Implemented clearMenuBar() in the new graphics code - Removed the "status_bar" command, which was used to set custom colors for the status bar svn-id: r45538
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