yexo
72e027e4d6
(svn r22105) -Fix: crash when copying an orderlist to a vehicle that already had orders
2011-02-18 21:46:45 +00:00
frosch
b7713a7e85
(svn r22046) -Fix [FS#4487]: Make sure order indices stay in range when copying, sharing, unsharing or deleting all orders.
2011-02-09 21:40:32 +00:00
frosch
3a787f5a0b
(svn r22045) -Codechange: Move cancelling the current loading order on deleting the current order to a separate function.
2011-02-09 21:39:22 +00:00
smatz
364ef8e6e6
(svn r22024) -Fix [FS#4468]: verify we can allocate an OrderList before we actually try to do so (Rubidium)
2011-02-08 18:29:30 +00:00
rubidium
1d0d7635e0
(svn r22021) -Fix (r22019): ofcourse make doesn't notice files are gone, so it doesn't recompile everything that needs to be recompiled...
2011-02-07 22:49:38 +00:00
rubidium
773c6765e6
(svn r21961) -Remove: limitation that not loading and not unloading is mutual exclusive
2011-02-04 16:07:42 +00:00
frosch
49ea0e9092
(svn r21934) -Fix (r21933): The original plan was to run the regression before committing.
2011-01-31 20:56:02 +00:00
frosch
a97d52a29a
(svn r21933) -Codechange: Split cur_order_index into cur_auto_order_index and cur_real_order_index to keep track of the current real order in an unambiguous way.
...
-Fix [FS#4440]: Automatic orders behave now stable wrt. service orders and are not added or removed depending on the need of servicing.
-Fix: Various other issues with automatic orders, e.g. vehicles getting stuck with "no orders" when there are automatic orders at the end of the order list.
2011-01-31 20:44:15 +00:00
rubidium
9ca4b629cd
(svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s].
2011-01-18 23:09:43 +00:00
rubidium
bd9f07e5a0
(svn r21809) -Fix [FS#4404]: remove unreached automatic orders as well when reaching an ordered waypoint or depot (fonsinchen)
2011-01-15 18:19:04 +00:00
frosch
716f4e924e
(svn r21744) -Fix: Allow Ctrl+Clicking automatic orders for scrolling to their destination.
2011-01-09 13:11:50 +00:00
rubidium
e2ef4aff46
(svn r21739) -Fix [FS#4388] (r19657): make clearing refit orders work again
2011-01-07 12:45:12 +00:00
frosch
29a0dd65a9
(svn r21737) -Fix (r1)[FS#4384-ish]: A loading order was also marked as 'not part of orders' when the order before the current order was deleted.
2011-01-06 22:24:02 +00:00
rubidium
28f16a732f
(svn r21644) -Change: keep showing "No orders" when the order list is filled with only automatic orders
2010-12-26 13:25:34 +00:00
rubidium
64f04c3a74
(svn r21642) -Feature: concept of automatic station orders; add stub orders for intermediate stations and remove them when not visiting them anymore. This allows you to see what trains visit a station without actually having to order a vehicle to stop at all stations. Based on patch by fonsinchen
2010-12-26 09:03:19 +00:00
rubidium
e9a595bda0
(svn r21603) -Codechange: no need to assign something to a variable and then test it for NULL when you're never using it again
2010-12-22 21:19:39 +00:00
rubidium
a38a1e7b0d
(svn r21602) -Codechange: split actual adding/removing of orders to/from a vehicle's order list from the validation of those (user) commands. Based on patch by fonsinchen
2010-12-22 21:16:34 +00:00
terkhen
79e2b3153d
(svn r21516) -Codechange: Add IsGroundVehicle function to the Vehicle class.
2010-12-14 21:26:03 +00:00
rubidium
23369337c1
(svn r21466) -Codechange: make VehicleHasDepotOrders a function of Vehicle.
2010-12-11 13:48:30 +00:00
alberth
ab50f74d7f
(svn r21273) -Codechange: Return values should start at the same line.
2010-11-20 15:44:24 +00:00
rubidium
8ce06a09b9
(svn r20600) -Fix [FS#4075]: "downscale" a full load order to a load if 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-23 21:21:41 +00:00
rubidium
f3864181b6
(svn r20580) -Fix [FS#4039]: go via station and go via waypoint behaved differently when a train went back to the same (unordered) station again
2010-08-20 15:30:21 +00:00
rubidium
e89a0fb7f9
(svn r20571) -Codechange: free/reserve some bits in the order commands to increase the vehicle pool limit
2010-08-19 20:39:12 +00:00
rubidium
926594b599
(svn r20547) -Change: the way order backups are performed. Now restoring an order doesn't require up to 765 commands.
2010-08-18 20:48:38 +00:00
rubidium
38ca44594f
(svn r20539) -Codechange: make order backups more self-contained.
2010-08-18 15:15:59 +00:00
rubidium
15514baf8b
(svn r20498) -Fix [FS#4030]: ignore the non-stop state when comparing one order type to another order type
2010-08-15 13:17:04 +00:00
rubidium
cde8a44a11
(svn r20441) -Fix [FS#4024]: adding "goto nearest depot and stop" orders in one go was denied. This caused both AI adding those orders and backed up order restoration to fail.
2010-08-10 16:45:32 +00:00
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
2010-08-01 19:22:34 +00:00
rubidium
e356cb9405
(svn r20281) -Codechange: unify case scope closure + break coding style
2010-08-01 18:53:30 +00:00
rubidium
8df78e7a7b
(svn r20229) -Fix [FS#3986]: "Service at nearest depot" behaved the same as "Go to nearest depot"
2010-07-27 21:46:55 +00:00
alberth
be6c058424
(svn r20211) -Codechange: Indented code should have curly braces around it.
2010-07-24 10:14:39 +00:00
frosch
2365a4dea0
(svn r19657) -Fix: Add saneness checks for front vehicles.
2010-04-17 14:55:49 +00:00
frosch
75d4bc947d
(svn r19654) -Codechange: Use Extract<> in more places.
2010-04-17 13:31:41 +00:00
alberth
05d705e077
(svn r19494) -Codechange: Remove _error_message.
2010-03-20 17:58:24 +00:00
alberth
f05a8635fd
(svn r19483) -Codechange: Code layout fixes, and parentheses reduction.
2010-03-20 15:30:57 +00:00
yexo
414071d07f
(svn r19463) -Codechange: add helper function to determine if an airport has at least one hangar
2010-03-19 09:48:44 +00:00
yexo
c4a88ce022
(svn r19455) -Codechange: split all airport information in Station to a seperate class
2010-03-18 21:02:20 +00:00
alberth
7cc68f493d
(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.
2010-03-13 17:11:28 +00:00
frosch
3222ace3e1
(svn r19215) -Codechange: Add Order::GetLocation() to deduplicate code.
2010-02-22 20:36:20 +00:00
frosch
945d2c08e0
(svn r19210) -Fix: GetDestination() is invalid for nearest-depot orders.
2010-02-22 20:08:16 +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
rubidium
b2e9b5d612
(svn r18683) -Fix: it's not an other
2010-01-01 18:45:40 +00:00
yexo
1520aab5b2
(svn r18660) -Cleanup: remove useless function
2009-12-29 23:13:36 +00:00
rubidium
277794e26b
(svn r18615) -Fix: conditional orders were seen as 'valid' and as such aircraft with only conditional orders did not crash
2009-12-23 18:43:38 +00:00
smatz
29606c0de6
(svn r18412) -Fix [FS#3350]: don't allow sending ships to rail waypoints and trains to buyos (Hirundo)
2009-12-05 19:21:43 +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
0ef0e13795
(svn r18385) -Cleanup: remove the now unneeded multistop slot management code
2009-12-02 18:18:56 +00:00
frosch
59f9163e37
(svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff.
2009-12-02 17:37:02 +00:00
frosch
2265202d77
(svn r18380) -Fix (r9301): One could not share orders between buses carrying different cargos.
2009-12-02 17:35:54 +00:00