Commit Graph

3154 Commits

Author SHA1 Message Date
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
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
miham f219eb5653 (svn r12543) -Update: WebTranslator2 update to 2008-04-03 08:42:55
brazilian_portuguese - 18 fixed by fukumori (18)
bulgarian  - 17 fixed by thetitan (17)
catalan    - 11 fixed by arnaullv (11)
dutch      - 19 fixed by habell (19)
french     - 11 fixed by glx (11)
hungarian  - 5 fixed by miham (5)
icelandic  - 24 fixed, 2 changed by scrooge (26)
italian    - 11 fixed, 1 changed by lorenzodv (12)
korean     - 17 fixed, 3 changed by leejaeuk5 (20)
slovak     - 18 fixed by lengyel (18)
slovenian  - 19 fixed by Necrolyte (19)
swedish    - 33 fixed by daishan (33)
turkish    - 18 fixed by jnmbk (18)
ukrainian  - 17 fixed by mad (17)
2008-04-03 07:20:32 +00:00
frosch fa68e5f770 (svn r12541) -Codechange: Declare Slope enum as bit set, and remove some (then) unneeded casts. 2008-04-02 14:13:15 +00:00
frosch 5e5e074a5d (svn r12540) -Codechange: Enumify some values in original pathfinder and remove an unused variable. 2008-04-02 13:57:25 +00:00
smatz b0ee311780 (svn r12537) -Cleanup: comment newgrf_config.h a bit 2008-04-02 00:13:44 +00:00
rubidium 8e83627991 (svn r12536) -Codechange: some stack allocations were too large for NDS, so use the SmallStackSafeStackAlloc wrapper. Allocate on the stack by default and on the heap for NDS (or other devices that have a very small stack). 2008-04-01 21:12:51 +00:00
belugas 81b6125ac2 (svn r12535) -Fix: A little typo and 4 omissions on bridge sprites. 2008-04-01 17:21:24 +00:00
skidd13 584bbfd7e7 (svn r12534) -Feature: Add a new type of town road layouts - random for each town 2008-04-01 16:27:01 +00:00