------------------------------------------------------------------------
r12661 | rubidium | 2008-04-11 15:58:46 +0000 (Fri, 11 Apr 2008) | 2 lines

-Add: ability to send a vehicle (using default orders) to the nearest depot.

------------------------------------------------------------------------
r12660 | rubidium | 2008-04-11 14:27:18 +0000 (Fri, 11 Apr 2008) | 2 lines

-Codechange: make the creation of depot order strings a little more modular (instead of causing a string explosion).

------------------------------------------------------------------------
r12659 | rubidium | 2008-04-11 13:19:44 +0000 (Fri, 11 Apr 2008) | 2 lines

-Cleanup: some style cleanups in vehicle.cpp.

------------------------------------------------------------------------
r12658 | rubidium | 2008-04-11 08:40:10 +0000 (Fri, 11 Apr 2008) | 2 lines

-Codechange: unify a vast portion of the CmdSend<VehicleType>ToDepot commands.

------------------------------------------------------------------------
r12657 | rubidium | 2008-04-11 08:14:43 +0000 (Fri, 11 Apr 2008) | 2 lines

-Codechange: add 'FindClosestDepot' to the vehicle class.

------------------------------------------------------------------------
r12656 | rubidium | 2008-04-10 22:18:33 +0000 (Thu, 10 Apr 2008) | 2 lines

-Fix: tooltips for some order buttons are outdated/incorrect.

------------------------------------------------------------------------
r12655 | rubidium | 2008-04-10 22:17:06 +0000 (Thu, 10 Apr 2008) | 2 lines

-Change: show the current state in the drop down 'buttons'.

------------------------------------------------------------------------
r12654 | rubidium | 2008-04-10 22:07:24 +0000 (Thu, 10 Apr 2008) | 2 lines

-Codechange: remove some unneeded right click handling due to the splitting of the load/refit button.

------------------------------------------------------------------------
r12653 | rubidium | 2008-04-10 17:52:48 +0000 (Thu, 10 Apr 2008) | 2 lines

-Codechange: disable load/unload dropdowns when there is a 'via' non-stop order to emphasize that loading/unloading will not be done.

------------------------------------------------------------------------
r12652 | rubidium | 2008-04-10 17:23:51 +0000 (Thu, 10 Apr 2008) | 2 lines

-Codechange: rework the order GUI a little more to make it a little more clear that 'transfer' is just an unload type.

------------------------------------------------------------------------
r12651 | peter1138 | 2008-04-10 11:59:18 +0000 (Thu, 10 Apr 2008) | 2 lines

