aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx/gfx_support.cpp
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-25CleanupFilippos Karapetis
svn-id: r45366
2009-10-17Include common/endian.h for SWAP_BYTES_32. Should fix compile on BE systems.Matthew Hoops
svn-id: r45190
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-07Merged xfact and yfact into scaleFactor - it doesn't really make sense to ↵Filippos Karapetis
multiply one dimension with an integer multiplier which is different to the multiplier of the other dimension, otherwise we'll end up with funny looking and squashed resolutions like 640x200 or 320x400. Also, removed the now-unused pixelFormat member variable of the graphics driver struct svn-id: r44003
2009-09-06Fixed compilation on BE systemsFilippos Karapetis
svn-id: r43995
2009-09-06Removed the hi-color code (16bpp & 24bpp). All SCI games use up to 256 ↵Filippos Karapetis
colors, so hi-color isn't really used anywhere, and it only makes the overall code more complex for no reason svn-id: r43994
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 "reverse alpha" flag from the graphics driver code. Alpha values ↵Filippos Karapetis
are now always 0 for transparent, up to 255 for opaque svn-id: r43939
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-07-06Replaced sciprintf() calls with printf, DebugPrintf, warning and error callsFilippos Karapetis
svn-id: r42167
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-03-16Replaced "xl" with "width" and "y1" with "height" in places where rectangles ↵Filippos Karapetis
are used svn-id: r39435
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: Turned the crossblit code into a templateMax Horn
svn-id: r38907
2009-02-26SCI: Moved gfx_line.cpp to line.h and turned _gfx_draw_line_buffer into a ↵Max Horn
template svn-id: r38905
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
2009-02-21revert large parts of r38621. error() is for fatal errors and does not ↵Willem Jan Palenstijn
return. warning() is not for debugging status messages. svn-id: r38696
2009-02-21replace #ifdef WORDS_BIGENDIAN by SCUMM_BIG_ENDIANJoost Peters
svn-id: r38689
2009-02-21Wrapped the SCI engine in the Sci namespace.Oystein Eftevaag
svn-id: r38676
2009-02-21formatingPaweł Kołodziejski
svn-id: r38668
2009-02-20Changed more messages to warnings/errorsFilippos Karapetis
svn-id: r38621
2009-02-18missed to remove code from latest removalPaweł Kołodziejski
svn-id: r38496
2009-02-18remove not used codePaweł Kołodziejski
svn-id: r38495
2009-02-17point_t -> Common::PointFilippos Karapetis
svn-id: r38437
2009-02-17Update headers. gfx/Eugene Sandulenko
svn-id: r38412
2009-02-15SCI: Run astyle to make the code be more compliant with our Code Formatting ↵Max Horn
Guidelines: gfx dir svn-id: r38321
2009-02-15Fix compilation. How ugly without templates. Yuck!Eugene Sandulenko
svn-id: r38228
2009-02-15- Remove some unneeded filesEugene Sandulenko
- Mass rename .c to .cpp svn-id: r38227