aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-06-30Groovie: Converted compile time checks for RGB modes support to runtime ↵Jordi Vilalta Prat
checks in order to fallback if the requested PixelFormat isn't available. svn-id: r41974
2009-06-30Fixed a few formatting bitsJordi Vilalta Prat
svn-id: r41973
2009-06-30renamed kTransactionPixelFormatNotSupported to ↵Jody Northup
kTransactionFormatNotSupported, retyped all Graphics::PixelFormat * parameters to const Graphics::PixelFormat *, (hopefully) repaired all memory leaks on screen and cursor format changes, provided OSystem::getScreenFormat and OSystem::getSupportedFormats methods for when ENABLE_RGB_COLOR is not set, completely forgot the "commit early, commit often" mantra. svn-id: r41972
2009-06-27SCI: Use obtained instead of requested PixelFormatWillem Jan Palenstijn
svn-id: r41912
2009-06-27Enabled RGB color support in SCI engine, corrected SCI engine's initGraphics ↵Jody Northup
call for modified API svn-id: r41911
2009-06-27changed initGraphics, and OSystem::initSize to take Graphics::PixelFormat * ↵Jody Northup
parameters instead of Graphics::PixelFormat parameters, to save unnecessary pixelformat initialization if ENABLE_RGB_COLOR is not set. svn-id: r41909
2009-06-26SCI: Fix typo breaking in-engine scalingWillem Jan Palenstijn
svn-id: r41905
2009-06-26SCI: starting to restore RGB color functionalityWillem Jan Palenstijn
svn-id: r41904
2009-06-26Converted OSystem::SetMouseCursor to take pointer to PixelFormat, instead of ↵Jody Northup
full PixelFormat. Removed OSystem::setCursorFormat (since I forgot to do so several commits ago) svn-id: r41901
2009-06-26Changed cursor manager functions to take *Graphics::PixelFormat with default ↵Jody Northup
parameter of NULL (and initialize NULL pointers with CLUT8), rather than taking a Graphics::PixelFormat with default parameter of Graphics::PixelFormat::createFormatCLUT8() svn-id: r41900
2009-06-25added preprocessor defines for ENABLE_RGB_COLOR and GROOVIE_EXPERIMENTAL to ↵Jody Northup
groovie msvc8 project svn-id: r41855
2009-06-25API modification -- replaced "Graphics::PixelFormat getBestFormat()" with ↵Jody Northup
"Common::List<Graphics::PixelFormat> getSupportedFormats()" svn-id: r41854
2009-06-24made the cursor's pixel format a member of the cursor object, merged ↵Jody Northup
____CursorFormat functions into equivalent ____Cursor functions. svn-id: r41825
2009-06-23ENABLE_16BIT has been renamed to ENABLE_RGB_COLOR as of r41696, so make sure ↵Matthew Hoops
the Groovie engine uses that too svn-id: r41817
2009-06-23Fix error in Backyard Soccer 2004, when using Season Play.Travis Howell
svn-id: r41808
2009-06-23Merged format initialization into InitSize to allow for backends not ↵Jody Northup
supporting gfx transactions. svn-id: r41801
2009-06-22Fix loading/saving in funshop titles.Travis Howell
svn-id: r41764
2009-06-22Cleanup.Travis Howell
svn-id: r41737
2009-06-21Add initial support for captureWizPolygon.Travis Howell
svn-id: r41728
2009-06-20Update.Travis Howell
svn-id: r41698
2009-06-20Factory constructors for ARGB BGR ABGR and BGRA pixel formats.Jody Northup
svn-id: r41697
2009-06-20renamed ENABLE_16BIT define to more accurate ENABLE_RGB_COLORJody Northup
svn-id: r41696
2009-06-20Fixed compilation.Torbjörn Andersson
svn-id: r41695
2009-06-19Removed replaced Graphics::ColorMode enum type with factory methods for ↵Jody Northup
Graphics::PixelFormat. svn-id: r41662
2009-06-18Fixed error with non-animated 8-bit GUI cursors being drawn incorrectly in ↵Jody Northup
debug console of 16-bit games. svn-id: r41627
2009-06-18Merged revisions 41625 via svnmerge from Travis Howell
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk ........ r41625 | Kirben | 2009-06-18 16:18:31 +1000 (Thu, 18 Jun 2009) | 1 line Correct actor layering method in HE90+ games. ........ svn-id: r41626
2009-06-18Fix regression in scrolling rooms.Travis Howell
svn-id: r41624
2009-06-18Fix regression, caused by typo in my last commit.Travis Howell
svn-id: r41621
2009-06-17Groovie: Initial support for 16bit screen surfacesJordi Vilalta Prat
svn-id: r41615
2009-06-17Added ENABLE_16BIT to preprocessor defines in gob's msvc8 vcproj. Fixed ↵Jody Northup
preprocessor define list formating in msvc8 scumm.vcproj and scummvm.vcproj (mainly so that my tortoiseSVN will no longer mark them as modified) svn-id: r41607
2009-06-17OSystem_SDL::GetBestFormat will no longer return modes greater than that ↵Jody Northup
which hardware supports. svn-id: r41606
2009-06-16Fixed warning. (GCC doesn't like commas at the end of an enum list.)Torbjörn Andersson
svn-id: r41586
2009-06-16Corrected oversight in earlier ifdef simplification which leads to ↵Jody Northup
compilation failure if ENABLE_16BIT is not defined. svn-id: r41581
2009-06-16Declared getBestFormat in OSystem base class, and implemented in SDL backend.Jody Northup
svn-id: r41580
2009-06-16Simplified colormode enumJody Northup
svn-id: r41578
2009-06-16Simplified cursor related 16-bit code.Jody Northup
svn-id: r41577
2009-06-15Fix compilation of SCI engineWillem Jan Palenstijn
svn-id: r41546
2009-06-15Add error if user attempt to play HE games using 16bit color, when 16bit ↵Travis Howell
support is disabled. svn-id: r41544
2009-06-15Fix compilation when 16BIT code is disabled.Eugene Sandulenko
svn-id: r41543
2009-06-15Fix compilationEugene Sandulenko
svn-id: r41542
2009-06-15Remove uglyness with PixelFormat initialization.Eugene Sandulenko
svn-id: r41541
2009-06-15made Graphics::PixelFormat(ColorMode) constructor explicit, removed ↵Jody Northup
Graphics::PixelFormat(int bitFormat) constructor that was never really implemented anyway svn-id: r41540
2009-06-15Added kUnsupportedColorMode error code brought Scumm engine and SDL backend ↵Jody Northup
into compliance with API outlined in http://scummvmupthorn09.wordpress.com/2009/06/14/how-this-is-going-to-work/ Provided convenient Graphics::PixelFormat constructors for ColorMode enums, and bitformat integers. Removed last vestiges (I think) of initial cursor hack. svn-id: r41539
2009-06-13Fix possible endian issues.Travis Howell
svn-id: r41494
2009-06-13Fixed cursor code to keep track of cursor formats so that ThemeEngine and/or ↵Jody Northup
GuiManager cursors will render properly over the game (on spacebar hit, for instance) svn-id: r41491
2009-06-12Unfinished proof of concept regarding my compromise with LordHoto in IRC.Jody Northup
svn-id: r41464
2009-06-11Renamed Graphics::ColorFormat to Graphics::ColorMode, streamlined enum by ↵Jody Northup
removing order section and temporarily removing kFormatARGB1555 Converted cursor code to make use of _screenFormat, instead of a parameter passed directly to it by the engine. Adjusted scumm engine to account for these changes. This should probably have been two separate commits, but the changes concern the same files... svn-id: r41443
2009-06-10Code formattingEugene Sandulenko
svn-id: r41420
2009-06-10Correct horizontal flipping in decompressWizImage(), when using 16bit color.Travis Howell
svn-id: r41418
2009-06-10Scumm engine now dynamically requests 16-bit color based on game features, ↵Jody Northup
(using ad-hoc request format) svn-id: r41417