Commit Graph

21 Commits (66487d59fd5fdeb253361865cb4322347b0b18fb)

Author SHA1 Message Date
celestar 0ed4b64e64 (svn r8857) -Documentation: Added some doxygen @file tags, repaired others (the @file tag MUST be found before any line of code, that includes preprocessor directives). 18 years ago
belugas a723770836 (svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp files with the @file tag as well as a few general comments style 18 years ago
rubidium 0e8f006dc1 (svn r8735) -Feature: drive-through road stops made possible by the hard work of mart3p. 18 years ago
rubidium ecfbfbd98c (svn r8726) -Codechange: bools are 1 or 0 according to the C++ standard and refactor RoadStop::AllocateBay to remove a loop condition. Suggestions by Tron. 18 years ago
celestar d9385f2798 (svn r8709) -Fix/Codechange: Rename the function GetStationPlatforms into 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. 18 years ago
celestar 5e880a6a75 (svn r8708) -Codechange(r8514): No need to use "this->" in methods 18 years ago
celestar 8eab3964b4 (svn r8707) -Codechange: Turn IsValidStation into a method of Station 18 years ago
rubidium eab6dd9898 (svn r8694) -Codechange: make RoadStop's status accessible via accessor functions. 18 years ago
celestar 22dc618582 (svn r8536) -Fix (FS#577): Road Vehicles now can obtain a slot even if the station is very spread out 18 years ago
celestar 5678febfe2 (svn r8514) -Codechange: Turn IsBuoy into a method of stations 18 years ago
tron e3b63e6d83 (svn r8449) -Fix
-Codechange: Remove the superfluous attribute RoadStop::prev
18 years ago
celestar 600cb8a314 (svn r8401) -Codechange: Make 'IsValidRoadStop' a method of RoadStop and rename it to 'IsValid'
-Codechange: While I'm at it, put 'RoadStop::AllocateRaw' into the protected section
18 years ago
KUDr 147ca22060 (svn r8231) -Fix (r8125): MP desync caused by calling Random() from station 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) 18 years ago
tron 3be30b8842 (svn r8212) -Fix
Remove the unnecessary attribute RoadStop::used. The same information can be derived from RoadStop::xy
18 years ago
tron 3d1735fcfd (svn r8207) -Fix
Remove the write-only attribute RoadStop::station
18 years ago
tron f3daa56208 (svn r8203) -Fix:
Use initialisers, reduce variable scope, remove spurious whitespace, fix format string to make it readable
18 years ago
celestar 8c54793068 (svn r8185) -Codechange: Equipped Roadstops with new/delete operators and gave them proper constructors/destructors (Thanks to KUDr for a nice interactive C++ lesson) 18 years ago
KUDr 278cf974a4 (svn r8138) -Cleanup: comment style corrections 18 years ago
KUDr cd74706c54 (svn r8136) -Codechange: Station spread rectangle manipulators turned into StationRect::methods. 18 years ago
tron b028d8c201 (svn r8130) Provide struct GoodsEntry with a constructor 18 years ago
KUDr 8b65342449 (svn r8125) -Codechange: Station is now constructed/destroyed using 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). 18 years ago