Age | Commit message (Collapse) | Author |
|
CheckCompanyHasMoney() was also executed when not using DC_EXEC,
resulting in an error about shortage of money instead of the
estimation.
This mostly is a problem for AI players, as they will have no
way to know how much it would have cost.
|
|
Basically, follow_track.hpp contains a fix for half-tiles, but
this wasn't duplicated for when trying to find a depot and in
a few other places. This makes sure all places act the same.
|
|
swedish: 19 changes by kustridaren
german: 1 change by Wuzzy2
slovak: 3 changes by FuryPapaya
|
|
|
|
|
|
|
|
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.
|