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
rubidium
15ede6b763
(svn r18035) -Fix (r16909): one could remotely crash (assert) the server on certain commands
2009-11-10 11:19:07 +00:00
rubidium
860b9b1cea
(svn r18028) -Codechange: unglobalise some functions
2009-11-09 10:40:33 +00:00
frosch
ba1fc280e3
(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.
2009-11-07 22:47:54 +00:00
frosch
79627b4f89
(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up including of newgrf_cargo.h
2009-11-05 19:46:17 +00:00
rubidium
69b8e8e755
(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.
2009-10-20 22:24:34 +00:00
rubidium
29e173185a
(svn r17782) -Fix [FS#3270]: animation wasn't removed from station tiles when keeping the rail during removal
2009-10-17 08:12:39 +00:00
smatz
9225b3ba03
(svn r17589) -Codechange: rename town_acc to always_accepted
2009-09-20 17:44:33 +00:00
rubidium
ca91a97826
(svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary
2009-09-19 15:17:47 +00:00
rubidium
e8ddf001c8
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
2009-09-19 09:51:14 +00:00
rubidium
04d5b67eb6
(svn r17567) -Fix: some doxygen warnings
2009-09-18 14:23:58 +00:00
rubidium
23252c99bb
(svn r17547) -Feature: [NewGRF] Implement callback 145 (custom station rating)
2009-09-15 17:24:18 +00:00
rubidium
64bafcbe18
(svn r17534) -Codechange: unify the naming of callback masks/flags
2009-09-14 12:22:57 +00:00
frosch
ebd916be3d
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
2009-09-13 19:15:59 +00:00
rubidium
b615ae7015
(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
2009-09-08 22:48:37 +00:00
rubidium
dcd6b2096d
(svn r17471) -Change: when removing a station or waypoint keep the rail unless Ctrl is pressed. This makes the behaviour consistent between the two.
2009-09-08 10:12:13 +00:00
smatz
8cbcf17421
(svn r17470) -Fix (r17460): possible crash when overbuiling rail by station
2009-09-08 07:16:26 +00:00
rubidium
5396d6167b
(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)
2009-09-07 18:35:38 +00:00
smatz
22e9d59559
(svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses and headquarters anymore
2009-09-07 07:39:08 +00:00
smatz
ee685c8287
(svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile()
2009-08-30 11:47:41 +00:00
rubidium
c539b59da3
(svn r17268) -Fix [FS#3143]: Station/Town window titles weren't updated when they got renamed
2009-08-22 20:28:30 +00:00
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
smatz
2a430d981f
(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
2009-08-08 16:42:55 +00:00
rubidium
1fe3ad3288
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
2009-08-05 17:59:21 +00:00
rubidium
74cec1f0c4
(svn r17039) -Fix (r16988): segfault when removing rail with waypoint remover and vice versa
2009-08-02 14:54:42 +00:00
rubidium
a148a991bb
(svn r17002) -Change: also support distant join for waypoints
2009-07-31 16:28:28 +00:00
rubidium
c2fdb85c0d
(svn r17000) -Change: allow overbuilding/extending waypoints
2009-07-30 22:06:54 +00:00
rubidium
5bbf83ebbe
(svn r16998) -Codechange: rework/unify 'find station to join with' code and use it for all stations
2009-07-30 21:41:21 +00:00
rubidium
5592eb4955
(svn r16993) -Change: make the rail waypoint builder draggable
2009-07-30 17:44:13 +00:00
rubidium
37e6f6a003
(svn r16990) -Codechange: unify some (command) naming w.r.t. stations/waypoints.
2009-07-29 22:32:20 +00:00
rubidium
a52cd653d4
(svn r16989) -Codechange: unify the code for demolishing (dynamite) stations and waypoints.
2009-07-29 22:13:12 +00:00
rubidium
959a5e690b
(svn r16988) -Codechange: unify the code for removing (parts of) stations and waypoints
2009-07-29 22:09:05 +00:00
rubidium
e6480d823a
(svn r16987) -Codechange: simplify the code to loop train station for the station demolish code
2009-07-29 21:49:37 +00:00
rubidium
bfcf32c64e
(svn r16985) -Codechange: simplify the station removal code a bit by giving proper names and using some helper functions
2009-07-29 21:41:45 +00:00
rubidium
2543b1b20a
(svn r16974) -Codechange: do simple station build checks and 'decode' p1/p2 first
2009-07-28 18:52:16 +00:00
rubidium
39ac44ad49
(svn r16972) -Fix [FS#3058] (r16942): mixup of variables caused, in some cases, rail stations to have incorrect width/height.
2009-07-28 13:35:50 +00:00
rubidium
2ec12a3f58
(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
2009-07-26 21:50:30 +00:00
rubidium
5b576e6e7a
(svn r16959) -Codechange: make the station joiner a bit more aware of the difference between waypoints and stations.
2009-07-26 09:25:00 +00:00