Age | Commit message (Collapse) | Author |
|
normal rail
|
|
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.
|
|
code and proofreading, thanks to peter1138 for another lot of code and ideas.
|
|
adding/using some sprite enums
|
|
comments, excess empty lines, minor other changes
nothing spectacular, just some stuff, which piled up
|
|
basic offset is read from the RailTypeInfo struct. This is (hopefully) the last DrawTile change on the way to electrified railways. While being at it, de-mystified the function a bit and added some asserts.
|
|
numbers, but fetch them from the central rail info array.
|
|
magic numbers, but fetch them from the central rail info array. This is a preparation step for electrified rails
|
|
serverside
-This means that one company can only have one setting for renew and replacing
more clients will not fight due to different settings anymore
-This is a needed step in the line to fix autoreplacing dualheaded locomotives
NOTE: savegame revision bump (peter1138 + me in coop)
|
|
request using the RailtypeInfo struct
|
|
|
|
|
|
replaced it by a member of RailtypeInfo
|
|
Renamed railtypes.c into railtypes.h, all other tables are in .h files. (It should be in the tables dir but I couldn't figure out how to get it there without deleting it first).
Added const and extern.
|