Age | Commit message (Collapse) | Author |
|
Remove the unused second parameter from GetTileRailType()
|
|
Change the signature of GetNewVehiclePos():
-void GetNewVehiclePos(const Vehicle *v, GetNewVehiclePosResult *gp);
+GetNewVehiclePosResult GetNewVehiclePos(const Vehicle *v);
|
|
Most (i.e. 13 of 15) callers of GetNewVehiclePos() do not care for the return and the others can figure it out by inspecting the information returned in struct GetNewVehiclePosResult.
Therefore remove the return value.
|
|
Slightly simplify the control flow of TrainController()
|
|
variable scope, const, misc.
|
|
|
|
mapping is now dealt with only in NewGRF code, on load where possible.
|
|
|
|
|
|
list of cargo labels.
|
|
by goto
|
|
support, applied to action 3s only.
|
|
range then choose the cargo type from its refit list.
|
|
Replace SetSpeedLimitOnBridge() by something simpler
|
|
|
|
and load custom error messages properly.
|
|
|
|
|
|
-Fix: Do a better job when checking the parameters of CmdMoveRailVehicle()
NOTE: 0.5 candidate
|
|
|
|
Replace tests with magic numbers by a simple extraction template for command parameters
|
|
Remove unnecessary EnsureNoVehicle() checks because they are
- pointless per se (f.e. there are no vehicles on house tiles)
- done again (f.e. using CMD_LANDSCAPE_CLEAR just a few lines later)
|
|
(Jigsaw_Psyche)
|
|
directions (mart3p).
|
|
helpers.hpp had wrong line ending
|
|
|
|
|
|
CLRBIT() and so on (modify value of the first parameter instead or returning the result)
|
|
|
|
a few comments style.
Some documentation addition, when i can easily supply them
|
|
initialisation, WINCE ifdef and a vsprintf to vsnprintf change.
|
|
comments style.
|
|
determining if a cargo is valid/active.
|
|
(the @file tag MUST be found before any line of code, that includes preprocessor directives).
|
|
Missing */ (r8853)
|
|
Change some shift and cast mumbo jumbo for inflation calculation to something remotly comprehensible and explain what the magic number "54" means
|
|
result...
|
|
files with the @file tag as well as a few general comments style
|
|
stops as if it were removing a normal road tile (consider the local authority and such).
-Fix (r8735): remove drive through road stops on town owned roads when going bankrupt/being removed.
|
|
outside of the local authority.
|
|
checking the cargo type to determine if the cargo type is freight cargo type cargo type.
|
|
tables with dynamically generated data. Change associated code to use new functions.
|
|
brazilian_portuguese - 1 fixed, 49 changed by tucalipe (48), fukumori (2)
bulgarian - 2 fixed by kokobongo (2)
catalan - 1 fixed, 2 changed by arnaullv (3)
czech - 1 fixed by Hadez (1)
danish - 2 fixed, 1 changed by MiR (3)
dutch - 1 fixed by habell (1)
french - 1 fixed, 1 changed by Skiper (2)
german - 1 fixed by Neonox (1)
italian - 1 fixed by sidew (1)
korean - 4 fixed by leejaeuk5 (3), darkttd (1)
portuguese - 4 changed by izhirahider (4)
romanian - 10 fixed by kneekoo (10)
russian - 1 fixed, 42 changed by DarkFenX (43)
slovenian - 1 deleted by Necrolyte (1)
spanish - 1 changed by eusebio (1)
ukrainian - 19 fixed, 1 deleted, 12 changed by mad (32)
|
|
There is not much point in hiding a normal 64bit multiplication in a function, so do not do it
|
|
Remove confusing superfluous parentheses
|
|
Remove pointless and out of context comment
|
|
add the allocated GRFConfig to its list and not copy it.
|
|
-Fix: Off-by-one error in accessing a buffer (if you start at the second byte you have to subtract one from the size)
Also avoid an unnecessary buffer copy and strlcpy() abuse
NOTE: 0.5 candidate
|
|
Remove {,u}intswap() and replace them by Swap()
|
|
Remove FIFO and Stack. They have never been used and could not be used anyway because the declarations of some functions are spelled different than the definitions they should correspond to.
Also remove some other unused helpers and related struct attributes.
|