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
rubidium
4ddbe1793e
(svn r18379) -Codechange: move the cache updating function to its own header to reduce the include 'pathfinder' dependencies
15 years ago
rubidium
0f7cee89d8
(svn r18377) -Codechange: add 'cache' of the tile area of truck and bus stops.
15 years ago
rubidium
2341c2e283
(svn r18367) -Codechange: unify the ship pathfinder 'calls'
15 years ago
rubidium
2f3053508d
(svn r18364) -Codechange: move the pathfinders and their related files into a separate directory
15 years ago
rubidium
8c11679381
(svn r18342) -Fix: erroneous spaces before ;
15 years ago
frosch
13a72bb345
(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.
15 years ago
smatz
2c63d0d323
(svn r18110) -Codechange [FS#3316]: search for stations nearby only once per producer (instead of once pre produced cargo type) (fonsinchen)
15 years ago
rubidium
764aae2733
(svn r18049) -Fix [FS#3310] (r16448): Crash when an articulated RV is turning on a drive through road station that gets forcefully (bankrupt) removed
15 years ago
rubidium
266511971c
(svn r18035) -Fix (r16909): one could remotely crash (assert) the server on certain commands
15 years ago
rubidium
224f4e0197
(svn r18028) -Codechange: unglobalise some functions
15 years ago
frosch
040404c5d3
(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.
15 years ago
frosch
3cb949a17d
(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up including of newgrf_cargo.h
15 years ago
rubidium
61720eede3
(svn r17836) -Codechange: split the CargoPacket constructor for creating 'real' new CargoPackets and saveload. For saveload we do not need to set anything except two variables (the rest is always overwritten by the load), for new 'real' cargo also pass the source_xy; dereferencing st before calling is easier than resolving st->index back to st and then dereferencing. Also don't set loaded_at_xy because that is of no importance when not loaded in a vehicle.
15 years ago
rubidium
3855302822
(svn r17782) -Fix [FS#3270]: animation wasn't removed from station tiles when keeping the rail during removal
15 years ago
smatz
c3a80f1518
(svn r17589) -Codechange: rename town_acc to always_accepted
15 years ago
rubidium
2e5596025c
(svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary
15 years ago
rubidium
310465da07
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
15 years ago
rubidium
06e490fadc
(svn r17567) -Fix: some doxygen warnings
15 years ago
rubidium
335a542722
(svn r17547) -Feature: [NewGRF] Implement callback 145 (custom station rating)
15 years ago
rubidium
c2c0f4403e
(svn r17534) -Codechange: unify the naming of callback masks/flags
15 years ago
frosch
0e36260337
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
15 years ago
rubidium
8c09d46e96
(svn r17481) -Fix (r16998): in cases where the northern most tile of an airport-to-build didn't touch the station you wanted it to join, but another part did, it wouldn't join the airport to the existing station
15 years ago
rubidium
08d9873001
(svn r17471) -Change: when removing a station or waypoint keep the rail unless Ctrl is pressed. This makes the behaviour consistent between the two.
15 years ago
smatz
ebe2bc0a02
(svn r17470) -Fix (r17460): possible crash when overbuiling rail by station
15 years ago
rubidium
c631790b6f
(svn r17460) -Feature: allow building rail stations over existing rail without signals but will upgrade normal rail to electrified rail if necessary (based on patch by laurijh)
15 years ago
smatz
5d622fd840
(svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses and headquarters anymore
15 years ago
smatz
09e1ecc8ac
(svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile()
15 years ago
rubidium
1cfc262fb0
(svn r17268) -Fix [FS#3143]: Station/Town window titles weren't updated when they got renamed
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
smatz
0502a6df42
(svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source
...
-Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost
-Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies
15 years ago
rubidium
d61be2637e
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
rubidium
4579b06c89
(svn r17039) -Fix (r16988): segfault when removing rail with waypoint remover and vice versa
15 years ago
rubidium
5fa2b6ed8a
(svn r17002) -Change: also support distant join for waypoints
15 years ago
rubidium
d31e84b68c
(svn r17000) -Change: allow overbuilding/extending waypoints
15 years ago
rubidium
3f19dde77e
(svn r16998) -Codechange: rework/unify 'find station to join with' code and use it for all stations
15 years ago
rubidium
1ab2d22318
(svn r16993) -Change: make the rail waypoint builder draggable
15 years ago
rubidium
b3f3ba36db
(svn r16990) -Codechange: unify some (command) naming w.r.t. stations/waypoints.
15 years ago
rubidium
df1c950d6a
(svn r16989) -Codechange: unify the code for demolishing (dynamite) stations and waypoints.
15 years ago
rubidium
34cb882127
(svn r16988) -Codechange: unify the code for removing (parts of) stations and waypoints
15 years ago
rubidium
96e5135c21
(svn r16987) -Codechange: simplify the code to loop train station for the station demolish code
15 years ago
rubidium
7ad1530ffb
(svn r16985) -Codechange: simplify the station removal code a bit by giving proper names and using some helper functions
15 years ago
rubidium
2e1cee9aaf
(svn r16974) -Codechange: do simple station build checks and 'decode' p1/p2 first
15 years ago
rubidium
7beaa029f0
(svn r16972) -Fix [FS#3058] (r16942): mixup of variables caused, in some cases, rail stations to have incorrect width/height.
15 years ago
rubidium
30d9e54279
(svn r16966) -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
15 years ago
rubidium
d827a78ab7
(svn r16959) -Codechange: make the station joiner a bit more aware of the difference between waypoints and stations.
15 years ago
rubidium
def31de3c1
(svn r16948) -Codechange: some code reductions and usage of wrapper functions
15 years ago
rubidium
58563eafa7
(svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and trainst_h.
15 years ago
rubidium
2f453bd7cc
(svn r16942) -Codechange: document CanExpandRailStation and remove the 'magic' array of numbers for a named struct
15 years ago
rubidium
196856f54e
(svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way it's written.
15 years ago