belugas
e89b108161
(svn r14016) -Codechange: Remove some magical numbers
16 years ago
smatz
7ec2ad621d
(svn r13640) -Codechange: make colours behind not fully solid objects less darker for BM_TRANSPARENT (for 32bpp blitters)
17 years ago
smatz
faebe10d81
(svn r13639) -Codechange: rewrite 32bpp-anim and 32bpp-optimized drawing and encoding so it uses similiar scheme as 8bpp-optimized
...
All zoom levels are stored and a kind of RLE is used. Together with further changes and reducing number of variables, drawing is ~50% faster in average.
17 years ago
smatz
25db4b3aae
(svn r13568) -Fix (r13564): Windows build asserts where I wouldn't expect it to
17 years ago
smatz
883ffd1683
(svn r13564) -Codechange: do not use SetPixel in PaletteAnimate, access destination directly instead. Makes palette animation ~40% faster.
17 years ago
rubidium
1ce0b03bf0
(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.
17 years ago
rubidium
90acd52f22
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
17 years ago
frosch
7d3ecec5b9
(svn r11813) -Fix [FS#1602]: Switch _screen to the output buffer and disable usage of 32bpp-anim animation buffer during giant screenshots.
17 years ago
rubidium
00c9d3ef20
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
17 years ago
rubidium
507463e420
(svn r11684) -Codechange: split gfx.h in a type and functional header.
17 years ago
smatz
d5dbce8331
(svn r11652) -Codechange: add the svn $ header for several files
17 years ago
truelight
f055b0b557
(svn r11083) -Fix r11078: don't clear the anim buffer when alpha = 0 (tnx to frosch)
17 years ago
truelight
65aed53cab
(svn r11082) -Fix r11081: save before commit (yeah, whitelines are important too!)
17 years ago
truelight
f97d2b4706
(svn r11081) -Fix r11080: now solved the problem in a pretty way: don't do animation if we are not drawing to the screen-pointer
17 years ago
truelight
e2fe88fb70
(svn r11080) -Fix r11079: fix it, still dirty, correctly, as the last commit was ... wrong ;)
17 years ago
truelight
b823cc2b6b
(svn r11079) -Fix: dirty fix to allow big-screenshots with 32bpp-anim
17 years ago
truelight
f827093ba7
(svn r11078) -Add: added 32bpp-optimized, which is almost twice as fast as 32bpp-simple (based on the work of frosch)
...
-Add: let 32bpp-anim use 32bpp-optimizeds, so he profits from the speed-up too
17 years ago
truelight
3de2c716df
(svn r11076) -Fix: MakeTransparent of 32bpp blitter used 0..100; using 0..255 makes it much faster (frosch)
...
-Fix: ComposeColourXXX could work a tiny bit faster when using 256, not 255 as value to divide with; downside is that it can give alpha errors (frosch)
17 years ago
peter1138
5e85e8c5e0
(svn r10444) -Codechange: switch to c++ classes and inheritance for sound/music/video drivers, using self-registration based on the blitter-model.
17 years ago
peter1138
12302ae8c7
(svn r10412) -Codechange: Remove unnecessary inclusion of hal.h in various files (and add one)
18 years ago
truelight
2f0500a438
(svn r10244) -Fix: make sure to let 32bpp-anim report the increased buffer-size it needs
18 years ago
truelight
426de65b18
(svn r10242) -Fix: avoid a segfault if you move your mouse at startup with 32bpp-anim
18 years ago
truelight
d614cec205
(svn r10241) -Codechange: CopyToBuffer now produces a buffer that is unreadable from outside the blitter, so the blitter can store anything he likes
...
-Codechange: added CopyImageToBuffer, which produces a readable buffer for screenshots
-Fix: 32bpp-anim now holds animation on transparent objects to avoid strange graphical effects
-Fix: 32bpp-anim now works correct on mouse-movement (it holds the palette animation correctly)
18 years ago
truelight
59b54b3b02
(svn r10235) -Fix: the 32bpp-anim blitter repainted pixel color 0, which is transparency and therefor should never be repainted (spotted by Rubidium)
18 years ago
truelight
9efe1d6776
(svn r10227) -Add: added 32bpp-anim blitter, a 32bpp blitter that does palette animation (at the cost of an animation-buffer to keep track of the 'm'-channel of all sprites)
18 years ago