Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-08-03 | SWORD25: Do not set Surface::pixels directly anymore. | Johannes Schickel | |
2013-08-03 | SWORD25: Take advantage of Surface::getPixels. | Johannes Schickel | |
2013-08-03 | SWORD25: Prefer getBasePtr over direct Surface::pixels access. | Johannes Schickel | |
2013-07-14 | JANITORIAL: Remove trailing whitespace | Sven Hesse | |
2013-05-17 | RECORDER: Implement Events Recorder | Eugene Sandulenko | |
2013-05-06 | Merge pull request #320 from johndoe123/sword25-gfx | Eugene Sandulenko | |
SWORD25: Optimized graphics drawing | |||
2013-04-24 | SWORD25: Plug memory leak. CID 1003589 | Eugene Sandulenko | |
2013-04-20 | SWORD25: Fix blitting code | johndoe123 | |
- 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-17 | SWORD25: Optimize graphics drawing code | johndoe123 | |
2012-06-16 | SWORD25: Get rid of casts on OSystem::copyRectToScreen calls. | Johannes Schickel | |
2012-06-13 | SWORD25: Janitorial: Apply coding conventions | Strangerke | |
2012-03-20 | GRAPHICS: Move PNG to the ImageDecoder interface | Matthew Hoops | |
2011-12-08 | SWORD25: 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-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-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-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-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-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-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: 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-18 | SWORD25: C++ify some code, remove obsolete stuff | Max Horn | |
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: Added alternative code for video frame blitting (currently disabled) | Filippos Karapetis | |
svn-id: r55664 | |||
2011-01-24 | SWORD25: Fix some invalid writes / crashes | Sven Hesse | |
On my system, sizeof(png_uint_32) == 8, while sizeof(int) == 4. svn-id: r55504 | |||
2011-01-23 | SWORD25: Replaced BS_ASSERT() with assert() | Filippos Karapetis | |
svn-id: r55464 | |||
2011-01-23 | SWORD25: Removed the custom log class and replaced it with ↵ | Filippos Karapetis | |
warning/error/debugC calls svn-id: r55462 | |||
2011-01-16 | SWORD25: Fix main menu button text colour | Torbjö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-19 | COMMON: Split common/stream.h into several headers | Max Horn | |
svn-id: r54385 | |||
2010-11-03 | SWORD25: cleanup | Max Horn | |
svn-id: r54045 | |||
2010-11-02 | SWORD25: Convert printf to debugN | Max Horn | |
svn-id: r54040 | |||
2010-11-01 | SWORD25: Replace art_warn/art_die by warning/error | Max Horn | |
svn-id: r54002 | |||
2010-10-30 | ALL: Add code to help stop people from accidentally using "bad" APIs | Max Horn | |
A new header file common/forbidden.h is included by scummsys.h and it re-#defines numerous symbols like fopen(), fread(), system(), etc. with garbage, in order to provoke compile errors in any code using them. If a .cpp file really *must* use any of these (e.g. because it is a backend file), then these redefinitions can be disabled by #defining FORBIDDEN_SYMBOL_ALLOW_ALL as the first thing in the .cpp file. Whenever this is done, an explanatory comment should be added. Note that this system cannot catch all "bad" usages (notably the Lua code in the sword25 engine), as it can only work if scummsys.h is included. svn-id: r53961 | |||
2010-10-24 | SWORD25: Simplify & optimize PNG reading code | Max Horn | |
The interlaced part is untested since I do not know any place in the game where interlaced data is used. svn-id: r53757 |