Commit Graph

8996 Commits

Author SHA1 Message Date
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
smatz
39dc3d3eda (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
ad877852d4 (svn r12558) -Feature: subsidy window can now be resized. 2008-04-04 02:24:44 +00:00
smatz
0cceb0cb3e (svn r12557) -Cleanup: use MAX_PATH at two more places 2008-04-04 00:06:51 +00:00
smatz
673055d27f (svn r12556) -Fix (r6001): remove fences with fields when loading old savegames, looks better 2008-04-03 23:52:43 +00:00
smatz
cc775d809c (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
8ed3f5fd5e (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
4caeac0cb8 (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
99f4e979db (svn r12548) -Cleanup: remove strings removed in r12547 from all language files 2008-04-03 20:00:07 +00:00
smatz
fcf4a7067d (svn r12547) -Feature: invisibility options to make objects invisible instead of transparent 2008-04-03 19:55:40 +00:00
glx
b8e3bbe039 (svn r12546) -Fix: completely remove cases from Brazilian Portuguese translation 2008-04-03 16:16:52 +00:00
frosch
525ef7ae6f (svn r12545) -Cleanup: Replace some tables of magic values with already existing functions. 2008-04-03 14:21:17 +00:00
miham
06ac5eaa37 (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
matthijs
cb81d15b18 (svn r12542) -Fix [Makefile]: Don't install scenarios into the current user's homedir when running 'make install', that is silly. Simply always install scenarios system wide instead. 2008-04-02 16:20:30 +00:00
frosch
3e9baa7dfb (svn r12541) -Codechange: Declare Slope enum as bit set, and remove some (then) unneeded casts. 2008-04-02 14:13:15 +00:00
frosch
ae01e263ad (svn r12540) -Codechange: Enumify some values in original pathfinder and remove an unused variable. 2008-04-02 13:57:25 +00:00
smatz
976d08bcdf (svn r12537) -Cleanup: comment newgrf_config.h a bit 2008-04-02 00:13:44 +00:00
rubidium
571ba97f56 (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
a84a913f3e (svn r12535) -Fix: A little typo and 4 omissions on bridge sprites. 2008-04-01 17:21:24 +00:00
skidd13
1e7f2dbc10 (svn r12534) -Feature: Add a new type of town road layouts - random for each town 2008-04-01 16:27:01 +00:00