Commit Graph

8854 Commits

Author SHA1 Message Date
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
rubidium
c5814a72ce (svn r12571) -Fix: MorphOS misses INT16_MAX/INT16_MIN. 2008-04-04 19:10:45 +00:00
smatz
d1c0e57901 (svn r12570) -Cleanup: further variable scope in road_gui.cpp 2008-04-04 18:55:24 +00:00
smatz
b78e8f82e1 (svn r12569) -Cleanup: variable scope and coding style in road*.cpp 2008-04-04 18:41:16 +00:00
rubidium
15d5167a17 (svn r12567) -Codechange: follow up of r12566, remove the palette from trunk. 2008-04-04 17:49:42 +00:00
smatz
e5d4ee30d3 (svn r12565) -Cleanup: variable scope in misc\*.cpp 2008-04-04 17:27:38 +00:00
smatz
8a2762978c (svn r12564) -Fix: towns couldn't terraform when inflation rised terraform prices enough 2008-04-04 16:52:29 +00:00
smatz
c49f813e7f (svn r12563) -Cleanup: variable scope and a bit of coding style in landscape.cpp 2008-04-04 16:32:27 +00:00
smatz
0aeefe164d (svn r12562) -Cleanup: variable scope in terraform_cmd.cpp 2008-04-04 15:48:15 +00:00
smatz
99b2536351 (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
smatz
42ed287506 (svn r12560) -Cleanup: town_cmd.cpp and header files - variable scope and a bit of coding style 2008-04-04 14:53:06 +00:00
belugas
2675db8d70 (svn r12558) -Feature: subsidy window can now be resized. 2008-04-04 02:24:44 +00:00
smatz
110584808d (svn r12557) -Cleanup: use MAX_PATH at two more places 2008-04-04 00:06:51 +00:00
smatz
c745ca21a3 (svn r12556) -Fix (r6001): remove fences with fields when loading old savegames, looks better 2008-04-03 23:52:43 +00:00
smatz
b9b99d3150 (svn r12553) -Fix (r11547): redraw the signal GUI when the signal drag density changes in the patch settings and vice versa 2008-04-03 22:31:57 +00:00
smatz
ff7e8fb2dd (svn r12550) -Change: the signal GUI is now persistent - has the same data when it is reopened 2008-04-03 21:54:31 +00:00
smatz
277df6d622 (svn r12549) -Fix [FS#1900](r11547): respect type of selected signal when building more signals using the GUI
-Fix: do not check patch settings but check if the Signal GUI window is open instead
2008-04-03 21:01:01 +00:00
smatz
86c72ab927 (svn r12548) -Cleanup: remove strings removed in r12547 from all language files 2008-04-03 20:00:07 +00:00
smatz
febc5150c9 (svn r12547) -Feature: invisibility options to make objects invisible instead of transparent 2008-04-03 19:55:40 +00:00
glx
83f9e141e0 (svn r12546) -Fix: completely remove cases from Brazilian Portuguese translation 2008-04-03 16:16:52 +00:00
frosch
87e5d85d6e (svn r12545) -Cleanup: Replace some tables of magic values with already existing functions. 2008-04-03 14:21:17 +00:00