aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx/gfx_tools.h
AgeCommit message (Collapse)Author
2010-01-05SCI: Removed the old graphics codeFilippos Karapetis
svn-id: r47005
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-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-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-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-09-30- Removed some leftover 16/32bpp color code, as we're always using palette ↵Filippos Karapetis
mode now - Simplified the mouse cursor manipulation code svn-id: r44502
2009-09-04- Removed the gfx error defines. When resources are not found, or are ↵Filippos Karapetis
corrupted, we should error out instead of piggy-banking an error flag to another function - Do not try and set the position of the mouse cursor when it's hidden svn-id: r43941
2009-09-04Removed the bilinear and trilinear FreeSCI scalers, and only left the ↵Filippos Karapetis
unfiltered scaler in (to be replaced by ScummVM's scaler code). We really don't need bilinear and trilinear filtered scaling in the engine, as ScummVM's filters already perform bilinear and trilinear filtered scaling, if requested svn-id: r43938
2009-06-22Patch #2810483 (SCI: Convert gfx subsystem headers to Doxygen format), with ↵Max Horn
@brief removed svn-id: r41785
2009-05-29- Moved some debug code into console.cpp, adding 3 console commands: ↵Filippos Karapetis
resource_types, sci0_palette and exit - Removed the "man" command - Removed the commands which set the SCI01 priority table flags and the crossblit alpha threshold (they're too specific, and not really useful anymore) - Removed some leftover debug code from gfxop_clear_box() svn-id: r41010
2009-05-08SCI: Folded line.h and crossblit.h into gfx_support.cppMax Horn
svn-id: r40389
2009-04-18Fix outdated commentsWillem Jan Palenstijn
svn-id: r40003
2009-04-03Some more FreeSCI <-> SCI changesFilippos Karapetis
svn-id: r39808
2009-04-03Changed some references from "FreeSCI" to "SCI" or "ScummVM"Filippos Karapetis
svn-id: r39807
2009-03-17Started objectifying the graphics resource manager (refer to patch #2689887)Filippos Karapetis
svn-id: r39492
2009-03-16Replaced "xl" with "width" and "y1" with "height" in places where rectangles ↵Filippos Karapetis
are used svn-id: r39435
2009-03-08Use new Palette class to manager pixmap palettes.Willem Jan Palenstijn
There are some remaining regressions with text colour in SCI1 games, but overall it should fix more than it breaks. svn-id: r39242
2009-03-07SCI: Moved scummvm_get_event to operations.cpp (the only place where it is ↵Max Horn
used), to ease future refactoring of the event handling code svn-id: r39201
2009-02-26SCI: Modified gfx_new_mode to take a Graphics::PixelFormatMax Horn
svn-id: r38909
2009-02-26SCI: Changed 'typedef enum { } NAME' into C++-style 'enum NAME { }'Max Horn
svn-id: r38908
2009-02-24Normalized guard #definesEugene Sandulenko
svn-id: r38842
2009-02-23Removed unused antialiasing code (plus, we do antialiasing at the OSystem ↵Filippos Karapetis
graphics backend) svn-id: r38800
2009-02-22Whitespace cleanupJordi Vilalta Prat
svn-id: r38783
2009-02-21SCI: Renamed include/gfx_*.h to gfx/gfx_*.h and likewise for sfx header filesMax Horn
svn-id: r38735