-Fix (r12644) [FS#1915]: Dropdown widget width should be one pixel less than window width, not one more.

------------------------------------------------------------------------
r12650 | rubidium | 2008-04-10 10:18:03 +0000 (Thu, 10 Apr 2008) | 3 lines

-Feature: ability to force a vehicle to not load at a station.
-Feature: ability to force a vehicle to not unload at a station.

------------------------------------------------------------------------
r12649 | rubidium | 2008-04-10 10:02:15 +0000 (Thu, 10 Apr 2008) | 3 lines

-Fix: refit orders not being shown.
-Fix: unusable non-stop orders shown for waypoints and depots.

------------------------------------------------------------------------
r12648 | rubidium | 2008-04-10 08:30:15 +0000 (Thu, 10 Apr 2008) | 3 lines

-Feature: allow four different non-stop types in a single game instead of two. The "TTDP compatible order" setting now only sets the default behaviour of new trains.
-Feature: allow three different load type in a single game instead of two. One can choose full load all and full load any instead of full load being governed by the "full load any" patch setting.

------------------------------------------------------------------------
r12647 | belugas | 2008-04-10 02:23:38 +0000 (Thu, 10 Apr 2008) | 1 line

-Codechange: Ooops...  Too fast on the job... forgot to indent 3 lines
------------------------------------------------------------------------
r12646 | belugas | 2008-04-10 02:14:14 +0000 (Thu, 10 Apr 2008) | 1 line

-Codechange: another run of code-style cleanup
------------------------------------------------------------------------
r12645 | belugas | 2008-04-10 02:10:26 +0000 (Thu, 10 Apr 2008) | 1 line

-Codechange: a bit of code-style cleanup
------------------------------------------------------------------------
r12644 | rubidium | 2008-04-09 23:00:12 +0000 (Wed, 09 Apr 2008) | 2 lines

-Codechange: rework the order gui a little to prepare it for some future changes.

------------------------------------------------------------------------
r12643 | rubidium | 2008-04-09 22:01:23 +0000 (Wed, 09 Apr 2008) | 2 lines

-Codechange: be more explicit about the orders a vehicle has (non stop and full load are ambiguous and depend on some patch settings).

------------------------------------------------------------------------
r12642 | smatz | 2008-04-09 21:33:36 +0000 (Wed, 09 Apr 2008) | 1 line

-Fix: remove buggy buoys at tile 0 from old TTDP savegames
------------------------------------------------------------------------
r12641 | rubidium | 2008-04-09 19:52:33 +0000 (Wed, 09 Apr 2008) | 2 lines

-Codechange: do not use the same button for two completely distinct tasks, just make an extra button for it and hide them when not needed.

------------------------------------------------------------------------
r12640 | rubidium | 2008-04-09 18:26:19 +0000 (Wed, 09 Apr 2008) | 2 lines

-Codechange: let GetLoadType make a difference between full load and full load any based on the patch setting instead of using the patch setting directly.

------------------------------------------------------------------------
r12639 | rubidium | 2008-04-09 17:48:22 +0000 (Wed, 09 Apr 2008) | 2 lines

-Fix: order window was not marked dirty on changed orders.

------------------------------------------------------------------------
r12638 | rubidium | 2008-04-09 16:16:04 +0000 (Wed, 09 Apr 2008) | 2 lines

-Codechange: give order_gui.cpp a touch of coding style.

------------------------------------------------------------------------
r12637 | rubidium | 2008-04-09 14:05:50 +0000 (Wed, 09 Apr 2008) | 2 lines

-Fix [FS#1913]: possible NULL pointer dereference when reading some NewGRF data.

------------------------------------------------------------------------
r12636 | rubidium | 2008-04-09 12:46:43 +0000 (Wed, 09 Apr 2008) | 2 lines

-Codechange: make CmdModifyOrder a little more flexible and remove 'hack' that used the full load flag to set the service if needed flag.

------------------------------------------------------------------------
r12635 | belugas | 2008-04-09 02:16:04 +0000 (Wed, 09 Apr 2008) | 1 line

-Codechange: a bit of a code-style cleanup
------------------------------------------------------------------------
r12634 | belugas | 2008-04-09 02:02:39 +0000 (Wed, 09 Apr 2008) | 1 line

-Feature: Financial and Player Selection Face windows are now remembering their position when toggling sizes
------------------------------------------------------------------------
r12633 | rubidium | 2008-04-08 22:41:14 +0000 (Tue, 08 Apr 2008) | 2 lines

-Fix: could not make a (go-to) depot order.

------------------------------------------------------------------------
r12632 | smatz | 2008-04-08 21:28:47 +0000 (Tue, 08 Apr 2008) | 1 line

-Fix (r12547): with invisible catenary, trams were be drawn over a bridge
------------------------------------------------------------------------
r12631 | rubidium | 2008-04-08 18:53:25 +0000 (Tue, 08 Apr 2008) | 2 lines

-Fix [FS#1911]: sometimes aircraft couldn't find their way to their depot.

------------------------------------------------------------------------
r12630 | maedhros | 2008-04-08 16:15:31 +0000 (Tue, 08 Apr 2008) | 1 line

-Fix (r12600): Missing 'break' made it impossible to add waypoints to vehicle orders.
------------------------------------------------------------------------
r12629 | frosch | 2008-04-08 15:48:32 +0000 (Tue, 08 Apr 2008) | 2 lines

-Codechange: Split VehicleNeedsService() into Vehicle::NeedsServicing() and Vehicle::NeedsAutomaticServicing().
-Fix (r11052): Disable servicing by service-interval if a vehicle has depot orders.
------------------------------------------------------------------------
r12628 | rubidium | 2008-04-08 13:32:44 +0000 (Tue, 08 Apr 2008) | 2 lines

-Fix: TTDP compatible non-stop wasn't handled properly.

------------------------------------------------------------------------
r12624 | peter1138 | 2008-04-08 07:19:29 +0000 (Tue, 08 Apr 2008) | 2 lines

-Codechange: Make drawing of catenary an attribute of rail types, instead of deciding by the rail type directly.

------------------------------------------------------------------------
r12622 | rubidium | 2008-04-07 22:15:31 +0000 (Mon, 07 Apr 2008) | 2 lines

-Fix: infinite loop in case your compiler decides that enums are unsigned by default. Patch by Dominik.

------------------------------------------------------------------------
r12620 | rubidium | 2008-04-07 21:02:27 +0000 (Mon, 07 Apr 2008) | 2 lines

-Fix: automatic servicing of vehicles made them stop in the depot.

------------------------------------------------------------------------
r12619 | rubidium | 2008-04-07 20:28:58 +0000 (Mon, 07 Apr 2008) | 2 lines

-Codechange: lots of documentation about window related stuff. Patch by Alberth.

------------------------------------------------------------------------
r12618 | rubidium | 2008-04-07 20:18:51 +0000 (Mon, 07 Apr 2008) | 2 lines

-Codechange: as load and unload type are now split, some case statements got ugly.

------------------------------------------------------------------------
r12617 | rubidium | 2008-04-07 20:03:46 +0000 (Mon, 07 Apr 2008) | 2 lines

-Codechange: add type safety to the Order's load and unload types.

------------------------------------------------------------------------
r12616 | smatz | 2008-04-07 20:02:36 +0000 (Mon, 07 Apr 2008) | 1 line

-Codechange: r12591 didn't work as expected for NDS, move one function back to cpp
------------------------------------------------------------------------
r12615 | rubidium | 2008-04-07 19:18:56 +0000 (Mon, 07 Apr 2008) | 2 lines

-Codechange: rename some enums related to depot orders to make it more clear that they are no loading/unloading flags. Also add more type strictness.

------------------------------------------------------------------------
r12609 | belugas | 2008-04-07 17:02:39 +0000 (Mon, 07 Apr 2008) | 4 lines

-Codechange: Remove wrong comments and give more comments on the drawing part of subsidies



------------------------------------------------------------------------
r12608 | rubidium | 2008-04-07 15:04:00 +0000 (Mon, 07 Apr 2008) | 2 lines

-Fix [FS#1909]: pressing 'Load' did not cancel the full load order.

------------------------------------------------------------------------
r12605 | smatz | 2008-04-07 12:36:50 +0000 (Mon, 07 Apr 2008) | 1 line

-Cleanup: variable scope and coding style in train*
------------------------------------------------------------------------
r12601 | rubidium | 2008-04-07 11:45:53 +0000 (Mon, 07 Apr 2008) | 2 lines

-Fix (r12587): do not reset the index of orders (causes loading ancient savegames to loop infinitively.

------------------------------------------------------------------------
r12600 | rubidium | 2008-04-07 08:59:04 +0000 (Mon, 07 Apr 2008) | 2 lines

-Codechange: make GetNonStopType return a more augmented type; not is there a non-stop order but the kind of non-stop order, so one doesn't need to check _patches.new_nonstop type everywhere.

------------------------------------------------------------------------
r12599 | smatz | 2008-04-06 23:49:45 +0000 (Sun, 06 Apr 2008) | 1 line

-Codechange: force AllocateSafeRaw() to be linked to simplify compiler's decisions about inlining
------------------------------------------------------------------------
r12596 | rubidium | 2008-04-06 22:32:20 +0000 (Sun, 06 Apr 2008) | 2 lines

-Feature: show what cargos a station could be supplied with. Patch by Roujin.

------------------------------------------------------------------------
r12595 | rubidium | 2008-04-06 21:54:22 +0000 (Sun, 06 Apr 2008) | 2 lines

-Codechange: hide Order's flags in the last few cases.

------------------------------------------------------------------------
r12594 | smatz | 2008-04-06 16:49:02 +0000 (Sun, 06 Apr 2008) | 1 line

-Codechange: move large functions from driver.h to driver.cpp to reduce binary size and compile time
------------------------------------------------------------------------
r12593 | rubidium | 2008-04-06 15:09:45 +0000 (Sun, 06 Apr 2008) | 2 lines

-Codechange: hide Order's flags in most of the code.

------------------------------------------------------------------------
r12592 | rubidium | 2008-04-06 14:50:47 +0000 (Sun, 06 Apr 2008) | 2 lines

-Fix (r12580): aircraft's go-to-depot handling is a mess, which assumes destination to be a station even when it did not set a destination yet.

------------------------------------------------------------------------
r12591 | smatz | 2008-04-06 14:50:37 +0000 (Sun, 06 Apr 2008) | 1 line

-Codechange: move CommandCost accessors to header file, 8kB of binary size saved
------------------------------------------------------------------------
r12588 | rubidium | 2008-04-06 07:48:51 +0000 (Sun, 06 Apr 2008) | 2 lines

-Codechange: do not access the destination of an order directly.

------------------------------------------------------------------------
r12587 | rubidium | 2008-04-06 07:22:26 +0000 (Sun, 06 Apr 2008) | 2 lines

-Codechange: unduplicate some code in the Unpack*Order functions and move the 'normal' case Pack/Unpack to Order.

------------------------------------------------------------------------
r12586 | rubidium | 2008-04-06 07:07:21 +0000 (Sun, 06 Apr 2008) | 2 lines

-Codechange: do not access an order's refit variables directly.

------------------------------------------------------------------------
r12585 | rubidium | 2008-04-05 23:46:01 +0000 (Sat, 05 Apr 2008) | 2 lines

-Fix (r12584): assumption that assertions were enabled during compilation/testing was flawed.

------------------------------------------------------------------------
r12584 | rubidium | 2008-04-05 23:36:54 +0000 (Sat, 05 Apr 2008) | 2 lines

-Codechange: do not access the order type directly.

------------------------------------------------------------------------
r12583 | rubidium | 2008-04-05 21:45:05 +0000 (Sat, 05 Apr 2008) | 2 lines

-Codechange: make AssignOrder a class function of order.

------------------------------------------------------------------------
r12582 | rubidium | 2008-04-05 20:57:01 +0000 (Sat, 05 Apr 2008) | 2 lines

-Codechange: move some (needlessly) static inlined functions from order_base.h to order_cmd.cpp.

------------------------------------------------------------------------
r12581 | rubidium | 2008-04-05 19:51:51 +0000 (Sat, 05 Apr 2008) | 2 lines

-Fix (r12580): trains would not stop correctly on intermediate stations when non-stop was not enabled.

------------------------------------------------------------------------
r12580 | rubidium | 2008-04-05 15:30:15 +0000 (Sat, 05 Apr 2008) | 2 lines

-Codechange: merge some logical related to non-stop orders.

------------------------------------------------------------------------
r12579 | smatz | 2008-04-05 12:30:48 +0000 (Sat, 05 Apr 2008) | 1 line

-Change: reset cursor when the Plant trees GUI is opened
------------------------------------------------------------------------
r12578 | rubidium | 2008-04-05 12:01:34 +0000 (Sat, 05 Apr 2008) | 2 lines

-Codechange: merge the aircrafts ProcessOrder too into the 'unified' ProcessOrder.

------------------------------------------------------------------------
r12577 | smatz | 2008-04-05 11:35:32 +0000 (Sat, 05 Apr 2008) | 1 line

-Fix (r11547): the convert signal button disallowed signal dragging when the signal GUI was closed
------------------------------------------------------------------------
r12576 | smatz | 2008-04-05 11:27:50 +0000 (Sat, 05 Apr 2008) | 1 line

-Feature(tte) [FS#337]: highlight vehicle chain when dragging in the group and depot GUI if appropriate
------------------------------------------------------------------------
r12575 | rubidium | 2008-04-05 10:55:50 +0000 (Sat, 05 Apr 2008) | 2 lines

-Codechange: unduplicate Process*Orders for trains, ships and road vehicles.

------------------------------------------------------------------------
r12574 | rubidium | 2008-04-04 21:09:28 +0000 (Fri, 04 Apr 2008) | 2 lines

-Fix: binding to a specific IP could cause OpenTTD to not register properly with the masterserver if one has multiple external interfaces.

------------------------------------------------------------------------
r12573 | smatz | 2008-04-04 20:34:09 +0000 (Fri, 04 Apr 2008) | 1 line

-Codechange: use defined constants instead of numbers in math_func.hpp
------------------------------------------------------------------------
r12572 | smatz | 2008-04-04 20:03:49 +0000 (Fri, 04 Apr 2008) | 1 line

-Fix (r12192): min() has 32bit arguments, clamping of 64bit values didn't work
------------------------------------------------------------------------
r12571 | rubidium | 2008-04-04 19:10:45 +0000 (Fri, 04 Apr 2008) | 2 lines

-Fix: MorphOS misses INT16_MAX/INT16_MIN.

------------------------------------------------------------------------
r12570 | smatz | 2008-04-04 18:55:24 +0000 (Fri, 04 Apr 2008) | 1 line

-Cleanup: further variable scope in road_gui.cpp
------------------------------------------------------------------------
r12569 | smatz | 2008-04-04 18:41:16 +0000 (Fri, 04 Apr 2008) | 1 line

-Cleanup: variable scope and coding style in road*.cpp
------------------------------------------------------------------------