summaryrefslogtreecommitdiff
path: root/src/rail.h
AgeCommit message (Collapse)Author
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-18Codechange: use std::vector for _sorted_railtypesglx
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-31Change: Shorten engine rail type drop down in autoreplace window. (#7448)PeterN
In the autoreplace window, the rail type drop down is for choosing engines of the given time. Many rail types do not have engines specifically designed for them, and are merely compatible with other rail types. This list is thus unwieldy and many options have no engines available. As this drop down is for choosing _engine_ rail type rather than compatible rail types, we can list just the rail types explicitly listed by engines.
2019-03-26Codechange: Removed SmallVector completelyHenry Wilson
2019-03-10Feature: Railtype flags to allow/disallow 90 degree curves. (#7352)Michael Lutz
2019-03-09Add: Add flag and railtype sprite type to draw pre-combined ground sprites. ↵PeterN
(#7231)
2019-02-06Add #5006: Flag to hide rail type from construction.Peter Nelson
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2016-12-10(svn r27687) -Fix: RailtypeInfo::alternate_labels leaked when reloading ↵frosch
NewGRF. (adf88)
2015-10-30(svn r27427) -Fix: Use the NewGRF railtype sorting order in the ↵frosch
infrastructure window.
2015-07-26(svn r27343) -Feature [FS#6315]: [NewGRF] Allow railtype NewGRF to define ↵frosch
separate sprites for the fences on either track side.
2014-09-07(svn r26803) -Doc: Document some fields in the build vehicle gui, and the ↵alberth
rail definition struct.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-07-01(svn r24367) -Feature: [NewGRF] Customisable signals for rail types.michi_cc
2012-02-15(svn r23952) -Feature: [NewGRF] Customisable tunnel portals for rail types ↵michi_cc
(sprites by Snail).
2012-02-11(svn r23931) -Change: Scale infrastructure cost of rail tracks by the total ↵michi_cc
number of all tracks and not independently for each rail type.
2012-01-05(svn r23758) -Feature: [NewGRF] Alternate rail type label list.michi_cc
2012-01-03(svn r23735) -Codechange: remove ~50 includes from headers that weren't neededrubidium
2011-12-03(svn r23415) -Feature: Infrastructure maintenance costs.michi_cc
2011-11-07(svn r23129) -Add: [NewGRF] Property for the rail type name.michi_cc
2011-07-04(svn r22633) -Fix: Implement variables 25 and 7F for railtypes.frosch
2011-05-08(svn r22436) -Fix (r18969): Apply railtype property 12 (station graphics) ↵frosch
also to station groundsprites from action 1.
2011-01-27(svn r21919) -Fix: Converting an expensive rail type to a cheap one could ↵planetmaker
give more money than removing and rebuilding cost
2011-01-20(svn r21866) -Feature [FS#4394]: [NewGRF] Rail type property to influence ↵rubidium
sorting of rail types in the drop down list
2011-01-18(svn r21846) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updated [o-s].
2011-01-18(svn r21842) -Feature [FS#4393]: [NewGRF] Introduction dates/required types ↵rubidium
for rail types; e.g. introduce a particular rail type in 1960 (or when a vehicle using it is introduced), but also allow limiting its introduction to only happen when the required railtypes are available
2011-01-18(svn r21841) -Feature: [NewGRF] Allow to define other railtypes that should ↵rubidium
be introduced if a particular rail type is introduced, e.g. to make sure slow rail is introduced when fast rail gets introduced
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-07-02(svn r20049) -Feature: [NewGRF] Add a railtype flag to disallow level ↵michi_cc
crossings per railtype.
2010-03-23(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT ↵smatz
and DECLARE_ENUM_AS_BIT_SET
2010-03-16(svn r19433) -Codechange: Limit rail clearance earnings to 3/4s of rail ↵peter1138
build cost, to avoid money making loophole when rail build cost is less than rail removal earnings.
2010-03-14(svn r19414) -Doc: Several doxygen additions and corrections.alberth
2010-03-14(svn r19413) -Codechange: Merging RailtypeFlag enum (a bit number) with ↵alberth
RailTypeFlags enum (had values only).
2010-03-07(svn r19365) -Codechange: Move EnsureNoTrainOnTrackProc() to src/vehicle.cpp.alberth
2010-03-03(svn r19307) -Add: Let railtypes specify their own smallmap colour. No ↵peter1138
legend support yet.
2010-03-03(svn r19306) -Change: Railtype cost factor from byte to word valuepeter1138
2010-02-07(svn r19056) -Add: [NewGRF] Action 3/2/1 (i.e. new graphics) support for ↵peter1138
rail types. (To be documented...)
2010-01-31(svn r18972) -Add: [NewGRF] Per-rail type speed limits.peter1138
2010-01-30(svn r18969) -Add: [NewGRF] NewGRF-settable rail type properties.peter1138
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-09(svn r18766) -Codechange: Make train acceleration type (rail/elrail/monorail ↵peter1138
vs maglev) a rail type property
2009-12-15(svn r18509) -Codechange (r2515,r2753): Data for drawing single_x/y rail ↵peter1138
pieces was inverted.
2009-11-09(svn r18028) -Codechange: unglobalise some functionsrubidium
2009-11-07(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.frosch
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-18(svn r16869) -Codechange: make drawing waypoints a tiny bit more like ↵rubidium
drawing stations
2009-06-24(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()smatz