aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx/image/renderedimage.cpp
AgeCommit message (Collapse)Author
2014-06-24SWORD25: Fix sprite flippingEugene Sandulenko
2014-06-15SWORD25: Switch to common TransparentSurfaceEugene Sandulenko
2014-02-18SWORD25: Make GPL headers consistent in themselves.Johannes Schickel
2013-09-29SWORD25: Fix alpha/colormod blittingWillem Jan Palenstijn
This is a backport to sword25 of the wintermute commits e9cbda135bbc822009ff311cad6e420fb23cff82 and 2141ad285e0200f4773726a13504f960e382f13e Thanks to eriktorbjorn for noticing and testing.
2013-08-03SWORD25: Do not set Surface::pixels directly anymore.Johannes Schickel
2013-08-03SWORD25: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03SWORD25: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2013-07-14JANITORIAL: Remove trailing whitespaceSven Hesse
2013-05-17RECORDER: Implement Events RecorderEugene Sandulenko
2013-04-20SWORD25: Fix blitting codejohndoe123
- Rename collectRenderQueue to preRender - Only do forceRefresh() in Panel::setColor() and Text::setText() if the new values are different - Move child object resorting from RenderObject::render() into RenderObject::preRender()
2013-04-17SWORD25: Optimize graphics drawing codejohndoe123
2012-06-16SWORD25: Get rid of casts on OSystem::copyRectToScreen calls.Johannes Schickel
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-06-29SWORD25: Implement persistence functions for soundengineEugene Sandulenko
Now sound is properly saved/restored. Implemented savegame versioning. Compatibility with old saves pertained.
2011-06-17SWORD25: Fix image blending for blackEugene Sandulenko
This fixes exit menu.
2011-05-26SWORD25: Merged the PNG and thumbnail decoding code into a common classmd5
2011-05-26SWORD25: Removed the leftover libpng codemd5
2011-05-23SWORD25: De-hardcode target name in thumbnail codeAlyssa Milburn
This just uses the provided filename rather than trying to recreate it with a hard-coded target (causing crashes with other targets). (Also, add an error check rather then crashing there, just in case.)
2011-05-13SWORD25: Added a version field for savegame thumbnailsmd5
2011-05-13SWORD25: Replaced the PNG thumbnail encoding code, used in saved gamesmd5
- Savegame thumbnails are now created using a flat image format, instead of PNG. This allows us to remove the PNG encoding code used in the engine. Note that the saved games we create cannot be used with the original engine anyway, so this change does not break savegame compatibility with the original game (it's already broken). - Compatibility is preserved with older saved games that were made with ScummVM. - Moved the embedded thumbnail reading code out of the PNG loader class, to stop it from needlessly checking every PNG file. - With this change, libpng is no longer required for the sword25 engine
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-05SWORD25: Disabled code which isn't necessary with our PNG decodermd5
2011-05-05SWORD25: Moved the thumbnail handling code to its appropriate placemd5
PNGLoader is able to load images embedded in saved games already. This helps remove some duplicate code
2011-04-17ALL/GRAPHICS: Remove Surface::bytesPerPixel.Johannes Schickel
2011-04-17SWORD25: Prefer Surface::format over Surface::bytesPerPixel.Johannes Schickel
2011-04-17SWORD25: Prefer Surface::create taking a PixelFormat over the one taking a ↵Johannes Schickel
byte depth. I am not 100% sure whether the surfaces all use the same format as the screen, but a quick test showed that it still works fine. In case this is wrong please set them up with the correct format.
2011-04-14SWORD25: Silly whitespace fix.Alyssa Milburn
2011-04-14SWORD25: Fix rendering on big-endian.Alyssa Milburn
2011-03-25SWORD25: more translated comments from gfx/image (patch #3238507)Max Horn
Plus some extra white space changes by myself.
2011-01-30SWORD25: Added alternative code for video frame blitting (currently disabled)Filippos Karapetis
svn-id: r55664
2011-01-23SWORD25: Replaced BS_ASSERT() with assert()Filippos Karapetis
svn-id: r55464
2011-01-23SWORD25: Removed the custom log class and replaced it with ↵Filippos Karapetis
warning/error/debugC calls svn-id: r55462
2011-01-16SWORD25: Fix main menu button text colourTorbjörn Andersson
In the other cases I've found in the code, the colour components are stored in the order B, G, R and A. Assume that's the case here too. I hope that is correct. It doesn't seem to break anything obvious. svn-id: r55255
2010-11-03SWORD25: cleanupMax Horn
svn-id: r54045
2010-10-24SWORD25: Get rid of colorFormat parameter in PNGLoader APIMax Horn
Only CF_ARGB32 was supported anyway. svn-id: r53756
2010-10-24SWORD25: Merge classes PNGLoader, ImageLoader and ImageLoaderManagerMax Horn
This looses some flexibility when it comes to supporting other image formats. But since the game does not use other image formats, this seems rather irrelevant, compared to how much simpler the code now is. svn-id: r53755
2010-10-24SWORD25: Add ImageLoaderManager, get rid of last globally constructed objectMax Horn
This also gets rid of an evil use of atexit. svn-id: r53753
2010-10-19SWORD25: Enforced code formatting rules in rest of the engineEugene Sandulenko
svn-id: r53626
2010-10-19SWORD25: Enforce code naming conventions in gfx/image/imageloader*Eugene Sandulenko
svn-id: r53623
2010-10-15SWORD25: Do not use Kernel::GetService directly anymoreMax Horn
svn-id: r53477
2010-10-13SWORD25: Enforse code naming conventions in PackageManager and Sword25EngineEugene Sandulenko
svn-id: r53380
2010-10-13SWORD25: Fix transparency effectsEugene Sandulenko
svn-id: r53375
2010-10-12SWORD25: Rename GLImage to RenderedImageEugene Sandulenko
svn-id: r53361
2010-10-12SWORD25: Rename glimage.* to renderedimage.*Eugene Sandulenko
svn-id: r53360