Commit Graph

3189 Commits

Author SHA1 Message Date
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
frosch 4329223476 (svn r12533) -Cleanup: Remove some wizardry from default ai by using existings enums and helper functions. 2008-04-01 15:03:59 +00:00
frosch 549d05dc4d (svn r12532) -Cleanup: Replace two tables of magic values with already existing functions. 2008-04-01 14:47:57 +00:00
frosch 15a9fba867 (svn r12531) -Codechange: Rename some variables for consistency. 2008-04-01 14:03:20 +00:00
skidd13 9d914a803c (svn r12516) -Revert r2583: Removed mersenne PRNG cause it is not used and won't be used in the future 2008-03-31 16:07:50 +00:00
skidd13 4cc6140619 (svn r12513) -Codechange: rename OriginalTileRandomiser something more descriptive 2008-03-31 15:10:24 +00:00
rubidium a0895d57fa (svn r12501) -Codechange: split signs.h. 2008-03-31 07:25:49 +00:00
rubidium b1e1c13420 (svn r12499) -Codechange: some coding style tweaks for network_internal.h. 2008-03-31 07:11:18 +00:00
rubidium 7c759731dc (svn r12498) -Codechange: bring a little 'order' to openttd.cpp's includes and do not 'define' VARDEF for files that do not have them anymore. 2008-03-31 07:03:35 +00:00
rubidium 6f15d34fe5 (svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff). 2008-03-31 06:42:26 +00:00
rubidium ef2be7d0fc (svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h. 2008-03-31 00:17:39 +00:00
rubidium 2edd403656 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 2008-03-31 00:06:17 +00:00
rubidium 4a1035ab95 (svn r12488) -Codechange: split order.h into order_base.h and order_func.h. 2008-03-30 23:24:18 +00:00
rubidium 9598b1ecaf (svn r12486) -Fix: the copyright date wasn't set correctly in ottdres.rc. 2008-03-30 17:37:50 +00:00
bjarni a81a572434 (svn r12482) -Fix: [build train] we don't need to have a depot in order to just check the price of a rail vehicle so don't check for compatible rails on the tile either
also wagons will only need tracks they can drive on in order to be build so there is no reason to check for power in the depot
2008-03-28 22:59:43 +00:00
peter1138 f8294b1386 (svn r12479) -Codechange [FS#1723]: Simplify the method used to resize the industry view window. The window is now shown the correct size so the resize button is also removed. 2008-03-28 19:37:12 +00:00
rubidium d51347a04d (svn r12477) -Fix [FS#1883]: timetable times for aircraft were always doubled. 2008-03-28 18:43:01 +00:00
rubidium 93d59fe448 (svn r12476) -Codechange: split type engine related types from engine.h (and openttd.h) to engine_type.h. 2008-03-28 18:00:38 +00:00
rubidium d97c16ee8b (svn r12475) -Codechange: cleanup coding style in news_gui.cpp. 2008-03-28 16:45:20 +00:00
rubidium f4d48f0e5b (svn r12474) -Codechange: split type related stuff from waypoints from waypoint.h (and openttd.h) to waypoint_type.h. 2008-03-28 16:41:12 +00:00
rubidium cdd5f90e64 (svn r12473) -Codechange: move EngineList to a more logical location. 2008-03-28 16:39:19 +00:00
rubidium ff3a401404 (svn r12472) -Codechange: remove unneeded declaration of ViewPort and DrawPixelInfo. 2008-03-28 16:38:18 +00:00
rubidium 0f552a88a7 (svn r12471) -Codechange: move SignID to a more logical location. 2008-03-28 16:36:59 +00:00
rubidium 4c63dd074e (svn r12470) -Codechange: split order related types from order.h (and openttd.h) to order_type.h. 2008-03-28 16:36:32 +00:00
rubidium 878489e38d (svn r12469) -Codechange: split type related stuff from group.h (and openttd.h) to group_type.h. 2008-03-28 16:34:50 +00:00
rubidium 58e6e75320 (svn r12468) -Codechange: move some type related stuff from station.h (and openttd.h) to station_type.h. 2008-03-28 16:33:28 +00:00
rubidium 7f139373aa (svn r12467) -Codechange: move DepotID to a more logical location. 2008-03-28 16:32:27 +00:00
rubidium 450d234745 (svn r12466) -Codechange: move DestinationID to a more logical location. 2008-03-28 16:31:26 +00:00
rubidium cb96caa3d2 (svn r12464) -Change: remove an include that doesn't define anything anyway. 2008-03-28 11:09:14 +00:00
rubidium b4dafb3036 (svn r12460) -Change: rename src/namegen.h to src/namegen_func.h so MSVC can have both files in it's treelist. 2008-03-28 09:15:08 +00:00
rubidium eeabab4555 (svn r12459) -Codechange: split news.h into news_type.h and news_func.h. 2008-03-28 08:53:36 +00:00
rubidium d8cfb4f064 (svn r12458) -Codechange: split acquiring the sprite ID for cargos from the actual drawing of them. 2008-03-28 04:57:32 +00:00
belugas 79f033c78f (svn r12457) -Codechange: Move signal enums on their own header. 2008-03-28 03:23:49 +00:00
glx 64797f06eb (svn r12456) -Update: apply english.txt changes from r12455 to other languages 2008-03-28 02:47:54 +00:00
glx 226e48cf83 (svn r12455) -Codechange: Implement NewGRF callback 37 (cargo sub-type display for industries) 2008-03-28 02:30:10 +00:00
glx d4f7f5e5fe (svn r12454) -Fix (r12452): incorrect calculation for 'first vehicle in this chain of vehicles with the same ID' (thx DaleStan)
-Fix (r12452): wrong loading of random action 2 type 84 for non vehicle (though it shouldn't happen, but who knows ;))
2008-03-28 02:10:25 +00:00
peter1138 b8ac06b462 (svn r12453) -Fix [FS#1880]: Remove broken endian-dependent code and unnecessary rgb to bgr swapping. 2008-03-28 01:22:47 +00:00
glx bbdb831301 (svn r12452) -Feature: [NewGRF] Add random action 2 type 84. For vehicles only. 2008-03-27 21:36:16 +00:00
peter1138 5ddb78af9f (svn r12451) -Codechange: use of FOR_ALL_ENGINES/ENGINEIDS_OF_TYPE instead of for-loops 2008-03-27 19:02:18 +00:00
peter1138 7df7a3069c (svn r12450) -Codechange: Use a pointer instead of several array dereferences. 2008-03-27 17:51:20 +00:00
belugas 3343586c84 (svn r12449) -Feature[newGRF]: Add support for var A2/22 for action 7/9/D: Diificulty level 2008-03-27 17:06:35 +00:00
rubidium 692ac96625 (svn r12447) -Add: company colours to hangars and road depots; train depots already have them. 2008-03-27 15:59:56 +00:00
peter1138 9676d90a95 (svn r12446) -Feature: Add +/- toggle buttons to station cargo waiting list to show/hide the detailed transferred cargo information. 2008-03-27 15:51:11 +00:00
peter1138 ffe07b9292 (svn r12445) -Fix: Add missing compile asserts for window data structs 2008-03-27 15:48:54 +00:00
belugas 3256b24dd6 (svn r12444) -Fix: A little typo 2008-03-27 15:46:58 +00:00
rubidium 63ab877c27 (svn r12443) -Add: OpenTTDs version to openttd.cfg, just so we do not need to keep to ask people for their version number because it's likely they give you the wrong answer anyway. 2008-03-27 15:29:42 +00:00
skidd13 2405ffd855 (svn r12442) -Feature: Allow build leveled roads on slopes for the old ai 2008-03-27 14:46:27 +00:00
rubidium e9dad7637e (svn r12441) -Feature: open the time table when pressing the order button while pressing the CTRL key. Patch by Phil Sophus. 2008-03-27 14:34:29 +00:00
skidd13 b490a21e50 (svn r12440) -Fix [FS#1694]: Make the road building and road removing conditions more union
-Feature: Allow to build/remove more road-piece combinations directly
2008-03-27 14:26:31 +00:00
rubidium 3d03eab9bc (svn r12439) -Fix [FS#1871]: do not 'disable' the drawing of autorail overlays when the tile is 'error'-marked (red pulsating selection). Patch by Icosikai. 2008-03-27 14:10:09 +00:00
rubidium 67c1e00aea (svn r12438) -Fix-ish: typo spotted by Biblo. 2008-03-27 13:59:35 +00:00
peter1138 f9e7b70f91 (svn r12436) -Cleanup: minor coding style 2008-03-26 19:18:30 +00:00
rubidium 989f967509 (svn r12435) -Fix: do not remove the case from the Brazilian Portuguese translation while it is still in use. 2008-03-26 16:46:33 +00:00
rubidium 3d8bd6245e (svn r12428) -Fix [FS#1878]: loading from the config file could fail even when the data is correct. Patch by Dominik. 2008-03-26 11:50:53 +00:00
rubidium f241b0acd4 (svn r12426) -Cleanup: sprinkle some coding style over a few files. 2008-03-26 10:38:31 +00:00
rubidium 327e870962 (svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so someone without a keyboard can enter text too. Patch by Dominik. 2008-03-26 10:08:17 +00:00
bjarni 06c0e5df5a (svn r12421) -Feature: [autoreplace] the autoreplace button in train depots will now also replace wagons even if they aren't connected to a locomotive
fixed estimated cost in CmdDepotMassAutoReplace() (will still not estimate wagon removal profits)
  Made it possible to command CmdDepotMassAutoReplace() to either replace everything or nothing (the button will still happily replace just some of the vehicles if cash premits)
2008-03-25 21:58:13 +00:00
maedhros 97fb7fb8d9 (svn r12420) -Cleanup: Fix the indentation, improve a variable name, and add a NOT_REACHED to DeterminePluralForm. 2008-03-25 19:56:16 +00:00
skidd13 82eebc20c0 (svn r12419) -Cleanup: of the internal road-piece building and removing. 2008-03-25 18:59:25 +00:00
maedhros 2023f59541 (svn r12417) -Fix: Add a new plural rule for Icelandic. 2008-03-25 17:39:02 +00:00
peter1138 6184676ec7 (svn r12410) -Codechange: abstract out the test for catenary on electric rails 2008-03-25 12:10:13 +00:00
miham 237524f960 (svn r12408) -Update: WebTranslator2 update to 2008-03-25 09:44:24
brazilian_portuguese - 1 fixed by fukumori (1)
bulgarian  - 1 fixed by thetitan (1)
catalan    - 8 fixed by arnaullv (8)
czech      - 1 fixed by Hadez (1)
french     - 8 fixed by glx (8)
hungarian  - 10 fixed by miham (10)
icelandic  - 9 fixed, 1 changed by scrooge (10)
italian    - 8 fixed by lorenzodv (8)
korean     - 1 fixed by darkttd (1)
russian    - 8 fixed by Smoky555 (8)
ukrainian  - 1 fixed by mad (1)
2008-03-25 08:45:21 +00:00
glx fed6a25799 (svn r12407) -Add [FS#1866]: more language flags for servers 2008-03-24 20:30:08 +00:00
rubidium 4a16a8b948 (svn r12405) -Codechange: some coding style and 'untodoifying' some comments that were certainly not todos. 2008-03-24 06:52:52 +00:00
rubidium 67190b2906 (svn r12404) -Codechange: rename the string buffer used for network GUIs to something more unique than what it is called now. 2008-03-24 06:38:20 +00:00
rubidium 516282fe3c (svn r12403) -Codechange: unmisuse a variable in the chat window and make the code a little cleaner. 2008-03-24 06:32:53 +00:00