aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx/image
AgeCommit message (Collapse)Author
2014-06-24SWORD25: Fix sprite flippingEugene Sandulenko
2014-06-15SWORD25: Switch to common TransparentSurfaceEugene Sandulenko
2014-02-28IMAGE: Move all ImageDecoders to image/Matthew Hoops
2014-02-18SWORD25: Make GPL headers consistent in themselves.Johannes Schickel
2013-11-24SWORD25: Janitorial - Fix spacing errorsStrangerke
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-05-06Merge pull request #320 from johndoe123/sword25-gfxEugene Sandulenko
SWORD25: Optimized graphics drawing
2013-04-24SWORD25: Plug memory leak. CID 1003589Eugene 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
2012-06-13SWORD25: Janitorial: Apply coding conventionsStrangerke
2012-03-20GRAPHICS: Move PNG to the ImageDecoder interfaceMatthew Hoops
2011-12-08SWORD25: Reduce usage of 'goto'.D G Turner
Have refrained from changing the usage of 'goto' in the embedded LUA interpreter code for the time being, as this is still in flux due to the savegame issues.
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-07-10SWORD25: Fix regression introduced in 5dd8f2575b0fEugene Sandulenko
Janitorial removed function call which had a side effect. Thus the actor image load code crashed.
2011-06-30JANITORIAL: Silence a couple of "variable set but not used" warnings.eriktorbjorn
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-23SWORD25: Add error checks after allocating memory with mallocJulien
2011-06-23ANALYSIS: Fix potential memory leak when using reallocJulien
When reallocation is unsuccessful, the passed buffer is not freed. In this case, assigning the result (NULL) will result in a leak of the original memory buffer. See http://msdn.microsoft.com/en-us/library/kkedhy7c.aspx
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-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-03-24SWORD25: Commit submitted patch of German comments translated to EnglishPaul Gilbert
2011-03-23SWORD25: Commit of patch translating German comments to EnglishPaul Gilbert
2011-03-18SWORD25: C++ify some code, remove obsolete stuffMax Horn
2011-02-02GRAPHICS: Implemented a PNG decoder, and set it as default for the sword25 ↵Filippos Karapetis
engine libpng is still needed for PNG encoding (for thumbnails in saved games of sword25), but since we'll probably drop support for the original saved games anyway, the PNG encoding code will ultimately be removed svn-id: r55723
2011-01-30SWORD25: Added alternative code for video frame blitting (currently disabled)Filippos Karapetis
svn-id: r55664
2011-01-24SWORD25: Fix some invalid writes / crashesSven Hesse
On my system, sizeof(png_uint_32) == 8, while sizeof(int) == 4. svn-id: r55504
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