Age | Commit message (Collapse) | Author |
|
station is very spread out
|
|
|
|
-Codechange: Remove the superfluous attribute RoadStop::prev
|
|
rename it to 'IsValid'
-Codechange: While I'm at it, put 'RoadStop::AllocateRaw' into the protected section
|
|
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)
|
|
Remove the unnecessary attribute RoadStop::used. The same information can be derived from RoadStop::xy
|
|
Remove the write-only attribute RoadStop::station
|
|
Use initialisers, reduce variable scope, remove spurious whitespace, fix format string to make it readable
|
|
gave them proper constructors/destructors (Thanks to KUDr for a nice interactive C++ lesson)
|
|
|
|
StationRect::methods.
|
|
|
|
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).
|