aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx
AgeCommit message (Collapse)Author
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: Change absolute Z calculation to match that of absolute x/y; remove ↵johndoe123
old comment
2013-04-17SWORD25: Optimize graphics drawing codejohndoe123
2013-01-09SWORD25: Silence C++11 narrowing warnings.Johannes Schickel
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
2012-01-29SWORD25: Return 0 instead of false in Screenshot::createThumbnail.Johannes Schickel
This should "fix" a g++ warning.
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-27JANITORIAL: Remove extra semicolons.Christoph Mallon
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-30ALL: Require DECLARE_SINGLETON to be used in the Common namepsaceOri Avtalion
Silences the clang warning: static data member specialization of '_singleton' must originally be declared in namespace 'Common'; accepted as a C++0x extension [-Wc++0x-extensions] Wrapping "namespace Common {}" around the macro assignment causes clang to complain about a spurious semicolon, and removing the semicolon at the end of the macro causes some editors to misbehave. Changing the requirement of using the macro in one namespace (the global) to another (Common) seems a small price to pay to silence a warning.
2011-06-29SWORD25: removed useless warning in setVsync()Eugene Sandulenko
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-26SWORD25: Fix bug with loading saves when some saves are missingEugene Sandulenko
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-06-06COMMON: Remove vfprintf call from XML parserMax Horn
2011-06-06SWORD25: Remove redundant bounds checkMax Horn
2011-06-06SWORD25: Fix whitespaceMax Horn
2011-05-26SWORD25: Merged the PNG and thumbnail decoding code into a common classmd5
2011-05-26SWORD25: Removed the leftover libpng codemd5
2011-05-25ALL: initialise -> initializeMatthew Hoops
2011-05-23SWORD25: Remove obsolete FORBIDDEN_SYMBOL_ALLOW_ALL definesMax Horn
2011-05-23SWORD25: Fix screenshot endianism issueAlyssa Milburn
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-05-05SWORD25: Fixed the thumbnail creation code, and removed a hackmd5
2011-05-05SWORD25: Initial code for showing savegame thumbnailsmd5
There is currently a bug and only the thumbnail of the first save slot is shown
2011-05-05SWORD25: Remove unused codemd5
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-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: Simplify text rendering code slightly.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.