Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
|
|
|
|
estonian: 7 changes by siimsoni
polish: 2 changes by yazalo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
to speed up palette animation.
|
|
|
|
palette values of the screen in addition to the colour buffer.
|
|
usable.
|
|
|
|
|
|
|
|
blending effects.
|
|
strategy.
|
|
|
|
|
|
are filled with useful information.
|
|
width and height.
|
|
active blitter when loading a sprite.
|
|
|
|
|
|
colour values.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
the video buffer.
|
|
the video buffer.
|
|
|
|
account for threaded drawing.
|