summaryrefslogtreecommitdiff
path: root/src/station_base.h
AgeCommit message (Collapse)Author
2010-03-19(svn r19462) -Codechange: use the AS_GENERIC macro also for the dummy airportyexo
2010-03-18(svn r19455) -Codechange: split all airport information in Station to a ↵yexo
seperate class
2010-02-22(svn r19205) -Codechange: move AirportSpec to newgrf_airport.h/cppyexo
2010-02-22(svn r19198) -Codechange: store the size of stations in savegamesyexo
2010-01-18(svn r18860) -Codechange: introduce a wrapper to get an hangar tile from a ↵yexo
station
2010-01-18(svn r18857) -Codechange: don't rely on the fact that all airports are ↵yexo
rectangular
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-15(svn r18807) -Codechange: introduce AirportSpec and move several ↵yexo
non-statemachine-related variables to there
2009-12-02(svn r18377) -Codechange: add 'cache' of the tile area of truck and bus stops.rubidium
2009-10-18(svn r17795) -Codechange: split cargolist into one for vehicles and one for ↵rubidium
stations.
2009-10-06(svn r17734) -Fix (r17732): broke the assumption that 'this->packets == ↵rubidium
this', which broke loading old savegames. Now remove the (need for the) hack that needed that assumption.
2009-09-20(svn r17592) -Fix [FS#3212](r17436): force all cargo being accepted when ↵smatz
industry tiles accept it but industry itself doesn't
2009-09-20(svn r17589) -Codechange: rename town_acc to always_acceptedsmatz
2009-09-12(svn r17508) -Fix [FS#3195] (r16859): join station window didn't get updated ↵rubidium
when stations were removed from the pool
2009-09-07(svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses ↵smatz
and headquarters anymore
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-07(svn r17106) -Codechange: move computation of station's catchment rectagle ↵smatz
to separate function
2009-07-26(svn r16962) -Codechange: more work towards multi tile waypointsrubidium
2009-07-25(svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and ↵rubidium
trainst_h.
2009-07-24(svn r16940) -Codechange: make the pathfinders behave the same when finding ↵rubidium
waypoints or stations, i.e. don't force exactly one destination tile for a waypoint
2009-07-24(svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way ↵rubidium
it's written.
2009-07-22(svn r16914) -Codechange: split Station and BaseStation into different filesrubidium
2009-07-22(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions ↵rubidium
all over the place when using the more advanced station types. -Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
2009-07-21(svn r16896) -Codechange: make station spec allocation and station animation ↵rubidium
functions work for both stations and waypoints
2009-07-18(svn r16876) -Codechange: add helper functions to cast to Station/Waypoint ↵rubidium
with some extra checks.
2009-07-18(svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoordsrubidium
2009-07-17(svn r16861) -Codechange: move a few more bits from station to basestation ↵rubidium
(to be shared with waypoints)
2009-07-17(svn r16859) -Codechange: split the Station struct into two so parts of it ↵rubidium
can be reused for Waypoints.
2009-07-08(svn r16766) -Codechange: remove station->MarkDirty. It is in all cases ↵rubidium
meant to only update the sign and not invalidate the widget; the widget would be invalidated by a call before/after the call to MarkDirty or it wouldn't make sense because e.g. the window doesn't exist anymore/yet.
2009-07-07(svn r16760) -Codechange: make UpdateStationVirtCoord a function of Stationrubidium
2009-07-05(svn r16745) -Fix [FS#3011]: invalidate JoinStation window after removing ↵smatz
item from the pool
2009-07-04(svn r16736) -Codechange: give some station enums a name and use that ↵rubidium
instead of 'byte'.
2009-07-04(svn r16735) -Codechange: had_vehicle_of_type only stored 7 bits, all less ↵rubidium
that bit 7... but it was a word wasting space etc.
2009-06-25(svn r16661) -Codechange: move definition of few very short functions to ↵smatz
header files
2009-06-25(svn r16654) -Codechange: cache industries in station's coverage area ↵smatz
instead of searching them everytime payment is made
2009-06-24(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()smatz
2009-06-23(svn r16640) -Codechange: move roadstop stuff to separate filessmatz
2009-06-23(svn r16639) -Codechange: enumify RoadStop::status, move definition of short ↵smatz
functions to header file
2009-06-23(svn r16636) -Codechange: no need to initialize already zeroed variables by ↵smatz
zero in station and rs constructors, remove debug output
2009-05-22(svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriaterubidium
2009-05-22(svn r16380) -Codechange: rename pool.hpp to pool_type.hppsmatz
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-05-22(svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index ↵smatz
variable instead of var->index
2009-05-17(svn r16333) -Cleanup: remove a bunch of unused wrapper functions.rubidium
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-16(svn r16326) -Codechange: replace GetPoolItemPoolSize() by ↵smatz
PoolItem::GetPoolSize()
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-03-07(svn r15635) -Fix [FS#2707]: don't allow more than 64 road vehicles to ↵rubidium
reserve a slot at a single road stop. 255 + 1 gives trouble, but 64 is even more than the roadstop would be able to handle within the slot timeout time.
2008-12-26(svn r14743) -Codechange: use INVALID_TILE to indicate station doesn't have ↵smatz
queried facility (or station/roadstop is invalid) instead of 0 (Yexo)
2008-11-19(svn r14598) -Feature: Action0Industries property 24 (industry suuplies ↵rubidium
default name for nearby station).