summaryrefslogtreecommitdiff
path: root/src/spriteloader
AgeCommit message (Collapse)Author
2011-11-25(svn r23324) -Fix (r15555): Don't free reusable buffer.peter1138
2011-11-24(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.peter1138
2011-11-24(svn r23315) -Codechange: Only encode sprites for zoom levels that will be used.peter1138
2011-10-06(svn r23008) -Add: Palette detection and conversion for the M part of 32bpp ↵frosch
sprites.
2011-09-03(svn r22878) -Fix (r22873-ish): Check range before casting to uint16.frosch
2011-09-02(svn r22873) -Fix [FS#4747]: Validate image dimensions before loading. ↵michi_cc
(Based on patch by monoid)
2011-08-24(svn r22827) -Codechange: pass the/a more proper sub directory when opening ↵rubidium
(some) files instead of the default one
2011-08-24(svn r22825) -Codechange: pass subdir to FioOpenFilerubidium
2011-05-04(svn r22419) -Change: Always use the DOS palette for drawing.frosch
-Remove: the '-i' option for palette selection.
2011-05-01(svn r22406) -Document: some more "random-ish" tidbitsrubidium
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-22(svn r21886) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updated [n].
2010-07-24(svn r20211) -Codechange: Indented code should have curly braces around it.alberth
2010-04-14(svn r19628) -Change: support the tRNS chunk to read transparency ↵rubidium
information for RGB PNGs (Szvengar)
2010-02-24(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bitsmatz
2010-01-22(svn r18891) -Fix: Avoid duplicate path separator when searching for PNG ↵peter1138
files which prevented tar-lookups.
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-08(svn r18756) -Codechange: direct accesses to png_*_struct members are deprecatedglx
2010-01-01(svn r18683) -Fix: it's not an otherrubidium
2009-12-03(svn r18391) -Fix (r0): (Invalid) GRFs could trigger invalid reads.frosch
2009-10-31(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string ↵alberth
before the details string. Gentlemen, swap your string parameters.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-02-23(svn r15556) -Change: don't temporary malloc+free when encoding sprites, ↵rubidium
just reuse the same piece of allocated memory for each encoding.
2009-02-23(svn r15555) -Codechange: remove the mallocs + frees for temporary data from ↵rubidium
loading sprites.
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2008-11-23(svn r14610) -Fix [FS#2415]: possible stack corruption when reading ↵rubidium
corrupted sprites. -Change: harden the sprite reading routine against corrupt sprites.
2008-09-02(svn r14229) -Feature: allow overriding the palette of the base GRFs. This ↵rubidium
way you can play with NewGRFs made for the Windows palette with the DOS palettes base GRFs (and vice versa). Note that for this to work correctly ALL NewGRFs must use the same palette; mix and match is not yet supported.
2008-09-02(svn r14223) -Codechange: make GetSprite aware of the 4 different types of ↵rubidium
sprites: fonts, recolour, mapgen and normal sprites.
2008-08-31(svn r14199) -Codechange: split fileio.h into fileio_type.h and ↵rubidium
fileio_func.h so not everything that includes saveload.h needs to include everything else too.
2008-08-30(svn r14190) -Codechange: use alloc instead of malloc+free when the ↵rubidium
allocated memory shouldn't be used after the function ended.
2008-05-27(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.rubidium
2008-05-08(svn r13013) -Fix: GCC 4.3 warning about a clobbering mask due to longjmp. ↵rubidium
This can't be solved by using exceptions because the longjmp is needed for PNG (C-code) handling.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-03-28(svn r12453) -Fix [FS#1880]: Remove broken endian-dependent code and ↵peter1138
unnecessary rgb to bgr swapping.
2008-01-22(svn r11940) -Codechange: Store short filename once per open file instead of ↵peter1138
once per sprite cache entry. Not all file types need this, but most of the time no sprite cache entry needed it either.
2008-01-18(svn r11914) -Documentation: fix some @file statementglx
2007-12-26(svn r11704) -Codechange: remove another bunch of useless includes.rubidium
2007-12-25(svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp.rubidium
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-08(svn r11597) -Change: replace all remaining instances of (re|m|c)alloc with ↵rubidium
(Re|M|C)allocT and add a check for out-of-memory situations to the *allocT functions.
2007-09-13(svn r11095) -Codechange: don't abuse 'file_pos' by storing the file_slot in ↵truelight
it too, but use a nice seperate variable for it -Note: on a side-note, this allows files bigger than 16+ MiB, needed for tar-support
2007-06-27(svn r10365) -Fix: compiling without png and networking support under MSVC.rubidium
2007-06-14(svn r10156) -Fix: PNG loader can now load 8bpp palette images and greyscale ↵truelight
images
2007-06-13(svn r10143) -Add: store the filename of the grfs opened and allow easy ↵truelight
access to the name -Codechange: store the SpriteID in the spritecache too -Add: add a PNG loader for graphical files -Documentation: added a document to explain the PNG format
2007-06-13(svn r10132) -Codechange: split out the last direct video-buffer read access ↵truelight
to the blitter-layer -Add: added a new renderer and blitter to make room for some optimized bpp -Fix: fill the alpha channel in the grf-spriteloader
2007-06-12(svn r10113) -Fix (r10092): Missing svn properties and some Id/@file commentspeter1138
2007-06-11(svn r10092) -Codechange: code-seperated the spriteloader and blitter from ↵truelight
the rest of the code -Add: make it possible to pick your own blitter (-b <blitter>, -h for overview) -Add: added a new optimized 8bpp blitter (default, caches sprites of all zoom-levels) -Add: added a debug 8bpp blitter and a very slow normal 8bpp blitter