frosch
058017e178
(svn r23989) -Fix-ish: Zero the offsets of disabled zoomlevels.
2012-02-25 17:39:34 +00:00
michi_cc
e85d5b5d31
(svn r23889) -Codechange: Centralise sprite resizing in one place. (peter1138)
2012-02-04 13:29:13 +00:00
frosch
f8478cecb3
(svn r23343) -Fix (r23332): Incorrect encoding of sprites with much transparency.
2011-11-27 14:53:05 +00:00
peter1138
cd6249dfc5
(svn r23332) -Fix (r23316): Length of transparent pixels could exceed a byte. (frosch)
2011-11-26 13:36:38 +00:00
peter1138
15d0a22aac
(svn r23315) -Codechange: Only encode sprites for zoom levels that will be used.
2011-11-24 12:26:44 +00:00
rubidium
485c7cd99e
(svn r22397) -Document: some tidbits of the blitter code
2011-05-01 10:15:33 +00:00
frosch
3d1008318b
(svn r21782) -Codechange: Move declaration of AllocatorProc from Blitter:: to spritecache.h
2011-01-14 15:34:33 +00:00
rubidium
e356cb9405
(svn r20281) -Codechange: unify case scope closure + break coding style
2010-08-01 18:53:30 +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
c0a8d09ca7
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
2009-02-09 02:57:15 +00:00
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
2009-01-31 20:16:06 +00:00
smatz
37b8e87454
(svn r13602) -Codechange: little speedup for 8bpp-optimized blitter
2008-06-21 20:58:34 +00:00
smatz
dedb0033b3
(svn r13551) -Codechange: store offsets to different zoom levels in a distinguished struct instead in the data stream for 8bpp-optimized
2008-06-17 17:25:22 +00:00
smatz
0812e2f959
(svn r13354) -Codechange: make 8bpp_optimized blitter ~25% faster in encoding and ~15% faster in drawing (depends on architecture)
2008-06-01 19:36:55 +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
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
smatz
bda9d4a236
(svn r11656) -Codechange: add ZOOM_LVL_BEGIN and postfix operators so ZoomLevel can be used in some iterations
2007-12-17 22:04:07 +00:00
rubidium
45ae73e03f
(svn r10355) -Fix (r10092): memory leak when encoding (reading) sprites.
2007-06-27 16:41:37 +00:00
truelight
636db862a5
(svn r10234) -Fix r10233: make peter1138 happy
2007-06-20 10:30:25 +00:00
truelight
d7acd238ac
(svn r10233) -Fix: 8bpp-optimized encoder fucked up if 255+ pixels in a row were non-transparent (tnx boekabart)
2007-06-20 10:26:39 +00:00
truelight
003375d375
(svn r10190) -Codechange: merged renderer and blitter to one single class API: blitter
...
-Codechange: introduced a hierachy of blitters to avoid a lot of code duplication
Note: this allows much easier adding other types of video-drivers, like OpenGL
2007-06-17 20:30:28 +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
truelight
f3f744d36a
(svn r10121) -Codechange: split renderer from rest of code; no longer any code directly accesses the video-buffer
...
-Add: added NULL blitter and renderer, which are always used for -vnull
-Add: dedicated driver doesn't blit nor render by default. Can be overruled by user. (-D -b 8bpp-optimized)
-Remove: removed CTRL+D from win32, which is incompatible with above
-Add: extended screenshot support for PNG and BMP
-Codechange: remove all hardcoded 8bpp references and replace them with more dynamic ones
-Codechange: minor stuff in blitters
2007-06-12 20:24:12 +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
31ade47910
(svn r10100) -Fix r10093: some code now became obsolete as it never did something
2007-06-11 14:45:26 +00:00
truelight
be0f5cf877
(svn r10096) -Fix r10092: freetype bypassed the Blitter::Encode, making fonts look weird
2007-06-11 13:38:11 +00:00
truelight
9d570fa018
(svn r10095) -Fix: avoid reading outside the buffer because of scaling problems
2007-06-11 12:51:27 +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