frosch
|
52aaa492e7
|
(svn r24951) -Fix: [NewGRF] Var 10 of CB 24 missed the T part.
|
2013-01-31 18:34:11 +00:00 |
|
peter1138
|
1e10e91fde
|
(svn r24905) -Feature(ish): Implement station randomisation triggers.
|
2013-01-11 07:39:25 +00:00 |
|
planetmaker
|
f00d9976f9
|
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
|
2013-01-08 22:46:42 +00:00 |
|
peter1138
|
9eadd83372
|
(svn r24840) -Fix: Draw NewGRF railtypes in NewGRF station previews.
|
2012-12-23 15:38:54 +00:00 |
|
frosch
|
41ecc712ec
|
(svn r24721) -Fix (r24715): Reallow building road stations.
|
2012-11-13 21:41:54 +00:00 |
|
frosch
|
620bc7b52d
|
(svn r24720) -Fix (r24715): Comparison of different height units.
|
2012-11-13 21:40:50 +00:00 |
|
frosch
|
193ee85c6f
|
(svn r24718) -Codechange: Rename GoodsEntry::days_since_pickup to GoodsEntry::time_since_pickup.
|
2012-11-12 21:59:02 +00:00 |
|
frosch
|
80350a9063
|
(svn r24715) -Fix [FS#5335]: [NewGRF] Allow stations to draw snow/desert aware ground sprites with railtype overlays.
|
2012-11-12 20:13:34 +00:00 |
|
frosch
|
88b8349ec3
|
(svn r24714) -Fix [FS#5337]: [NewGRF] Draw default foundations if resolving of custom station foundation sprites fails.
|
2012-11-12 20:13:17 +00:00 |
|
frosch
|
39a8ed82f5
|
(svn r24708) -Codechange: Check magic values of GoodsEntry::last_speed only via wrapper function.
|
2012-11-12 18:11:26 +00:00 |
|
frosch
|
0819370c69
|
(svn r24704) -Cleanup: No need to initialise stuff twice.
|
2012-11-12 18:10:02 +00:00 |
|
frosch
|
acaa0f3502
|
(svn r24703) -Fix: Disallow closing oilrig airports in SE.
|
2012-11-12 18:09:33 +00:00 |
|
alberth
|
6c6abd87db
|
(svn r24535) -Doc: Two additions, lots of small spelling fixes, and some Doxygen improvements.
|
2012-09-21 09:47:21 +00:00 |
|
frosch
|
8b76e46045
|
(svn r24402) -Fix [FS#5243]: Station properties 11 and 14 were combined incorrectly.
|
2012-07-15 16:17:22 +00:00 |
|
frosch
|
ab55498c1e
|
(svn r24355) -Codechange [FS#5217]: Deduplicate code when building stations. (Hirundo)
|
2012-06-23 15:56:17 +00:00 |
|
frosch
|
4e6f015971
|
(svn r24354) -Fix: When airport construction was denied due to noise, the error message named the wrong town.
|
2012-06-23 15:27:15 +00:00 |
|
frosch
|
2aa43d6c8b
|
(svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and NewsFlag instead.
|
2012-05-26 14:16:03 +00:00 |
|
frosch
|
97608f0814
|
(svn r24167) -Codechange: Rename NewGRFClass::GetCount() to NewGRFClass::GetClassCount()
|
2012-04-22 16:28:19 +00:00 |
|
frosch
|
3d7ac6af1a
|
(svn r24166) -Codechange: Turn NewGRFClass::Get(Tid, uint) and GetCount(Tid) into non-static members GetSpec(uint) and GetSpecCount().
|
2012-04-22 16:28:14 +00:00 |
|
frosch
|
d42bd940b2
|
(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).
|
2012-04-22 16:27:55 +00:00 |
|
michi_cc
|
90fa700cc7
|
(svn r24127) -Feature [FS#1497]: Allow closing airports for incoming aircraft. (Based on patch by cirdan)
|
2012-04-17 19:43:18 +00:00 |
|
rubidium
|
61ce522bfa
|
(svn r23942) -Fix: infrastructure cache of standard road stops would get messed up when buying a company with them
|
2012-02-13 17:18:20 +00:00 |
|
rubidium
|
34a5d030b8
|
(svn r23851) -Fix: infrastructure cache could get out of sync when overbuilding a drive through road stop
|
2012-01-25 20:46:51 +00:00 |
|
michi_cc
|
f2fc765290
|
(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.
|
2012-01-22 22:21:21 +00:00 |
|
rubidium
|
09dacda186
|
(svn r23838) -Fix [FS#5000]: assertion got hit when destroing a dock when a ship was loading
|
2012-01-22 18:16:47 +00:00 |
|
rubidium
|
d5eeab43b7
|
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
|
2012-01-03 21:32:51 +00:00 |
|
rubidium
|
0cfe86cead
|
(svn r23735) -Codechange: remove ~50 includes from headers that weren't needed
|
2012-01-03 20:26:05 +00:00 |
|
rubidium
|
b9c4114f30
|
(svn r23717) -Fix [FS#4927]: ships going to wrong dock location when moving the dock while the game is paused
|
2012-01-02 20:39:18 +00:00 |
|
smatz
|
f6d9fbe35c
|
(svn r23716) -Revert (r23705)[FS#4937]: unforeseen consequences
|
2012-01-02 19:47:52 +00:00 |
|
smatz
|
441a22977a
|
(svn r23705) -Codechange: cache the last processed station in FindStationsAroundTiles() in order to make the code a bit faster
|
2012-01-01 17:32:45 +00:00 |
|
truebrain
|
b4464e8076
|
(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)
|
2012-01-01 16:23:05 +00:00 |
|
rubidium
|
4e780d6dea
|
(svn r23676) -Fix [FS#4913] (r23412): when removing road stops the wrong tile was checked for updating the infrastructure cache
|
2011-12-27 13:45:30 +00:00 |
|
truebrain
|
feddd40bcc
|
(svn r23546) -Codechange: document and rename widgets to be consistent and understandable
|
2011-12-16 18:14:11 +00:00 |
|
rubidium
|
24263638bf
|
(svn r23526) -Codechange: unify cargos vs cargoes
|
2011-12-15 21:56:00 +00:00 |
|
yexo
|
15899c37ce
|
(svn r23463) -Fix (r23461): unused variable
|
2011-12-09 20:27:59 +00:00 |
|
yexo
|
f883f46684
|
(svn r23462) -Codechange: use AirportTileTableIterator in a few more places to make the code easier to read
|
2011-12-09 19:53:42 +00:00 |
|
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
|
2011-12-09 19:30:30 +00:00 |
|
yexo
|
e24dc59bc5
|
(svn r23459) -Fix: don't crash trying to draw airport tiles when the airport grf is missing
|
2011-12-09 17:14:03 +00:00 |
|
yexo
|
4e9e15a3f3
|
(svn r23456) -Fix (r23441): oilrigs don't have any layouts nor do they provide airport noise
|
2011-12-09 15:16:21 +00:00 |
|
rubidium
|
bff33e348c
|
(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)
|
2011-12-06 21:02:57 +00:00 |
|
michi_cc
|
bf5ef7537e
|
(svn r23414) -Add: Company infrastructure counts for stations/airports.
|
2011-12-03 23:40:30 +00:00 |
|
michi_cc
|
796fe54a2f
|
(svn r23413) -Add: Company infrastructure counts for canals.
|
2011-12-03 23:40:23 +00:00 |
|
michi_cc
|
7a6b45c133
|
(svn r23412) -Add: Company infrastructure counts for road.
|
2011-12-03 23:40:18 +00:00 |
|
michi_cc
|
85ec2f07af
|
(svn r23411) -Add: Company infrastructure counts for rail.
|
2011-12-03 23:40:13 +00:00 |
|
peter1138
|
0043123c33
|
(svn r23319) -Fix (r23316): Offsets of viewport signs were not scaled up.
|
2011-11-24 17:37:20 +00:00 |
|
rubidium
|
b2830546b8
|
(svn r23312) -Fix [FS#4849]: assertion could be triggered in case a station was removed just after a vehicle delivered cargo to it
|
2011-11-23 20:36:27 +00:00 |
|
yexo
|
36e61e08b3
|
(svn r23160) -Fix: wrong comments in a lot of TileTypeProcs definitions
|
2011-11-08 17:37:32 +00:00 |
|
frosch
|
a608cbab5d
|
(svn r23148) -Change: [NewGRF] Check the results of various callbacks for validness.
|
2011-11-08 17:27:13 +00:00 |
|
frosch
|
ebf19d6219
|
(svn r23147) -Change: [NewGRF v8] Unify the return values of boolean callbacks, and check the results for validity.
|
2011-11-08 17:26:49 +00:00 |
|
rubidium
|
0e2d2b2317
|
(svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables
|
2011-11-04 11:52:19 +00:00 |
|
rubidium
|
fb9fb416a1
|
(svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type functions use int z as well
|
2011-11-04 11:36:10 +00:00 |
|
rubidium
|
70faeeaba9
|
(svn r23106) -Codechange: pass int* to GetTileSlope and friends
|
2011-11-04 11:30:37 +00:00 |
|
rubidium
|
25b3869c3b
|
(svn r23101) -Codechange: remove pointless multiplications by TILE_HEIGHT from the station/object building code
|
2011-11-04 10:31:13 +00:00 |
|
rubidium
|
5d7acba5d3
|
(svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT for the terraform code
|
2011-11-04 10:30:10 +00:00 |
|
rubidium
|
bcb93b3b75
|
(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it
|
2011-11-04 10:22:27 +00:00 |
|
rubidium
|
de980ef0f9
|
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
|
2011-11-04 10:18:13 +00:00 |
|
michi_cc
|
f0ffa534de
|
(svn r23072) -Feature: [NewGRF] House callback 0x148.
|
2011-10-31 22:31:40 +00:00 |
|
frosch
|
856db2751a
|
(svn r23049) -Fix [FS#4810]: Use the same forest-check for the vegetation-map colour as for nearby station names.
|
2011-10-21 19:10:35 +00:00 |
|
rubidium
|
b4bd469347
|
(svn r22973) -Add: support for replacing the buoy via action123
|
2011-10-02 20:26:43 +00:00 |
|
frosch
|
1df095f114
|
(svn r22960) -Feature: Allow depots, standard roadstops and airports on steep slopes.
|
2011-09-25 13:35:17 +00:00 |
|
frosch
|
bf664cd68d
|
(svn r22924) -Codechange: Enhance NewGRFSpriteLayout for drawing construction stages in spritelayouts with inconsistent number of sprites per spriteset.
|
2011-09-11 15:10:09 +00:00 |
|
michi_cc
|
5a85a32413
|
(svn r22659) -Add: [NewGRF] Support for the land slope check callback for stations.
|
2011-07-11 16:32:35 +00:00 |
|
terkhen
|
7e0daae1ec
|
(svn r22567) -Codechange: Store persistent storages inside a pool.
|
2011-06-12 20:47:45 +00:00 |
|
terkhen
|
e392f26215
|
(svn r22557) -Codechange: Remove constness from AnimationBase callbacks.
|
2011-06-12 20:32:52 +00:00 |
|
frosch
|
a0eb879310
|
(svn r22552) -Fix: Clear airport persistent storage on construction/removal of airports.
|
2011-06-11 20:47:31 +00:00 |
|
terkhen
|
43de2fa2e8
|
(svn r22542) -Add: Store cargo acceptance stats for stations.
|
2011-06-04 21:21:00 +00:00 |
|
terkhen
|
55695277c8
|
(svn r22540) -Codechange: Rename AcceptancePickup to GoodsEntryStatus.
|
2011-06-04 21:17:07 +00:00 |
|
frosch
|
becf6c823f
|
(svn r22518) -Feature: [NewGRF] Advanced sprite layouts with register modifiers.
|
2011-05-29 16:56:22 +00:00 |
|
frosch
|
62b6d0eb0e
|
(svn r22482) -Codechange: Add some contants for the number of ticks between certain cyclical tasks.
|
2011-05-21 11:26:37 +00:00 |
|
alberth
|
3ae756f85f
|
(svn r22460) -Doc: Semantic documentation fixes, and doxygen additions (partly by planetmaker).
|
2011-05-14 18:38:54 +00:00 |
|
frosch
|
b5c0304e0b
|
(svn r22454) -Codechange: Deduplicate GetCustomStationGroundRelocation() into GetCustomStationRelocation() and only call it if actually needed.
|
2011-05-14 13:12:47 +00:00 |
|
frosch
|
84b0168348
|
(svn r22453) -Feature(ette): Implement variable 18 for custom station foundations.
|
2011-05-14 12:38:10 +00:00 |
|
frosch
|
fb72295945
|
(svn r22436) -Fix (r18969): Apply railtype property 12 (station graphics) also to station groundsprites from action 1.
|
2011-05-08 15:58:59 +00:00 |
|
rubidium
|
87272273b5
|
(svn r22405) -Document: some more "random-ish" tidbits
|
2011-05-01 19:14:12 +00:00 |
|
yexo
|
bc8c2ece9d
|
(svn r22163) -Fix [FS#4541]: building a station part adjacent to both an existing station and a rail waypoint failed
|
2011-03-03 19:26:18 +00:00 |
|
frosch
|
19adc601a3
|
(svn r22117) -Fix [FS#4523-ish]: CanRemoveRoadWithStop() failed for _current_company = OWNER_TOWN, and for OWNER_NONE-owned road.
|
2011-02-20 15:19:16 +00:00 |
|
terkhen
|
60fc22d441
|
(svn r22051) -Fix (r21935): Roads under road stops would get a wrong owner after overbuilding.
|
2011-02-10 18:32:08 +00:00 |
|
smatz
|
eab3c044a1
|
(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)
|
2011-02-08 18:27:21 +00:00 |
|
rubidium
|
3cb12ed89c
|
(svn r22019) -Codechange: s/functions.h/clear_func.h/
|
2011-02-07 22:38:02 +00:00 |
|
rubidium
|
8ee493b6e9
|
(svn r21958) -Cleanup: join_stations setting; can done by distant join and could be subverted by distant join
|
2011-02-04 15:29:50 +00:00 |
|
smatz
|
4aa45d8742
|
(svn r21953) -Remove [FS#4456]: the non-uniform stations setting. Support for uniform stations has been broken for over a year
|
2011-02-04 14:11:14 +00:00 |
|
terkhen
|
fe15cf052e
|
(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.
|
2011-02-01 10:48:10 +00:00 |
|
terkhen
|
e3ae9d7600
|
(svn r21935) -Fix (r19231): Allow to overbuild road stops which are built over trams.
|
2011-02-01 10:43:25 +00:00 |
|
terkhen
|
0e51dab6a6
|
(svn r21924) -Codechange: Unify some parts of the articulated vehicle code.
-Cleanup: Avoid conversions to Train and RoadVehicle that are no longer required.
|
2011-01-29 17:30:25 +00:00 |
|
terkhen
|
fdb720cc1a
|
(svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names.
|
2011-01-19 18:44:13 +00:00 |
|
rubidium
|
0a58d91576
|
(svn r21486) -Codechange: use TILE_AREA_LOOP for station expansion checks as well
|
2010-12-12 18:23:38 +00:00 |
|
rubidium
|
7267a4de2c
|
(svn r21415) -Codechange: limit station/waypoint name by amount of characters, not bytes
|
2010-12-05 22:25:36 +00:00 |
|
frosch
|
0ebd5af86f
|
(svn r21291) -Fix: Treat objects on water like water in more cases.
|
2010-11-21 18:39:12 +00:00 |
|
alberth
|
de9c678901
|
(svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code.
|
2010-11-20 14:15:02 +00:00 |
|
rubidium
|
bd7f331da4
|
(svn r21268) -Fix (r21266): crash (or rather a triggered assertion) in some cases
|
2010-11-20 13:57:49 +00:00 |
|
rubidium
|
63d091a43b
|
(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
|
2010-11-20 12:52:06 +00:00 |
|
frosch
|
eb1bf15fc4
|
(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.
|
2010-11-20 00:24:50 +00:00 |
|
rubidium
|
19f39f0fe0
|
(svn r21145) -Fix: station list wasn't updated when a new cargo got a rating
|
2010-11-11 10:34:44 +00:00 |
|
rubidium
|
c916455a68
|
(svn r21143) -Codechange: reduce the number of dereferences in UpdateStationWaiting
|
2010-11-11 09:12:01 +00:00 |
|
alberth
|
063931d435
|
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
|
2010-10-30 17:51:07 +00:00 |
|
yexo
|
30b29ae060
|
(svn r21052) -Fix (r20435): house/airporttile/industrytile newgrfs that defined tiles that relied on the substitute being drawn were broken
|
2010-10-28 11:10:12 +00:00 |
|
smatz
|
c817bb9ff3
|
(svn r20990) -Fix: when removing a rail station, don't leave track under non-station tiles
|
2010-10-18 17:06:20 +00:00 |
|
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 |
|