Age | Commit message (Collapse) | Author |
|
By default this setting is set to 2500% normal game speed.
|
|
|
|
Performance in this case is worse than not using OpenGL, so just let
OTTD fall back to a different video driver.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MainLoop() is used to bootstrap OSX, where later a callback is
done to GameLoop() to execute OpenTTD. All other video drivers
don't need that, so what is in GameLoop is in MainLoop for all
other drivers. This is rather confusing. So, instead, name
GameLoop MainLoopReal to be more in sync with the other drivers.
|
|
|
|
Additionally, call it from the draw-tick.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This allows future subdrivers to use these to manage their
own flow.
|
|
This allows future subdrivers to override them.
|
|
This increases readability, and allow future subdrivers to not
use SDLSurface to draw.
|
|
This makes it a bit easier to follow what is going on, and
allow future subdrivers to hook into a few of these functions.
Reworked the code slighly while at it, to return early where
possible.
|
|
|
|
|
|
palette values of the screen in addition to the colour buffer.
|
|
|
|
|
|
blending effects.
|
|
|
|
|
|
|
|
colour values.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
the video buffer.
|
|
the video buffer.
|
|
|
|
account for threaded drawing.
|
|
|
|
|
|
|
|
|