aboutsummaryrefslogtreecommitdiff
path: root/graphics/surface.cpp
AgeCommit message (Collapse)Author
2019-03-03GRAPHICS: Fix dstFormat check in Surface::convertToCameron Cawley
2019-03-02GRAPHICS: Support converting to 3Bpp surfacesCameron Cawley
2016-06-14GRAPHICS: Initialize mask in FllodFill when requiredEugene Sandulenko
2016-06-14GRAPHICS: Add possibility to specify Fill maskmode in the constructorEugene Sandulenko
2016-06-03GRAPHICS: Add mask mode to FloodFill class and document the class.Eugene Sandulenko
2016-06-03GRAPHICS: Fix FloodFillEugene Sandulenko
2016-06-03GRAPHICS: Added FloodFill class to Surface.Eugene Sandulenko
Moved from WAGE engine and is using stack-based classic floodfill implementation.
2014-02-18GRAPHICS: Make GPL headers consistent in themselves.Johannes Schickel
2013-09-22GRAPHICS: Remove variable shadowingRichieSams
2013-09-12ZVISION: Add wrapper function for copyRectToSurfaceRichieSams
Also rename some arguments to make them more clear
2013-08-15GRAPHICS: Create copyRectToSurface member functionrichiesams
2013-08-07Merge pull request #365 from lordhoto/protected-pixelsJohannes Schickel
Make Graphics::Surface::pixels protected.
2013-08-03GRAPHICS: Add two new methods to change 'pixels' of a Surface.Johannes Schickel
One method is a simpler setter for 'pixels'. The other one can be used to setup a Surface with custom data.
2013-08-02GRAPHICS: Allow to query a Surface describing a subarea in Surface.Johannes Schickel
2013-08-01GRAPHICS: Make Surface::copyFrom work for any src pitch.Johannes Schickel
Formerly we assumed that the newly created surface has the same pitch as the source surface. This is a assumption that might be invalid (for example in case of the Surface returned by OSystem::lockScreen.)
2012-10-08Merge pull request #257 from lordhoto/graphics-conversionJohannes Schickel
Extend crossBlit for abitrary (in-place) conversions and add a in-place conversion to Surface
2012-08-28GRAPHICS: Add an in-place Surface PixelFormat conversion.Johannes Schickel
2012-04-19Merge remote branch 'upstream/master' into pegasusMatthew Hoops
Conflicts: base/plugins.cpp configure
2012-04-03GRAPHICS: Fix casting away constJoel Teichroeb
2012-03-20Merge remote branch 'upstream/master' into pegasusMatthew Hoops
2012-03-20GRAPHICS: Add support for converting surfaces from 24bppMatthew Hoops
2012-03-20GRAPHICS: Add a convertTo() function to SurfaceMatthew Hoops
2011-12-12Merge remote branch 'upstream/master' into pegasusMatthew Hoops
Conflicts: video/qt_decoder.cpp
2011-11-16COMMON: Rename Common::set_to to Common::fill.Johannes Schickel
This makes the name match with the name of the STL function with the same behavior.
2011-10-27GRAPHICS: Add a Surface wrapper for drawThickLineMatthew Hoops
2011-08-21BADA: Prevent assertion failure when allocating zero bytesChris Warren-Smith
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-19GRAPHICS: Cleanup formattingMatthew Hoops
2011-05-19GRAPHICS: Allow auxiliary surface functions to be used for 32bpp surfacesMatthew Hoops
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-17ALL/GRAPHICS: Remove Surface::bytesPerPixel.Johannes Schickel
2011-04-17GRPAHICS: Do not access Surface::bytesPerPixel anymore.Johannes Schickel
2011-04-17GRAPHICS: Add a PixelFormat member to Surface.Johannes Schickel
2010-10-01GRAPHICS: Add BPP check to Surface::move.Johannes Schickel
svn-id: r52968
2010-10-01GRAPHICS: Cleanup.Johannes Schickel
svn-id: r52967
2010-10-01SCUMM/FM-TOWNS: fix palette and other graphics issuesFlorian Kagerer
This commit should fix at least the following bugs/feature requests: #1032859, #1252088, #1055391, #1315968, #1315938, #1742106, #812891. The FM-Towns version of Scumm games use a mixed graphics mode with 2 layers (one with 32767 colors and one with 16 colors). Among other things I have added a screen output class which emulates this dual layer approach which allows specific hardware effects like enabling and disabling layers (e.g. in the voodoo priestess scene in MI1). Old savegames (saved before this update) will load, but you’ll encounter palette glitches in the verb/inventory screen, since the 16 color palette for layer 2 is not contained in your savegame. This will be true at least for version 5 games. Certain scene change actions (which require the verb/inventory part to be redrawn) might correct this (e.g. try looking at the treasure map in MI1 and closing it). Version 3 games should be okay, since they use a static text palette which is never changed and which will be reset after loading a savegame. This update requires a USE_RGB_COLORS setting for proper operation. 8 bit users will get a warning that they’ll have to expect palette glitches . Apart from that the engine in 8 bit mode should not only still work okay, but also benefit from some of the other (non palette related) improvements (e.g. bug #1032859 should be fixed even in 8 bit mode). Japanese font drawing hasn’t been improved much yet. This will be a separate task. svn-id: r52966
2010-08-21GRAPHICS: Extend Surface::fill() method to support 32bits. Looks uglyEugene Sandulenko
svn-id: r52268
2010-04-20Use the faster memset() in Surface::fillRect() for 16bit modes when possible.Andre Heider
svn-id: r48756
2009-01-20Moved Surface::blit to backends/vkeybd/virtual-keyboard-gui.cppMax Horn
svn-id: r35965
2009-01-20merge SurfaceKeyColored into SurfaceAndre Heider
svn-id: r35951
2008-09-16Added "querySaveMetaInfos" to MetaEngine.Johannes Schickel
-> Allows easy addition of save state specific infos like playtime, save date atc. -> Removed MetaEngine::loadThumbnailFromSlot, superseded by meta infos -> Changed SCUMM / KYRA to implement the newly added functionallity -> Removed hack in KYRAs listSavefiles, which is now handled via meta infos svn-id: r34581
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2007-11-16Added assert for bit depth in Surface::move.Johannes Schickel
svn-id: r29522
2007-11-06Muting the compiler :PSven Hesse
svn-id: r29443
2007-11-06- little bit more cleanupJohannes Schickel
- added fixme about Surface::move svn-id: r29442
2007-11-06Cleanup.Johannes Schickel
svn-id: r29441
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024