Commit Graph

8965 Commits

Author SHA1 Message Date
rubidium
c1e6cdbef7 (svn r12631) -Fix [FS#1911]: sometimes aircraft couldn't find their way to their depot. 2008-04-08 18:53:25 +00:00
maedhros
49a515f210 (svn r12630) -Fix (r12600): Missing 'break' made it impossible to add waypoints to vehicle orders. 2008-04-08 16:15:31 +00:00
frosch
b91781b715 (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
4267797cc8 (svn r12628) -Fix: TTDP compatible non-stop wasn't handled properly. 2008-04-08 13:32:44 +00:00
peter1138
d577b0504a (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
5967f5b379 (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
337c92090b (svn r12620) -Fix: automatic servicing of vehicles made them stop in the depot. 2008-04-07 21:02:27 +00:00
rubidium
1dc0af3248 (svn r12619) -Codechange: lots of documentation about window related stuff. Patch by Alberth. 2008-04-07 20:28:58 +00:00
rubidium
16cb871398 (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
973997e896 (svn r12617) -Codechange: add type safety to the Order's load and unload types. 2008-04-07 20:03:46 +00:00
smatz
f35612bd21 (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
cf250390c5 (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
0017149c33 (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
c6e8bf41a1 (svn r12608) -Fix [FS#1909]: pressing 'Load' did not cancel the full load order. 2008-04-07 15:04:00 +00:00
smatz
7dc63836ea (svn r12605) -Cleanup: variable scope and coding style in train* 2008-04-07 12:36:50 +00:00
rubidium
4b7ca97056 (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
fcdd44b662 (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
76eaed68a0 (svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify compiler's decisions about inlining 2008-04-06 23:49:45 +00:00
rubidium
bd432258cb (svn r12596) -Feature: show what cargos a station could be supplied with. Patch by Roujin. 2008-04-06 22:32:20 +00:00
rubidium
949762fc65 (svn r12595) -Codechange: hide Order's flags in the last few cases. 2008-04-06 21:54:22 +00:00
smatz
aaabd59369 (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
53d101cc99 (svn r12593) -Codechange: hide Order's flags in most of the code. 2008-04-06 15:09:45 +00:00
rubidium
e150643d31 (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
54630d0735 (svn r12591) -Codechange: move CommandCost accessors to header file, 8kB of binary size saved 2008-04-06 14:50:37 +00:00
rubidium
935b562074 (svn r12588) -Codechange: do not access the destination of an order directly. 2008-04-06 07:48:51 +00:00
rubidium
a3224512cc (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
3edb967ecf (svn r12586) -Codechange: do not access an order's refit variables directly. 2008-04-06 07:07:21 +00:00
rubidium
84e3fa75e1 (svn r12585) -Fix (r12584): assumption that assertions were enabled during compilation/testing was flawed. 2008-04-05 23:46:01 +00:00
rubidium
3b0e3d8d30 (svn r12584) -Codechange: do not access the order type directly. 2008-04-05 23:36:54 +00:00
rubidium
4ff5d2057c (svn r12583) -Codechange: make AssignOrder a class function of order. 2008-04-05 21:45:05 +00:00
rubidium
21ae6fa444 (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
b5a73c77de (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
ed2acd6f3d (svn r12580) -Codechange: merge some logical related to non-stop orders. 2008-04-05 15:30:15 +00:00
smatz
f8b2e84537 (svn r12579) -Change: reset cursor when the Plant trees GUI is opened 2008-04-05 12:30:48 +00:00
rubidium
ba0a9538cf (svn r12578) -Codechange: merge the aircrafts ProcessOrder too into the 'unified' ProcessOrder. 2008-04-05 12:01:34 +00:00
smatz
c830c4a369 (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
d0fdbce6d2 (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
3fdddeac40 (svn r12575) -Codechange: unduplicate Process*Orders for trains, ships and road vehicles. 2008-04-05 10:55:50 +00:00
rubidium
fcf888799f (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
c3399b6848 (svn r12573) -Codechange: use defined constants instead of numbers in math_func.hpp 2008-04-04 20:34:09 +00:00
smatz
6a501c85fc (svn r12572) -Fix (r12192): min() has 32bit arguments, clamping of 64bit values didn't work 2008-04-04 20:03:49 +00:00
rubidium
1db6c4d55e (svn r12571) -Fix: MorphOS misses INT16_MAX/INT16_MIN. 2008-04-04 19:10:45 +00:00
smatz
33a97141d5 (svn r12570) -Cleanup: further variable scope in road_gui.cpp 2008-04-04 18:55:24 +00:00
smatz
4c84f76dd5 (svn r12569) -Cleanup: variable scope and coding style in road*.cpp 2008-04-04 18:41:16 +00:00
rubidium
938907c884 (svn r12567) -Codechange: follow up of r12566, remove the palette from trunk. 2008-04-04 17:49:42 +00:00
smatz
2185591156 (svn r12565) -Cleanup: variable scope in misc\*.cpp 2008-04-04 17:27:38 +00:00
smatz
9532cde5ff (svn r12564) -Fix: towns couldn't terraform when inflation rised terraform prices enough 2008-04-04 16:52:29 +00:00
smatz
21981bca85 (svn r12563) -Cleanup: variable scope and a bit of coding style in landscape.cpp 2008-04-04 16:32:27 +00:00
smatz
f5e445a252 (svn r12562) -Cleanup: variable scope in terraform_cmd.cpp 2008-04-04 15:48:15 +00:00
smatz
401c7b6752 (svn r12561) -Fix: do not affect town rating change by the order in which we examine stations 2008-04-04 15:10:54 +00:00