smatz
09e1ecc8ac
(svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile()
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
smatz
0502a6df42
(svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source
...
-Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost
-Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies
15 years ago
smatz
738d7fde53
(svn r17107) -Codechange: store type of subsidy source and destination in the Subsidy struct instead of determining it every time it's needed
15 years ago
smatz
876d09d751
(svn r17106) -Codechange: move computation of station's catchment rectagle to separate function
15 years ago
smatz
3bcc0dacf8
(svn r17105) -Codechange: no need to reset list of industries nearby that often, clearing is enough
15 years ago
rubidium
30d9e54279
(svn r16966) -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
15 years ago
rubidium
3321f45246
(svn r16965) -Codechange: use tile area instead of sets of variables for the station joiner code.
15 years ago
rubidium
66bca52949
(svn r16962) -Codechange: more work towards multi tile waypoints
15 years ago
rubidium
58563eafa7
(svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and trainst_h.
15 years ago
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
15 years ago
rubidium
196856f54e
(svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way it's written.
15 years ago
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.
15 years ago
rubidium
196dd0974f
(svn r16876) -Codechange: add helper functions to cast to Station/Waypoint with some extra checks.
15 years ago
rubidium
3927fd6be7
(svn r16864) -Codechange: make Waypoints a subclass of BaseStation.
15 years ago
rubidium
f59346a863
(svn r16861) -Codechange: move a few more bits from station to basestation (to be shared with waypoints)
15 years ago
rubidium
46d94fdfed
(svn r16859) -Codechange: split the Station struct into two so parts of it can be reused for Waypoints.
15 years ago
smatz
64de470917
(svn r16814) -Codechange: make IsNormalAircraft() member of Aircraft
15 years ago
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.
15 years ago
rubidium
770ad0c022
(svn r16765) -Codechange: give ViewportSign's width_1 and width_2 more self explaining names
15 years ago
rubidium
bb78e5bb14
(svn r16764) -Codechange: unify the way viewport signs are marked dirty
15 years ago
rubidium
44ebf9a474
(svn r16759) -Codechange: some coding style in station.cpp
15 years ago
smatz
aa4ccab6a8
(svn r16745) -Fix [FS#3011]: invalidate JoinStation window after removing item from the pool
15 years ago
rubidium
c5a44ce99e
(svn r16736) -Codechange: give some station enums a name and use that instead of 'byte'.
15 years ago
rubidium
18fbe0aac4
(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions
15 years ago
rubidium
f97bd41ed4
(svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle.
15 years ago
smatz
d5e58990f8
(svn r16661) -Codechange: move definition of few very short functions to header files
15 years ago
smatz
5799a7a57c
(svn r16656) -Fix (r16655): strange things happen
15 years ago
smatz
c113303593
(svn r16655) -Codechange: use IsRailwayStationTile() more
15 years ago
smatz
72bee4ad2d
(svn r16654) -Codechange: cache industries in station's coverage area instead of searching them everytime payment is made
15 years ago
smatz
f6a4d61cca
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
15 years ago
smatz
61a42f42c1
(svn r16640) -Codechange: move roadstop stuff to separate files
15 years ago
smatz
cc9ecc4e7d
(svn r16639) -Codechange: enumify RoadStop::status, move definition of short functions to header file
15 years ago
smatz
da1b67f115
(svn r16636) -Codechange: no need to initialize already zeroed variables by zero in station and rs constructors, remove debug output
15 years ago
smatz
b12ba4b751
(svn r16476) -Fix (r16475): wrong version of the patch
16 years ago
smatz
7cd7be48c3
(svn r16475) -Codechange: move code invalidating Vehicle::last_station_visited to more logical place
16 years ago
smatz
0c53f04c07
(svn r16441) -Codechange: new class SpecializedVehicle used as superclass for all vehicle types
16 years ago
smatz
bebab3cd79
(svn r16407) -Fix [FS#2913]: set CargoPacket::source to INVALID_STATION when source station is deleted
16 years ago
smatz
1eb48cdded
(svn r16403) -Codechange: move code related to subsidies to separate file
16 years ago
rubidium
489253b630
(svn r16390) -Codechange: move u.road to RoadVehicle.
16 years ago
rubidium
1ceb349779
(svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriate
16 years ago
rubidium
4ae19b7451
(svn r16388) -Codechange: move u.air to Aircraft
16 years ago
smatz
50624d5c0f
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
16 years ago
rubidium
5c5b357043
(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible.
16 years ago
rubidium
c3e87f345d
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
smatz
9021c20b5e
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
rubidium
7a5798695d
(svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus)
16 years ago
smatz
91233ea596
(svn r14828) -Codechange: move most of save/load-specific code to separate files
16 years ago
rubidium
d91baac764
(svn r14785) -Fix [FS#2132]: vehicle list for station gets closed when station view is closed even when the vehicle list is stickied. Other vehicle lists are not deleted when their 'opening' window gets closed so do the same with the station view.
16 years ago
smatz
c88a6199a7
(svn r14743) -Codechange: use INVALID_TILE to indicate station doesn't have queried facility (or station/roadstop is invalid) instead of 0 (Yexo)
16 years ago