aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx/image
AgeCommit message (Collapse)Author
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
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-03SWORD25: cleanupMax Horn
svn-id: r54045
2010-11-02SWORD25: Convert printf to debugNMax Horn
svn-id: r54040
2010-11-01SWORD25: Replace art_warn/art_die by warning/errorMax Horn
svn-id: r54002
2010-10-30ALL: Add code to help stop people from accidentally using "bad" APIsMax 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-24SWORD25: Simplify & optimize PNG reading codeMax Horn
The interlaced part is untested since I do not know any place in the game where interlaced data is used. svn-id: r53757
2010-10-24SWORD25: Get rid of colorFormat parameter in PNGLoader APIMax Horn
Only CF_ARGB32 was supported anyway. svn-id: r53756
2010-10-24SWORD25: Merge classes PNGLoader, ImageLoader and ImageLoaderManagerMax Horn
This looses some flexibility when it comes to supporting other image formats. But since the game does not use other image formats, this seems rather irrelevant, compared to how much simpler the code now is. svn-id: r53755
2010-10-24SWORD25: Merge B25SLoader into PNGLoaderMax Horn
svn-id: r53754
2010-10-24SWORD25: Add ImageLoaderManager, get rid of last globally constructed objectMax Horn
This also gets rid of an evil use of atexit. svn-id: r53753
2010-10-20SWORD25: Added description field to savegamesPaul Gilbert
This stores the date and time of when the game was saved, since ScummVM doesn't support getting a file's age like the original engine did. svn-id: r53638
2010-10-19SWORD25: Enforced code formatting rules in rest of the engineEugene Sandulenko
svn-id: r53626
2010-10-19SWORD25: Enforce code naming conventions in gfx/image/imageloader*Eugene Sandulenko
svn-id: r53623
2010-10-19SWORD25: Enforce code naming conventions in gfx/graphicengine*Eugene Sandulenko
svn-id: r53621
2010-10-19SWORD25: Fix for Valgrind identified memory leakPaul Gilbert
svn-id: r53611
2010-10-18SWORD25: Fix for Valgrind identified errorsPaul Gilbert
svn-id: r53563
2010-10-15SWORD25: Do not use Kernel::GetService directly anymoreMax Horn
svn-id: r53477
2010-10-13SWORD25: Get rid of (deprecated) access to libpng io_ptrMax Horn
Unfortunately I cannot test this, so watch our for regressions. svn-id: r53451
2010-10-13SWORD25: Fix empty loop body & conversion warningsMax Horn
svn-id: r53450
2010-10-13SWORD25: Semi-colon cleanup.Johannes Schickel
svn-id: r53446
2010-10-13SWORD25: Silenced MSVC false positive about a potentially uninitialized variableFilippos Karapetis
svn-id: r53412
2010-10-13SWORD25: Get rid of kernel/bs_stdint.hMax Horn
svn-id: r53405
2010-10-13SWORD25: Add path to art.h includeEugene Sandulenko
svn-id: r53386
2010-10-13SWORD25: Stop polluting global namespaceEugene Sandulenko
svn-id: r53385
2010-10-13SWORD25: Merged all art* code and cleaned it upEugene Sandulenko
svn-id: r53384
2010-10-13SWORD25: Add proper copyrights to gfx/image/art*Eugene Sandulenko
svn-id: r53382
2010-10-13SWORD25: Enforse code naming conventions in PackageManager and Sword25EngineEugene Sandulenko
svn-id: r53380
2010-10-13SWORD25: Remove redundant codeEugene Sandulenko
svn-id: r53378
2010-10-13SWORD25: Fixed vector renderer. Yay!Eugene Sandulenko
svn-id: r53376
2010-10-13SWORD25: Fix transparency effectsEugene Sandulenko
svn-id: r53375
2010-10-12SWORD25: Implemented thumbnail loading for savegame listPaul Gilbert
svn-id: r53374
2010-10-12SWORD25: Rename GLImage to RenderedImageEugene Sandulenko
svn-id: r53361
2010-10-12SWORD25: Rename glimage.* to renderedimage.*Eugene Sandulenko
svn-id: r53360
2010-10-12SWORD25: Adjust the paths accordinglyEugene Sandulenko
svn-id: r53359
2010-10-12SWORD25: Moved glimage and swimage to image/Eugene Sandulenko
svn-id: r53357
2010-10-12SWORD25: Remove unnecessary executable flagsEugene Sandulenko
svn-id: r53355
2010-10-12SWORD25: Confirmed correctness of vector images alpha blendingEugene Sandulenko
svn-id: r53346
2010-10-12SWORD25: Remove unneeded fileEugene Sandulenko
svn-id: r53345
2010-10-12SWORD25: Fix vectorimage transparencyEugene Sandulenko
svn-id: r53343
2010-10-12SWORD25: Implement original hack with skipping green linesEugene Sandulenko
svn-id: r53342
2010-10-12SWORD25: Fix bug with some vector frames not showing up.Eugene Sandulenko
svn-id: r53341
2010-10-12SWORD25: Further fixes for vectorimage renderingEugene Sandulenko
svn-id: r53340
2010-10-12SWORD25: Major bugfix for vector renderer. Only minor glitches are leftEugene Sandulenko
svn-id: r53339