rubidium
|
b4106e686b
|
(svn r25461) -Fix: MSVC compiler warning
|
11 years ago |
fonsinchen
|
930c19dae2
|
(svn r25435) -Fix: reroute cargo in vehicles if station is deleted
|
11 years ago |
fonsinchen
|
3dd811e179
|
(svn r25434) -Fix: reroute cargo staged for unloading if a link breaks
|
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
|
1c995a3faa
|
(svn r25391) -Fix: make ChangeShare really aware of INT_MIN
|
11 years ago |
fonsinchen
|
6166772bc5
|
(svn r25379) -Fix: avoid warning in FlowStatMap::FinalizeLocalConsumption
|
11 years ago |
fonsinchen
|
0fc198cb00
|
(svn r25365) -Feature: show cargo by next hops and final destinations in the station GUI
|
11 years ago |
fonsinchen
|
741c431caa
|
(svn r25362) -Feature: consider cargo waiting at other stations for rating at the origin station
|
11 years ago |
fonsinchen
|
04e3eb6fab
|
(svn r25361) -Feature: distribute cargo according to plan given by linkgraph
|
11 years ago |
fonsinchen
|
5c8ff0a251
|
(svn r25359) -Codechange: schedule jobs when tracking capacities of links
|
11 years ago |
fonsinchen
|
db671ffb86
|
(svn r25346) -Codechange: Glue between stations and flow stats
|
11 years ago |
fonsinchen
|
c8f068d979
|
(svn r25345) -Add: implementation of SharesMap and FlowStatMap
|
11 years ago |
rubidium
|
be4f85766c
|
(svn r25260) -Codechange: occasionally clear dead links and compress link graphs (fonsinchen)
|
12 years ago |
rubidium
|
3947453277
|
(svn r25259) -Codechange: track capacities and usage of links
|
12 years ago |
rubidium
|
1a0c081c18
|
(svn r25251) -Fix [FS#5540]: when overbuilding a reserved track with a non-track station tile, that tile would remain reserved and eventually trigger a crash upon removal
|
12 years ago |
rubidium
|
0d05b8a0fb
|
(svn r25243) -Fix [FS#5546]: "No station" error was given, even when there was a station that way occupied or not yours
|
12 years ago |
frosch
|
5eddbb338b
|
(svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen)
|
12 years ago |
rubidium
|
b2292122b6
|
(svn r25149) -Codechange: replace 'magic' 'has rating' bitcheck by descriptive function
|
12 years ago |
rubidium
|
9986691220
|
(svn r25132) -Fix [FS#5510, FS#5516]: station rebuilding could leave reserved tiles which caused crashes later on
|
12 years ago |
rubidium
|
bae033c23d
|
(svn r25016) -Fix [FS#5476]: integer overflow in UpdateStationRating (fonsinchen)
|
12 years ago |
rubidium
|
2795ed5b09
|
(svn r25008) -Codechange: Make CargoList::Truncate behave similarly to CargoList::MoveTo, i.e. pass the amount to truncate (fonsinchen)
|
12 years ago |
rubidium
|
c7168f09c3
|
(svn r24961) -Fix [FS#5362] (r23564): making occupied platforms larger would make train reserve onto the newly unreserved bit and cause crashes. Now if a platform is enlarged and there is a reservation, reserve the whole platform
|
12 years ago |
frosch
|
6f80f4ac29
|
(svn r24951) -Fix: [NewGRF] Var 10 of CB 24 missed the T part.
|
12 years ago |
peter1138
|
c00a400cc7
|
(svn r24905) -Feature(ish): Implement station randomisation triggers.
|
12 years ago |
planetmaker
|
c24374f99c
|
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
|
12 years ago |
peter1138
|
fb58c42aa0
|
(svn r24840) -Fix: Draw NewGRF railtypes in NewGRF station previews.
|
12 years ago |
frosch
|
eb56e60e94
|
(svn r24721) -Fix (r24715): Reallow building road stations.
|
12 years ago |
frosch
|
b518f1342c
|
(svn r24720) -Fix (r24715): Comparison of different height units.
|
12 years ago |
frosch
|
883f9bec9b
|
(svn r24718) -Codechange: Rename GoodsEntry::days_since_pickup to GoodsEntry::time_since_pickup.
|
12 years ago |
frosch
|
96540079e7
|
(svn r24715) -Fix [FS#5335]: [NewGRF] Allow stations to draw snow/desert aware ground sprites with railtype overlays.
|
12 years ago |
frosch
|
f3be01c26f
|
(svn r24714) -Fix [FS#5337]: [NewGRF] Draw default foundations if resolving of custom station foundation sprites fails.
|
12 years ago |
frosch
|
0566b29ab7
|
(svn r24708) -Codechange: Check magic values of GoodsEntry::last_speed only via wrapper function.
|
12 years ago |
frosch
|
a2980378ff
|
(svn r24704) -Cleanup: No need to initialise stuff twice.
|
12 years ago |
frosch
|
e6459a91dd
|
(svn r24703) -Fix: Disallow closing oilrig airports in SE.
|
12 years ago |
alberth
|
0849fb8d36
|
(svn r24535) -Doc: Two additions, lots of small spelling fixes, and some Doxygen improvements.
|
12 years ago |
frosch
|
c8cb096533
|
(svn r24402) -Fix [FS#5243]: Station properties 11 and 14 were combined incorrectly.
|
12 years ago |
frosch
|
0fd41221c3
|
(svn r24355) -Codechange [FS#5217]: Deduplicate code when building stations. (Hirundo)
|
12 years ago |
frosch
|
ca10522e8d
|
(svn r24354) -Fix: When airport construction was denied due to noise, the error message named the wrong town.
|
12 years ago |
frosch
|
a8c88f43b6
|
(svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and NewsFlag instead.
|
13 years ago |
frosch
|
c841a78f69
|
(svn r24167) -Codechange: Rename NewGRFClass::GetCount() to NewGRFClass::GetClassCount()
|
13 years ago |
frosch
|
0f0e7e43cf
|
(svn r24166) -Codechange: Turn NewGRFClass::Get(Tid, uint) and GetCount(Tid) into non-static members GetSpec(uint) and GetSpecCount().
|
13 years ago |
frosch
|
6f4d2160c2
|
(svn r24162) -Codechange: Remove NewGRFClass::GetName() and SetName() in favour of using Get() and direct member access (which is needed anyway for GRF string resolving).
|
13 years ago |
michi_cc
|
aa47d6c7f2
|
(svn r24127) -Feature [FS#1497]: Allow closing airports for incoming aircraft. (Based on patch by cirdan)
|
13 years ago |
rubidium
|
060cac439c
|
(svn r23942) -Fix: infrastructure cache of standard road stops would get messed up when buying a company with them
|
13 years ago |
rubidium
|
30c3850225
|
(svn r23851) -Fix: infrastructure cache could get out of sync when overbuilding a drive through road stop
|
13 years ago |
michi_cc
|
52b951ca6f
|
(svn r23844) -Fix (r23414): Infrastructure count for stations wasn't updated properly on company takeover. And don't count buoys while loading a game either.
|
13 years ago |
rubidium
|
f6487875da
|
(svn r23838) -Fix [FS#5000]: assertion got hit when destroing a dock when a ship was loading
|
13 years ago |
rubidium
|
6d6be50ae0
|
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
|
13 years ago |
rubidium
|
e40eb8177a
|
(svn r23735) -Codechange: remove ~50 includes from headers that weren't needed
|
13 years ago |
rubidium
|
caa5762636
|
(svn r23717) -Fix [FS#4927]: ships going to wrong dock location when moving the dock while the game is paused
|
13 years ago |
smatz
|
3655d5105b
|
(svn r23716) -Revert (r23705)[FS#4937]: unforeseen consequences
|
13 years ago |
smatz
|
a90b767995
|
(svn r23705) -Codechange: cache the last processed station in FindStationsAroundTiles() in order to make the code a bit faster
|
13 years ago |
truebrain
|
3b2ecfab01
|
(svn r23702) -Codechange: avoid using TileAddWrap() in FindStationsAroundTiles() by finding out where the border is in advance, speeding up the function with a factor 3 (you got to love random statistics which has no real meaning in the grand scheme of it all :D)
|
13 years ago |
rubidium
|
2c09939bd3
|
(svn r23676) -Fix [FS#4913] (r23412): when removing road stops the wrong tile was checked for updating the infrastructure cache
|
13 years ago |
truebrain
|
9266bde593
|
(svn r23546) -Codechange: document and rename widgets to be consistent and understandable
|
13 years ago |
rubidium
|
3d88c74389
|
(svn r23526) -Codechange: unify cargos vs cargoes
|
13 years ago |
yexo
|
7af041d12d
|
(svn r23463) -Fix (r23461): unused variable
|
13 years ago |
yexo
|
16eb11e988
|
(svn r23462) -Codechange: use AirportTileTableIterator in a few more places to make the code easier to read
|
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 |
yexo
|
b8ee5c018d
|
(svn r23459) -Fix: don't crash trying to draw airport tiles when the airport grf is missing
|
13 years ago |
yexo
|
e7777f44b9
|
(svn r23456) -Fix (r23441): oilrigs don't have any layouts nor do they provide airport noise
|
13 years ago |
rubidium
|
de46e9647b
|
(svn r23441) -Fix [FS#4764]: some airport functions didn't take the layout into account resulting in wrong noise levels or nearests towns (patch by Zuu)
|
13 years ago |
michi_cc
|
f98312eb77
|
(svn r23414) -Add: Company infrastructure counts for stations/airports.
|
13 years ago |
michi_cc
|
c06bbb4863
|
(svn r23413) -Add: Company infrastructure counts for canals.
|
13 years ago |
michi_cc
|
a29a9d94b7
|
(svn r23412) -Add: Company infrastructure counts for road.
|
13 years ago |
michi_cc
|
d30fcd4e35
|
(svn r23411) -Add: Company infrastructure counts for rail.
|
13 years ago |
peter1138
|
3e1d070413
|
(svn r23319) -Fix (r23316): Offsets of viewport signs were not scaled up.
|
13 years ago |
rubidium
|
560bae8c91
|
(svn r23312) -Fix [FS#4849]: assertion could be triggered in case a station was removed just after a vehicle delivered cargo to it
|
13 years ago |
yexo
|
6a272233b3
|
(svn r23160) -Fix: wrong comments in a lot of TileTypeProcs definitions
|
13 years ago |
frosch
|
52774235eb
|
(svn r23148) -Change: [NewGRF] Check the results of various callbacks for validness.
|
13 years ago |
frosch
|
30874b5e81
|
(svn r23147) -Change: [NewGRF v8] Unify the return values of boolean callbacks, and check the results for validity.
|
13 years ago |
rubidium
|
2a2c102b0b
|
(svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables
|
13 years ago |
rubidium
|
459c9523e8
|
(svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type functions use int z as well
|
13 years ago |
rubidium
|
19eabdba2c
|
(svn r23106) -Codechange: pass int* to GetTileSlope and friends
|
13 years ago |
rubidium
|
a8c4efcff4
|
(svn r23101) -Codechange: remove pointless multiplications by TILE_HEIGHT from the station/object building code
|
13 years ago |
rubidium
|
1dc685aeea
|
(svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT for the terraform code
|
13 years ago |
rubidium
|
2ed0f93bfb
|
(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it
|
13 years ago |
rubidium
|
7757a2ed40
|
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
|
13 years ago |
michi_cc
|
e094d7db62
|
(svn r23072) -Feature: [NewGRF] House callback 0x148.
|
13 years ago |
frosch
|
3eddb9c23f
|
(svn r23049) -Fix [FS#4810]: Use the same forest-check for the vegetation-map colour as for nearby station names.
|
13 years ago |
rubidium
|
1842622d81
|
(svn r22973) -Add: support for replacing the buoy via action123
|
13 years ago |
frosch
|
8d5c1479f4
|
(svn r22960) -Feature: Allow depots, standard roadstops and airports on steep slopes.
|
13 years ago |
frosch
|
7f228d6909
|
(svn r22924) -Codechange: Enhance NewGRFSpriteLayout for drawing construction stages in spritelayouts with inconsistent number of sprites per spriteset.
|
13 years ago |
michi_cc
|
d579af11e8
|
(svn r22659) -Add: [NewGRF] Support for the land slope check callback for stations.
|
13 years ago |
terkhen
|
00e5c1df18
|
(svn r22567) -Codechange: Store persistent storages inside a pool.
|
13 years ago |
terkhen
|
e127fca384
|
(svn r22557) -Codechange: Remove constness from AnimationBase callbacks.
|
13 years ago |
frosch
|
d5e7537e14
|
(svn r22552) -Fix: Clear airport persistent storage on construction/removal of airports.
|
13 years ago |
terkhen
|
8e00fa39b2
|
(svn r22542) -Add: Store cargo acceptance stats for stations.
|
13 years ago |
terkhen
|
5bb79b1f46
|
(svn r22540) -Codechange: Rename AcceptancePickup to GoodsEntryStatus.
|
13 years ago |
frosch
|
a241a4ce97
|
(svn r22518) -Feature: [NewGRF] Advanced sprite layouts with register modifiers.
|
14 years ago |
frosch
|
474b4799e8
|
(svn r22482) -Codechange: Add some contants for the number of ticks between certain cyclical tasks.
|
14 years ago |
alberth
|
990ec6f0a9
|
(svn r22460) -Doc: Semantic documentation fixes, and doxygen additions (partly by planetmaker).
|
14 years ago |
frosch
|
20e86fd5ea
|
(svn r22454) -Codechange: Deduplicate GetCustomStationGroundRelocation() into GetCustomStationRelocation() and only call it if actually needed.
|
14 years ago |
frosch
|
fdd2f8447e
|
(svn r22453) -Feature(ette): Implement variable 18 for custom station foundations.
|
14 years ago |
frosch
|
76c7cbff70
|
(svn r22436) -Fix (r18969): Apply railtype property 12 (station graphics) also to station groundsprites from action 1.
|
14 years ago |
rubidium
|
1a515e6344
|
(svn r22405) -Document: some more "random-ish" tidbits
|
14 years ago |
yexo
|
3769b4f218
|
(svn r22163) -Fix [FS#4541]: building a station part adjacent to both an existing station and a rail waypoint failed
|
14 years ago |
frosch
|
bd9610ec3c
|
(svn r22117) -Fix [FS#4523-ish]: CanRemoveRoadWithStop() failed for _current_company = OWNER_TOWN, and for OWNER_NONE-owned road.
|
14 years ago |
terkhen
|
57a969017b
|
(svn r22051) -Fix (r21935): Roads under road stops would get a wrong owner after overbuilding.
|
14 years ago |
smatz
|
b4273bcd35
|
(svn r22023) -Fix: verify we can allocate a CargoPacket and CargoPayment before we actually try to do so
-Codechange: increase the limit of number of CargoPayments to match the limit of Vehicles (Rubidium)
|
14 years ago |
rubidium
|
0395aab420
|
(svn r22019) -Codechange: s/functions.h/clear_func.h/
|
14 years ago |
rubidium
|
4355231f67
|
(svn r21958) -Cleanup: join_stations setting; can done by distant join and could be subverted by distant join
|
14 years ago |
smatz
|
3057a26fd5
|
(svn r21953) -Remove [FS#4456]: the non-uniform stations setting. Support for uniform stations has been broken for over a year
|
14 years ago |
terkhen
|
9765a297e7
|
(svn r21936) -Fix [FS#4457](r19231): Do not remove existing road/tram bits when overbuilding stops of the opposite road type.
-Change: Build only the required road/tram bits when building stops with drag and drop.
|
14 years ago |
terkhen
|
2e1eafbdc3
|
(svn r21935) -Fix (r19231): Allow to overbuild road stops which are built over trams.
|
14 years ago |
terkhen
|
734994c9ba
|
(svn r21924) -Codechange: Unify some parts of the articulated vehicle code.
-Cleanup: Avoid conversions to Train and RoadVehicle that are no longer required.
|
14 years ago |
terkhen
|
b5468e7a80
|
(svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names.
|
14 years ago |
rubidium
|
b5b8a7b5ed
|
(svn r21486) -Codechange: use TILE_AREA_LOOP for station expansion checks as well
|
14 years ago |
rubidium
|
44d1c55347
|
(svn r21415) -Codechange: limit station/waypoint name by amount of characters, not bytes
|
14 years ago |
frosch
|
55d604e60d
|
(svn r21291) -Fix: Treat objects on water like water in more cases.
|
14 years ago |
alberth
|
3b0ee65571
|
(svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code.
|
14 years ago |
rubidium
|
3f1de4926e
|
(svn r21268) -Fix (r21266): crash (or rather a triggered assertion) in some cases
|
14 years ago |
rubidium
|
ffa437a6c1
|
(svn r21266) -Change: don't receive money for removing the rail of non-rail railstation tiles, i.e. rail station tiles for which the NewGRF has prevented trains to be routed
|
14 years ago |
frosch
|
f80af8f8c8
|
(svn r21262) -Fix (r18708)[FS#4246]: Custom station foundations using the 'simple foundations'-method did not draw any sprite for WSE-slopes when there are foundations on both neighboured tiles in the north. As there must be at least one sprite to provide the correct offset for the groundsprite draw the (empty) default foundation sprite in that case.
|
14 years ago |
rubidium
|
67d071d033
|
(svn r21145) -Fix: station list wasn't updated when a new cargo got a rating
|
14 years ago |
rubidium
|
6a1a4fc5bb
|
(svn r21143) -Codechange: reduce the number of dereferences in UpdateStationWaiting
|
14 years ago |
alberth
|
7e48d85104
|
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
|
14 years ago |
yexo
|
9a07ebc382
|
(svn r21052) -Fix (r20435): house/airporttile/industrytile newgrfs that defined tiles that relied on the substitute being drawn were broken
|
14 years ago |
smatz
|
bb53464848
|
(svn r20990) -Fix: when removing a rail station, don't leave track under non-station tiles
|
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
|
b01c63cd23
|
(svn r20815) -Revert (r20814): wrong patch at wrong time...
|
14 years ago |
rubidium
|
9a0a753d96
|
(svn r20814) -Codechange [FS#3835]: make waypoint default names work like depots, stations and vehicles (Krille)
|
14 years ago |
frosch
|
e9cd81953a
|
(svn r20741) -Cleanup: Use IsTileOnWater() in more places.
|
14 years ago |
yexo
|
c07fdab16c
|
(svn r20716) -Feature: add airport class and airport name to the land info tool
|
14 years ago |
rubidium
|
41a80490be
|
(svn r20668) -Codechange: add (more) support for bridges over objects
|
14 years ago |
frosch
|
4901d42140
|
(svn r20636) -Codechange: Move MarkTileDirtyByTile() and DeleteAnimatedTile() into MakeWaterKeepingClass().
|
14 years ago |
rubidium
|
30f2afac9b
|
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
|
14 years ago |
rubidium
|
16bcd6c0cf
|
(svn r20628) -Fix: typos in animation trigger enum/comments
|
14 years ago |
rubidium
|
82ef98a90a
|
(svn r20625) -Add: AirportTileSpec::GetByTile to simplify accessing the AirportTileSpec
|
14 years ago |
rubidium
|
e2e26190d5
|
(svn r20623) -Codechange: unify the storing of animation related information
|
14 years ago |
rubidium
|
4efa2efdbb
|
(svn r20622) -Codechange: unify [GS]et[Statation|Object|Industry|House]AnimationFrame
|
14 years ago |
frosch
|
03ab158935
|
(svn r20579) -Change (r1579): Allow removing of buoys if they are only used by own vehicles.
|
14 years ago |
rubidium
|
926594b599
|
(svn r20547) -Change: the way order backups are performed. Now restoring an order doesn't require up to 765 commands.
|
14 years ago |
rubidium
|
019878118d
|
(svn r20545) -Codechange: make sure an OrderBackup gets cleared when the depot it belongs to gets removed, the depot window gets closed or when another vehicle gets sold in a depot
|
14 years ago |
yexo
|
f9a55b7439
|
(svn r20529) -Codechange: simplify UpdateAirplanesOnNewStation by removing code for situations that don't happen
|
14 years ago |
rubidium
|
3da3d131c6
|
(svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable.
|
14 years ago |
rubidium
|
edbadde301
|
(svn r20406) -Codechange: make StationClass use the new generic class
|
14 years ago |
rubidium
|
2d3ee123af
|
(svn r20402) -Codechange: rename the airport/station class id to something slightly more generic
|
14 years ago |
rubidium
|
b6a0806948
|
(svn r20400) -Codechange: let StationSpec use GRFFilePropsBase
|
14 years ago |
yexo
|
f8b7163b34
|
(svn r20375) -Codechange: make sure the watertype for existing airport tiles is set to invalid
|
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
|
330c2f979e
|
(svn r20365) -Codechange: allow multiple layouts for one airport statemachine, store the layout number
|
14 years ago |
frosch
|
ba527ec56e
|
(svn r20357) -Fix (r20356): Call GetAllRoadBits() only if there is road.
|
14 years ago |
rubidium
|
b74cee45be
|
(svn r20356) -Fix [FS#3983]: apparantly one generic error message can't be understood...
|
14 years ago |
terkhen
|
80c43f52e8
|
(svn r20289) -Codechange: Unify fall through coding style.
|
14 years ago |
frosch
|
ed4f806f1d
|
(svn r20283) -Codechange: Unify start of doygen comments.
|
14 years ago |
alberth
|
be6c058424
|
(svn r20211) -Codechange: Indented code should have curly braces around it.
|
14 years ago |
rubidium
|
b8487afe54
|
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
|
14 years ago |
terkhen
|
bb24713218
|
(svn r20115) -Add: Show an specific error message when trying to remove nonexistant stations.
|
14 years ago |
rubidium
|
e7f70987a4
|
(svn r19925) -Fix [FS#3859]: one didn't pay for rail when building depots and stations, so with expensive railtypes building stations and then removing the station would be cheaper than just building the rail
|
15 years ago |