summaryrefslogtreecommitdiff
path: root/src/order_cmd.cpp
AgeCommit message (Collapse)Author
2010-08-23(svn r20600) -Fix [FS#4075]: "downscale" a full load order to a load if ↵rubidium
possible order when removing the order while the vehicle is loading. This to prevent the vehicle from (possibly) staying forever in the station
2010-08-20(svn r20580) -Fix [FS#4039]: go via station and go via waypoint behaved ↵rubidium
differently when a train went back to the same (unordered) station again
2010-08-19(svn r20571) -Codechange: free/reserve some bits in the order commands to ↵rubidium
increase the vehicle pool limit
2010-08-18(svn r20547) -Change: the way order backups are performed. Now restoring an ↵rubidium
order doesn't require up to 765 commands.
2010-08-18(svn r20539) -Codechange: make order backups more self-contained.rubidium
2010-08-15(svn r20498) -Fix [FS#4030]: ignore the non-stop state when comparing one ↵rubidium
order type to another order type
2010-08-10(svn r20441) -Fix [FS#4024]: adding "goto nearest depot and stop" orders in ↵rubidium
one go was denied. This caused both AI adding those orders and backed up order restoration to fail.
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-27(svn r20229) -Fix [FS#3986]: "Service at nearest depot" behaved the same as ↵rubidium
"Go to nearest depot"
2010-07-24(svn r20211) -Codechange: Indented code should have curly braces around it.alberth
2010-04-17(svn r19657) -Fix: Add saneness checks for front vehicles.frosch
2010-04-17(svn r19654) -Codechange: Use Extract<> in more places.frosch
2010-03-20(svn r19494) -Codechange: Remove _error_message.alberth
2010-03-20(svn r19483) -Codechange: Code layout fixes, and parentheses reduction.alberth
2010-03-19(svn r19463) -Codechange: add helper function to determine if an airport has ↵yexo
at least one hangar
2010-03-18(svn r19455) -Codechange: split all airport information in Station to a ↵yexo
seperate class
2010-03-13(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.alberth
2010-02-22(svn r19215) -Codechange: Add Order::GetLocation() to deduplicate code.frosch
2010-02-22(svn r19210) -Fix: GetDestination() is invalid for nearest-depot orders.frosch
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-15(svn r18807) -Codechange: introduce AirportSpec and move several ↵yexo
non-statemachine-related variables to there
2010-01-01(svn r18683) -Fix: it's not an otherrubidium
2009-12-29(svn r18660) -Cleanup: remove useless functionyexo
2009-12-23(svn r18615) -Fix: conditional orders were seen as 'valid' and as such ↵rubidium
aircraft with only conditional orders did not crash
2009-12-05(svn r18412) -Fix [FS#3350]: don't allow sending ships to rail waypoints and ↵smatz
trains to buyos (Hirundo)
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-02(svn r18385) -Cleanup: remove the now unneeded multistop slot management coderubidium
2009-12-02(svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff.frosch
2009-12-02(svn r18380) -Fix (r9301): One could not share orders between buses carrying ↵frosch
different cargos.
2009-11-21(svn r18204) -Codechange: introduce a type for Ticks and use it; furthermore ↵rubidium
document some related variables/functions
2009-11-05(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up ↵frosch
including of newgrf_cargo.h
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-10-02(svn r17682) -Codechange: remove erroneous space before some commasrubidium
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-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
2009-09-02(svn r17384) -Fix [FS#2859]: remove all order window state changes out of ↵rubidium
the drawing routine and call them immediately when changes happen instead of on the next OnPaint. This prevents pressing buttons when they should've been already disabled.
2009-08-27(svn r17292) -Codechange: use unified ToPercent() function to convert fract ↵smatz
numbers to percents
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-14(svn r17168) -Codechange: apply coding style to if and while statementssmatz
2009-08-04(svn r17062) -Change: unify the naming of some 125 stringsrubidium
2009-07-28(svn r16976) -Codechange: remove WaypointID and MAX_LENGTH constants in ↵rubidium
favour of their Station variants
2009-07-25(svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and ↵rubidium
trainst_h.
2009-07-24(svn r16940) -Codechange: make the pathfinders behave the same when finding ↵rubidium
waypoints or stations, i.e. don't force exactly one destination tile for a waypoint
2009-07-22(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and ↵rubidium
waypoint_func.h
2009-07-22(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions ↵rubidium
all over the place when using the more advanced station types. -Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
2009-07-13(svn r16802) -Fix [FS#3031]: service orders didn't behave like conditional ↵rubidium
orders; if a train doesn't need service it didn't completely skip the order, it would first send the vehicle towards the depot and would then realise it doesn't need to go there making it possible that the vehicle leaves that station on the wrong side.
2009-07-10(svn r16785) -Codechange: make ships going to buoys use OT_GOTO_WAYPOINT toorubidium
2009-06-24(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()smatz