Commit Graph

16 Commits (5e880a6a75d5fb3e9d9b90d30ebd720c9dce2a6e)

Author SHA1 Message Date
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