summaryrefslogtreecommitdiff
path: root/src/rail_type.h
AgeCommit message (Collapse)Author
2019-12-23Codechange: Use a switch with fall-through instead of a if-sequence with ↵frosch
context data between cases.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-29Codechange: Remove RailTypeByte typeCharles Pigott
2018-10-30Fix #6951: Ensure RailTypes bitfield is always treated as 64 bitNiels Martin Hansen
Some compilers (like VC++ 2015) will otherwise narrow it in some contexts where it should not be.
2018-07-26Change: Extend rail types to 64 (6 bit storage)Peter Nelson
2011-12-19(svn r23595) -Codechange: add comma after last enum to get a more uniform ↵rubidium
coding style
2010-04-17(svn r19654) -Codechange: Use Extract<> in more places.frosch
2010-03-23(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT ↵smatz
and DECLARE_ENUM_AS_BIT_SET
2010-03-23(svn r19502) -Codechange: During NewGRF loading, store rail type labels in ↵peter1138
temporary data and process after loading has finished. This avoids deactivated rail vehicles being reactivated if the climate property is set after the rail type property.
2010-01-30(svn r18970) -Codechange: Increase number of possible rail types to 16.peter1138
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-22(svn r16917) -Codechange: fix some GCC 4.5 'case X is not in enum Y' warningsrubidium
2009-02-11(svn r15450) -Codechange: Remove unused RailTypesByte, unused RAILTYPES_... ↵peter1138
enum values, and change INVALID_RAILTYPES to be UINT_MAX.
2009-02-08(svn r15417) -Codechange: Add default rail type labels and support for ↵peter1138
per-GRF translation table.
2008-01-13(svn r11827) -Codechange: do not include enum_type.hpp unnecessary.rubidium
2008-01-09(svn r11800) -Codechange: move some functions to a more logical location + ↵rubidium
some type safety.
2007-12-18(svn r11662) -Codechange: move some rail types/related functions around.rubidium