summaryrefslogtreecommitdiff
path: root/src/spriteloader
AgeCommit message (Collapse)Author
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2013-11-26(svn r26132) -Fix-ish: prevent issues due to overflowing multiplications by ↵rubidium
limiting the size of full zoom sprites to about 32kix32ki
2012-02-04(svn r23898) -Remove: PNG sprite loader.michi_cc
2012-02-04(svn r23897) -Feature: [NewGRF] 32bpp sprites in GRFs.michi_cc
2012-02-04(svn r23894) -Fix (r23893): Use the right variable, not the one that's ↵michi_cc
always going to be 0.
2012-02-04(svn r23893) -Change: [NewGRF] Extended chunked sprite encoding to work for ↵michi_cc
bigger sprites.
2012-02-04(svn r23890) -Add: [NewGRF] Support for RealSprites with multiple zoom levels.michi_cc
2012-02-04(svn r23889) -Codechange: Centralise sprite resizing in one place. (peter1138)michi_cc
2012-02-04(svn r23887) -Feature: [NewGRF] Support for container version 2.michi_cc
2012-02-04(svn r23881) -Codechange: Move GRF sprite decoding into a separate function.michi_cc
2011-12-24(svn r23670) -Feature: Add ability to adjust brightness of colour after ↵peter1138
remapping for 32bpp sprites
2011-12-15(svn r23527) -Codechange: unify colo(u)r as far as it goesrubidium
2011-12-10(svn r23474) -Codechange: move the declaration error related functions to ↵rubidium
error.h
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