rubidium
|
b3e93d6520
|
(svn r26057) -Fix: a number of possibly uninitialised variables
|
11 years ago |
fonsinchen
|
05b50ada5c
|
(svn r25963) -Fix [FS#5758]: Mixtures of old and new flows could create cycles.
|
11 years ago |
fonsinchen
|
962d6d7e48
|
(svn r25963) -Fix [FS#5758]: Mixtures of old and new flows could create cycles.
|
11 years ago |
fonsinchen
|
7025a145e3
|
(svn r25899) -Change: Restrict flows if links are restricted and don't normally pick them anymore.
|
11 years ago |
fonsinchen
|
6524849386
|
(svn r25899) -Change: Restrict flows if links are restricted and don't normally pick them anymore.
|
11 years ago |
fonsinchen
|
487f7f0473
|
(svn r25896) -Fix: Remove unused and unimplemented declaration of RunAverages.
|
11 years ago |
fonsinchen
|
e99965aa15
|
(svn r25896) -Fix: Remove unused and unimplemented declaration of RunAverages.
|
11 years ago |
fonsinchen
|
8d53e23b6c
|
(svn r25892) -Fix: off-by-one error in GetVia prevented certain flows from getting picked
|
11 years ago |
fonsinchen
|
9337c561b0
|
(svn r25892) -Fix: off-by-one error in GetVia prevented certain flows from getting picked
|
11 years ago |
fonsinchen
|
e3807ed606
|
(svn r25424) -Fix: keep old flows around in an invalidated state to continue routing cargo if necessary
|
11 years ago |
fonsinchen
|
f0119308f6
|
(svn r25424) -Fix: keep old flows around in an invalidated state to continue routing cargo if necessary
|
11 years ago |
fonsinchen
|
1de46050f6
|
(svn r25362) -Feature: consider cargo waiting at other stations for rating at the origin station
|
11 years ago |
fonsinchen
|
741c431caa
|
(svn r25362) -Feature: consider cargo waiting at other stations for rating at the origin station
|
11 years ago |
fonsinchen
|
c45cfa22a6
|
(svn r25346) -Codechange: Glue between stations and flow stats
|
11 years ago |
fonsinchen
|
db671ffb86
|
(svn r25346) -Codechange: Glue between stations and flow stats
|
11 years ago |
fonsinchen
|
9f54020588
|
(svn r25345) -Add: implementation of SharesMap and FlowStatMap
|
11 years ago |
fonsinchen
|
c8f068d979
|
(svn r25345) -Add: implementation of SharesMap and FlowStatMap
|
11 years ago |
rubidium
|
6b746167e4
|
(svn r25259) -Codechange: track capacities and usage of links
|
11 years ago |
rubidium
|
3947453277
|
(svn r25259) -Codechange: track capacities and usage of links
|
11 years ago |
rubidium
|
251bf7ddcb
|
(svn r25257) -Add: basic link graph (fonsinchen)
|
11 years ago |
rubidium
|
06313e4981
|
(svn r25257) -Add: basic link graph (fonsinchen)
|
11 years ago |
rubidium
|
e0d3265546
|
(svn r25149) -Codechange: replace 'magic' 'has rating' bitcheck by descriptive function
|
11 years ago |
rubidium
|
b2292122b6
|
(svn r25149) -Codechange: replace 'magic' 'has rating' bitcheck by descriptive function
|
11 years ago |
frosch
|
193ee85c6f
|
(svn r24718) -Codechange: Rename GoodsEntry::days_since_pickup to GoodsEntry::time_since_pickup.
|
12 years ago |
frosch
|
883f9bec9b
|
(svn r24718) -Codechange: Rename GoodsEntry::days_since_pickup to GoodsEntry::time_since_pickup.
|
12 years ago |
frosch
|
39a8ed82f5
|
(svn r24708) -Codechange: Check magic values of GoodsEntry::last_speed only via wrapper function.
|
12 years ago |
frosch
|
0566b29ab7
|
(svn r24708) -Codechange: Check magic values of GoodsEntry::last_speed only via wrapper function.
|
12 years ago |
frosch
|
a64a1a76c1
|
(svn r24707) -Doc: Improve description of GoodsEntryStatus flags.
|
12 years ago |
frosch
|
03c94ae6a3
|
(svn r24707) -Doc: Improve description of GoodsEntryStatus flags.
|
12 years ago |
alberth
|
6c6abd87db
|
(svn r24535) -Doc: Two additions, lots of small spelling fixes, and some Doxygen improvements.
|
12 years ago |
alberth
|
0849fb8d36
|
(svn r24535) -Doc: Two additions, lots of small spelling fixes, and some Doxygen improvements.
|
12 years ago |
rubidium
|
0cfe86cead
|
(svn r23735) -Codechange: remove ~50 includes from headers that weren't needed
|
13 years ago |
rubidium
|
e40eb8177a
|
(svn r23735) -Codechange: remove ~50 includes from headers that weren't needed
|
13 years ago |
truebrain
|
aa1a0053b0
|
(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
|
13 years ago |
truebrain
|
1c9bec1999
|
(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
|
13 years ago |
smatz
|
36747f96a6
|
(svn r23588) -Codechange: use the 'final' keyword so compiler can optimise out some indirect calls
|
13 years ago |
smatz
|
33d283fdb1
|
(svn r23588) -Codechange: use the 'final' keyword so compiler can optimise out some indirect calls
|
13 years ago |
yexo
|
a8f0dfd5be
|
(svn r23461) -Fix: handle a missing airport newgrf as graceful as possible by not crashing when loading such savegame or when an airport is removed
|
13 years ago |
yexo
|
c9be5d50da
|
(svn r23461) -Fix: handle a missing airport newgrf as graceful as possible by not crashing when loading such savegame or when an airport is removed
|
13 years ago |
alberth
|
8b4443953f
|
(svn r22742) -Add: Add function to query exit direction of hangars at airports.
|
13 years ago |
alberth
|
c4118e3f6a
|
(svn r22742) -Add: Add function to query exit direction of hangars at airports.
|
13 years ago |
terkhen
|
7e0daae1ec
|
(svn r22567) -Codechange: Store persistent storages inside a pool.
|
13 years ago |
terkhen
|
00e5c1df18
|
(svn r22567) -Codechange: Store persistent storages inside a pool.
|
13 years ago |
terkhen
|
43de2fa2e8
|
(svn r22542) -Add: Store cargo acceptance stats for stations.
|
13 years ago |
terkhen
|
8e00fa39b2
|
(svn r22542) -Add: Store cargo acceptance stats for stations.
|
13 years ago |
terkhen
|
f8400b86b2
|
(svn r22541) -Document: GoodsEntry struct.
|
13 years ago |
terkhen
|
9f68c20d10
|
(svn r22541) -Document: GoodsEntry struct.
|
13 years ago |
terkhen
|
55695277c8
|
(svn r22540) -Codechange: Rename AcceptancePickup to GoodsEntryStatus.
|
13 years ago |
terkhen
|
5bb79b1f46
|
(svn r22540) -Codechange: Rename AcceptancePickup to GoodsEntryStatus.
|
13 years ago |
rubidium
|
0cf2ef83f0
|
(svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s].
|
14 years ago |
rubidium
|
9ca4b629cd
|
(svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s].
|
14 years ago |
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".
|
14 years ago |
rubidium
|
b4f6201e94
|
(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".
|
14 years ago |
rubidium
|
64f3c1e243
|
(svn r20815) -Revert (r20814): wrong patch at wrong time...
|
14 years ago |
rubidium
|
b01c63cd23
|
(svn r20815) -Revert (r20814): wrong patch at wrong time...
|
14 years ago |
rubidium
|
dfa550681c
|
(svn r20814) -Codechange [FS#3835]: make waypoint default names work like depots, stations and vehicles (Krille)
|
14 years ago |
rubidium
|
9a0a753d96
|
(svn r20814) -Codechange [FS#3835]: make waypoint default names work like depots, stations and vehicles (Krille)
|
14 years ago |
rubidium
|
360d6daf34
|
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
|
14 years ago |
rubidium
|
30f2afac9b
|
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
|
14 years ago |
yexo
|
ccccb2c490
|
(svn r20374) -Codechange: add persistant storage for airports
|
14 years ago |
yexo
|
2e6713ce95
|
(svn r20374) -Codechange: add persistant storage for airports
|
14 years ago |
yexo
|
2743532ae5
|
(svn r20366) -Codechange: store the rotation of the airport layout in the station struct and use it to rotate hangar tiles
|
14 years ago |
yexo
|
d2f9b87ccd
|
(svn r20366) -Codechange: store the rotation of the airport layout in the station struct and use it to rotate hangar tiles
|
14 years ago |
yexo
|
7f7e3d4a3a
|
(svn r20365) -Codechange: allow multiple layouts for one airport statemachine, store the layout number
|
14 years ago |
yexo
|
330c2f979e
|
(svn r20365) -Codechange: allow multiple layouts for one airport statemachine, store the layout number
|
14 years ago |
yexo
|
d96f73665f
|
(svn r20324) -Doc: add doxygen comments to the Airport struct belonging to a station
|
14 years ago |
yexo
|
c7516f230f
|
(svn r20324) -Doc: add doxygen comments to the Airport struct belonging to a station
|
14 years ago |
yexo
|
a2ea0b7b12
|
(svn r19465) -Codechange: support for multi-tile hangars
|
14 years ago |
yexo
|
1579e9ded2
|
(svn r19465) -Codechange: support for multi-tile hangars
|
14 years ago |
yexo
|
455bb65282
|
(svn r19464) -Codechange: move GetHangarTile to Airport
|
14 years ago |
yexo
|
f2743cd5ed
|
(svn r19464) -Codechange: move GetHangarTile to Airport
|
14 years ago |
yexo
|
79909cedee
|
(svn r19463) -Codechange: add helper function to determine if an airport has at least one hangar
|
14 years ago |
yexo
|
414071d07f
|
(svn r19463) -Codechange: add helper function to determine if an airport has at least one hangar
|
14 years ago |
yexo
|
e414e06ab8
|
(svn r19462) -Codechange: use the AS_GENERIC macro also for the dummy airport
|
14 years ago |
yexo
|
81ca0e28c4
|
(svn r19462) -Codechange: use the AS_GENERIC macro also for the dummy airport
|
14 years ago |
yexo
|
22a27d3b62
|
(svn r19455) -Codechange: split all airport information in Station to a seperate class
|
14 years ago |
yexo
|
c4a88ce022
|
(svn r19455) -Codechange: split all airport information in Station to a seperate class
|
14 years ago |
yexo
|
63e056c043
|
(svn r19205) -Codechange: move AirportSpec to newgrf_airport.h/cpp
|
14 years ago |
yexo
|
dd7c2b2f9d
|
(svn r19205) -Codechange: move AirportSpec to newgrf_airport.h/cpp
|
14 years ago |
yexo
|
80982cc91b
|
(svn r19198) -Codechange: store the size of stations in savegames
|
14 years ago |
yexo
|
698737f485
|
(svn r19198) -Codechange: store the size of stations in savegames
|
14 years ago |
yexo
|
409266f847
|
(svn r18860) -Codechange: introduce a wrapper to get an hangar tile from a station
|
15 years ago |
yexo
|
a1f28ec88b
|
(svn r18860) -Codechange: introduce a wrapper to get an hangar tile from a station
|
15 years ago |
yexo
|
1486552f99
|
(svn r18857) -Codechange: don't rely on the fact that all airports are rectangular
|
15 years ago |
yexo
|
ab68f08886
|
(svn r18857) -Codechange: don't rely on the fact that all airports are rectangular
|
15 years ago |
rubidium
|
9467b7c6d6
|
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
|
15 years ago |
rubidium
|
82fc28f77f
|
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
|
15 years ago |
yexo
|
84cd40a483
|
(svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there
|
15 years ago |
yexo
|
d669801f1d
|
(svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there
|
15 years ago |
rubidium
|
0f7cee89d8
|
(svn r18377) -Codechange: add 'cache' of the tile area of truck and bus stops.
|
15 years ago |
rubidium
|
81062163a2
|
(svn r18377) -Codechange: add 'cache' of the tile area of truck and bus stops.
|
15 years ago |
rubidium
|
760a329622
|
(svn r17795) -Codechange: split cargolist into one for vehicles and one for stations.
|
15 years ago |
rubidium
|
2e766884f6
|
(svn r17795) -Codechange: split cargolist into one for vehicles and one for stations.
|
15 years ago |
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.
|
15 years ago |
rubidium
|
446363aac4
|
(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.
|
15 years ago |
smatz
|
581366f352
|
(svn r17592) -Fix [FS#3212](r17436): force all cargo being accepted when industry tiles accept it but industry itself doesn't
|
15 years ago |
smatz
|
9cf2e92159
|
(svn r17592) -Fix [FS#3212](r17436): force all cargo being accepted when industry tiles accept it but industry itself doesn't
|
15 years ago |
smatz
|
c3a80f1518
|
(svn r17589) -Codechange: rename town_acc to always_accepted
|
15 years ago |
smatz
|
9225b3ba03
|
(svn r17589) -Codechange: rename town_acc to always_accepted
|
15 years ago |
rubidium
|
27ad14ee99
|
(svn r17508) -Fix [FS#3195] (r16859): join station window didn't get updated when stations were removed from the pool
|
15 years ago |
rubidium
|
c60cebd4bb
|
(svn r17508) -Fix [FS#3195] (r16859): join station window didn't get updated when stations were removed from the pool
|
15 years ago |
smatz
|
5d622fd840
|
(svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses and headquarters anymore
|
15 years ago |
smatz
|
22e9d59559
|
(svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses and headquarters anymore
|
15 years ago |
rubidium
|
99d46e0ad7
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
15 years ago |
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
15 years ago |
smatz
|
876d09d751
|
(svn r17106) -Codechange: move computation of station's catchment rectagle to separate function
|
15 years ago |
smatz
|
39e145e586
|
(svn r17106) -Codechange: move computation of station's catchment rectagle to separate function
|
15 years ago |
rubidium
|
66bca52949
|
(svn r16962) -Codechange: more work towards multi tile waypoints
|
15 years ago |
rubidium
|
2dd998ab06
|
(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
|
7440ec7a73
|
(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
|
c3d2c47faa
|
(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
|
cf38a5bee6
|
(svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way it's written.
|
15 years ago |
rubidium
|
d361ecd8f0
|
(svn r16914) -Codechange: split Station and BaseStation into different files
|
15 years ago |
rubidium
|
6e3d999dce
|
(svn r16914) -Codechange: split Station and BaseStation into different files
|
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
|
68ead6b84f
|
(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
|
6670fae515
|
(svn r16896) -Codechange: make station spec allocation and station animation functions work for both stations and waypoints
|
15 years ago |
rubidium
|
43eda3dfbf
|
(svn r16896) -Codechange: make station spec allocation and station animation functions work for both stations and waypoints
|
15 years ago |
rubidium
|
196dd0974f
|
(svn r16876) -Codechange: add helper functions to cast to Station/Waypoint with some extra checks.
|
15 years ago |
rubidium
|
3fcfb9b248
|
(svn r16876) -Codechange: add helper functions to cast to Station/Waypoint with some extra checks.
|
15 years ago |
rubidium
|
b4f5a1eebb
|
(svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoords
|
15 years ago |
rubidium
|
8c17c6cb2b
|
(svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoords
|
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
|
72d6c3a9ad
|
(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 |
rubidium
|
84df3ba2b4
|
(svn r16859) -Codechange: split the Station struct into two so parts of it can be reused for Waypoints.
|
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
|
9ae07bba85
|
(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
|
52abc92d1f
|
(svn r16760) -Codechange: make UpdateStationVirtCoord a function of Station
|
15 years ago |
rubidium
|
fbb2fb9720
|
(svn r16760) -Codechange: make UpdateStationVirtCoord a function of Station
|
15 years ago |
smatz
|
aa4ccab6a8
|
(svn r16745) -Fix [FS#3011]: invalidate JoinStation window after removing item from the pool
|
15 years ago |
smatz
|
c861d9b64b
|
(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
|
571dfb9055
|
(svn r16736) -Codechange: give some station enums a name and use that instead of 'byte'.
|
15 years ago |
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.
|
15 years ago |
rubidium
|
65f77a7bee
|
(svn r16735) -Codechange: had_vehicle_of_type only stored 7 bits, all less that bit 7... but it was a word wasting space etc.
|
15 years ago |
smatz
|
d5e58990f8
|
(svn r16661) -Codechange: move definition of few very short functions to header files
|
15 years ago |
smatz
|
f2e55319dd
|
(svn r16661) -Codechange: move definition of few very short functions to header files
|
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
|
fa1ad0fd3c
|
(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
|
8343340acb
|
(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
|
0045096403
|
(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
|
8bb88e5f72
|
(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 |