aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx
AgeCommit message (Collapse)Author
2009-12-20Removed dead codeFilippos Karapetis
svn-id: r46426
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-12Fix warningEugene Sandulenko
svn-id: r45871
2009-11-12The menu bar code is no longer used in the new graphics code, and the menu ↵Filippos Karapetis
state is no longer stored in saved games svn-id: r45854
2009-10-28Changed some of the menu code to use new graphics functionsFilippos Karapetis
svn-id: r45493
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-27Make Jones in the Fast Lane use up the whole screen as did the original game.Matthew Hoops
svn-id: r45431
2009-10-26Added proper detection and handling of transitive SCI1-SCI1.1 games, like ↵Filippos Karapetis
PQ1 VGA. These used SCI1 resources and compression with a SCI1.1 kernel (thanks to waltervn's observations) svn-id: r45420
2009-10-26CleanupFilippos Karapetis
svn-id: r45395
2009-10-26Removed unused variable.Torbjörn Andersson
svn-id: r45390
2009-10-25Moved the cel count calculation to the new graphics codeFilippos Karapetis
svn-id: r45379
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-22Moved the view loop counting code in the new GUIFilippos Karapetis
svn-id: r45322
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-19Changed mapPointer() to accept a Common::Rect, thus removing the reference ↵Filippos Karapetis
to gfx_widgets.h svn-id: r45242
2009-10-17Removed the obsolete and bitrotted testing code for the old SCI GUIFilippos Karapetis
svn-id: r45206
2009-10-17Include common/endian.h for SWAP_BYTES_32. Should fix compile on BE systems.Matthew Hoops
svn-id: r45190
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-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-16Fixed an assert in the introduction of the CD version of KQ6Filippos Karapetis
svn-id: r45152
2009-10-15Changed the KQ6 floppy SEQ decoder to use the common VideoPlayer interface. ↵Filippos Karapetis
Some cleanup svn-id: r45124
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-13Removed the now unused code in gfx/res_cursor.cppFilippos Karapetis
svn-id: r45034
2009-10-13Removed some leftover cursor codeFilippos Karapetis
svn-id: r45033
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-09don't discard const qualifier needlesslyMax Horn
svn-id: r44854
2009-10-09Some const correctness changes; cleanupMax Horn
svn-id: r44850
2009-10-09SCI: resmanager / include order changeMartin Kiewitz
svn-id: r44821
2009-10-08Change doxygen inline comments from "//!" to "///" as proposed on -develMax Horn
svn-id: r44802
2009-10-07SCI: Change more stuff to be CFG compliantMax Horn
svn-id: r44768
2009-10-07SCI: Reduce header interdepencies once again. Rule of thumb: Never include a ↵Max Horn
header file from another header file unless you absolutely *must* do it; if possible, try to use class forwards instead, and include the headers from source files only svn-id: r44767
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-07Implemented the SciGuiView destructor and plugged a memory leak in the ↵Filippos Karapetis
current GUI svn-id: r44740
2009-10-07Hopefully fixed a mismatching free() call in gfx_free_pixmap(), originating ↵Filippos Karapetis
from getView() svn-id: r44739
2009-10-07Replaced the view loading code with the new view loading functions. EGA view ↵Filippos Karapetis
color translation has been disabled, as it caused palette problems in Codename:Iceman svn-id: r44737
2009-10-07More work on the view code wrapper. Now all SCI0-SCI11 views should be ↵Filippos Karapetis
displayed correctly, apart from the late SCI0 ones (e.g. in Codename Iceman), where the palette is incorrect svn-id: r44724
2009-10-06More work on the view wrapper codeFilippos Karapetis
svn-id: r44723
2009-10-06Reverted the priority line drawing code in the current GUI (with some ↵Filippos Karapetis
cleanup) to use the FreeSCI line drawing code, which was removed in #44692. 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: r44721
2009-10-06More work on the view wrapper codeFilippos Karapetis
svn-id: r44718
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- 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-05Moved the cursor movement code in the GUIFilippos Karapetis
svn-id: r44664
2009-10-05Removed dead codeFilippos Karapetis
svn-id: r44657
2009-10-05- Renamed GUI -> Gui and capitalized as appropriate (e.g. SciGUIwindowMgr -> ↵Filippos Karapetis
SciGuiWindowMgr) - Renamed "cell" -> "cel" svn-id: r44649