aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx
AgeCommit message (Collapse)Author
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.
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-21SWORD25: Reduce code duplication; formattingMax Horn
2011-03-18SWORD25: C++ify some code, remove obsolete stuffMax Horn
2011-02-02SWORD25: Cache related changesFilippos Karapetis
- Increase the resource cache limits - Added a check before forcing resources to be freed - Only force free image and animation resources, with a warning. It seems like there is a bug in the resource reference code and several bitmap resources are not freed - added a FIXME - Clarify that initializeAnimationResource() is used with XML resources svn-id: r55736
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: Disabled the video save/load code, and made it error out instead.Filippos Karapetis
Videos are never saved or loaded, thus when this happens, it probably indicates a game bug or a corrupted saved game svn-id: r55667
2011-01-30SWORD25: Added alternative code for video frame blitting (currently disabled)Filippos Karapetis
svn-id: r55664
2011-01-30SWORD25: Some translations, and a bugfix. Disabled a hack.Filippos Karapetis
Translated some comments, and pushed the indirect rendering define to the header file, so that the engine won't try and update the screen with direct movie rendering. Also, the thumbnail hack has been disabled, as it doesn't really work (at least not for me: all the thumbnails are gray) svn-id: r55663
2011-01-29SWORD25: Translated some comments, and removed some superfluous onesFilippos Karapetis
svn-id: r55613
2011-01-28SWORD25: Removed a lot of debug/unimplemented/unused functionsFilippos Karapetis
svn-id: r55600
2011-01-28SWORD25: Removed some now unused variablesFilippos Karapetis
svn-id: r55596
2011-01-28SWORD25: Removed some more unused/unimplemented debug codeFilippos Karapetis
svn-id: r55595
2011-01-28SWORD25: Disabled the mechanism which precaches all of the game's resources ↵Filippos Karapetis
on startup. This reduced the initial memory used by 100MB for me, though the game keeps allocating new resources in each scene without deleting them, because of the missing functionality in getUsedMemory(). This change also slightly reduces the loading time on game startup. svn-id: r55593
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-24SWORD25: CleanupFilippos Karapetis
svn-id: r55501
2011-01-24SWORD25: Fix linker breakage from DECLARE_SINGLETON() in renderObjectRegistry.h.David Turner
svn-id: r55490
2011-01-24SWORD25: Documented a FIXMEFilippos Karapetis
svn-id: r55489
2011-01-24SWORD25: Removed the logErrorLn and logWarningLn wrappersFilippos Karapetis
svn-id: r55488
2011-01-23SWORD25: Fix GCC Compilation Warnings.David Turner
svn-id: r55482
2011-01-23SWORD25: Fix format string warnings.Torbjörn Andersson
svn-id: r55465
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-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-17ENGINES: Change 'colour' to 'color'Max Horn
Only changed this in engines where 'color' was/is already used almost exclusively svn-id: r54288
2010-11-16COMMON: Simplify DECLARE_SINGLETON macroMax Horn
This makes it possible to write DECLARE_SINGLETON(foo); instead of DECLARE_SINGLETON(foo) without causing a warning about an extra semicolon. The extra semicolon helps some editors at parsing the C++ code. svn-id: r54258
2010-11-03SWORD25: cleanupMax Horn
svn-id: r54045
2010-11-02SWORD25: Convert printf to debugNMax Horn
svn-id: r54040