Age | Commit message (Collapse) | Author |
|
|
|
usable.
|
|
|
|
|
|
|
|
|
|
the return is not NULL)
|
|
exists before attempting trying to instantiate an instance
|
|
|
|
|
|
|
|
don't need to cast to void/non-const before being able to free
|
|
blitter which OpenTTD uses to decide which blitter to load.
|
|
|
|
|
|
|
|
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.
|
|
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)
|
|
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
|
|
without asserts
|
|
|
|
something more than whitespace as description of files that don't have a description.
|
|
logical location.
|
|
when it's not necessary.
|
|
asserts and show them in crash.log for MSVC release builds
|
|
loaded, to show which one really loaded
|
|
(so you don't have to keep on doing 'openttd -b 32bpp-optimized'..)
|
|
|
|
asserted in almost a week of stresstesting, so I'm pretty sure all cornercases are tested by now.
|
|
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
|