Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 files | smatz | |
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-anim | truelight | |
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 asserts | truelight | |
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 happy | truelight | |
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 mistake | truelight | |
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: ScrollBuffer | truelight | |
2007-06-18 | (svn r10203) -Codechange: more moving things to blitter-layer: DrawLine | truelight | |
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 too | truelight | |
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 comments | peter1138 | |
2007-06-11 | (svn r10107) -Fix (r10092): Missing 'i' in 'optimized' | peter1138 | |
2007-06-11 | (svn r10102) -Documentation: @file header was wrong | truelight | |
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 problems | truelight | |
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 |