summaryrefslogtreecommitdiff
path: root/src/blitter
AgeCommit message (Collapse)Author
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium
2009-02-23(svn r15556) -Change: don't temporary malloc+free when encoding sprites, ↵rubidium
just reuse the same piece of allocated memory for each encoding.
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-02-03(svn r15324) -Codechange: unify the class used for comparing of strings for ↵smatz
std::map
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-08(svn r14912) -Codechange: Autoprobe 'null' blitter when built as dedicated-only.peter1138
2009-01-08(svn r14907) -Codechange: Remove 32 character limit from driver/blitter ↵peter1138
selection and parameters.
2008-10-28(svn r14540) -Codechange: introduce [v]seprintf which are like [v]snprintf ↵rubidium
but do return the number of characters written instead of the number of characters that would be written; as size_t is unsigned substraction can cause integer underflows quite quickly.
2008-09-02(svn r14223) -Codechange: make GetSprite aware of the 4 different types of ↵rubidium
sprites: fonts, recolour, mapgen and normal sprites.
2008-08-23(svn r14146) -Codechange: allow palette override in both ways and remove ↵rubidium
some unneeded '(x == 0) ? 0 : 1' constructs.
2008-08-15(svn r14080) -Fix (r14052): assert triggered when drawing chat window with ↵glx
32bpp-anim blitter (backup buffer was too small)
2008-08-09(svn r14032) -Fix (r13584): [OSX] changed the condition for selecting 8 or ↵bjarni
32 bpp blitter by default Now we will pick 32 bpp if no 8 bpp fullscreen resolutions are available on the main display (the one with the dock)
2008-08-08(svn r14016) -Codechange: Remove some magical numbersbelugas
2008-07-17(svn r13721) -Codechange: one less multiplication for colour mixing in 32bpp ↵smatz
blitters (GeekToo)
2008-06-26(svn r13640) -Codechange: make colours behind not fully solid objects less ↵smatz
darker for BM_TRANSPARENT (for 32bpp blitters)
2008-06-26(svn r13639) -Codechange: rewrite 32bpp-anim and 32bpp-optimized drawing and ↵smatz
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.
2008-06-24(svn r13619) -Codechange: use 'const char *' instead of std::string for ↵smatz
blitter and driver names Removes indirect dependency on <string> for 20 files, reduces binary size by 16kB
2008-06-21(svn r13602) -Codechange: little speedup for 8bpp-optimized blittersmatz
2008-06-19(svn r13584) -Fix: [OSX] Fixed issue where 10.5 failed to switch to fullscreenbjarni
This is done by selecting the 32bpp-anim blitter by default as it seems Apple removed some 8bpp support Since this is done at runtime the same binary will still select 8bpp on 10.3 and 10.4
2008-06-18(svn r13571) -Codechange: define channels in struct Colour in different ↵smatz
order on LE and BE machines
2008-06-18(svn r13568) -Fix (r13564): Windows build asserts where I wouldn't expect it tosmatz
2008-06-18(svn r13564) -Codechange: do not use SetPixel in PaletteAnimate, access ↵smatz
destination directly instead. Makes palette animation ~40% faster.
2008-06-17(svn r13551) -Codechange: store offsets to different zoom levels in a ↵smatz
distinguished struct instead in the data stream for 8bpp-optimized
2008-06-10(svn r13445) -Codechange: make 32bpp_optimized blitter ~10-20% faster in ↵smatz
drawing (depends on architecture and compiler)
2008-06-01(svn r13354) -Codechange: make 8bpp_optimized blitter ~25% faster in ↵smatz
encoding and ~15% faster in drawing (depends on architecture)
2008-06-01(svn r13351) -Codechange: disable warnings about unused variable for builds ↵smatz
without asserts
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 ;)