summaryrefslogtreecommitdiff
path: root/src/blitter/factory.hpp
AgeCommit message (Collapse)Author
2020-05-21Codechange: Use std::string in the driver and blitter selection code.Michael Lutz
2020-04-12Remove: [OSX] Stuff that is pre-10.7 from the Cocoa/Quartz video driver.Michael Lutz
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-01-03(svn r26215) -Codechange: rework code so one can test if a blitter factory ↵rubidium
exists before attempting trying to instantiate an instance
2014-01-02(svn r26210) -Codechange: add infrastructure for not registering a blitterrubidium
2014-01-02(svn r26209) -Codechange: remove some template magic and simplify some coderubidium
2013-11-25(svn r26108) -Codechange: some coding style (whitespace)rubidium
2011-11-12(svn r23198) -Codechange: introduce a free that takes const pointers so we ↵rubidium
don't need to cast to void/non-const before being able to free
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-01(svn r22397) -Document: some tidbits of the blitter coderubidium
2010-02-11(svn r19094) -Codechange: don't check for NULL values before calling StrEmptyyexo
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-02-03(svn r15324) -Codechange: unify the class used for comparing of strings for ↵smatz
std::map
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-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-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-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-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-01-13(svn r11839) -Codechange: move some variables from variables.h to a more ↵rubidium
logical location.
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
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-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-07-14(svn r10561) -Fix: don't give 'unused variable' warnings when disabling assertstruelight
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-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