alberth
be6c058424
(svn r20211) -Codechange: Indented code should have curly braces around it.
2010-07-24 10:14:39 +00:00
rubidium
51ea33f92f
(svn r19628) -Change: support the tRNS chunk to read transparency information for RGB PNGs (Szvengar)
2010-04-14 16:07:17 +00:00
smatz
f051066bc4
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
2010-02-24 14:46:15 +00:00
peter1138
200dc6821f
(svn r18891) -Fix: Avoid duplicate path separator when searching for PNG files which prevented tar-lookups.
2010-01-22 23:55:20 +00:00
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
glx
6179198c65
(svn r18756) -Codechange: direct accesses to png_*_struct members are deprecated
2010-01-08 03:17:12 +00:00
rubidium
b2e9b5d612
(svn r18683) -Fix: it's not an other
2010-01-01 18:45:40 +00:00
frosch
169141433a
(svn r18391) -Fix (r0): (Invalid) GRFs could trigger invalid reads.
2009-12-03 15:27:33 +00:00
alberth
44aacfc59f
(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
...
Gentlemen, swap your string parameters.
2009-10-31 19:46:51 +00:00
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
2009-10-04 17:16:41 +00:00
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
rubidium
3ba802e995
(svn r15556) -Change: don't temporary malloc+free when encoding sprites, just reuse the same piece of allocated memory for each encoding.
2009-02-23 17:54:02 +00:00
rubidium
0c1b8ea602
(svn r15555) -Codechange: remove the mallocs + frees for temporary data from loading sprites.
2009-02-23 10:50:25 +00:00
rubidium
c0a8d09ca7
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
2009-02-09 02:57:15 +00:00
rubidium
2277a1ff9c
(svn r14610) -Fix [FS#2415]: possible stack corruption when reading corrupted sprites.
...
-Change: harden the sprite reading routine against corrupt sprites.
2008-11-23 13:42:05 +00:00
rubidium
fc216aeeb8
(svn r14229) -Feature: allow overriding the palette of the base GRFs. This 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 18:45:15 +00:00
rubidium
c8e8911ef6
(svn r14223) -Codechange: make GetSprite aware of the 4 different types of sprites: fonts, recolour, mapgen and normal sprites.
2008-09-02 15:20:38 +00:00
rubidium
ea1f180a55
(svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too.
2008-08-31 10:50:05 +00:00
rubidium
e06c21426e
(svn r14190) -Codechange: use alloc instead of malloc+free when the allocated memory shouldn't be used after the function ended.
2008-08-30 09:43:07 +00:00
rubidium
5c5ee7eb57
(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.
2008-05-27 21:41:00 +00:00
rubidium
d7e0dd6e82
(svn r13013) -Fix: GCC 4.3 warning about a clobbering mask due to longjmp. This can't be solved by using exceptions because the longjmp is needed for PNG (C-code) handling.
2008-05-08 13:51:15 +00:00
rubidium
d03994098b
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
2008-05-06 15:11:33 +00:00
peter1138
b8ac06b462
(svn r12453) -Fix [FS#1880]: Remove broken endian-dependent code and unnecessary rgb to bgr swapping.
2008-03-28 01:22:47 +00:00
peter1138
ffec79bbcf
(svn r11940) -Codechange: Store short filename once per open file instead of 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-22 07:27:06 +00:00
glx
b7f50533c2
(svn r11914) -Documentation: fix some @file statement
2008-01-18 03:48:29 +00:00
rubidium
0b1d3e43e5
(svn r11704) -Codechange: remove another bunch of useless includes.
2007-12-26 23:04:26 +00:00
rubidium
b3f6c0734b
(svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp.
2007-12-25 13:28:09 +00:00
rubidium
bf98e25e43
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
2007-12-25 09:48:53 +00:00
rubidium
a773d45885
(svn r11684) -Codechange: split gfx.h in a type and functional header.
2007-12-23 10:56:02 +00:00
rubidium
f1e4914b5f
(svn r11597) -Change: replace all remaining instances of (re|m|c)alloc with (Re|M|C)allocT and add a check for out-of-memory situations to the *allocT functions.
2007-12-08 14:50:41 +00:00
truelight
8cd9ab9b7e
(svn r11095) -Codechange: don't abuse 'file_pos' by storing the file_slot in 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-09-13 18:22:34 +00:00
rubidium
26d6ba98ee
(svn r10365) -Fix: compiling without png and networking support under MSVC.
2007-06-27 22:26:27 +00:00
truelight
a61f0d9049
(svn r10156) -Fix: PNG loader can now load 8bpp palette images and greyscale images
2007-06-14 14:11:08 +00:00
truelight
b7443d800b
(svn r10143) -Add: store the filename of the grfs opened and allow easy 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 16:21:11 +00:00
truelight
e7221d1fa9
(svn r10132) -Codechange: split out the last direct video-buffer read access 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-13 10:31:40 +00:00
peter1138
d1e71eb34e
(svn r10113) -Fix (r10092): Missing svn properties and some Id/@file comments
2007-06-12 12:27:40 +00:00
truelight
6b101cc177
(svn r10092) -Codechange: code-seperated the spriteloader and blitter from 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
2007-06-11 11:50:49 +00:00