Commit Graph

627 Commits (64d1fb35020faf7ecb0d6e891014688b046f9bee)

Author SHA1 Message Date
frosch fdd2f8447e (svn r22453) -Feature(ette): Implement variable 18 for custom station foundations. 13 years ago
frosch 76c7cbff70 (svn r22436) -Fix (r18969): Apply railtype property 12 (station graphics) also to station groundsprites from action 1. 13 years ago
rubidium 1a515e6344 (svn r22405) -Document: some more "random-ish" tidbits 13 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 14 years ago
terkhen f733c3795a (svn r19924) -Fix [FS#3868](r19172): Road/tram ownership was not set correctly when building drive-through stops. 14 years ago
frosch 354645cd0a (svn r19852) -Fix [FS#TT-MS]: Drawing fallback sprites for unavailable NewGRF waypoints failed. 14 years ago
rubidium f56ebd81c3 (svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables 14 years ago
frosch 75d4bc947d (svn r19654) -Codechange: Use Extract<> in more places. 14 years ago
frosch b76f0185d4 (svn r19616) -Codechange: Increase transparency of 'Extract' by passing also the number of used bits. 14 years ago
smatz 0ef33548c2 (svn r19614) -Codechange: "it's" => "its" where appropriate 14 years ago
frosch f45e579923 (svn r19506) -Fix: Tunnels, bridges and roadstops are build with only one roadtype. 14 years ago
alberth 05d705e077 (svn r19494) -Codechange: Remove _error_message. 14 years ago
yexo 1579e9ded2 (svn r19465) -Codechange: support for multi-tile hangars 15 years ago
yexo f2743cd5ed (svn r19464) -Codechange: move GetHangarTile to Airport 15 years ago
yexo ba8f744941 (svn r19461) -Fix (r19355): p1 was still used in two places 15 years ago
yexo c4a88ce022 (svn r19455) -Codechange: split all airport information in Station to a seperate class 15 years ago
yexo 1982307a05 (svn r19450) -Fix (r19197): animation callbacks for airport tiles where never called 15 years ago
yexo 07cc875c5a (svn r19449) -Codechange: pay for every airport tile build, not for every tile in the rectangle where the airport is build 15 years ago
peter1138 604da97364 (svn r19434) -Add: Add rail speed limit to land area information window. 15 years ago
alberth 3b367ab708 (svn r19415) -Codechange: Forward CommandCost with an error back to the caller. 15 years ago
alberth 7cc68f493d (svn r19405) -Codechange: CheckOwnership() returns a CommandCost. 15 years ago
alberth 7e1a91db21 (svn r19402) -Codechange: CheckAllowRemoveRoad() returns a CommandCost. 15 years ago
alberth 9e27194651 (svn r19401) -Codechange: Use curly braces with multi-line if statements. 15 years ago
yexo fa1d9816ea (svn r19396) -Fix [FS#3690] (r19351): trying to remove a too large rail station rect caused crashes 15 years ago
frosch f7eb527a37 (svn r19384) -Fix: Overbuilding plain rail with stations did not update PBS reservation. 15 years ago
yexo ef52e21c75 (svn r19355) -Codechange: add the airport layout to build as parameter to CmdBuildAirport 15 years ago
yexo bf6167710f (svn r19351) -Codechange: use TileArea for AfterRemoveRect 15 years ago
alberth 6a3dbaf99a (svn r19350) -Codechange: StationRect::BeforeAddRect() returns a CommandCost. 15 years ago
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
15 years ago
alberth c395b93acd (svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost. 15 years ago
yexo 0bfd06245b (svn r19318) -Fix [FS#3661](r19198): crash when building an airport at a station where a plane was headed 15 years ago
yexo 404df87b1f (svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info 15 years ago
alberth 566f87b2de (svn r19279) -Codechange: CheckIfAuthorityAllowsNewStation() returns CommandCost. 15 years ago
terkhen d9b2bf78c5 (svn r19276) -Fix [FS#3649](r19229): Newly built road stops were not always repainted. 15 years ago
alberth b8f811c7ff (svn r19275) -Codechange: CanExpandRailStation() returns a CommandCost. 15 years ago
alberth fee81aedcb (svn r19274) -Codechange: CmdBuildAirport() returns the 'too spread out' error via CommandCost, if needed. 15 years ago
alberth a4927dcd21 (svn r19273) -Codechange: Return station joining error message when error is detected. 15 years ago
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 15 years ago
terkhen 17288d6c80 (svn r19259) -Fix (r19230): Road stops were not removed in case of bankruptcy. 15 years ago
terkhen ba82d7d9a5 (svn r19232) -Fix (r19231): Forbid overbuilding drive-through stops using a different orientation. 15 years ago
terkhen a4a66ec1aa (svn r19231) -Feature: Allow overbuilding of road stops. 15 years ago
terkhen aba24e44cf (svn r19230) -Feature: Allow to remove multiple road stops using drag and drop. 15 years ago
terkhen 70b1bc5048 (svn r19229) -Feature: Allow to build multiple road stops using drag and drop (Based on Wolf01 work) 15 years ago
terkhen f7f08c586f (svn r19228) -Codechange: Move an additional check from CmdBuildRoadStop to CheckFlatLandRoadStop. 15 years ago
terkhen 524a10b375 (svn r19227) -Codechange: Reorganization of parameters at CmdBuildRoadStop. 15 years ago
yexo cfc1571931 (svn r19201) -Codechange: airport tiles now have 4 random bits per tile. 15 years ago
yexo 06dc421f2a (svn r19199) -Codechange: add a 'name'-property to airport tiles 15 years ago