summaryrefslogtreecommitdiff
path: root/src/station.h
AgeCommit message (Collapse)Author
2008-03-28(svn r12468) -Codechange: move some type related stuff from station.h (and ↵rubidium
openttd.h) to station_type.h.
2008-02-15(svn r12154) -Codechange: removed a magic numberglx
2008-01-12(svn r11822) -Codechange: Replaced fixed size custom name array. Names are ↵peter1138
now attached to their object directly and there is no limit to the amount of names. -Fix: NewGRF engines could not be renamed.
2008-01-09(svn r11801) -Codechange: remove some unneeded includes from some header files.rubidium
2008-01-07(svn r11776) -Codechange: more header splittings to reduce the dependencies.rubidium
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.rubidium
2007-12-19(svn r11670) -Feature [FS#1565]: list neutral stations where the player has ↵smatz
service in the station list too
2007-12-19(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.hrubidium
2007-12-18(svn r11663) -Codechange: moving of the road related types and functions.rubidium
2007-12-05(svn r11576) -Codechange: enumerize and comment station GUIsmatz
2007-11-15(svn r11442) -Feature: make news messages related to the industry ↵rubidium
(production) changes better configurable; you can now disable news messages popping up for industries you are not servicing. Patch by Alberth.
2007-09-09(svn r11065) -Documentation [FS#1186]: of the dirty marking/repainting ↵rubidium
subsystem. Patch by Progman.
2007-08-31(svn r11013) -Fix [FS#1171]: MoveGoodsToStation's search area is too small ↵rubidium
as it assumed a lower maximum catchment area than the real maximum catchment area. Based on a patch by PhilSophus.
2007-08-30(svn r11009) -Codechange: unvirtualise IsValid as that isn't needed with ↵rubidium
templates. This gives up to 10% performance increase in games with lots of vehicles.
2007-08-26(svn r10981) -Fix [FS#1156] (r10970): stations gave ratings for accepted ↵rubidium
cargo too.
2007-08-24(svn r10974) -Fix [FS#1144, FS#1155]: road vehicles that could not ↵rubidium
(properly) use a road stop still tried to go to that road stop.
2007-08-05(svn r10799) -Fix: only calling QuickFree and not the destructor on pool ↵rubidium
cleanups might cause memory leaks due to the way C++ works.
2007-08-03(svn r10777) -Fix: don't put the ctor debug on lvl3, it is more a lvl5 debugtruelight
2007-08-02(svn r10746) -Codechange: add a generic superclass for almost all pool items ↵rubidium
so we do not have to duplicate code for each of the pool item classes and use it for the station and roadstop classes.
2007-08-01(svn r10745) -Codechange: generalize the pool cleanup/initialize functions ↵rubidium
for stations (in such a manner that they can be used for other pools too).
2007-07-16(svn r10601) -Codechange: store (and use) the type of stations instead of ↵rubidium
hardcoding station types by graphics IDs.
2007-06-22(svn r10269) -Fix [FS#912]: station ratings were shown for all cargos ↵rubidium
instead of only the cargos that have been transported.
2007-06-22(svn r10266) -Codechange: keep track of the origin, time of travel and ↵rubidium
accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
2007-06-18(svn r10208) -Codechange: replace int32 with Money where appropriate.rubidium
2007-06-08(svn r10062) -Codechange: Don't redraw all station tiles when cargo is added ↵peter1138
or removed if the station has no custom graphics.
2007-05-24(svn r9908) -Codechange: prepare the station picker for more road types.rubidium
2007-04-20(svn r9683) -Fix [FS#423]: improved loading does not use a huge amount of ↵rubidium
processing power anymore when having a lot of trains.
2007-04-04(svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. ↵belugas
The end of the preliminary work is near
2007-03-29(svn r9524) -Fix(FS#640,r8755): Implemented a "dummy" State Machine for ↵celestar
stations who got their airport removed while there were still aircraft within the State Machine (and thus caused asserts)
2007-03-08(svn r9070) -Fix [FS#404]: if bribe failed and you didn't pick up cargo yet, ↵truelight
you wouldn't ever be able to do so for a given station
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-03-02(svn r8978) -Feature: Rewrite of transfer system.richk
This major feature-fix keeps track of the value of transfers offloaded at a station, and hands on to a loading vehicle a credit note proportionate to the cargo loaded. The transferring vehicle is paid only for the distance it has travelled. eg. B-C in a transfer chain A-B-C-D. When the final cargo is delivered, these credit notes are cashed, and the final vehicle is paid for A-D minus any credit notes it is carrying. The company bank balance increases by the value of the A-D route. You still need to set up a profitable route; it is still easy to make a loss on transfers by bad planning. :)
2007-02-17(svn r8780) -Fix: Spelling of CatchmentArea incorrect.richk
2007-02-17(svn r8767) -Fixtron
-Codechange: Do not hardcode the catchment radius of airports, but hold the information in AirportFTAClass -Fix (r979): The default AI tested possible airport locations with a fixed catchment radius instead of the radius of the to be built airport
2007-02-16(svn r8755) -Fixtron
Abbreviate GetAirport(st->airport_type) to st->Airport()
2007-02-14(svn r8735) -Feature: drive-through road stops made possible by the hard ↵rubidium
work of mart3p.
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 r8707) -Codechange: Turn IsValidStation into a method of Stationcelestar
2007-02-13(svn r8705) -Codechange: Increased the number of airport blocks to 64. This ↵celestar
involves changing the enum of airport blocks to a static const uint64 as SOME platforms do not support 64-bit enums
2007-02-13(svn r8694) -Codechange: make RoadStop's status accessible via accessor ↵rubidium
functions.
2007-02-04(svn r8575) -Fix (8125): remove unused includerubidium
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-31(svn r8485) -Fixtron
-Fix (since the dawn of time): Remove phantom oil rigs sometimes present in old savegames
2007-01-31(svn r8477) -Fixtron
-Codechange: Remove the unnecessary attributes Station::{bus,lorry}_tile_obsolete by replacing them with a scan of the map for existing road stops when loading old savegames
2007-01-31(svn r8476) -Fixtron
Remove the unused remnants of {bus,truck}_stop_status_obsolete (though I wonder a bit why this information doesn't get converted on load *shrug*)
2007-01-31(svn r8475) -Fixtron
Remove the unused remnants of blocked_months_obsolete
2007-01-31(svn r8474) -Fixtron
Turn GetPrimaryRoadStop() into a method of struct Station