Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-11-16 | COMMON: 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-10 | SWORD25: Fix regression introduced in 5dd8f2575b0f | Eugene Sandulenko | |
Janitorial removed function call which had a side effect. Thus the actor image load code crashed. | |||
2011-06-30 | JANITORIAL: Silence a couple of "variable set but not used" warnings. | eriktorbjorn | |
2011-06-30 | ALL: Require DECLARE_SINGLETON to be used in the Common namepsace | Ori 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-29 | SWORD25: removed useless warning in setVsync() | Eugene Sandulenko | |
2011-06-29 | SWORD25: Implement persistence functions for soundengine | Eugene Sandulenko | |
Now sound is properly saved/restored. Implemented savegame versioning. Compatibility with old saves pertained. | |||
2011-06-26 | SWORD25: Fix bug with loading saves when some saves are missing | Eugene Sandulenko | |
2011-06-23 | SWORD25: Add error checks after allocating memory with malloc | Julien | |
2011-06-23 | ANALYSIS: Fix potential memory leak when using realloc | Julien | |
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-20 | ALL: Remove trailing whitespaces | Max 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-17 | SWORD25: Fix image blending for black | Eugene Sandulenko | |
This fixes exit menu. | |||
2011-06-06 | COMMON: Remove vfprintf call from XML parser | Max Horn | |
2011-06-06 | SWORD25: Remove redundant bounds check | Max Horn | |
2011-06-06 | SWORD25: Fix whitespace | Max Horn | |
2011-05-26 | SWORD25: Merged the PNG and thumbnail decoding code into a common class | md5 | |
2011-05-26 | SWORD25: Removed the leftover libpng code | md5 | |
2011-05-25 | ALL: initialise -> initialize | Matthew Hoops | |
2011-05-23 | SWORD25: Remove obsolete FORBIDDEN_SYMBOL_ALLOW_ALL defines | Max Horn | |
2011-05-23 | SWORD25: Fix screenshot endianism issue | Alyssa Milburn | |
2011-05-23 | SWORD25: De-hardcode target name in thumbnail code | Alyssa 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-13 | SWORD25: Added a version field for savegame thumbnails | md5 | |
2011-05-13 | SWORD25: Replaced the PNG thumbnail encoding code, used in saved games | md5 | |
- 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-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-05-05 | SWORD25: Disabled code which isn't necessary with our PNG decoder | md5 | |
2011-05-05 | SWORD25: Moved the thumbnail handling code to its appropriate place | md5 | |
PNGLoader is able to load images embedded in saved games already. This helps remove some duplicate code | |||
2011-05-05 | SWORD25: Fixed the thumbnail creation code, and removed a hack | md5 | |
2011-05-05 | SWORD25: Initial code for showing savegame thumbnails | md5 | |
There is currently a bug and only the thumbnail of the first save slot is shown | |||
2011-05-05 | SWORD25: Remove unused code | md5 | |
2011-05-01 | Merge 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-28 | JANITORIAL: Reduce header dependencies in shared code | Ori Avtalion | |
Some backends may break as I only compiled SDL | |||
2011-04-17 | ALL/GRAPHICS: Remove Surface::bytesPerPixel. | Johannes Schickel | |
2011-04-17 | SWORD25: Prefer Surface::format over Surface::bytesPerPixel. | Johannes Schickel | |
2011-04-17 | SWORD25: 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-14 | SWORD25: Silly whitespace fix. | Alyssa Milburn | |
2011-04-14 | SWORD25: Simplify text rendering code slightly. | Alyssa Milburn | |
2011-04-14 | SWORD25: Fix rendering on big-endian. | Alyssa Milburn | |
2011-03-25 | SWORD25: more translated comments from gfx/image (patch #3238507) | Max Horn | |
Plus some extra white space changes by myself. | |||
2011-03-24 | SWORD25: Commit submitted patch of German comments translated to English | Paul Gilbert | |
2011-03-23 | SWORD25: Commit of patch translating German comments to English | Paul Gilbert | |
2011-03-21 | SWORD25: Reduce code duplication; formatting | Max Horn | |
2011-03-18 | SWORD25: C++ify some code, remove obsolete stuff | Max Horn | |
2011-02-02 | SWORD25: Cache related changes | Filippos 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-02 | GRAPHICS: 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-30 | SWORD25: 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-30 | SWORD25: Added alternative code for video frame blitting (currently disabled) | Filippos Karapetis | |
svn-id: r55664 | |||
2011-01-30 | SWORD25: 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-29 | SWORD25: Translated some comments, and removed some superfluous ones | Filippos Karapetis | |
svn-id: r55613 | |||
2011-01-28 | SWORD25: Removed a lot of debug/unimplemented/unused functions | Filippos Karapetis | |
svn-id: r55600 | |||
2011-01-28 | SWORD25: Removed some now unused variables | Filippos Karapetis | |
svn-id: r55596 | |||
2011-01-28 | SWORD25: Removed some more unused/unimplemented debug code | Filippos Karapetis | |
svn-id: r55595 |