Commit Graph

69 Commits

Author SHA1 Message Date
rubidium
e567833521 (svn r20857) -Fix [FS#3637]: The station with the second highest rating was doubly penalised when distributing cargo. Now the penalty is completely removed and the granularity/precision of the distribution in increased by using fractional cargo. This should make competing stations less "all-or-nothing". 2010-09-28 22:00:24 +00:00
rubidium
64f3c1e243 (svn r20815) -Revert (r20814): wrong patch at wrong time... 2010-09-16 16:31:38 +00:00
rubidium
dfa550681c (svn r20814) -Codechange [FS#3835]: make waypoint default names work like depots, stations and vehicles (Krille) 2010-09-16 16:28:40 +00:00
rubidium
360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
yexo
ccccb2c490 (svn r20374) -Codechange: add persistant storage for airports 2010-08-05 12:06:13 +00:00
yexo
2743532ae5 (svn r20366) -Codechange: store the rotation of the airport layout in the station struct and use it to rotate hangar tiles 2010-08-05 12:00:09 +00:00
yexo
7f7e3d4a3a (svn r20365) -Codechange: allow multiple layouts for one airport statemachine, store the layout number 2010-08-05 11:59:07 +00:00
yexo
d96f73665f (svn r20324) -Doc: add doxygen comments to the Airport struct belonging to a station 2010-08-02 21:11:52 +00:00
yexo
a2ea0b7b12 (svn r19465) -Codechange: support for multi-tile hangars 2010-03-19 11:17:52 +00:00
yexo
455bb65282 (svn r19464) -Codechange: move GetHangarTile to Airport 2010-03-19 09:58:46 +00:00
yexo
79909cedee (svn r19463) -Codechange: add helper function to determine if an airport has at least one hangar 2010-03-19 09:48:44 +00:00
yexo
e414e06ab8 (svn r19462) -Codechange: use the AS_GENERIC macro also for the dummy airport 2010-03-19 00:34:38 +00:00
yexo
22a27d3b62 (svn r19455) -Codechange: split all airport information in Station to a seperate class 2010-03-18 21:02:20 +00:00
yexo
63e056c043 (svn r19205) -Codechange: move AirportSpec to newgrf_airport.h/cpp 2010-02-22 16:09:26 +00:00
yexo
80982cc91b (svn r19198) -Codechange: store the size of stations in savegames 2010-02-22 14:17:07 +00:00
yexo
409266f847 (svn r18860) -Codechange: introduce a wrapper to get an hangar tile from a station 2010-01-18 14:32:47 +00:00
yexo
1486552f99 (svn r18857) -Codechange: don't rely on the fact that all airports are rectangular 2010-01-18 12:32:50 +00:00
rubidium
9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
yexo
84cd40a483 (svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there 2010-01-15 12:08:08 +00:00
rubidium
0f7cee89d8 (svn r18377) -Codechange: add 'cache' of the tile area of truck and bus stops. 2009-12-02 16:20:44 +00:00
rubidium
760a329622 (svn r17795) -Codechange: split cargolist into one for vehicles and one for stations. 2009-10-18 13:39:00 +00:00
rubidium
96d098e120 (svn r17734) -Fix (r17732): broke the assumption that 'this->packets == this', which broke loading old savegames. Now remove the (need for the) hack that needed that assumption. 2009-10-06 23:01:35 +00:00
smatz
581366f352 (svn r17592) -Fix [FS#3212](r17436): force all cargo being accepted when industry tiles accept it but industry itself doesn't 2009-09-20 18:52:12 +00:00
smatz
c3a80f1518 (svn r17589) -Codechange: rename town_acc to always_accepted 2009-09-20 17:44:33 +00:00
rubidium
27ad14ee99 (svn r17508) -Fix [FS#3195] (r16859): join station window didn't get updated when stations were removed from the pool 2009-09-12 12:56:49 +00:00
smatz
5d622fd840 (svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses and headquarters anymore 2009-09-07 07:39:08 +00:00
rubidium
99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
smatz
876d09d751 (svn r17106) -Codechange: move computation of station's catchment rectagle to separate function 2009-08-07 21:11:58 +00:00
rubidium
66bca52949 (svn r16962) -Codechange: more work towards multi tile waypoints 2009-07-26 16:17:49 +00:00
rubidium
58563eafa7 (svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and trainst_h. 2009-07-25 08:54:19 +00:00
rubidium
eacc809fa4 (svn r16940) -Codechange: make the pathfinders behave the same when finding waypoints or stations, i.e. don't force exactly one destination tile for a waypoint 2009-07-24 15:18:25 +00:00
rubidium
196856f54e (svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way it's written. 2009-07-24 11:47:12 +00:00
rubidium
d361ecd8f0 (svn r16914) -Codechange: split Station and BaseStation into different files 2009-07-22 11:35:35 +00:00
rubidium
100cb17fa8 (svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions 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-22 08:59:57 +00:00
rubidium
6670fae515 (svn r16896) -Codechange: make station spec allocation and station animation functions work for both stations and waypoints 2009-07-21 11:11:05 +00:00
rubidium
196dd0974f (svn r16876) -Codechange: add helper functions to cast to Station/Waypoint with some extra checks. 2009-07-18 18:39:17 +00:00
rubidium
b4f5a1eebb (svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoords 2009-07-18 08:41:58 +00:00
rubidium
f59346a863 (svn r16861) -Codechange: move a few more bits from station to basestation (to be shared with waypoints) 2009-07-17 20:30:07 +00:00
rubidium
46d94fdfed (svn r16859) -Codechange: split the Station struct into two so parts of it can be reused for Waypoints. 2009-07-17 19:44:13 +00:00
rubidium
e4ef68405c (svn r16766) -Codechange: remove station->MarkDirty. It is in all cases 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-08 12:01:26 +00:00
rubidium
52abc92d1f (svn r16760) -Codechange: make UpdateStationVirtCoord a function of Station 2009-07-07 16:43:58 +00:00
smatz
aa4ccab6a8 (svn r16745) -Fix [FS#3011]: invalidate JoinStation window after removing item from the pool 2009-07-05 13:20:05 +00:00
rubidium
c5a44ce99e (svn r16736) -Codechange: give some station enums a name and use that instead of 'byte'. 2009-07-04 11:26:57 +00:00
rubidium
e56535fda5 (svn r16735) -Codechange: had_vehicle_of_type only stored 7 bits, all less that bit 7... but it was a word wasting space etc. 2009-07-04 11:24:25 +00:00
smatz
d5e58990f8 (svn r16661) -Codechange: move definition of few very short functions to header files 2009-06-25 23:49:59 +00:00
smatz
72bee4ad2d (svn r16654) -Codechange: cache industries in station's coverage area instead of searching them everytime payment is made 2009-06-25 15:42:03 +00:00
smatz
f6a4d61cca (svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile() 2009-06-24 17:39:54 +00:00
smatz
61a42f42c1 (svn r16640) -Codechange: move roadstop stuff to separate files 2009-06-23 21:44:48 +00:00
smatz
cc9ecc4e7d (svn r16639) -Codechange: enumify RoadStop::status, move definition of short functions to header file 2009-06-23 21:12:48 +00:00
smatz
da1b67f115 (svn r16636) -Codechange: no need to initialize already zeroed variables by zero in station and rs constructors, remove debug output 2009-06-23 20:32:51 +00:00