Commit Graph

776 Commits

Author SHA1 Message Date
rubidium
30c3850225 (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
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. 2012-01-22 22:21:21 +00:00
rubidium
f6487875da (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
6d6be50ae0 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 2012-01-03 21:32:51 +00:00
rubidium
e40eb8177a (svn r23735) -Codechange: remove ~50 includes from headers that weren't needed 2012-01-03 20:26:05 +00:00
rubidium
caa5762636 (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
3655d5105b (svn r23716) -Revert (r23705)[FS#4937]: unforeseen consequences 2012-01-02 19:47:52 +00:00
smatz
a90b767995 (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
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) 2012-01-01 16:23:05 +00:00
rubidium
2c09939bd3 (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
9266bde593 (svn r23546) -Codechange: document and rename widgets to be consistent and understandable 2011-12-16 18:14:11 +00:00
rubidium
3d88c74389 (svn r23526) -Codechange: unify cargos vs cargoes 2011-12-15 21:56:00 +00:00
yexo
7af041d12d (svn r23463) -Fix (r23461): unused variable 2011-12-09 20:27:59 +00:00
yexo
16eb11e988 (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
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 2011-12-09 19:30:30 +00:00
yexo
b8ee5c018d (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
e7777f44b9 (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
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) 2011-12-06 21:02:57 +00:00
michi_cc
f98312eb77 (svn r23414) -Add: Company infrastructure counts for stations/airports. 2011-12-03 23:40:30 +00:00
michi_cc
c06bbb4863 (svn r23413) -Add: Company infrastructure counts for canals. 2011-12-03 23:40:23 +00:00
michi_cc
a29a9d94b7 (svn r23412) -Add: Company infrastructure counts for road. 2011-12-03 23:40:18 +00:00
michi_cc
d30fcd4e35 (svn r23411) -Add: Company infrastructure counts for rail. 2011-12-03 23:40:13 +00:00
peter1138
3e1d070413 (svn r23319) -Fix (r23316): Offsets of viewport signs were not scaled up. 2011-11-24 17:37:20 +00:00
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 2011-11-23 20:36:27 +00:00
yexo
6a272233b3 (svn r23160) -Fix: wrong comments in a lot of TileTypeProcs definitions 2011-11-08 17:37:32 +00:00
frosch
52774235eb (svn r23148) -Change: [NewGRF] Check the results of various callbacks for validness. 2011-11-08 17:27:13 +00:00
frosch
30874b5e81 (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
2a2c102b0b (svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables 2011-11-04 11:52:19 +00:00
rubidium
459c9523e8 (svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type functions use int z as well 2011-11-04 11:36:10 +00:00
rubidium
19eabdba2c (svn r23106) -Codechange: pass int* to GetTileSlope and friends 2011-11-04 11:30:37 +00:00
rubidium
a8c4efcff4 (svn r23101) -Codechange: remove pointless multiplications by TILE_HEIGHT from the station/object building code 2011-11-04 10:31:13 +00:00
rubidium
1dc685aeea (svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT for the terraform code 2011-11-04 10:30:10 +00:00
rubidium
2ed0f93bfb (svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it 2011-11-04 10:22:27 +00:00
rubidium
7757a2ed40 (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
e094d7db62 (svn r23072) -Feature: [NewGRF] House callback 0x148. 2011-10-31 22:31:40 +00:00
frosch
3eddb9c23f (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
1842622d81 (svn r22973) -Add: support for replacing the buoy via action123 2011-10-02 20:26:43 +00:00
frosch
8d5c1479f4 (svn r22960) -Feature: Allow depots, standard roadstops and airports on steep slopes. 2011-09-25 13:35:17 +00:00
frosch
7f228d6909 (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
d579af11e8 (svn r22659) -Add: [NewGRF] Support for the land slope check callback for stations. 2011-07-11 16:32:35 +00:00
terkhen
00e5c1df18 (svn r22567) -Codechange: Store persistent storages inside a pool. 2011-06-12 20:47:45 +00:00
terkhen
e127fca384 (svn r22557) -Codechange: Remove constness from AnimationBase callbacks. 2011-06-12 20:32:52 +00:00
frosch
d5e7537e14 (svn r22552) -Fix: Clear airport persistent storage on construction/removal of airports. 2011-06-11 20:47:31 +00:00
terkhen
8e00fa39b2 (svn r22542) -Add: Store cargo acceptance stats for stations. 2011-06-04 21:21:00 +00:00
terkhen
5bb79b1f46 (svn r22540) -Codechange: Rename AcceptancePickup to GoodsEntryStatus. 2011-06-04 21:17:07 +00:00
frosch
a241a4ce97 (svn r22518) -Feature: [NewGRF] Advanced sprite layouts with register modifiers. 2011-05-29 16:56:22 +00:00
frosch
474b4799e8 (svn r22482) -Codechange: Add some contants for the number of ticks between certain cyclical tasks. 2011-05-21 11:26:37 +00:00
alberth
990ec6f0a9 (svn r22460) -Doc: Semantic documentation fixes, and doxygen additions (partly by planetmaker). 2011-05-14 18:38:54 +00:00
frosch
20e86fd5ea (svn r22454) -Codechange: Deduplicate GetCustomStationGroundRelocation() into GetCustomStationRelocation() and only call it if actually needed. 2011-05-14 13:12:47 +00:00
frosch
fdd2f8447e (svn r22453) -Feature(ette): Implement variable 18 for custom station foundations. 2011-05-14 12:38:10 +00:00
frosch
76c7cbff70 (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
1a515e6344 (svn r22405) -Document: some more "random-ish" tidbits 2011-05-01 19:14:12 +00:00
yexo
3769b4f218 (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
bd9610ec3c (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
57a969017b (svn r22051) -Fix (r21935): Roads under road stops would get a wrong owner after overbuilding. 2011-02-10 18:32:08 +00:00
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)
2011-02-08 18:27:21 +00:00
rubidium
0395aab420 (svn r22019) -Codechange: s/functions.h/clear_func.h/ 2011-02-07 22:38:02 +00:00
rubidium
4355231f67 (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
3057a26fd5 (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
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.
2011-02-01 10:48:10 +00:00
terkhen
2e1eafbdc3 (svn r21935) -Fix (r19231): Allow to overbuild road stops which are built over trams. 2011-02-01 10:43:25 +00:00
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.
2011-01-29 17:30:25 +00:00
terkhen
b5468e7a80 (svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names. 2011-01-19 18:44:13 +00:00
rubidium
b5b8a7b5ed (svn r21486) -Codechange: use TILE_AREA_LOOP for station expansion checks as well 2010-12-12 18:23:38 +00:00
rubidium
44d1c55347 (svn r21415) -Codechange: limit station/waypoint name by amount of characters, not bytes 2010-12-05 22:25:36 +00:00
frosch
55d604e60d (svn r21291) -Fix: Treat objects on water like water in more cases. 2010-11-21 18:39:12 +00:00
alberth
3b0ee65571 (svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code. 2010-11-20 14:15:02 +00:00
rubidium
3f1de4926e (svn r21268) -Fix (r21266): crash (or rather a triggered assertion) in some cases 2010-11-20 13:57:49 +00:00
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 2010-11-20 12:52:06 +00:00
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. 2010-11-20 00:24:50 +00:00
rubidium
67d071d033 (svn r21145) -Fix: station list wasn't updated when a new cargo got a rating 2010-11-11 10:34:44 +00:00
rubidium
6a1a4fc5bb (svn r21143) -Codechange: reduce the number of dereferences in UpdateStationWaiting 2010-11-11 09:12:01 +00:00
alberth
7e48d85104 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 2010-10-30 17:51:07 +00:00
yexo
9a07ebc382 (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
bb53464848 (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
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". 2010-09-28 22:00:24 +00:00
rubidium
b01c63cd23 (svn r20815) -Revert (r20814): wrong patch at wrong time... 2010-09-16 16:31:38 +00:00
rubidium
9a0a753d96 (svn r20814) -Codechange [FS#3835]: make waypoint default names work like depots, stations and vehicles (Krille) 2010-09-16 16:28:40 +00:00
frosch
e9cd81953a (svn r20741) -Cleanup: Use IsTileOnWater() in more places. 2010-09-05 13:18:54 +00:00
yexo
c07fdab16c (svn r20716) -Feature: add airport class and airport name to the land info tool 2010-09-01 23:14:15 +00:00
rubidium
41a80490be (svn r20668) -Codechange: add (more) support for bridges over objects 2010-08-28 19:02:21 +00:00
frosch
4901d42140 (svn r20636) -Codechange: Move MarkTileDirtyByTile() and DeleteAnimatedTile() into MakeWaterKeepingClass(). 2010-08-27 20:46:36 +00:00
rubidium
30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
rubidium
16bcd6c0cf (svn r20628) -Fix: typos in animation trigger enum/comments 2010-08-26 17:08:37 +00:00
rubidium
82ef98a90a (svn r20625) -Add: AirportTileSpec::GetByTile to simplify accessing the AirportTileSpec 2010-08-26 16:53:06 +00:00
rubidium
e2e26190d5 (svn r20623) -Codechange: unify the storing of animation related information 2010-08-26 15:31:40 +00:00
rubidium
4efa2efdbb (svn r20622) -Codechange: unify [GS]et[Statation|Object|Industry|House]AnimationFrame 2010-08-26 14:45:45 +00:00
frosch
03ab158935 (svn r20579) -Change (r1579): Allow removing of buoys if they are only used by own vehicles. 2010-08-20 12:50:59 +00:00
rubidium
926594b599 (svn r20547) -Change: the way order backups are performed. Now restoring an order doesn't require up to 765 commands. 2010-08-18 20:48:38 +00:00
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 2010-08-18 18:52:16 +00:00
yexo
f9a55b7439 (svn r20529) -Codechange: simplify UpdateAirplanesOnNewStation by removing code for situations that don't happen 2010-08-17 21:50:58 +00:00
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. 2010-08-08 10:59:30 +00:00
rubidium
edbadde301 (svn r20406) -Codechange: make StationClass use the new generic class 2010-08-07 22:07:07 +00:00
rubidium
2d3ee123af (svn r20402) -Codechange: rename the airport/station class id to something slightly more generic 2010-08-07 21:10:57 +00:00
rubidium
b6a0806948 (svn r20400) -Codechange: let StationSpec use GRFFilePropsBase 2010-08-07 20:52:45 +00:00
yexo
f8b7163b34 (svn r20375) -Codechange: make sure the watertype for existing airport tiles is set to invalid 2010-08-05 12:06:53 +00:00
yexo
d2f9b87ccd (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
330c2f979e (svn r20365) -Codechange: allow multiple layouts for one airport statemachine, store the layout number 2010-08-05 11:59:07 +00:00
frosch
ba527ec56e (svn r20357) -Fix (r20356): Call GetAllRoadBits() only if there is road. 2010-08-04 06:27:20 +00:00
rubidium
b74cee45be (svn r20356) -Fix [FS#3983]: apparantly one generic error message can't be understood... 2010-08-03 18:32:53 +00:00
terkhen
80c43f52e8 (svn r20289) -Codechange: Unify fall through coding style. 2010-08-01 20:52:11 +00:00
frosch
ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
alberth
be6c058424 (svn r20211) -Codechange: Indented code should have curly braces around it. 2010-07-24 10:14:39 +00:00
rubidium
b8487afe54 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 2010-07-19 17:28:27 +00:00
terkhen
bb24713218 (svn r20115) -Add: Show an specific error message when trying to remove nonexistant stations. 2010-07-10 20:17:05 +00:00
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 2010-06-04 21:00:17 +00:00
terkhen
f733c3795a (svn r19924) -Fix [FS#3868](r19172): Road/tram ownership was not set correctly when building drive-through stops. 2010-06-04 19:50:37 +00:00
frosch
354645cd0a (svn r19852) -Fix [FS#TT-MS]: Drawing fallback sprites for unavailable NewGRF waypoints failed. 2010-05-18 20:49:53 +00:00
rubidium
f56ebd81c3 (svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables 2010-04-24 13:39:11 +00:00
frosch
75d4bc947d (svn r19654) -Codechange: Use Extract<> in more places. 2010-04-17 13:31:41 +00:00
frosch
b76f0185d4 (svn r19616) -Codechange: Increase transparency of 'Extract' by passing also the number of used bits. 2010-04-13 17:29:19 +00:00
smatz
0ef33548c2 (svn r19614) -Codechange: "it's" => "its" where appropriate 2010-04-12 14:12:47 +00:00
frosch
f45e579923 (svn r19506) -Fix: Tunnels, bridges and roadstops are build with only one roadtype. 2010-03-23 20:29:52 +00:00
alberth
05d705e077 (svn r19494) -Codechange: Remove _error_message. 2010-03-20 17:58:24 +00:00
yexo
1579e9ded2 (svn r19465) -Codechange: support for multi-tile hangars 2010-03-19 11:17:52 +00:00
yexo
f2743cd5ed (svn r19464) -Codechange: move GetHangarTile to Airport 2010-03-19 09:58:46 +00:00
yexo
ba8f744941 (svn r19461) -Fix (r19355): p1 was still used in two places 2010-03-18 23:41:39 +00:00
yexo
c4a88ce022 (svn r19455) -Codechange: split all airport information in Station to a seperate class 2010-03-18 21:02:20 +00:00
yexo
1982307a05 (svn r19450) -Fix (r19197): animation callbacks for airport tiles where never called 2010-03-18 15:20:21 +00:00
yexo
07cc875c5a (svn r19449) -Codechange: pay for every airport tile build, not for every tile in the rectangle where the airport is build 2010-03-18 00:41:16 +00:00
peter1138
604da97364 (svn r19434) -Add: Add rail speed limit to land area information window. 2010-03-16 06:43:41 +00:00
alberth
3b367ab708 (svn r19415) -Codechange: Forward CommandCost with an error back to the caller. 2010-03-14 12:58:51 +00:00
alberth
7cc68f493d (svn r19405) -Codechange: CheckOwnership() returns a CommandCost. 2010-03-13 17:11:28 +00:00
alberth
7e1a91db21 (svn r19402) -Codechange: CheckAllowRemoveRoad() returns a CommandCost. 2010-03-13 15:53:44 +00:00
alberth
9e27194651 (svn r19401) -Codechange: Use curly braces with multi-line if statements. 2010-03-13 15:42:36 +00:00
yexo
fa1d9816ea (svn r19396) -Fix [FS#3690] (r19351): trying to remove a too large rail station rect caused crashes 2010-03-13 01:12:07 +00:00
frosch
f7eb527a37 (svn r19384) -Fix: Overbuilding plain rail with stations did not update PBS reservation. 2010-03-10 20:45:23 +00:00
yexo
ef52e21c75 (svn r19355) -Codechange: add the airport layout to build as parameter to CmdBuildAirport 2010-03-06 16:07:45 +00:00
yexo
bf6167710f (svn r19351) -Codechange: use TileArea for AfterRemoveRect 2010-03-06 13:38:46 +00:00
alberth
6a3dbaf99a (svn r19350) -Codechange: StationRect::BeforeAddRect() returns a CommandCost. 2010-03-06 13:23:33 +00:00
yexo
1eb52326cf (svn r19331) -Fix: when deleting an airport the size from the AirportSpec was used instead of the stored airport size
-Fix (r19319): detecting if a plane was landed at an airport failed
-Fix: reset the airporttile mapping when restarting a game
2010-03-06 01:58:55 +00:00
alberth
c395b93acd (svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost. 2010-03-05 21:20:22 +00:00
yexo
0bfd06245b (svn r19318) -Fix [FS#3661](r19198): crash when building an airport at a station where a plane was headed 2010-03-05 19:19:29 +00:00
yexo
404df87b1f (svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info 2010-02-28 20:28:08 +00:00
alberth
566f87b2de (svn r19279) -Codechange: CheckIfAuthorityAllowsNewStation() returns CommandCost. 2010-02-27 17:42:55 +00:00
terkhen
d9b2bf78c5 (svn r19276) -Fix [FS#3649](r19229): Newly built road stops were not always repainted. 2010-02-27 16:27:15 +00:00
alberth
b8f811c7ff (svn r19275) -Codechange: CanExpandRailStation() returns a CommandCost. 2010-02-27 14:17:33 +00:00
alberth
fee81aedcb (svn r19274) -Codechange: CmdBuildAirport() returns the 'too spread out' error via CommandCost, if needed. 2010-02-27 14:03:06 +00:00
alberth
a4927dcd21 (svn r19273) -Codechange: Return station joining error message when error is detected. 2010-02-27 13:51:11 +00:00
rubidium
45f34a4203 (svn r19265) -Fix [FS#3618]: "Can't build <industry> here... <industry> in the way" showed the to-be-built industry twice, instead of the to-be-built industry and the industry that's in the way 2010-02-26 10:08:16 +00:00
terkhen
17288d6c80 (svn r19259) -Fix (r19230): Road stops were not removed in case of bankruptcy. 2010-02-25 21:43:28 +00:00
terkhen
ba82d7d9a5 (svn r19232) -Fix (r19231): Forbid overbuilding drive-through stops using a different orientation. 2010-02-24 22:40:43 +00:00
terkhen
a4a66ec1aa (svn r19231) -Feature: Allow overbuilding of road stops. 2010-02-24 21:55:03 +00:00
terkhen
aba24e44cf (svn r19230) -Feature: Allow to remove multiple road stops using drag and drop. 2010-02-24 21:53:16 +00:00
terkhen
70b1bc5048 (svn r19229) -Feature: Allow to build multiple road stops using drag and drop (Based on Wolf01 work) 2010-02-24 21:51:59 +00:00
terkhen
f7f08c586f (svn r19228) -Codechange: Move an additional check from CmdBuildRoadStop to CheckFlatLandRoadStop. 2010-02-24 21:47:06 +00:00
terkhen
524a10b375 (svn r19227) -Codechange: Reorganization of parameters at CmdBuildRoadStop. 2010-02-24 21:45:23 +00:00
yexo
cfc1571931 (svn r19201) -Codechange: airport tiles now have 4 random bits per tile. 2010-02-22 14:17:33 +00:00
yexo
06dc421f2a (svn r19199) -Codechange: add a 'name'-property to airport tiles 2010-02-22 14:17:17 +00:00
yexo
698737f485 (svn r19198) -Codechange: store the size of stations in savegames 2010-02-22 14:17:07 +00:00
yexo
7ca4c31cf5 (svn r19197) -Codechange: introduce animation callbacks for airport tiles 2010-02-22 14:16:57 +00:00
yexo
61fe40ba73 (svn r19196) -Codechange: change the airport tile animation info so it works just like for industry tiles 2010-02-22 14:16:50 +00:00
yexo
880fedc192 (svn r19195) -Codechange: actually draw newgrf airport tiles 2010-02-22 14:16:41 +00:00
yexo
40f6e69ae9 (svn r19191) -Codechange: move AirportTileSpec to newgrf_airporttiles.h 2010-02-22 14:09:30 +00:00
terkhen
2ae5590f63 (svn r19172) -Codechange: Move road checks from CmdBuildRoadStop to CheckFlatLandRoadStop. 2010-02-20 18:28:21 +00:00
terkhen
d1cce94525 (svn r19171) -Codechange: Split CheckFlatLandBelow into different functions. 2010-02-20 18:12:56 +00:00
terkhen
6b849b5483 (svn r19170) -Codechange: Make CheckFlatLandBelow use TileArea. 2010-02-20 17:56:05 +00:00
terkhen
8a4f1133d8 (svn r19169) -Codechange: Move buildable tile checks outside of CheckFlatLandBelow. 2010-02-20 17:39:51 +00:00
alberth
33a96b5ef3 (svn r19132) -Codechange: No need to end a line with ;;. 2010-02-14 16:31:35 +00:00
peter1138
898e879bd9 (svn r19056) -Add: [NewGRF] Action 3/2/1 (i.e. new graphics) support for rail types. (To be documented...) 2010-02-07 22:22:54 +00:00
terkhen
9e03eb08a2 (svn r19010) -Codechange: Remove a now unneeded check at CmdBuildRailStation. 2010-02-04 21:09:29 +00:00
yexo
7f998ce80d (svn r18921) -Codechange: make the preconditions for Get/Set CustomStationSpecIndex a bit more strict 2010-01-26 23:03:47 +00:00
yexo
388c713f08 (svn r18912) -Codechange: free up a bunch of airporttile ids by using the tile animation frame 2010-01-24 20:25:28 +00:00
frosch
4034f249db (svn r18897) -Fix: Land area information read the stationspec also for non-rail-stationtiles, which is no longer valid since r18876. 2010-01-23 16:38:09 +00:00
yexo
18e7ec6b3e (svn r18876) -Codechange: make sure m4 is always 0 for non-railroad station tiles 2010-01-21 13:34:05 +00:00
rubidium
f94c83a387 (svn r18872) -Codechange: introduce PaletteID and use it 2010-01-21 01:38:13 +00:00
rubidium
4d93b704d9 (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions 2010-01-18 22:57:21 +00:00
yexo
a1f28ec88b (svn r18860) -Codechange: introduce a wrapper to get an hangar tile from a station 2010-01-18 14:32:47 +00:00
yexo
ab68f08886 (svn r18857) -Codechange: don't rely on the fact that all airports are rectangular 2010-01-18 12:32:50 +00:00
frosch
24e0945bc4 (svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq. 2010-01-17 15:05:25 +00:00
yexo
830af8ee77 (svn r18845) -Codechange: introduce AirportTileSpec and use it for animation 2010-01-17 14:22:07 +00:00
frosch
d9d75c83d5 (svn r18842) -Codechange: Rename SPRITE_MODIFIER_USE_OFFSET to SPRITE_MODIFIER_CUSTOM_SPRITE, invert its meaning, and also use it for industry/house layouts instead of IS_CUSTOM_SPRITE(). 2010-01-17 01:01:56 +00:00
frosch
707cf045f8 (svn r18841) -Fix (r16869): Default-waypoint was drawn incorrectly for monorail and maglev in the waypoint picker. 2010-01-17 00:51:18 +00:00
frosch
381bf04bab (svn r18839) -Codechange: Detriplicate drawing of spritelayouts in the GUI. 2010-01-16 22:44:03 +00:00
frosch
d27999e446 (svn r18837) -Codechange: Rename DrawStationTileSeq() to DrawCommonTileSeq() and move it to separate file. 2010-01-16 22:25:44 +00:00
frosch
c07c7a3818 (svn r18832) -Fix: some indentation whitespace. 2010-01-16 20:51:35 +00:00
rubidium
82fc28f77f (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
d669801f1d (svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there 2010-01-15 12:08:08 +00:00
frosch
ed83388faa (svn r18802) -Codechange: Deduplicate drawing-code for depots and stations/waypoints. 2010-01-14 22:56:54 +00:00
frosch
9c4b5e32fa (svn r18745) -Codechange: Assemble custom station foundations into a single bounding box. 2010-01-06 20:23:06 +00:00
rubidium
28fc7b47bd (svn r18726) -Fix [FS#3463]: with non-uniform industries the 'supplies' text when building a station could be incorrect (missing a cargo)
-Change [NoAI]: AITile::GetCargoProduction now returns the number of producers and not the number of tiles of producers.
-Fix [NoAI]: AITileList_IndustryProducing would omit some tiles for at which a station would get cargo.
2010-01-04 21:10:20 +00:00
rubidium
3e131e2fec (svn r18718) -Codechange: make a wrapper macro for looping TileAreas 2010-01-04 18:30:10 +00:00
rubidium
71f2789270 (svn r18716) -Codechange: pass a TileArea to FindStationsAroundTiles 2010-01-04 18:16:32 +00:00
rubidium
31b325baaf (svn r18715) -Codechange: make StationFinder a subclass of TileArea 2010-01-04 18:12:10 +00:00
peter1138
5ab64809fe (svn r18708) -Feature: [NewGRF] Add support for custom station foundation graphics. 2010-01-03 22:44:57 +00:00
rubidium
936477c323 (svn r18679) -Fix (r16993): tile area of waypoints wasn't correctly given to NewGRFs in case of multi tile waypoints 2010-01-01 18:10:10 +00:00
peter1138
7b136d1fdd (svn r18509) -Codechange (r2515,r2753): Data for drawing single_x/y rail pieces was inverted. 2009-12-15 13:59:20 +00:00
rubidium
bc876098f7 (svn r18406) -Cleanup: remove some unneeded constants and code 2009-12-04 21:13:31 +00:00
rubidium
fac2f8ce1a (svn r18404) -Codechange: link drive through stops better together
-Feature: make penalty for road stop occupancy user configurable
-Fix [FS#1944]: road vehicles would not pick an empty drive through stop. Now they will *if* the penalty for driving around is less than the occupancy penalty
-Fix [FS#1495]: long (articulated) road vehicles could block loading of others when the following road vehicle already got 'permission' to go to the next bay even when it could not reach it
-Change: improve the throughput of the drive through road stops by letting them stop closer together
2009-12-04 20:52:19 +00:00
rubidium
c22f9679b5 (svn r18401) -Fix: drive through road stops did not get flooded 2009-12-04 19:16:52 +00:00
rubidium
aa40d8e3ad (svn r18388) -Codechange: move entering/leaving of road stops to functions of RoadStop 2009-12-02 23:53:15 +00:00
frosch
59f9163e37 (svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff. 2009-12-02 17:37:02 +00:00
rubidium
9426f2b173 (svn r18379) -Codechange: move the cache updating function to its own header to reduce the include 'pathfinder' dependencies 2009-12-02 16:48:55 +00:00
rubidium
81062163a2 (svn r18377) -Codechange: add 'cache' of the tile area of truck and bus stops. 2009-12-02 16:20:44 +00:00
rubidium
76fe20cdcc (svn r18367) -Codechange: unify the ship pathfinder 'calls' 2009-12-01 23:56:04 +00:00
rubidium
f52e27c688 (svn r18364) -Codechange: move the pathfinders and their related files into a separate directory 2009-12-01 22:45:39 +00:00
rubidium
2e2f72b971 (svn r18342) -Fix: erroneous spaces before ; 2009-11-29 19:20:39 +00:00
frosch
830231e2bd (svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, building/removing unmovables (new objects), building/removing rail-waypoints/buoys, interacting with town-authority, building foundations, funding primary industries (when not prospecting) and towns.
If a GRF does not set price multipliers for these new prices, but for the previously used ones, the old modifiers will be propagated to the new bases.
2009-11-24 22:15:42 +00:00
smatz
47660b984b (svn r18110) -Codechange [FS#3316]: search for stations nearby only once per producer (instead of once pre produced cargo type) (fonsinchen) 2009-11-15 21:06:13 +00:00
rubidium
9059e4f85f (svn r18049) -Fix [FS#3310] (r16448): Crash when an articulated RV is turning on a drive through road station that gets forcefully (bankrupt) removed 2009-11-12 17:28:20 +00:00