Commit Graph

476 Commits

Author SHA1 Message Date
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