Commit Graph

9129 Commits

Author SHA1 Message Date
translators efeb299895 (svn r19549) -Update from WebTranslator v3.0:
arabic_egypt - 12 changes by kasakg
traditional_chinese - 4 changes by josesun
czech - 4 changes by TheLamer
finnish - 12 changes by jpx_
french - 8 changes by glx
italian - 12 changes by lorenzodv
russian - 12 changes by Lone_Wolf
serbian - 13 changes by etran
slovenian - 11 changes by ntadej
spanish - 2 changes by Terkhen
swedish - 21 changes by Zuu
turkish - 30 changes by niw3
2010-04-03 17:45:39 +00:00
yexo 58fb90c5e9 (svn r19548) -Add: Client setting 'gui.ai_developer_tools' to enable the break on AI string 2010-04-03 17:22:24 +00:00
yexo 8e9e52ace9 (svn r19547) -Fix [FS#3725]: properties set before prop 08 should be ignored, not trigger the newgrf to be disabled 2010-04-02 21:30:37 +00:00
translators e8d2c818df (svn r19546) -Update from WebTranslator v3.0:
french - 4 changes by glx
korean - 2 changes by junho2813
spanish - 5 changes by Terkhen
2010-04-02 17:45:12 +00:00
yexo d10f6e91b9 (svn r19545) -Fix (r19544): typo 2010-04-02 17:43:25 +00:00
yexo 8165737939 (svn r19544) -Feature [FS#3496]: add an input box to the AI Debug window where you can input a break string (patch by Zuu) 2010-04-02 17:35:20 +00:00
terkhen 1cab553994 (svn r19543) -Feature [FS#3726]: Scale the vertical axis of graphs depending on the graph's highest value. 2010-04-02 16:45:53 +00:00
terkhen daf97ae52c (svn r19542) -Feature: Add buttons to enable / disable all cargos at the cargo payment rates graph. 2010-04-02 14:11:10 +00:00
terkhen 0100def074 (svn r19541) -Feature: Sort the list of refit options by cargo class / name. 2010-04-02 12:28:08 +00:00
terkhen fdc146b3c1 (svn r19540) -Feature: Sort the ratings of a station by cargo class / name. 2010-04-02 12:26:20 +00:00
terkhen 8660890bbb (svn r19539) -Codechange: Use a macro to loop through the list of sorted cargo specifications. 2010-04-02 12:20:41 +00:00
yexo 316384a26f (svn r19538) -Fix: sorting industries by production was broken for newgrf industries 2010-04-02 11:03:56 +00:00
terkhen b68fb8c6ed (svn r19536) -Feature: Sort cargos at the filter by cargo dropdown in the build vehicle window. 2010-04-01 19:52:13 +00:00
terkhen 33b1307343 (svn r19535) -Feature: Sort cargos at the cargo payment rates graph. 2010-04-01 19:50:31 +00:00
terkhen 4ec8fed1da (svn r19534) -Add: Keep a list of cargo specifications sorted by cargo class / name. 2010-04-01 19:48:28 +00:00
terkhen e1c68f1b2c (svn r19533) -Fix [FS#3720]: Vehicle details window did not resize correctly after refitting a road vehicle to a longer variant. 2010-04-01 18:30:00 +00:00
translators 08eba44922 (svn r19532) -Update from WebTranslator v3.0:
traditional_chinese - 3 changes by josesun
2010-04-01 17:45:07 +00:00
rubidium 69fec2d146 (svn r19531) -Merge: documentation updates from 1.0 2010-03-31 23:33:28 +00:00
translators bd5d797c5e (svn r19527) -Update from WebTranslator v3.0:
turkish - 3 changes by niw3
2010-03-31 17:45:05 +00:00
rubidium f97a41040f (svn r19526) -Fix (r19395): clients would crash while connecting to a server with AIs 2010-03-30 22:37:45 +00:00
translators 02fb92dc83 (svn r19525) -Update from WebTranslator v3.0:
czech - 5 changes by Harlequin
greek - 1 changes by fumantsu
ukrainian - 4 changes by onufryk
2010-03-29 17:45:15 +00:00
terkhen fe0d4253b8 (svn r19523) -Fix: Prevent drawing industries disabled at the smallmap as land tiles when they are built on water. 2010-03-28 15:14:25 +00:00
terkhen 2b812ac2fa (svn r19522) -Feature: Sort industries alphabetically at the fund new industry window. 2010-03-28 12:29:41 +00:00
terkhen 217a98e69b (svn r19521) -Codechange: Use a IndustryType array to sort industries by name instead of a LegendAndColour array. 2010-03-28 12:25:09 +00:00
translators 5193ed0fc1 (svn r19519) -Update from WebTranslator v3.0:
arabic_egypt - 2 changes by kasakg
lithuanian - 2 changes by kiphemyst
2010-03-26 18:45:09 +00:00
translators 9017af9aa2 (svn r19518) -Update from WebTranslator v3.0:
german - 4 changes by planetmaker
japanese - 35 changes by nex259
spanish - 1 changes by Terkhen
2010-03-25 18:45:13 +00:00
glx 7bd95ed04e (svn r19517) -Fix (r19516): compile before commit (a gcc warning was hidden) 2010-03-24 21:30:12 +00:00
glx a89fcf53b6 (svn r19516) -Fix (r19467): MSVC 64bit warnings 2010-03-24 21:24:31 +00:00
frosch 03249ebcfb (svn r19515) -Add: Client setting 'gui.newgrf_developer_tools' to enable otherwise hidden features.
-Add: Console command 'reload_newgrfs'; only available when newgrf developer tools are enabled.
2010-03-24 20:47:03 +00:00
frosch 9a00f6961f (svn r19514) -Codechange: Allow console hooks to deny existance of commands. 2010-03-24 20:43:31 +00:00
translators 7b4dd765d3 (svn r19513) -Update from WebTranslator v3.0:
japanese - 3 changes by nex259
2010-03-24 18:45:06 +00:00
yexo 37a37c191d (svn r19512) -Fix (r19511): using the 'alias' console command it's possible to create a duplicate alias name 2010-03-24 11:20:30 +00:00
yexo f4a107dae5 (svn r19511) -Codechange: use a template for IConsoleAddSorted 2010-03-24 11:11:38 +00:00
smatz 4d67c5ddaf (svn r19510) -Codechange: remove superfluous semicolons from *.sq files 2010-03-23 22:48:10 +00:00
smatz 23041d9720 (svn r19509) -Codechange: remove superfluous semicolons after function definitions 2010-03-23 22:37:18 +00:00
smatz 837913aa5a (svn r19508) -Codechange: remove semicolon after DEFINE_UNAVAILABLE_CONTENT_RECEIVE_COMMAND and DEFINE_UNAVAILABLE_UDP_RECEIVE_COMMAND 2010-03-23 22:36:02 +00:00
smatz 53aaabe6e9 (svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET 2010-03-23 22:25:43 +00:00
frosch f45e579923 (svn r19506) -Fix: Tunnels, bridges and roadstops are build with only one roadtype. 2010-03-23 20:29:52 +00:00
smatz fe35a0cacf (svn r19505) -Codechange: silence a gcc<4.2 warning 2010-03-23 19:48:24 +00:00
translators 6176e30d40 (svn r19504) -Update from WebTranslator v3.0:
afrikaans - 3 changes by Kayos
danish - 3 changes by silentStatic
greek - 4 changes by 
lithuanian - 2 changes by
2010-03-23 18:45:16 +00:00
terkhen 87e7c01343 (svn r19503) -Feature: Sort industries alphabetically at the smallmap legend. 2010-03-23 17:53:33 +00:00
peter1138 d790f3db3a (svn r19502) -Codechange: During NewGRF loading, store rail type labels in temporary data and process after loading has finished. This avoids deactivated rail vehicles being reactivated if the climate property is set after the rail type property. 2010-03-23 11:05:28 +00:00
translators f13dfb7b2c (svn r19501) -Update from WebTranslator v3.0:
danish - 5 changes by silentStatic
greek - 4 changes by 
lithuanian - 2 changes by 
romanian - 3 changes by kkmic
2010-03-22 18:45:17 +00:00
translators 83ac485d0f (svn r19500) -Update from WebTranslator v3.0:
esperanto - 2 changes by kristjan
greek - 4 changes by 
lithuanian - 2 changes by 
brazilian_portuguese - 2 changes by leandromoh
2010-03-21 18:45:16 +00:00
frosch 475c2959bd (svn r19499) -Remove: same_industry_close setting did not do what it said and caused NewGRF trouble. 2010-03-21 15:16:05 +00:00
peter1138 e188c5d87c (svn r19498) -Feature [FS#3710]: Keep number padding intact when cloning vehicle names. 2010-03-21 11:35:41 +00:00
frosch c049bf3f38 (svn r19497) -Fix: [NewGRF] Bytes and words get sign-extended for temporary/persistent storage. (Spotted by yexo) 2010-03-21 11:05:39 +00:00
translators b7b01bb9c7 (svn r19495) -Update from WebTranslator v3.0:
esperanto - 14 changes by kristjan
greek - 4 changes by 
lithuanian - 2 changes by 
luxembourgish - 3 changes by Phreeze
polish - 1 changes by silver_777
2010-03-20 18:45:19 +00:00
alberth 05d705e077 (svn r19494) -Codechange: Remove _error_message. 2010-03-20 17:58:24 +00:00
alberth a901ab5392 (svn r19493) -Codechange: Keep track of last error in CmdDepotSellAllVehicles(). 2010-03-20 17:22:15 +00:00
alberth 66a2a84035 (svn r19492) -Codechange: Keep track of last error in CmdClearArea(). 2010-03-20 17:19:16 +00:00
alberth b714160fcc (svn r19491) -Codechange: Keep track of last error in CmdRemoveLongRoad(). 2010-03-20 17:14:26 +00:00
alberth 467803a7c0 (svn r19490) -Fix: Return to old behaviour of CmdLevelLand() by keeping track of last error. 2010-03-20 17:13:00 +00:00
alberth 8b785ccb8a (svn r19489) -Codechange: Introduce a had_success variable in SendAllVehiclesToDepot(). 2010-03-20 17:10:14 +00:00
alberth c9b0e9d25f (svn r19488) -Codechange: Use last_error data for removal in CmdRailTrackHelper() as well. 2010-03-20 17:08:16 +00:00
alberth a9d4eb86b8 (svn r19487) -Codechange: Removed non-reachable return statement. 2010-03-20 16:53:46 +00:00
alberth 2dcca0ca76 (svn r19486) -Codechange: Code style, move var declarations closer to their first use. 2010-03-20 16:47:07 +00:00
alberth c3471d98f3 (svn r19485) -Codechange: Re-implement CalcBridgeLenCostFactor() in a more readable way without changing computed costs. 2010-03-20 16:45:23 +00:00
alberth cced6b35cb (svn r19484) -Codechange: Rename parameter 'x' of CalcBridgeLenCostFactor() to 'length'. 2010-03-20 15:32:58 +00:00
alberth f05a8635fd (svn r19483) -Codechange: Code layout fixes, and parentheses reduction. 2010-03-20 15:30:57 +00:00
alberth 073f627930 (svn r19482) -Doc: Doxygen additions/updates. 2010-03-20 15:23:26 +00:00
frosch 116a5f56a4 (svn r19481) -Codechange: Turn _industry_counts into a static member of Industry. 2010-03-20 14:30:16 +00:00
terkhen e27e5febb6 (svn r19480) -Fix: Stop reducing the size of the vehicle list after selecting a vehicle with a long description. 2010-03-20 12:21:01 +00:00
alberth 7ef97932d9 (svn r19479) -Codechange: Test range of town size and layout instead of against the current last value. 2010-03-20 10:59:06 +00:00
alberth e89f154c0d (svn r19478) -Codechange: Resolve TS_ prefix clash between TileSource and TownSize enums. 2010-03-20 10:55:08 +00:00
yexo f439b5767a (svn r19477) -Fix (r1946x): removed a few too functions including the copy constructor 2010-03-19 22:46:22 +00:00
yexo aab8849661 (svn r19476) -Codechange: simplify the 'is conflicting industry nearby' check a bit 2010-03-19 21:23:54 +00:00
terkhen 81ca76a655 (svn r19475) -Cleanup: Remove an unneeded for when drawing detail panels. 2010-03-19 21:00:15 +00:00
yexo ea58a697c1 (svn r19474) -Cleanup: remove ByteBlob::Append(T*, num_items) 2010-03-19 20:44:23 +00:00
yexo aaa8fc7a4c (svn r19473) -Codechange: remove unused variables in the Blob::SmartAlloc code (skidd13) 2010-03-19 20:28:28 +00:00
yexo 787ccc692c (svn r19472) -Codechange: reorder the static members of ByteBlob and add Zero() (skidd13) 2010-03-19 20:13:15 +00:00
yexo e70bfdf789 (svn r19471) -Codechange: rename ByteBlob methods to fit common style (skidd13) 2010-03-19 20:08:40 +00:00
yexo 6f1a0f890b (svn r19470) -Codechange: rename blob internals (skidd13) 2010-03-19 20:06:33 +00:00
yexo 767259853b (svn r19469) -Codechange: remove unused functions from Blob (skidd13) 2010-03-19 20:05:49 +00:00
yexo 0d29c5aff2 (svn r19468) -Codechange: make ptr_u union in Blob anonymous (skidd13) 2010-03-19 20:04:24 +00:00
yexo 1834e0edb5 (svn r19467) -Codechange: Use uint and byte direct instead of declaring internal types (skidd13)
-Codechange: remove now unneeded asserts
-Codechange: Set CBlobBaseSimple as absolute base class of CBlobT
2010-03-19 20:03:25 +00:00
translators 3a790eedd2 (svn r19466) -Update from WebTranslator v3.0:
czech - 1 changes by TheLamer
greek - 4 changes by 
lithuanian - 3 changes by kiphemyst
norwegian_bokmal - 3 changes by mantaray
norwegian_nynorsk - 3 changes by mantaray
spanish - 2 changes by Terkhen
swedish - 5 changes by accatyyc
ukrainian - 3 changes by Madvin
2010-03-19 18:45:26 +00:00
yexo 1579e9ded2 (svn r19465) -Codechange: support for multi-tile hangars 2010-03-19 11:17:52 +00:00
yexo f2743cd5ed (svn r19464) -Codechange: move GetHangarTile to Airport 2010-03-19 09:58:46 +00:00
yexo 414071d07f (svn r19463) -Codechange: add helper function to determine if an airport has at least one hangar 2010-03-19 09:48:44 +00:00
yexo 81ca0e28c4 (svn r19462) -Codechange: use the AS_GENERIC macro also for the dummy airport 2010-03-19 00:34:38 +00:00
yexo ba8f744941 (svn r19461) -Fix (r19355): p1 was still used in two places 2010-03-18 23:41:39 +00:00
rubidium df34fdcc26 (svn r19460) -Fix [FS#3703]: [NPF] Crash when finding a waypoint before finding the closest depot 2010-03-18 23:27:11 +00:00
yexo f81bdbae42 (svn r19459) -Feature: make some airport properties modifyable by newgrfs 2010-03-18 23:15:38 +00:00
yexo 2b62e467af (svn r19458) -Fix (r19457): svn add the new file 2010-03-18 23:14:47 +00:00
yexo 38f4cb6469 (svn r19457) -Codechange: introduce AirportOverrideManager to keep track of airports if a newgrf can't be found 2010-03-18 23:12:38 +00:00
yexo a99a7e7a37 (svn r19456) -Codechange; increase the maximum number of airports 2010-03-18 23:10:35 +00:00
yexo c4a88ce022 (svn r19455) -Codechange: split all airport information in Station to a seperate class 2010-03-18 21:02:20 +00:00
translators 0eb5709c86 (svn r19454) -Update from WebTranslator v3.0:
czech - 3 changes by Hadez, TheLamer
frisian - 4 changes by Fopper
greek - 6 changes by fumantsu
hebrew - 2 changes by dnd_man
indonesian - 3 changes by prof
slovak - 56 changes by keso53
2010-03-18 18:45:20 +00:00
yexo 89a069629e (svn r19453) -Codechange: split getting the initial aircraft position to a new function 2010-03-18 18:38:32 +00:00
rubidium eb8d35a16e (svn r19452) -Change: plural type of Slovak (keso) 2010-03-18 16:34:50 +00:00
yexo e037512a6f (svn r19451) -Cleanup: remove some unused code 2010-03-18 15:20:49 +00:00
yexo 1982307a05 (svn r19450) -Fix (r19197): animation callbacks for airport tiles where never called 2010-03-18 15:20:21 +00:00
yexo 07cc875c5a (svn r19449) -Codechange: pay for every airport tile build, not for every tile in the rectangle where the airport is build 2010-03-18 00:41:16 +00:00
frosch 0f9be95e03 (svn r19445) -Change: No need to drag an area when overbuilding bridges. 2010-03-17 20:19:55 +00:00
frosch 030ced4aec (svn r19443) -Fix [FS#3701]: Mark industry windows dirty more often. 2010-03-17 18:52:56 +00:00
rubidium 43ee06cafb (svn r19441) -Fix (r19437): broken Greek translation. 2010-03-17 18:49:59 +00:00
translators 83d82ad6d8 (svn r19440) -Update from WebTranslator v3.0:
catalan - 2 changes by arnau
czech - 7 changes by TheLamer
frisian - 97 changes by Fopper
greek - 4 changes by 
icelandic - 34 changes by baldur
italian - 2 changes by lorenzodv
lithuanian - 3 changes by BlinK_
polish - 2 changes by silver_777
serbian - 2 changes by etran
slovenian - 2 changes by ntadej
turkish - 2 changes by niw3
2010-03-17 18:45:44 +00:00
rubidium b7a7f908f9 (svn r19438) -Fix [FS#3700]: Custom group names are misaligned with default ones when using rtl languages (sbr) 2010-03-16 20:15:38 +00:00
translators d48775f4d4 (svn r19437) -Update from WebTranslator v3.0:
traditional_chinese - 2 changes by josesun
croatian - 2 changes by VoyagerOne
dutch - 2 changes by habell
finnish - 2 changes by jpx_
french - 2 changes by glx
frisian - 63 changes by Fopper
german - 2 changes by planetmaker
greek - 5 changes by fumantsu
hungarian - 2 changes by IPG
korean - 2 changes by junho2813
portuguese - 2 changes by JayCity
russian - 2 changes by Lone_Wolf
slovak - 4 changes by keso53
vietnamese - 8 changes by myquartz
2010-03-16 18:45:44 +00:00
frosch 7bf13ea692 (svn r19436) -Fix: With certain game settings one could clear tiles for free when building long roads. 2010-03-16 17:54:10 +00:00
yexo 05d29d8a3d (svn r19435) -Fix: when loading a savegame created with a house newgrf without that newgrf available all houses became tall office blocks 2010-03-16 16:04:35 +00:00
peter1138 604da97364 (svn r19434) -Add: Add rail speed limit to land area information window. 2010-03-16 06:43:41 +00:00
peter1138 0dd8110484 (svn r19433) -Codechange: Limit rail clearance earnings to 3/4s of rail build cost, to avoid money making loophole when rail build cost is less than rail removal earnings. 2010-03-16 06:30:31 +00:00
yexo 43be04eb27 (svn r19432) -Fix [FS#3696] (r19357): crash when the error message 'owned by <town>' was shown 2010-03-16 06:25:35 +00:00
peter1138 ef8deb2edd (svn r19431) -Codechange: Append rail type speed limit (if set) to rail type selection list, and toolbar title. 2010-03-16 06:18:52 +00:00
yexo e3591f8a1d (svn r19429) -Fix: when the title game contains an AIPL block the AI settinsg where overwritten by those from the title game 2010-03-15 22:42:43 +00:00
translators 30189ff459 (svn r19428) -Update from WebTranslator v3.0:
arabic_egypt - 11 changes by kasakg
traditional_chinese - 2 changes by josesun
croatian - 14 changes by UnderwaterHesus, VoyagerOne
dutch - 1 changes by habell
greek - 5 changes by fumantsu
hebrew - 1 changes by dnd_man
norwegian_bokmal - 1 changes by CyberKenny
slovenian - 1 changes by ntadej
2010-03-15 18:45:27 +00:00
rubidium 4ba69b572d (svn r19427) -Codechange: gracefully handle the case where we can't open a .tar file. 2010-03-15 17:44:54 +00:00
rubidium ede670918a (svn r19426) -Fix: compilation with AIs disabled 2010-03-15 11:45:15 +00:00
michi_cc 8c477604eb (svn r19425) -Fix: [YAPP] A train on a bridge/tunnel was not always found when checking for trains on a reserved path. 2010-03-14 20:57:23 +00:00
frosch e5cded6e36 (svn r19424) -Codechange: Call command procs only via DoCommand(). 2010-03-14 20:53:31 +00:00
alberth db1c6b7a81 (svn r19423) -Codechange: Move error message reporting of industry build in SE to a callback. 2010-03-14 19:59:45 +00:00
translators 6ef68f5d42 (svn r19422) -Update from WebTranslator v3.0:
bulgarian - 61 changes by yxomo
catalan - 2 changes by arnau
esperanto - 1 changes by kristjan
estonian - 9 changes by irve
greek - 37 changes by fumantsu
italian - 1 changes by lorenzodv
polish - 1 changes by silver_777
portuguese - 1 changes by JayCity
russian - 6 changes by LazyBoy, Lone_Wolf
turkish - 1 changes by niw3
2010-03-14 18:45:33 +00:00
alberth 6eb0816c70 (svn r19421) -Codechange: Remove explicit use of _error_message from CmdConvertRail(). 2010-03-14 16:42:55 +00:00
alberth 05e549ccdc (svn r19420) -Codechange: Don't use _error_message to keep track of success/failure, use a had_success boolean. 2010-03-14 15:42:26 +00:00
alberth 28b0a3e335 (svn r19419) -Codechange: Use failed CommandCost object to retrieve message instead of _error_message. 2010-03-14 14:36:37 +00:00
alberth 6601ecc87a (svn r19418) -Codechange: Code style fix for ValParamTrackOrientation(). 2010-03-14 14:30:51 +00:00
alberth 7d9a970c5c (svn r19417) -Codechange: More code style, move variable declarations to their first use. 2010-03-14 14:01:53 +00:00
alberth 5bac5a5be6 (svn r19416) -Codechange: Code style, move variable declarations to their first use. 2010-03-14 13:49:23 +00:00
alberth 3b367ab708 (svn r19415) -Codechange: Forward CommandCost with an error back to the caller. 2010-03-14 12:58:51 +00:00
alberth 777123c228 (svn r19414) -Doc: Several doxygen additions and corrections. 2010-03-14 12:39:24 +00:00
alberth b8d6e893cb (svn r19413) -Codechange: Merging RailtypeFlag enum (a bit number) with RailTypeFlags enum (had values only). 2010-03-14 12:04:10 +00:00
alberth 5e7c4398ae (svn r19412) -Codechange (r9942): One pair of parentheses is enough. 2010-03-13 20:03:58 +00:00
translators 1b04eeb6f0 (svn r19410) -Update from WebTranslator v3.0:
esperanto - 41 changes by Ailanto
estonian - 4 changes by irve
finnish - 1 changes by jpx_
french - 1 changes by glx
german - 2 changes by planetmaker
greek - 4 changes by fumantsu
hungarian - 1 changes by alyr
korean - 1 changes by junho2813
brazilian_portuguese - 6 changes by leandromoh
russian - 1 changes by Lone_Wolf
serbian - 3 changes by etran
spanish - 1 changes by Terkhen
2010-03-13 18:45:41 +00:00
rubidium 101f96a367 (svn r19409) -Codechange: remove some spaces from translations that were already removed from English (a long while ago) 2010-03-13 18:21:41 +00:00
rubidium 393f1a154c (svn r19408) -Change: make the space after ... consistent in the translations too 2010-03-13 18:13:35 +00:00
rubidium 73da171821 (svn r19407) -Fix: incorrect number of dots in '...' in translations 2010-03-13 18:06:10 +00:00
rubidium 9cc70924dd (svn r19406) -Fix: unneeded space in English string 2010-03-13 17:58:04 +00:00
alberth 7cc68f493d (svn r19405) -Codechange: CheckOwnership() returns a CommandCost. 2010-03-13 17:11:28 +00:00
alberth 19afc9fdc0 (svn r19404) -Codechange: CheckAllowRemoveTunnelBridge() returns a CommandCost. 2010-03-13 16:38:23 +00:00
frosch ce751804e9 (svn r19403) -Fix (r19398): Test inverted. 2010-03-13 15:55:04 +00:00
alberth 7e1a91db21 (svn r19402) -Codechange: CheckAllowRemoveRoad() returns a CommandCost. 2010-03-13 15:53:44 +00:00
alberth 9e27194651 (svn r19401) -Codechange: Use curly braces with multi-line if statements. 2010-03-13 15:42:36 +00:00
alberth 6b6ff9c52b (svn r19400) -Codechange: CheckforTownRating returns a CommandCost. 2010-03-13 15:33:07 +00:00
alberth 7134201524 (svn r19399) -Doc: Doxyment enum TownRatingCheckType. 2010-03-13 15:13:19 +00:00
rubidium 86f14f8e72 (svn r19398) -Codechange: move the desync cache checking code to its own function. Also make the drive through and cargo list checks only run when 'desync' debugging is enabled. 2010-03-13 14:58:37 +00:00
terkhen bf2c06bedb (svn r19397) -Add: Enter the starting year at the scenario editor by clicking at the date panel. 2010-03-13 10:18:57 +00:00
yexo fa1d9816ea (svn r19396) -Fix [FS#3690] (r19351): trying to remove a too large rail station rect caused crashes 2010-03-13 01:12:07 +00:00
Yexo dfa528d058 (svn r19395) -Fix [FS#3669]: the AI Debug window didn't open if an AI or library fails to compile when loading a savegame 2010-03-13 00:15:24 +00:00
terkhen 4eb6e3f060 (svn r19392) -Codechange: Increase the maximum size of a TileArea. 2010-03-12 19:38:00 +00:00
rubidium 0903463824 (svn r19391) -Fix (r19255): shuffling around GRFIdentifier in GRFConfig caused gamelog to log the wrong data which could cause crashes later on when that data is queried 2010-03-12 19:18:26 +00:00
translators c7821df971 (svn r19390) -Update from WebTranslator v3.0:
bulgarian - 53 changes by yxomo
portuguese - 1 changes by JayCity
spanish - 1 changes by Terkhen
2010-03-12 18:45:13 +00:00
yexo f206958010 (svn r19389) -Fix [FS3676]: only show the "No AIs available" error message when explicitly changing the number of AI opponents 2010-03-12 01:37:41 +00:00
rubidium e3fb793a8a (svn r19388) -Fix [FS#3666]: [NoAI] When reloading a savegame, an AI failing to compile could trigger (trying) to read the not yet loaded information of another AI via the AI Debug window and its "open with the most recently used AI" feature 2010-03-11 21:55:37 +00:00
terkhen 8b041e8027 (svn r19387) -Fix [FS#3671]: Close all orders windows when switching companies. 2010-03-11 20:57:18 +00:00
translators ba61251b16 (svn r19386) -Update from WebTranslator v3.0:
japanese - 1 changes by imkira
slovak - 10 changes by keso53
2010-03-11 18:45:09 +00:00
rubidium 6b35de215c (svn r19385) -Fix [FS#3684]: [IPv6] Netmask calculations were wrong if cidr >= 32. 2010-03-11 17:57:14 +00:00
frosch f7eb527a37 (svn r19384) -Fix: Overbuilding plain rail with stations did not update PBS reservation. 2010-03-10 20:45:23 +00:00
frosch c0a9215bad (svn r19383) -Fix [FS#3680]: Overbuilding bridges cleared PBS reservation. 2010-03-10 20:44:04 +00:00
yexo 22081cbd19 (svn r19382) -Fix (r19381): don't break savegame version 139 2010-03-10 18:59:40 +00:00
yexo 1a28aaf69e (svn r19381) -Fix [FS#3670] (r19198): airport size wasn't properly stored in the savegame 2010-03-10 18:51:56 +00:00
yexo 0cf90dbeb0 (svn r19380) -Fix [FS#3678] (r19322): updating the id of the oilrig airport should be done earlier as it can be used by newgrf code 2010-03-10 18:46:26 +00:00
translators 5a9ffbb1b8 (svn r19379) -Update from WebTranslator v3.0:
croatian - 1 changes by UnderwaterHesus
english_US - 19 changes by Rubidium, agenthh
greek - 5 changes by fumantsu
japanese - 9 changes by imkira
romanian - 5 changes by kkmic
russian - 4 changes by Lone_Wolf
turkish - 5 changes by niw3
2010-03-10 18:45:24 +00:00
peter1138 f4103a40b5 (svn r19378) -Codechange: Rename ReadExtended() to ReadExtendedByte() 2010-03-10 07:31:08 +00:00
translators 92ff8c8a75 (svn r19377) -Update from WebTranslator v3.0:
afrikaans - 6 changes by burgerd
dutch - 5 changes by habell
greek - 1 changes by fumantsu
japanese - 42 changes by imkira
lithuanian - 4 changes by BlinK_
2010-03-09 18:45:18 +00:00
translators fc6229eb04 (svn r19375) -Update from WebTranslator v3.0:
traditional_chinese - 5 changes by josesun
hebrew - 5 changes by dnd_man
indonesian - 5 changes by prof
korean - 5 changes by junho2813
lithuanian - 1 changes by BlinK_
luxembourgish - 5 changes by Phreeze
norwegian_bokmal - 6 changes by mantaray
norwegian_nynorsk - 6 changes by mantaray
polish - 4 changes by silver_777
russian - 8 changes by Lone_Wolf
slovak - 109 changes by keso53
ukrainian - 31 changes by Madvin
2010-03-08 18:45:39 +00:00
peter1138 3c40fe42d4 (svn r19374) -Change: Update documentation for console command connect to use ip:port#company parameter format, in line with command line help. 2010-03-08 11:51:23 +00:00
terkhen e6de669bf2 (svn r19373) -Fix (r19372): Missing variable declaration. 2010-03-07 22:31:18 +00:00
alberth 40f106ba7c (svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost. 2010-03-07 20:44:05 +00:00
translators 8f335d4cbd (svn r19371) -Update from WebTranslator v3.0:
catalan - 5 changes by arnau
finnish - 1 changes by jpx_
german - 4 changes by planetmaker
hungarian - 14 changes by alyr
italian - 6 changes by lorenzodv
portuguese - 6 changes by JayCity
russian - 9 changes by Lone_Wolf
serbian - 5 changes by etran
2010-03-07 18:45:27 +00:00
alberth aac4a21abe (svn r19370) -Codechange: EnsureNoTrainOnTrack() returns a CommandCost. 2010-03-07 18:29:53 +00:00
alberth 55f8d5d802 (svn r19369) -Codechange: EnsureNoTrainOnTrackBits() returns a CommandCost now. 2010-03-07 18:24:41 +00:00
frosch f0de6366ba (svn r19368) -Codechange: Return early in AIAbstractList::SetValue(), if the value is not modified. 2010-03-07 17:38:40 +00:00
frosch 5734683a39 (svn r19367) -Fix [FS#3665]: List valuator could cause invalid iterators. 2010-03-07 17:24:07 +00:00
alberth 6eac50bc16 (svn r19366) -Codechange: Move setting of _error_message from the callback check routine to the caller. 2010-03-07 16:10:40 +00:00
alberth 29b79e03e8 (svn r19365) -Codechange: Move EnsureNoTrainOnTrackProc() to src/vehicle.cpp. 2010-03-07 15:54:58 +00:00
peter1138 58012c6e6b (svn r19364) -Fix [FS#3668]: Implement custom sound effect for helicopter take-off. 2010-03-07 15:10:39 +00:00
alberth 5881a80b6d (svn r19363) -Codechange: Remove use of _error_message global from TerraformTile_Track. 2010-03-07 14:00:53 +00:00
alberth 384e870be2 (svn r19362) -Fix [FS#3667] (r19270): Failure to prospect an industry should not cause a crash. 2010-03-07 12:20:17 +00:00
yexo 8d033e964e (svn r19361) -Fix [FS#3664](r19353): crash when an airport was deleted 2010-03-06 23:54:54 +00:00
terkhen d7f7c8949f (svn r19360) -Add: [NewGRF] When the tractive effort of a road vehicle is not set, use a default value of 4C. 2010-03-06 19:48:17 +00:00
translators 3e23b72e30 (svn r19359) -Update from WebTranslator v3.0:
croatian - 5 changes by VoyagerOne
esperanto - 4 changes by Ailanto
finnish - 6 changes by jpx_
french - 5 changes by glx
german - 1 changes by planetmaker
greek - 6 changes by fumantsu
hungarian - 5 changes by Petert, alyr
slovak - 5 changes by keso53
slovenian - 5 changes by ntadej
spanish - 5 changes by Terkhen
2010-03-06 18:45:34 +00:00
frosch ef477b7dd7 (svn r19358) -Fix [FS#3663]: Close error messages about missing ownership when the company closes or is taken over. (parts by Alberth). 2010-03-06 16:26:09 +00:00
frosch bcb01903cd (svn r19357) -Codechange: Add 'face' member to ErrmsgWindow to simplify stuff. 2010-03-06 16:23:32 +00:00
frosch dc79bf4c01 (svn r19356) -Fix: Whitespace. 2010-03-06 16:15:50 +00:00
yexo ef52e21c75 (svn r19355) -Codechange: add the airport layout to build as parameter to CmdBuildAirport 2010-03-06 16:07:45 +00:00
yexo f7691a95d7 (svn r19354) -Codechange: store the number of layouts in AirportSpec 2010-03-06 16:02:07 +00:00
yexo 20e05f878c (svn r19353) -Codechange: use static objects for the airport statemachines instead of new/delete at the start/end of the game
-Codechange: store the fta in AirportSpec
2010-03-06 15:38:13 +00:00
yexo 0baa5ff944 (svn r19352) -Fix (r19332): MSVC doesn't have M_PI in math.h 2010-03-06 15:30:40 +00:00
yexo bf6167710f (svn r19351) -Codechange: use TileArea for AfterRemoveRect 2010-03-06 13:38:46 +00:00
alberth 6a3dbaf99a (svn r19350) -Codechange: StationRect::BeforeAddRect() returns a CommandCost. 2010-03-06 13:23:33 +00:00
terkhen ef5764f98a (svn r19349) -Add: [NoAI] AIs can get the power, weight and tractive effort of a road vehicle. 2010-03-06 13:04:25 +00:00
terkhen 3ed1442e05 (svn r19348) -Add: Allow to sort road vehicles by power and by power vs running cost at the engine preview window. 2010-03-06 13:03:17 +00:00
terkhen be3b839ded (svn r19347) -Add: Vehicle GUI now shows power, weight and tractive effort for road vehicles. 2010-03-06 12:59:28 +00:00
terkhen b443a3ee0a (svn r19346) -Feature: Configurable slope steepness for road vehicles from 0% to 10%, default is 7%. 2010-03-06 12:58:33 +00:00
terkhen c958c2c31f (svn r19345) -Feature: Realistic acceleration for road vehicles. 2010-03-06 12:56:57 +00:00
terkhen e770b3d6bb (svn r19344) -Codechange: RoadVehicle uses UpdateInclination instead of its own function. 2010-03-06 12:55:56 +00:00
terkhen 06a3faa651 (svn r19343) -Codechange: Make RoadVehicle a child class of GroundVehicle.
-Add: Required acceleration functions at RoadVehicle.
2010-03-06 12:54:42 +00:00
terkhen a5f9a7c1a5 (svn r19342) -Codechange: Move inclination update functions to GroundVehicle. 2010-03-06 12:52:44 +00:00
terkhen 4e6cac84d6 (svn r19341) -Codechange: Move GOINGUP/GOINGDOWN flags to GroundVehicle.
-Codechange: Move GetSlopeResistance to GroundVehicle.
2010-03-06 12:50:55 +00:00
terkhen 1c3b7c35a7 (svn r19340) -Documentation: Add a list of required functions to GroundVehicle. 2010-03-06 12:45:47 +00:00
terkhen 07c373d60a (svn r19339) -Codechange: Move acceleration functions to GroundVehicle. 2010-03-06 12:44:30 +00:00
terkhen e4a5a556b4 (svn r19338) -Codechange: Move the acceleration cache to GroundVehicle. 2010-03-06 12:42:53 +00:00
terkhen f428102092 (svn r19337) -Codechange: Create the GroundVehicle class. 2010-03-06 12:41:18 +00:00
terkhen b5714c3597 (svn r19336) -Codechange: Move rail speed limit to its own function. 2010-03-06 12:27:23 +00:00
alberth d4b748e27e (svn r19335) -Codechange: StationRect::BeforeAddTile() returns a CommandCost. 2010-03-06 12:15:03 +00:00
alberth 993c9e6f62 (svn r19334) -Codechange: method-call codestyle fixes, and introduction of const reference formal parameter. 2010-03-06 11:54:59 +00:00
alberth c7a5695d9d (svn r19333) -Fix (r19328): int versus uint comparison warning fixed. 2010-03-06 11:08:39 +00:00
peter1138 77fe7e0a74 (svn r19332) -Codechange: Simplify sound panning by using float data, and switch to sinusoidal algorithm to maintain output level. 2010-03-06 11:08:31 +00:00
yexo 1eb52326cf (svn r19331) -Fix: when deleting an airport the size from the AirportSpec was used instead of the stored airport size
-Fix (r19319): detecting if a plane was landed at an airport failed
-Fix: reset the airporttile mapping when restarting a game
2010-03-06 01:58:55 +00:00
yexo 46d5ef925b (svn r19330) -Cleanup: remove the now unused 'oilrig' from AirportSpec 2010-03-06 00:38:21 +00:00
yexo d69a43af4a (svn r19329) -Codechange: language updates for the previous commits 2010-03-05 23:22:31 +00:00
yexo b8d7680e66 (svn r19328) -Feature: a more extendable gui for building airports 2010-03-05 23:21:56 +00:00
yexo 585b036c90 (svn r19327) -Codechange: make the oilrig a part of the original airports array so some special cases can be removed 2010-03-05 23:21:51 +00:00
yexo c42e2a9bfc (svn r19326) -Codechange: store the airport name as property in AirportSpec 2010-03-05 23:21:41 +00:00
yexo a71462bb94 (svn r19325) -Codechange: introduce airport classes and split the default airports in 4 classes 2010-03-05 23:21:35 +00:00
yexo d03d990f33 (svn r19324) -Codechange: introduce AirportSpec::GetWithoutOverride to get a non-const pointer to a given airportspec 2010-03-05 23:21:30 +00:00
yexo 664934e6f6 (svn r19323) -Codechange: copy the AirportSpec original array to an internal array in AirportSpec 2010-03-05 23:21:23 +00:00
yexo 308781664b (svn r19322) -Codechange: change the id of the oilrig airport from 15 to 9 2010-03-05 23:20:02 +00:00
rubidium 833169d894 (svn r19321) -Codechange [FS#3630]: unify the rail station widget descriptions (sbr) 2010-03-05 22:48:58 +00:00
alberth 71d28afe67 (svn r19320) -Fix (r19291): Forgot to set error message. 2010-03-05 21:34:12 +00:00
alberth c395b93acd (svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost. 2010-03-05 21:20:22 +00:00
yexo 0bfd06245b (svn r19318) -Fix [FS#3661](r19198): crash when building an airport at a station where a plane was headed 2010-03-05 19:19:29 +00:00
translators c4cf153c52 (svn r19317) -Update from WebTranslator v3.0:
croatian - 15 changes by UnderwaterHesus
estonian - 58 changes by irve
indonesian - 1 changes by fanioz
brazilian_portuguese - 3 changes by Tucalipe
2010-03-05 18:45:15 +00:00
alberth f747b980c6 (svn r19316) -Fix (r19186): Give correct error when failing to flatten land. 2010-03-04 21:35:26 +00:00
yexo 4d5125f0c4 (svn r19315) -Fix (r19295): Show the filename in the newgrf windows if the newgrf name is not empty 2010-03-04 20:07:39 +00:00
translators 4ddcd2ebc2 (svn r19314) -Update from WebTranslator v3.0:
simplified_chinese - 7 changes by Gavin
frisian - 43 changes by Fopper
greek - 13 changes by fumantsu
hungarian - 1 changes by Petert
korean - 45 changes by dlunch
luxembourgish - 5 changes by Phreeze
russian - 19 changes by LazyBoy
serbian - 27 changes by etran
2010-03-04 18:45:29 +00:00
rubidium 1e6c2576cc (svn r19308) -Change [FS#3655]: Increase the default small font size for freetype fonts as 6 point fonts are usually unreadable 2010-03-03 20:16:55 +00:00
peter1138 1025d003b3 (svn r19307) -Add: Let railtypes specify their own smallmap colour. No legend support yet. 2010-03-03 19:07:34 +00:00
peter1138 c3d3e7d383 (svn r19306) -Change: Railtype cost factor from byte to word value 2010-03-03 18:58:32 +00:00
translators 4963296f03 (svn r19305) -Update from WebTranslator v3.0:
afrikaans - 3 changes by burgerd
malay - 1 changes by Kwokfu
russian - 1 changes by Lone_Wolf
serbian - 27 changes by etran
thai - 7 changes by decoze
2010-03-03 18:45:16 +00:00
glx 4167a5b647 (svn r19304) -Fix [FS#3652]: disable sound when a sound error happen instead crashing 2010-03-02 23:11:23 +00:00
frosch 4559dfe7e7 (svn r19303) -Codechange: Silence a gcc warning. 2010-03-02 20:31:05 +00:00
translators 0ed2e41f45 (svn r19302) -Update from WebTranslator v3.0:
german - 1 changes by planetmaker
italian - 41 changes by lorenzodv
korean - 1 changes by junho2813
malay - 19 changes by Kwokfu
serbian - 18 changes by etran
swedish - 24 changes by accatyyc
2010-03-02 18:45:21 +00:00
michi_cc e4824c4293 (svn r19301) -Feature: [YAPF] Consider the railtype imposed speed limit for pathfinding. 2010-03-02 03:31:02 +00:00
yexo 3cda09170c (svn r19299) -Codechange: store the most compatible ttd airport type in AirportSpec
-Fix: [NewGRF] return the ttd airport type in station var 0xF1
2010-03-01 20:17:21 +00:00
yexo fe5bb036a0 (svn r19298) -Fix: [NewGRF] segfault when station vars 0xF2/0xF3 is accessed when there is no truck/bus stop 2010-03-01 19:53:28 +00:00
frosch 5152cb1a26 (svn r19297) -Codechange: Variable scope and documentation of DoCreateNewIndustry(). 2010-03-01 19:34:04 +00:00
translators 9f6f03fce3 (svn r19296) -Update from WebTranslator v3.0:
afrikaans - 12 changes by Kayos
traditional_chinese - 1 changes by josesun
dutch - 1 changes by habell
esperanto - 22 changes by Ailanto, kristjan
greek - 1 changes by fumantsu
italian - 2 changes by lorenzodv
russian - 4 changes by LazyBoy, Lone_Wolf
serbian - 73 changes by etran
turkish - 3 changes by niw3
vietnamese - 21 changes by myquartz
2010-03-01 18:45:35 +00:00
yexo 404df87b1f (svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info 2010-02-28 20:28:08 +00:00
frosch 333249ce50 (svn r19294) -Change: [NoAI] Remove HasNext() from all lists/iterators and add IsEnd() instead. 2010-02-28 20:25:03 +00:00
frosch ac1a08ef4a (svn r19293) -Fix [FS#3566]: Some methods of AIAbstractList left invalid iterators. 2010-02-28 19:53:11 +00:00
translators b3f2f3e278 (svn r19292) -Update from WebTranslator v3.0:
afrikaans - 1 changes by Kayos
croatian - 1 changes by VoyagerOne
danish - 1 changes by silentStatic
esperanto - 46 changes by Ailanto, kristjan
french - 1 changes by glx
hebrew - 1 changes by dnd_man
hungarian - 8 changes by Petert
italian - 1 changes by lorenzodv
lithuanian - 1 changes by BlinK_
norwegian_bokmal - 18 changes by mantaray
norwegian_nynorsk - 54 changes by mantaray
polish - 64 changes by silver_777
portuguese - 2 changes by JayCity
romanian - 1 changes by tonny
serbian - 3 changes by etran
slovak - 1 changes by keso53
spanish - 1 changes by Terkhen
vietnamese - 1 changes by nglekhoi
2010-02-28 18:45:56 +00:00
alberth 63dd6ce6b0 (svn r19291) -Codechange: Rename HasVehicleOnTunnelBridge() to TunnelBridgeIsFree() and return a CommandCost status. 2010-02-28 18:15:19 +00:00
alberth 993d82b879 (svn r19289) -Codechange: Move _error_message assignment from check routine to caller. 2010-02-28 10:47:46 +00:00
alberth 8408b42dee (svn r19288) -Codechange: Move EnsureNoVehicleOnGround() and HasVehicleOnTunnelBridge() functions. 2010-02-28 10:44:53 +00:00
alberth f73898a4ef (svn r19287) -Fix [FS#3650] (r19263): Don't store a boolean in a CommandCost. 2010-02-28 09:44:35 +00:00
michi_cc eae120361d (svn r19286) -Fix (r18648): [YAPP] If reversing at path signals was disabled, a train would not reverse when hitting the back of an one-way signal. 2010-02-28 08:18:20 +00:00
frosch 3926b62446 (svn r19283) -Fix (r19256): GRFConfig is not zeroed for non-dynamic construction. GRFIdentifier is sufficient though. 2010-02-27 20:26:42 +00:00
alberth d7698bb6db (svn r19282) -Doc: Add some doxygen doc markup. 2010-02-27 19:53:37 +00:00
rubidium 981ad67020 (svn r19281) -Fix (r19280): typo in Hungarian caused compile failure of the language 2010-02-27 18:57:01 +00:00
translators bf9806c594 (svn r19280) -Update from WebTranslator v3.0:
catalan - 10 changes by arnau
esperanto - 89 changes by Ailanto, kristjan
finnish - 1 changes by jpx_
greek - 17 changes by vesnikos
hebrew - 1 changes by dnd_man
hungarian - 507 changes by IPG
russian - 1 changes by Lone_Wolf
slovenian - 1 changes by ntadej
turkish - 1 changes by niw3
ukrainian - 6 changes by Madvin
2010-02-27 18:45:34 +00:00
alberth 566f87b2de (svn r19279) -Codechange: CheckIfAuthorityAllowsNewStation() returns CommandCost. 2010-02-27 17:42:55 +00:00
rubidium e338c26504 (svn r19277) -Fix [FS#3646]: [NewGRF] Ensure prices can't be set to zero. Zero prices break a lot of the internal logic to determine whether something has been done. 2010-02-27 16:27:28 +00:00
terkhen d9b2bf78c5 (svn r19276) -Fix [FS#3649](r19229): Newly built road stops were not always repainted. 2010-02-27 16:27:15 +00:00
alberth b8f811c7ff (svn r19275) -Codechange: CanExpandRailStation() returns a CommandCost. 2010-02-27 14:17:33 +00:00
alberth fee81aedcb (svn r19274) -Codechange: CmdBuildAirport() returns the 'too spread out' error via CommandCost, if needed. 2010-02-27 14:03:06 +00:00
alberth a4927dcd21 (svn r19273) -Codechange: Return station joining error message when error is detected. 2010-02-27 13:51:11 +00:00
alberth 2ac558494c (svn r19272) -Doc: successfull -> successful. 2010-02-27 12:29:44 +00:00