summaryrefslogtreecommitdiff
path: root/src/station.cpp
AgeCommit message (Collapse)Author
2007-05-19(svn r9884) -Feature: 2 new zoom-out levels: 8 times and 16 timestruelight
-Codechange: unified the blitter function so we have 1 function for all zoom-levels -Codechange: make most of the label functions work with zoom-level instead of magic numbers and big switches per zoom-level -Codechange: MakeXXXDirty() functions didn't take into account zoom-level, but just used the biggest possible value -Codechange: simplified blitter functions to avoid code duplication
2007-04-18(svn r9669) -Documentation: some more doxygen fixesbelugas
2007-04-04(svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. ↵belugas
The end of the preliminary work is near
2007-03-08(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the ↵rubidium
coding style (and rest of the code).
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-02-23(svn r8857) -Documentation: Added some doxygen @file tags, repaired others ↵celestar
(the @file tag MUST be found before any line of code, that includes preprocessor directives).
2007-02-23(svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp ↵belugas
files with the @file tag as well as a few general comments style
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).