summaryrefslogtreecommitdiff
path: root/src/station.cpp
AgeCommit message (Collapse)Author
2007-02-14(svn r8735) -Feature: drive-through road stops made possible by the hard ↵rubidium
work of mart3p.
2007-02-14(svn r8726) -Codechange: bools are 1 or 0 according to the C++ standard and ↵rubidium
refactor RoadStop::AllocateBay to remove a loop condition. Suggestions by Tron.
2007-02-13(svn r8709) -Fix/Codechange: Rename the function GetStationPlatforms into ↵celestar
GetPlatformLength because that is what it really does. Overload it because there is already a GetPlatformLength (one gives the length of the whole platform, the other gives the remaining length in a given direction). Turned both functions into methods of Station. While messing around with it, fix a problem where loading times for overhanging trains are miscomputed.
2007-02-13(svn r8708) -Codechange(r8514): No need to use "this->" in methodscelestar
2007-02-13(svn r8707) -Codechange: Turn IsValidStation into a method of Stationcelestar
2007-02-13(svn r8694) -Codechange: make RoadStop's status accessible via accessor ↵rubidium
functions.
2007-02-02(svn r8536) -Fix (FS#577): Road Vehicles now can obtain a slot even if the ↵celestar
station is very spread out
2007-02-01(svn r8514) -Codechange: Turn IsBuoy into a method of stationscelestar
2007-01-28(svn r8449) -Fixtron
-Codechange: Remove the superfluous attribute RoadStop::prev
2007-01-25(svn r8401) -Codechange: Make 'IsValidRoadStop' a method of RoadStop and ↵celestar
rename it to 'IsValid' -Codechange: While I'm at it, put 'RoadStop::AllocateRaw' into the protected section
2007-01-18(svn r8231) -Fix (r8125): MP desync caused by calling Random() from station ↵KUDr
constructor. This was wrong because station constructor is called also when loading savegame and when player tries to build station when it is not sure that it will succeed (thanks Rubidium)
2007-01-17(svn r8212) -Fixtron
Remove the unnecessary attribute RoadStop::used. The same information can be derived from RoadStop::xy
2007-01-17(svn r8207) -Fixtron
Remove the write-only attribute RoadStop::station
2007-01-17(svn r8203) -Fix:tron
Use initialisers, reduce variable scope, remove spurious whitespace, fix format string to make it readable
2007-01-17(svn r8185) -Codechange: Equipped Roadstops with new/delete operators and ↵celestar
gave them proper constructors/destructors (Thanks to KUDr for a nice interactive C++ lesson)
2007-01-14(svn r8138) -Cleanup: comment style correctionsKUDr
2007-01-14(svn r8136) -Codechange: Station spread rectangle manipulators turned into ↵KUDr
StationRect::methods.
2007-01-14(svn r8130) Provide struct GoodsEntry with a constructortron
2007-01-14(svn r8125) -Codechange: Station is now constructed/destroyed using ↵KUDr
new/delete operators (don't worry, they still use the same memory pool). Few station related functions turned into Station::methods (just first step). All this new stuff moved from station_cmd.cpp to the new file (station.cpp).