summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
AgeCommit message (Collapse)Author
2009-12-04(svn r18406) -Cleanup: remove some unneeded constants and coderubidium
2009-12-04(svn r18404) -Codechange: link drive through stops better togetherrubidium
-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(svn r18401) -Fix: drive through road stops did not get floodedrubidium
2009-12-02(svn r18388) -Codechange: move entering/leaving of road stops to functions ↵rubidium
of RoadStop
2009-12-02(svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff.frosch
2009-12-02(svn r18379) -Codechange: move the cache updating function to its own header ↵rubidium
to reduce the include 'pathfinder' dependencies
2009-12-02(svn r18377) -Codechange: add 'cache' of the tile area of truck and bus stops.rubidium
2009-12-01(svn r18367) -Codechange: unify the ship pathfinder 'calls'rubidium
2009-12-01(svn r18364) -Codechange: move the pathfinders and their related files into ↵rubidium
a separate directory
2009-11-29(svn r18342) -Fix: erroneous spaces before ;rubidium
2009-11-24(svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, ↵frosch
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-15(svn r18110) -Codechange [FS#3316]: search for stations nearby only once per ↵smatz
producer (instead of once pre produced cargo type) (fonsinchen)
2009-11-12(svn r18049) -Fix [FS#3310] (r16448): Crash when an articulated RV is ↵rubidium
turning on a drive through road station that gets forcefully (bankrupt) removed
2009-11-10(svn r18035) -Fix (r16909): one could remotely crash (assert) the server on ↵rubidium
certain commands
2009-11-09(svn r18028) -Codechange: unglobalise some functionsrubidium
2009-11-07(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.frosch
2009-11-05(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up ↵frosch
including of newgrf_cargo.h
2009-10-20(svn r17836) -Codechange: split the CargoPacket constructor for creating ↵rubidium
'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-17(svn r17782) -Fix [FS#3270]: animation wasn't removed from station tiles ↵rubidium
when keeping the rail during removal
2009-09-20(svn r17589) -Codechange: rename town_acc to always_acceptedsmatz
2009-09-19(svn r17579) -Fix: remove doxygen docs for removed parameters, or change ↵rubidium
@param to @tparam if necessary
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-09-18(svn r17567) -Fix: some doxygen warningsrubidium
2009-09-15(svn r17547) -Feature: [NewGRF] Implement callback 145 (custom station rating)rubidium
2009-09-14(svn r17534) -Codechange: unify the naming of callback masks/flagsrubidium
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
2009-09-08(svn r17481) -Fix (r16998): in cases where the northern most tile of an ↵rubidium
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(svn r17471) -Change: when removing a station or waypoint keep the rail ↵rubidium
unless Ctrl is pressed. This makes the behaviour consistent between the two.
2009-09-08(svn r17470) -Fix (r17460): possible crash when overbuiling rail by stationsmatz
2009-09-07(svn r17460) -Feature: allow building rail stations over existing rail ↵rubidium
without signals but will upgrade normal rail to electrified rail if necessary (based on patch by laurijh)
2009-09-07(svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses ↵smatz
and headquarters anymore
2009-08-30(svn r17316) -Codechange: use Industry::GetByTile() instead of ↵smatz
GetIndustryByTile()
2009-08-22(svn r17268) -Fix [FS#3143]: Station/Town window titles weren't updated when ↵rubidium
they got renamed
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-08(svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when ↵smatz
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-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-08-02(svn r17039) -Fix (r16988): segfault when removing rail with waypoint ↵rubidium
remover and vice versa
2009-07-31(svn r17002) -Change: also support distant join for waypointsrubidium
2009-07-30(svn r17000) -Change: allow overbuilding/extending waypointsrubidium
2009-07-30(svn r16998) -Codechange: rework/unify 'find station to join with' code and ↵rubidium
use it for all stations
2009-07-30(svn r16993) -Change: make the rail waypoint builder draggablerubidium
2009-07-29(svn r16990) -Codechange: unify some (command) naming w.r.t. stations/waypoints.rubidium
2009-07-29(svn r16989) -Codechange: unify the code for demolishing (dynamite) stations ↵rubidium
and waypoints.
2009-07-29(svn r16988) -Codechange: unify the code for removing (parts of) stations ↵rubidium
and waypoints
2009-07-29(svn r16987) -Codechange: simplify the code to loop train station for the ↵rubidium
station demolish code
2009-07-29(svn r16985) -Codechange: simplify the station removal code a bit by giving ↵rubidium
proper names and using some helper functions
2009-07-28(svn r16974) -Codechange: do simple station build checks and 'decode' p1/p2 ↵rubidium
first
2009-07-28(svn r16972) -Fix [FS#3058] (r16942): mixup of variables caused, in some ↵rubidium
cases, rail stations to have incorrect width/height.
2009-07-26(svn r16966) -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into ↵rubidium
TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
2009-07-26(svn r16959) -Codechange: make the station joiner a bit more aware of the ↵rubidium
difference between waypoints and stations.