aboutsummaryrefslogtreecommitdiff
path: root/graphics/surface.cpp
AgeCommit message (Collapse)Author
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-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
2006-06-21Move moveScreen to common surface functions for graphicsTravis Howell
svn-id: r23218
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20519
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-05-17Added clipping to drawLine(). This fixes a regression that caused theTorbjörn Andersson
debug console to crash ScummVM. (I'm not sure, but I think it was trying to draw the scrollbar arrows outside the screen when the console was sliding into view.) svn-id: r18138
2005-05-08Added convenience methods create/free to Graphics::Surface (part of patch ↵Max Horn
#1163026) svn-id: r17973
2005-05-08Patch #1193795 (Adding drawLine() to Surface)Max Horn
svn-id: r17959
2005-05-02Const correctnessMax Horn
svn-id: r17898
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-11-26Fix typo. Actually asserts there would be more convenient for debuggingEugene Sandulenko
purposes. svn-id: r15892
2004-11-25Small optimizationMax Horn
svn-id: r15889
2004-11-25Added some graphic primitivesMax Horn
svn-id: r15885