summaryrefslogtreecommitdiff
path: root/src/blitter
AgeCommit message (Collapse)Author
2008-05-18(svn r13161) -Fix: free the blitter list when the last blitter is removed.glx
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-04-18(svn r12761) -Codechange: lots of minor whitespace coding style fixes around ↵rubidium
operators.
2008-01-13(svn r11839) -Codechange: move some variables from variables.h to a more ↵rubidium
logical location.
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-11(svn r11813) -Fix [FS#1602]: Switch _screen to the output buffer and disable ↵frosch
usage of 32bpp-anim animation buffer during giant screenshots.
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
2007-12-26(svn r11704) -Codechange: remove another bunch of useless includes.rubidium
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11674) -Codechange: refactor some functions out of macros.h into more ↵rubidium
logical locations.
2007-12-17(svn r11656) -Codechange: add ZOOM_LVL_BEGIN and postfix operators so ↵smatz
ZoomLevel can be used in some iterations
2007-12-17(svn r11652) -Codechange: add the svn $ header for several filessmatz
2007-12-09(svn r11611) -Codechange: it is now possible to use a define to enable ↵glx
asserts and show them in crash.log for MSVC release builds
2007-09-26(svn r11169) -Fix [FS#1255]: obiwan in Blitter::Drawline(), which caused it ↵rubidium
to clip too much at screen/viewport borders. Patch by frosch.
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