Age | Commit message (Collapse) | Author |
|
struct WorldSprite
|
|
|
|
|
|
disaster can happen in
|
|
|
|
|
|
|
|
|
|
use lengthof() to get the number of names instead of using magic numbers
|
|
where it somewhat makes sense and wrap them in #ifdef _DEBUG
|
|
|
|
use it
|
|
with CMD_ERROR
|
|
false; else return true; is confusing
|
|
|
|
|
|
|
|
CheckExternalFiles() in a header
|
|
|
|
-Indentation
-Whitespace
-DeMorgan's Law
-Test with NULL or 0 for non-booleans
-'\0' instead of 0 for chars
-Remove redundantly redundant comments (like DoFoo(); // Do foo)
-Join multiple short lines with a single statement
-Split single lines with multiple statements
-Avoid assignments in if
|
|
|
|
- CHANCE*() instead of mumbling strange numbers
|
|
custom data, giving var1 and var2 more meaningful names.
|
|
|
|
|
|
|
|
sourcefile(s) from project)
|
|
Also align short cases nicely
|
|
|
|
variables, as a window already contains this information.
|
|
and added some more values.
|
|
lengthof()
|
|
|
|
Rewrite handling of station classes.
Allow for more than 8 station tile layouts.
Start of code to unload custom stations.
|
|
|
|
|
|
'Message' already
exists on MorphOS
|
|
|
|
data in pre-PBS savegames. This will not correct pre-PBS savegames loaded and saved since PBS was introduced. (thanks glx)
|
|
the rail, road, water and airport toolbars. If enabled, the terraform toolbar will open and close with those toolbars.
|
|
when nothing was changed
due to the FOR_ALL_VEHICLES(), redrawing those windows are slow
|
|
long trains
-Trains will now remember the length of stations it visits and sell cars
when being autoreplaced if they became too long
-If it needs to remove cars, then it starts from the front and sells
all it can find until the train is short enough
-This only works for trains, that knows the station length of the route
so a full uninterrupted run is needed
-a train needs 1-2 runs to detect if the shortest station is expanded
-This feature can be turned on and off in the train replace window
and each company can have it's own setting
-NOTE: minor savegame version bump
|
|
a typo, shall we :P
|
|
editor (MeusH-ish)
|
|
OpenTTD? (belugas)
|
|
invalid string message in the case when a highscore file was used before certain strings were added.
- Codechange: protect _endgame_perf_titles from out-of-bounds access.
|
|
|
|
by cargo classes.
|
|
|
|
articulated rail vehicles.
|