summaryrefslogtreecommitdiff
path: root/src/blitter
AgeCommit message (Collapse)Author
2007-09-13(svn r11093) -Fix r11092: also add a DEBUG(driver, 1) if the blitter is ↵truelight
loaded, to show which one really loaded
2007-09-13(svn r11092) -Add: allow 'blitter=<value>' in openttd.cfg to set the blitter ↵truelight
(so you don't have to keep on doing 'openttd -b 32bpp-optimized'..)
2007-09-10(svn r11083) -Fix r11078: don't clear the anim buffer when alpha = 0 (tnx to ↵truelight
frosch)
2007-09-10(svn r11082) -Fix r11081: save before commit (yeah, whitelines are important ↵truelight
too!)
2007-09-10(svn r11081) -Fix r11080: now solved the problem in a pretty way: don't do ↵truelight
animation if we are not drawing to the screen-pointer
2007-09-09(svn r11080) -Fix r11079: fix it, still dirty, correctly, as the last commit ↵truelight
was ... wrong ;)
2007-09-09(svn r11079) -Fix: dirty fix to allow big-screenshots with 32bpp-animtruelight
2007-09-09(svn r11078) -Add: added 32bpp-optimized, which is almost twice as fast as ↵truelight
32bpp-simple (based on the work of frosch) -Add: let 32bpp-anim use 32bpp-optimizeds, so he profits from the speed-up too
2007-09-09(svn r11076) -Fix: MakeTransparent of 32bpp blitter used 0..100; using ↵truelight
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)
2007-08-10(svn r10837) -Fix [FS#1102]: DrawLine didn't bound-check the first pixel ↵truelight
that was drawn (frosch)
2007-07-14(svn r10561) -Fix: don't give 'unused variable' warnings when disabling assertstruelight
2007-07-05(svn r10444) -Codechange: switch to c++ classes and inheritance for ↵peter1138
sound/music/video drivers, using self-registration based on the blitter-model.
2007-07-03(svn r10412) -Codechange: Remove unnecessary inclusion of hal.h in various ↵peter1138
files (and add one)
2007-06-27(svn r10358) -Codechange: remove the cargopacket leakchecker as it never ↵rubidium
asserted in almost a week of stresstesting, so I'm pretty sure all cornercases are tested by now.
2007-06-27(svn r10355) -Fix (r10092): memory leak when encoding (reading) sprites.rubidium
2007-06-21(svn r10245) -Codechange: added GetName also to all Blitters, instead of ↵truelight
only the Factory
2007-06-21(svn r10244) -Fix: make sure to let 32bpp-anim report the increased ↵truelight
buffer-size it needs
2007-06-21(svn r10242) -Fix: avoid a segfault if you move your mouse at startup with ↵truelight
32bpp-anim
2007-06-21(svn r10241) -Codechange: CopyToBuffer now produces a buffer that is ↵truelight
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)
2007-06-20(svn r10235) -Fix: the 32bpp-anim blitter repainted pixel color 0, which is ↵truelight
transparency and therefor should never be repainted (spotted by Rubidium)
2007-06-20(svn r10234) -Fix r10233: make peter1138 happytruelight
2007-06-20(svn r10233) -Fix: 8bpp-optimized encoder fucked up if 255+ pixels in a row ↵truelight
were non-transparent (tnx boekabart)
2007-06-19(svn r10227) -Add: added 32bpp-anim blitter, a 32bpp blitter that does ↵truelight
palette animation (at the cost of an animation-buffer to keep track of the 'm'-channel of all sprites)
2007-06-19(svn r10225) -Codechange: move common Colour routines for 32bpp to the base ↵truelight
class (and nick it colour, not color)
2007-06-19(svn r10216) -Fix: palette animation always redid all palette entries, where ↵truelight
in fact only a few indexes were needed -Codechange: allow blitters to handle palette animation internally or even disable it; 8bpp uses video-backend for palette animation
2007-06-19(svn r10215) -Fix r10214: forgot 2 cases of the same mistaketruelight
2007-06-19(svn r10214) -Fix: off-by-one in draw-rect-color-remapping (peter1138)truelight
2007-06-18(svn r10206) -Codechange: more moving things to blitter-layer: ScrollBuffertruelight
2007-06-18(svn r10203) -Codechange: more moving things to blitter-layer: DrawLinetruelight
2007-06-18(svn r10201) -Codechange: Replace Blitter::SetHorizontalLine with ↵peter1138
Blitter::DrawRect, as the former was only used by the rectangle drawing code anyway. This lets us draw rectangles in one go.
2007-06-17(svn r10193) -Fix r10190: somehow an other partly-patch was applied tootruelight
2007-06-17(svn r10190) -Codechange: merged renderer and blitter to one single class ↵truelight
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-13(svn r10142) -Fix r10132: do something useful with the alpha channel instead ↵truelight
of ignoring it
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 r10121) -Codechange: split renderer from rest of code; no longer any ↵truelight
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(svn r10113) -Fix (r10092): Missing svn properties and some Id/@file commentspeter1138
2007-06-11(svn r10107) -Fix (r10092): Missing 'i' in 'optimized'peter1138
2007-06-11(svn r10102) -Documentation: @file header was wrongtruelight
2007-06-11(svn r10101) -Codechange: the class is named 8bppSimple, so name the files ↵truelight
like that too
2007-06-11(svn r10100) -Fix r10093: some code now became obsolete as it never did ↵truelight
something
2007-06-11(svn r10096) -Fix r10092: freetype bypassed the Blitter::Encode, making ↵truelight
fonts look weird
2007-06-11(svn r10095) -Fix: avoid reading outside the buffer because of scaling problemstruelight
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