Commit Graph

584 Commits (391419255674d54bba1d2b3ddd2068f23e967c06)

Author SHA1 Message Date
rubidium 40ab6a3298 (svn r20406) -Codechange: make StationClass use the new generic class 14 years ago
rubidium 8f1d0358bd (svn r20402) -Codechange: rename the airport/station class id to something slightly more generic 14 years ago
rubidium 3285c6ab58 (svn r20400) -Codechange: let StationSpec use GRFFilePropsBase 14 years ago
yexo e6025117e2 (svn r20375) -Codechange: make sure the watertype for existing airport tiles is set to invalid 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 7f7e3d4a3a (svn r20365) -Codechange: allow multiple layouts for one airport statemachine, store the layout number 14 years ago
frosch dc60f8ce1a (svn r20357) -Fix (r20356): Call GetAllRoadBits() only if there is road. 14 years ago
rubidium e69a9ba31d (svn r20356) -Fix [FS#3983]: apparantly one generic error message can't be understood... 14 years ago
terkhen 04134c1e51 (svn r20289) -Codechange: Unify fall through coding style. 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
alberth 137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
rubidium 9fd2afb147 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 14 years ago
terkhen b52c3958f4 (svn r20115) -Add: Show an specific error message when trying to remove nonexistant stations. 14 years ago
rubidium bcaf5f9dcb (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 5293cb8d66 (svn r19924) -Fix [FS#3868](r19172): Road/tram ownership was not set correctly when building drive-through stops. 14 years ago
frosch bd270258c4 (svn r19852) -Fix [FS#TT-MS]: Drawing fallback sprites for unavailable NewGRF waypoints failed. 14 years ago
rubidium cb92cdf975 (svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables 14 years ago
frosch ed80045221 (svn r19654) -Codechange: Use Extract<> in more places. 14 years ago
frosch 9036e7437a (svn r19616) -Codechange: Increase transparency of 'Extract' by passing also the number of used bits. 14 years ago
smatz 258b128a56 (svn r19614) -Codechange: "it's" => "its" where appropriate 14 years ago
frosch 95ede5ac6f (svn r19506) -Fix: Tunnels, bridges and roadstops are build with only one roadtype. 14 years ago
alberth 72d62fd6fc (svn r19494) -Codechange: Remove _error_message. 14 years ago
yexo a2ea0b7b12 (svn r19465) -Codechange: support for multi-tile hangars 14 years ago
yexo 455bb65282 (svn r19464) -Codechange: move GetHangarTile to Airport 14 years ago
yexo e062b50f15 (svn r19461) -Fix (r19355): p1 was still used in two places 14 years ago
yexo 22a27d3b62 (svn r19455) -Codechange: split all airport information in Station to a seperate class 14 years ago
yexo 44ca44a05d (svn r19450) -Fix (r19197): animation callbacks for airport tiles where never called 14 years ago
yexo 6d1c3ec97c (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 a7b93cdeb5 (svn r19434) -Add: Add rail speed limit to land area information window. 15 years ago
alberth cb10444807 (svn r19415) -Codechange: Forward CommandCost with an error back to the caller. 15 years ago
alberth d5fe3f96c7 (svn r19405) -Codechange: CheckOwnership() returns a CommandCost. 15 years ago
alberth 59caa8ea94 (svn r19402) -Codechange: CheckAllowRemoveRoad() returns a CommandCost. 15 years ago
alberth d503642072 (svn r19401) -Codechange: Use curly braces with multi-line if statements. 15 years ago
yexo eaa878621b (svn r19396) -Fix [FS#3690] (r19351): trying to remove a too large rail station rect caused crashes 15 years ago
frosch 04e510f966 (svn r19384) -Fix: Overbuilding plain rail with stations did not update PBS reservation. 15 years ago
yexo 28fffb09e5 (svn r19355) -Codechange: add the airport layout to build as parameter to CmdBuildAirport 15 years ago
yexo fadc8a3fee (svn r19351) -Codechange: use TileArea for AfterRemoveRect 15 years ago
alberth beb46d1a7f (svn r19350) -Codechange: StationRect::BeforeAddRect() returns a CommandCost. 15 years ago
yexo e6f148119d (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 4c0d4990f5 (svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost. 15 years ago
yexo ef1b27a18d (svn r19318) -Fix [FS#3661](r19198): crash when building an airport at a station where a plane was headed 15 years ago
yexo 23af928ce9 (svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info 15 years ago
alberth 87c09ddcc0 (svn r19279) -Codechange: CheckIfAuthorityAllowsNewStation() returns CommandCost. 15 years ago
terkhen 274727ab36 (svn r19276) -Fix [FS#3649](r19229): Newly built road stops were not always repainted. 15 years ago
alberth 4d9bc56e88 (svn r19275) -Codechange: CanExpandRailStation() returns a CommandCost. 15 years ago
alberth 24762bcfce (svn r19274) -Codechange: CmdBuildAirport() returns the 'too spread out' error via CommandCost, if needed. 15 years ago
alberth 9f437abd40 (svn r19273) -Codechange: Return station joining error message when error is detected. 15 years ago
rubidium 7721a5cc51 (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 1805a10e65 (svn r19259) -Fix (r19230): Road stops were not removed in case of bankruptcy. 15 years ago
terkhen d954e1eb9a (svn r19232) -Fix (r19231): Forbid overbuilding drive-through stops using a different orientation. 15 years ago
terkhen 21c8699358 (svn r19231) -Feature: Allow overbuilding of road stops. 15 years ago
terkhen 8c512f62e2 (svn r19230) -Feature: Allow to remove multiple road stops using drag and drop. 15 years ago
terkhen f7e91fa7d2 (svn r19229) -Feature: Allow to build multiple road stops using drag and drop (Based on Wolf01 work) 15 years ago
terkhen 381ec11328 (svn r19228) -Codechange: Move an additional check from CmdBuildRoadStop to CheckFlatLandRoadStop. 15 years ago
terkhen 6ccd15fd08 (svn r19227) -Codechange: Reorganization of parameters at CmdBuildRoadStop. 15 years ago
yexo 5777a20aac (svn r19201) -Codechange: airport tiles now have 4 random bits per tile. 15 years ago
yexo 86fc08789d (svn r19199) -Codechange: add a 'name'-property to airport tiles 15 years ago
yexo 80982cc91b (svn r19198) -Codechange: store the size of stations in savegames 15 years ago
yexo 391b759d04 (svn r19197) -Codechange: introduce animation callbacks for airport tiles 15 years ago
yexo 2c502fe4a1 (svn r19196) -Codechange: change the airport tile animation info so it works just like for industry tiles 15 years ago
yexo 1975efea58 (svn r19195) -Codechange: actually draw newgrf airport tiles 15 years ago
yexo 028b7925ea (svn r19191) -Codechange: move AirportTileSpec to newgrf_airporttiles.h 15 years ago
terkhen 120a3d5942 (svn r19172) -Codechange: Move road checks from CmdBuildRoadStop to CheckFlatLandRoadStop. 15 years ago
terkhen 304806e066 (svn r19171) -Codechange: Split CheckFlatLandBelow into different functions. 15 years ago
terkhen ffcddf9295 (svn r19170) -Codechange: Make CheckFlatLandBelow use TileArea. 15 years ago
terkhen 7189db0912 (svn r19169) -Codechange: Move buildable tile checks outside of CheckFlatLandBelow. 15 years ago
alberth e3b24801e2 (svn r19132) -Codechange: No need to end a line with ;;. 15 years ago
peter1138 7cc76dcbda (svn r19056) -Add: [NewGRF] Action 3/2/1 (i.e. new graphics) support for rail types. (To be documented...) 15 years ago
terkhen 09099eaf5a (svn r19010) -Codechange: Remove a now unneeded check at CmdBuildRailStation. 15 years ago
yexo 47527ca67a (svn r18921) -Codechange: make the preconditions for Get/Set CustomStationSpecIndex a bit more strict 15 years ago
yexo 0f5286a388 (svn r18912) -Codechange: free up a bunch of airporttile ids by using the tile animation frame 15 years ago
frosch 62b4bb6ae6 (svn r18897) -Fix: Land area information read the stationspec also for non-rail-stationtiles, which is no longer valid since r18876. 15 years ago
yexo 077cdefc9b (svn r18876) -Codechange: make sure m4 is always 0 for non-railroad station tiles 15 years ago
rubidium 7127338414 (svn r18872) -Codechange: introduce PaletteID and use it 15 years ago
rubidium f618acfb7d (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions 15 years ago
yexo 409266f847 (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
frosch eded89633c (svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq. 15 years ago
yexo bfb2635c58 (svn r18845) -Codechange: introduce AirportTileSpec and use it for animation 15 years ago
frosch 9bbabadd29 (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(). 15 years ago
frosch 7b6c5faf11 (svn r18841) -Fix (r16869): Default-waypoint was drawn incorrectly for monorail and maglev in the waypoint picker. 15 years ago
frosch 6c72390087 (svn r18839) -Codechange: Detriplicate drawing of spritelayouts in the GUI. 15 years ago
frosch 119de3a5fe (svn r18837) -Codechange: Rename DrawStationTileSeq() to DrawCommonTileSeq() and move it to separate file. 15 years ago
frosch a2d9e85336 (svn r18832) -Fix: some indentation whitespace. 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
yexo 84cd40a483 (svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there 15 years ago
frosch 24dd307206 (svn r18802) -Codechange: Deduplicate drawing-code for depots and stations/waypoints. 15 years ago
frosch de3148a14c (svn r18745) -Codechange: Assemble custom station foundations into a single bounding box. 15 years ago
rubidium 21b4eb70c3 (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.
15 years ago
rubidium e48416ad4e (svn r18718) -Codechange: make a wrapper macro for looping TileAreas 15 years ago
rubidium 0213d47594 (svn r18716) -Codechange: pass a TileArea to FindStationsAroundTiles 15 years ago
rubidium e202a26990 (svn r18715) -Codechange: make StationFinder a subclass of TileArea 15 years ago
peter1138 cb74d8ef20 (svn r18708) -Feature: [NewGRF] Add support for custom station foundation graphics. 15 years ago
rubidium afb0db2549 (svn r18679) -Fix (r16993): tile area of waypoints wasn't correctly given to NewGRFs in case of multi tile waypoints 15 years ago
peter1138 10753a6199 (svn r18509) -Codechange (r2515,r2753): Data for drawing single_x/y rail pieces was inverted. 15 years ago
rubidium dcb317b3a8 (svn r18406) -Cleanup: remove some unneeded constants and code 15 years ago
rubidium 0fed86a779 (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
15 years ago
rubidium 2e2aa3e7da (svn r18401) -Fix: drive through road stops did not get flooded 15 years ago
rubidium e4dd60d428 (svn r18388) -Codechange: move entering/leaving of road stops to functions of RoadStop 15 years ago
frosch 992bc6c345 (svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff. 15 years ago