Age | Commit message (Collapse) | Author |
|
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.
|
|
newgrf gui
window. GRFs with an error have a warning symbol shown before the name.
|
|
neighbouring roads (mart3p).
|
|
TRANSPORT_ROAD)' failed (Karsten)
-don't tell that we found destination if the best direction was only guessed
|
|
Remove dead code
|
|
Do not pass something to a function it better could figure out by itself
|
|
-Codechange: Split MakeRoadStop() into MakeRoadStop() and MakeDriveThroughRoadStop() for more clarity and less possibilities to use it incorrect
|
|
file, disable the
newgrf if an action 8 hasn't been encountered yet.
|
|
error message
in Action B is encountered. Also be more strict on the values accepted.
|
|
Remove translations which should not be empty
|
|
-Regression (r7585): On load calculate the station rectangle for all savegames, not just savegames with at least version 27
|
|
IndustryTileSPec, the alter ego of IndustrySpec.
It offers identification of the different industry tiles in a more distinct manner, as well as regrouping scattered pieces of data across the sources. More to come
|
|
struct array (with accessor) and implement new initialization method using cargo labels.
|
|
and 0
terminate them if they aren't, so we don't read beyond the end of the
memory allocated for the line.
|
|
_snwprintf_s function, but use 'insecure/deprecated' version and zero-terminate string ourselves. Thanks for testing glx.
|
|
on non-windows because this wrapper was only active for win32 (thx Rubidium)
|
|
Variable scope, const
|
|
filesystem is not in UTF-8 charset and special characters are used. The string passed to opendir() which is UTF-8 was not parsed back to the filesystem format. Use a wrapper called ttd_opendir() instead of redefining opendir itself.
|
|
allocation of GRFConfig and turn it into a simple variable (it's supposed to be data-only). Thanks Tron.
|
|
|
|
|
|
|
|
chunks mainly list of GRFIDs and TTDP version the game was saved with.
GRFID list is read and active GRFs are loaded with the game if present in the data/ directory.
TTDP versioning information only works for newer versions, old versions will only give rough information but it's not worth the effort to precisely figure out what bit means what where and when.
|
|
when loading the game and hide the intrinsics of adding elements to the GRFConfig list by using an AppendToGRFConfigList function.
|
|
|
|
-Fix: When inserting an order for a ship while checking the distance between the new order and the order it is inserted after adhere the order types to determine the correct type of destination (i.e. station or depot)
Also do a better job in determining the preceding order
NOTE: 0.5 candidate
|
|
Simplify MoveGoodsToSation() under the assumption that 0 is less or equal than 0
|
|
Reduce variable scope
|