Age | Commit message (Collapse) | Author |
|
|
|
|
|
the savegame instead of the whole buffer.
|
|
gamma-function along the lines of the Write/Read functions
|
|
should be the first include). Thanks to KUDr for solution and testing
|
|
|
|
function where it is used and use a better array arrangement for it
|
|
|
|
extraneous brackets.
|
|
custom ground sprites used the index of the rail type as an offset. With the introduction of elrails this offset is incorrect, so instead there is now a lookup table within the RailTypeInfo struct to explicitly list the offset.
|
|
that uses it and convert the bit-hacking into a struct
|
|
store custom station data. This saves us approximately 40KB per GRF file, if there are no stations defined.
|
|
instead of a table lookup
|
|
use IndustryGfx type instead of uint
|
|
|
|
|
|
step toward bringing accessors [G|S]etIndustrype
|
|
Counter construction. Removed last direct map access from Disaster_cmd.c as well. Based on work from Rubidium in tfc_newmap
|
|
arrays to _industry_sections
|
|
coordinates where it suffices.
|
|
Fixes FS#106
|
|
coordinates of the tile to operate on - to a TileIndex
Remove DoCommandByTile(), because now it does the same as DoCommand()
|
|
cleared, because vehicles got deleted directly by DeleteVehicle
|
|
|
|
|
|
check the tile type, it assumes the tile type IS MP_STREET
|
|
GetRailTileType. Thanks to glx for noticing
|
|
|
|
conditions for this piece of code are investigated. The IsRoad() function is causing me headaches...
|
|
|
|
make a bit more clear what's going on
|
|
|
|
the slot pointer of the vehicle instead of recalculating the road stop using the destination tile of the vehicle. Apart from being more simple this could prevent a inconsistency of slot information in the edge case when the destination tile isn't the tile of the assigned slot.
|
|
|
|
twoards a road stop if that road stop gets removed
This issue was fixed in r2210 and reintroduced in r4259 when the multistop handling was overhauled.
|
|
within the units conversion system, in string.c. This means displaying kmh requires no conversion, instead of being convert from kmh to mph, and then back to kmh again.
|
|
harmless, because both states are at the same byte in the vehicle type specific union.
|
|
but computed on the fly. Partly fixes FS#101
|
|
|
|
|
|
map-access free, but still requires a huge cleanup
|
|
|
|
|
|
Don't tell the Textbuf an arbitrary number as size of the string buffer, but the real lengthof() it
|
|
(?!), therefore don't pass this information as parameter
|
|
chat box from the "text box"-widget instead of hardcoding an arbitrary - and wrong - number
|
|
bridge. FS#103 exhibited this problem
|
|
string
|
|
so don't jump through hoops to check if nothing was entered and simplify the code
|
|
instant notice
|