summaryrefslogtreecommitdiff
path: root/src/blitter
AgeCommit message (Collapse)Author
2011-10-04(svn r23000) -Feature: Base graphics sets can now specify a preferred ↵michi_cc
blitter which OpenTTD uses to decide which blitter to load.
2011-05-08(svn r22439) -Fix (r22291, r22426): Drawing lines of length zero failed.frosch
2011-05-05(svn r22426) -Fix (r22291): Drawing vertical and horizontal lines of width 1 ↵frosch
missed drawing the first pixel.
2011-05-04(svn r22419) -Change: Always use the DOS palette for drawing.frosch
-Remove: the '-i' option for palette selection.
2011-05-01(svn r22397) -Document: some tidbits of the blitter coderubidium
2011-04-29(svn r22383) -Codechange: Rename PALETTE_TO_STRUCT_GREY to PALETTE_NEWSPAPER ↵frosch
as it does not belong to the other PALETTE_TO_STRUCT_xxx recolourings.
2011-04-09(svn r22302) -Codechange: Replace a linear search with a binary search.frosch
2011-04-02(svn r22291) -Add: a linewidth argument to GfxDrawLine() and ↵frosch
Blitter::DrawLine().
2011-04-02(svn r22290) -Codechange: Somewhat deduplicate one line of code.frosch
2011-04-02(svn r22288) -Codechange: Deduplicate Blitter_8bppBase::DrawLine() and ↵frosch
Blitter_32bppBase::DrawLine() into Blitter::DrawLine().
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-14(svn r21782) -Codechange: Move declaration of AllocatorProc from Blitter:: ↵frosch
to spritecache.h
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-02-14(svn r19132) -Codechange: No need to end a line with ;;.alberth
2010-02-11(svn r19094) -Codechange: don't check for NULL values before calling StrEmptyyexo
2010-01-23(svn r18907) -Cleanup: Smallmap was the last user of SetPixelIfEmpty().alberth
2010-01-21(svn r18873) -Codechange: use PaletteID also in the blitterrubidium
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-12(svn r18791) -Fix [FS#3504]: when copying an 'image' back into the buffer ↵rubidium
the 32bpp anim blitter triggered palette check of the whole window instead of only the part the got copied back
2010-01-04(svn r18709) -Fix (r10227,FS#3464): Animation buffer for 32bpp-anim blitter ↵peter1138
was only validated during sprite blitting, other drawing operations didn't check it. Initial startup and window resize could therefore lead to crash.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-19(svn r17579) -Fix: remove doxygen docs for removed parameters, or change ↵rubidium
@param to @tparam if necessary
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-20(svn r17228) -Codechange: some coding style fixesrubidium
2009-06-22(svn r16628) -Codechange: remove one gcc2 hacksmatz
2009-06-01(svn r16492) -Remove: support for gcc2. It hasn't been able to compile OTTD ↵smatz
for months. All attempts to do another workaround failed.
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.