Commit Graph

8874 Commits

Author SHA1 Message Date
rubidium 82155367f6 (svn r12640) -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. 2008-04-09 18:26:19 +00:00
rubidium d178345947 (svn r12639) -Fix: order window was not marked dirty on changed orders. 2008-04-09 17:48:22 +00:00
rubidium 55f0d01235 (svn r12638) -Codechange: give order_gui.cpp a touch of coding style. 2008-04-09 16:16:04 +00:00
rubidium ab7b05da50 (svn r12637) -Fix [FS#1913]: possible NULL pointer dereference when reading some NewGRF data. 2008-04-09 14:05:50 +00:00
rubidium c41624bb94 (svn r12636) -Codechange: make CmdModifyOrder a little more flexible and remove 'hack' that used the full load flag to set the service if needed flag. 2008-04-09 12:46:43 +00:00
belugas caa3b659b0 (svn r12635) -Codechange: a bit of a code-style cleanup 2008-04-09 02:16:04 +00:00
belugas 25e5e5b1a9 (svn r12634) -Feature: Financial and Player Selection Face windows are now remembering their position when toggling sizes 2008-04-09 02:02:39 +00:00
rubidium d8f88f06d4 (svn r12633) -Fix: could not make a (go-to) depot order. 2008-04-08 22:41:14 +00:00
smatz 627322b9f7 (svn r12632) -Fix (r12547): with invisible catenary, trams were be drawn over a bridge 2008-04-08 21:28:47 +00:00
rubidium 3abf0eea7c (svn r12631) -Fix [FS#1911]: sometimes aircraft couldn't find their way to their depot. 2008-04-08 18:53:25 +00:00
maedhros 85e5053b68 (svn r12630) -Fix (r12600): Missing 'break' made it impossible to add waypoints to vehicle orders. 2008-04-08 16:15:31 +00:00
frosch 96700d5605 (svn r12629) -Codechange: Split VehicleNeedsService() into Vehicle::NeedsServicing() and Vehicle::NeedsAutomaticServicing().
-Fix (r11052): Disable servicing by service-interval if a vehicle has depot orders.
2008-04-08 15:48:32 +00:00
rubidium 71a2dd21fd (svn r12628) -Fix: TTDP compatible non-stop wasn't handled properly. 2008-04-08 13:32:44 +00:00
peter1138 310170364f (svn r12624) -Codechange: Make drawing of catenary an attribute of rail types, instead of deciding by the rail type directly. 2008-04-08 07:19:29 +00:00
rubidium b0ca38e20a (svn r12622) -Fix: infinite loop in case your compiler decides that enums are unsigned by default. Patch by Dominik. 2008-04-07 22:15:31 +00:00
rubidium d31dee2717 (svn r12620) -Fix: automatic servicing of vehicles made them stop in the depot. 2008-04-07 21:02:27 +00:00
rubidium ee02dd7dad (svn r12619) -Codechange: lots of documentation about window related stuff. Patch by Alberth. 2008-04-07 20:28:58 +00:00
rubidium f04ecd2e4a (svn r12618) -Codechange: as load and unload type are now split, some case statements got ugly. 2008-04-07 20:18:51 +00:00
rubidium d74c6ffb62 (svn r12617) -Codechange: add type safety to the Order's load and unload types. 2008-04-07 20:03:46 +00:00
smatz 42a66ef990 (svn r12616) -Codechange: r12591 didn't work as expected for NDS, move one function back to cpp 2008-04-07 20:02:36 +00:00
rubidium f1cd7ef5ee (svn r12615) -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. 2008-04-07 19:18:56 +00:00
belugas 45165fe075 (svn r12609) -Codechange: Remove wrong comments and give more comments on the drawing part of subsidies 2008-04-07 17:02:39 +00:00
rubidium 77dca1f023 (svn r12608) -Fix [FS#1909]: pressing 'Load' did not cancel the full load order. 2008-04-07 15:04:00 +00:00
smatz ac389e16d2 (svn r12605) -Cleanup: variable scope and coding style in train* 2008-04-07 12:36:50 +00:00
rubidium f46ae97d8e (svn r12601) -Fix (r12587): do not reset the index of orders (causes loading ancient savegames to loop infinitively. 2008-04-07 11:45:53 +00:00
rubidium c57a1d74c3 (svn r12600) -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. 2008-04-07 08:59:04 +00:00
smatz 6af1fb2bdd (svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify compiler's decisions about inlining 2008-04-06 23:49:45 +00:00
rubidium 1bd5a29df5 (svn r12596) -Feature: show what cargos a station could be supplied with. Patch by Roujin. 2008-04-06 22:32:20 +00:00
rubidium d90a041230 (svn r12595) -Codechange: hide Order's flags in the last few cases. 2008-04-06 21:54:22 +00:00
smatz c0a5fa9eea (svn r12594) -Codechange: move large functions from driver.h to driver.cpp to reduce binary size and compile time 2008-04-06 16:49:02 +00:00
rubidium fb1c4eccd8 (svn r12593) -Codechange: hide Order's flags in most of the code. 2008-04-06 15:09:45 +00:00
rubidium 5d8e3adccc (svn r12592) -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. 2008-04-06 14:50:47 +00:00
smatz aaa1b0744a (svn r12591) -Codechange: move CommandCost accessors to header file, 8kB of binary size saved 2008-04-06 14:50:37 +00:00
rubidium d6623cf654 (svn r12588) -Codechange: do not access the destination of an order directly. 2008-04-06 07:48:51 +00:00
rubidium 8cd1795fe3 (svn r12587) -Codechange: unduplicate some code in the Unpack*Order functions and move the 'normal' case Pack/Unpack to Order. 2008-04-06 07:22:26 +00:00
rubidium e68b2088ce (svn r12586) -Codechange: do not access an order's refit variables directly. 2008-04-06 07:07:21 +00:00
rubidium 630d5ad766 (svn r12585) -Fix (r12584): assumption that assertions were enabled during compilation/testing was flawed. 2008-04-05 23:46:01 +00:00
rubidium 5b47f81b0f (svn r12584) -Codechange: do not access the order type directly. 2008-04-05 23:36:54 +00:00
rubidium 56e63a6044 (svn r12583) -Codechange: make AssignOrder a class function of order. 2008-04-05 21:45:05 +00:00
rubidium 669b4bc609 (svn r12582) -Codechange: move some (needlessly) static inlined functions from order_base.h to order_cmd.cpp. 2008-04-05 20:57:01 +00:00
rubidium 84211a8fea (svn r12581) -Fix (r12580): trains would not stop correctly on intermediate stations when non-stop was not enabled. 2008-04-05 19:51:51 +00:00
rubidium aef20ec54d (svn r12580) -Codechange: merge some logical related to non-stop orders. 2008-04-05 15:30:15 +00:00
smatz d977461d10 (svn r12579) -Change: reset cursor when the Plant trees GUI is opened 2008-04-05 12:30:48 +00:00
rubidium 5eb5889954 (svn r12578) -Codechange: merge the aircrafts ProcessOrder too into the 'unified' ProcessOrder. 2008-04-05 12:01:34 +00:00
smatz 65fedf0cfb (svn r12577) -Fix (r11547): the convert signal button disallowed signal dragging when the signal GUI was closed 2008-04-05 11:35:32 +00:00
smatz b2e4adc2b8 (svn r12576) -Feature(tte) [FS#337]: highlight vehicle chain when dragging in the group and depot GUI if appropriate 2008-04-05 11:27:50 +00:00
rubidium bdd64495cd (svn r12575) -Codechange: unduplicate Process*Orders for trains, ships and road vehicles. 2008-04-05 10:55:50 +00:00
rubidium e9661fb420 (svn r12574) -Fix: binding to a specific IP could cause OpenTTD to not register properly with the masterserver if one has multiple external interfaces. 2008-04-04 21:09:28 +00:00
smatz fb379b522d (svn r12573) -Codechange: use defined constants instead of numbers in math_func.hpp 2008-04-04 20:34:09 +00:00
smatz a7d885e4c6 (svn r12572) -Fix (r12192): min() has 32bit arguments, clamping of 64bit values didn't work 2008-04-04 20:03:49 +00:00