Age | Commit message (Collapse) | Author |
|
sources too
|
|
|
|
just reuse the same piece of allocated memory for each encoding.
|
|
color and colour.
|
|
std::map
|
|
|
|
|
|
selection and parameters.
|
|
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.
|
|
sprites: fonts, recolour, mapgen and normal sprites.
|
|
some unneeded '(x == 0) ? 0 : 1' constructs.
|
|
32bpp-anim blitter (backup buffer was too small)
|
|
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)
|
|
|
|
blitters (GeekToo)
|
|
darker for BM_TRANSPARENT (for 32bpp blitters)
|
|
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.
|
|
blitter and driver names
Removes indirect dependency on <string> for 20 files, reduces binary size by 16kB
|
|
|
|
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
|
|
order on LE and BE machines
|
|
|
|
destination directly instead. Makes palette animation ~40% faster.
|
|
distinguished struct instead in the data stream for 8bpp-optimized
|
|
drawing (depends on architecture and compiler)
|
|
encoding and ~15% faster in drawing (depends on architecture)
|
|
without asserts
|
|
|
|
something more than whitespace as description of files that don't have a description.
|
|
operators.
|
|
logical location.
|
|
unneeded include from openttd.h.
|
|
usage of 32bpp-anim animation buffer during giant screenshots.
|
|
when it's not necessary.
|
|
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
it is really needed.
|
|
|
|
single file and do not include gfx.h everywhere to get a Point type.
|
|
logical locations.
|
|
ZoomLevel can be used in some iterations
|
|
|
|
asserts and show them in crash.log for MSVC release builds
|
|
to clip too much at screen/viewport borders. Patch by frosch.
|
|
loaded, to show which one really loaded
|
|
(so you don't have to keep on doing 'openttd -b 32bpp-optimized'..)
|
|
frosch)
|
|
too!)
|
|
animation if we are not drawing to the screen-pointer
|
|
was ... wrong ;)
|