1
0
Fork 0
Commit Graph

9598 Commits (cded122da519b72a00c0432a7129a5a9f8ee97e7)

Author SHA1 Message Date
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
alberth 13f1836149 (svn r19271) -Fix (r19270): Secondary error messages start with ... . 2010-02-27 12:21:34 +00:00
alberth 011ff40030 (svn r19270) -Codechange: Forward CommandCost results through CreateNewIndustryHelper(). 2010-02-27 12:12:01 +00:00
alberth b33264f30f (svn r19269) -Codechange: PerformIndustryTileSlopeCheck() returns a succeeded or failed command. 2010-02-27 10:21:59 +00:00
translators 1c66ce9ea3 (svn r19268) -Update from WebTranslator v3.0:
traditional_chinese - 4 changes by elleryq
esperanto - 272 changes by Ailanto, kristjan
finnish - 1 changes by jpx_
german - 1 changes by planetmaker
indonesian - 11 changes by fanioz
italian - 1 changes by lorenzodv
polish - 11 changes by amateja
romanian - 15 changes by kkmic, kneekoo
serbian - 21 changes by etran
slovak - 2 changes by keso53
spanish - 1 changes by Terkhen
2010-02-26 18:51:01 +00:00
rubidium 45f34a4203 (svn r19265) -Fix [FS#3618]: "Can't build <industry> here... <industry> in the way" showed the to-be-built industry twice, instead of the to-be-built industry and the industry that's in the way 2010-02-26 10:08:16 +00:00
rubidium eb220617d5 (svn r19264) -Fix (r19179): strgen segfaults when trying to lookup the command for a non-existing command 2010-02-26 10:03:33 +00:00
rubidium 425ac1ec1f (svn r19263) -Fix (r19184): some specific industry creation errors got replaced by 'site unsuitable'. 2010-02-26 09:55:53 +00:00
rubidium 0f6d82df7e (svn r19262) -Feature: finalise BaNaNaS support for music sets 2010-02-26 00:00:55 +00:00
smatz 7b1e0a4b67 (svn r19260) -Codechange: another minor coding style fix 2010-02-25 22:59:24 +00:00
terkhen 17288d6c80 (svn r19259) -Fix (r19230): Road stops were not removed in case of bankruptcy. 2010-02-25 21:43:28 +00:00
smatz ebab6120e6 (svn r19257) -Codechange: minor coding style fix 2010-02-25 21:13:50 +00:00
yexo 7ff55502f0 (svn r19256) -Codechange: use a constructor/destructor for GRFConfig to make sure all members are properly initialized 2010-02-25 20:06:11 +00:00
yexo a9c8dbc0a0 (svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it 2010-02-25 20:05:31 +00:00
yexo 4377b5fd44 (svn r19254) -Codechange: simplify newgrf text code by introducing a few helper functions 2010-02-25 20:00:11 +00:00
translators e2aed3664d (svn r19253) -Update from WebTranslator v3.0:
afrikaans - 1 changes by Kayos
traditional_chinese - 5 changes by Kwokfu
croatian - 8 changes by VoyagerOne
czech - 2 changes by SmatZ
danish - 21 changes by beruic, silentStatic
dutch - 1 changes by habell
esperanto - 13 changes by kristjan
french - 1 changes by glx
hungarian - 1 changes by IPG
korean - 1 changes by junho2813
lithuanian - 1 changes by Devastator
norwegian_bokmal - 17 changes by mantaray
norwegian_nynorsk - 135 changes by mantaray
portuguese - 8 changes by SupSuper
brazilian_portuguese - 24 changes by Tucalipe, leandromoh
russian - 2 changes by Lone_Wolf
slovenian - 1 changes by ntadej
swedish - 19 changes by daishan
turkish - 4 changes by niw3
vietnamese - 5 changes by myquartz
2010-02-25 18:46:00 +00:00
rubidium 88f9ab5b9c (svn r19252) -Fix [FS#3639]: writing (console) output to a file failed on Windows if the date would not be logged. 2010-02-25 18:26:55 +00:00
yexo 2c1b7410f3 (svn r19251) -Codechange: add a contructor to GRFError and use it to allocating errors more uniform.
-Fix: some grf error messages didn't free the previous error messages, creating a memory leak
2010-02-25 15:54:40 +00:00
rubidium 14d28c5e69 (svn r19250) -Fix [FS#3643]: with RTL languages clicking a horizontal scrollbar that could not scroll could cause a crash 2010-02-25 14:53:22 +00:00
smatz 1ad5e1cece (svn r19249) -Fix [FS#3642](r18803): start and end tiles were swapped in CMD_REMOVE_LONG_ROAD 2010-02-25 14:09:58 +00:00
rubidium 77214378ca (svn r19248) -Fix: DOS 'port' did not compile anymore 2010-02-25 13:06:00 +00:00
yexo 1a89a5fc92 (svn r19247) -Codechange: Rename methods to fit better to common style (skidd13) 2010-02-25 11:52:04 +00:00
yexo 433e1d884c (svn r19246) -Doc: CBinaryHeapT (skidd13) 2010-02-25 11:51:38 +00:00
yexo 0973a9e624 (svn r19245) -Codechange: apply coding style to binary heap (skidd13) 2010-02-25 11:50:58 +00:00
yexo 87ff9ebd7b (svn r19244) -Codechange: Remove function call if consistency-check is not used (skidd13) 2010-02-25 11:50:30 +00:00
yexo 09335c74a2 (svn r19243) -Codechange: rename var's to fit better to common style (skidd13) 2010-02-25 11:49:17 +00:00
yexo dd03cd54ee (svn r19242) -Codechange: Perfer pointer instead of reference (skidd13)
-Cleanup: merge PopHead() and RemoveHead() into Shift()
2010-02-25 11:48:50 +00:00
yexo 7537fb18bc (svn r19241) -Cleanup: Move the HeapifyUp code into its own method (skidd13) 2010-02-25 11:48:09 +00:00
yexo eeb8189745 (svn r19240) -Codechange: Unify HeapifyUp code (skidd13) 2010-02-25 11:47:44 +00:00
yexo b4c51f2ccd (svn r19239) -Cleanup: Move the HeapifyDown code into its own method (skidd13) 2010-02-25 11:47:18 +00:00
yexo 7e403a761d (svn r19238) -Codechange: Unify the HeapifyDown code (skidd13) 2010-02-25 11:46:41 +00:00
yexo 48ee211c1e (svn r19237) -Codechange: use types directly and prefer uint instead of int (skidd13) 2010-02-25 11:46:20 +00:00
yexo cc413b8f6e (svn r19236) -Codechange: move method code into class definition (skidd13) 2010-02-25 11:45:47 +00:00
peter1138 f9709a6f50 (svn r19235) -Add: [NewGRF] Add 2 bits of pseudo-random data for rail types, based on tile location. 2010-02-25 09:43:00 +00:00
rubidium 4cde66a547 (svn r19233) -Fix: the -M command line option did not work 2010-02-24 22:41:51 +00:00
terkhen ba82d7d9a5 (svn r19232) -Fix (r19231): Forbid overbuilding drive-through stops using a different orientation. 2010-02-24 22:40:43 +00:00
terkhen a4a66ec1aa (svn r19231) -Feature: Allow overbuilding of road stops. 2010-02-24 21:55:03 +00:00
terkhen aba24e44cf (svn r19230) -Feature: Allow to remove multiple road stops using drag and drop. 2010-02-24 21:53:16 +00:00
terkhen 70b1bc5048 (svn r19229) -Feature: Allow to build multiple road stops using drag and drop (Based on Wolf01 work) 2010-02-24 21:51:59 +00:00
terkhen f7f08c586f (svn r19228) -Codechange: Move an additional check from CmdBuildRoadStop to CheckFlatLandRoadStop. 2010-02-24 21:47:06 +00:00
terkhen 524a10b375 (svn r19227) -Codechange: Reorganization of parameters at CmdBuildRoadStop. 2010-02-24 21:45:23 +00:00
translators 44e5cb41e7 (svn r19226) -Update from WebTranslator v3.0:
afrikaans - 31 changes by Kayos
catalan - 9 changes by arnau
dutch - 7 changes by habell
esperanto - 112 changes by Ailanto
german - 1 changes by planetmaker
italian - 6 changes by lorenzodv
korean - 2 changes by junho2813
portuguese - 2 changes by JayCity
russian - 1 changes by Lone_Wolf
serbian - 3 changes by etran
slovak - 67 changes by keso53
2010-02-24 18:45:34 +00:00
smatz e26f96fee6 (svn r19225) -Feature: show warnings and errors in console as well, not only in a message box 2010-02-24 14:50:04 +00:00
smatz f051066bc4 (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 2010-02-24 14:46:15 +00:00
translators c1e2bc90cd (svn r19221) -Update from WebTranslator v3.0:
afrikaans - 44 changes by Kayos
croatian - 4 changes by VoyagerOne
finnish - 7 changes by jpx_
french - 6 changes by glx
frisian - 35 changes by Fopper
galician - 45 changes by Condex
german - 1 changes by planetmaker
hebrew - 12 changes by dnd_man
hungarian - 8 changes by IPG, alyr
italian - 5 changes by lorenzodv
lithuanian - 8 changes by BlinK_
norwegian_bokmal - 13 changes by mantaray
norwegian_nynorsk - 29 changes by mantaray
brazilian_portuguese - 2 changes by leandromoh
romanian - 3 changes by kkmic
russian - 6 changes by Lone_Wolf
slovenian - 14 changes by ntadej
spanish - 8 changes by Terkhen
vietnamese - 2 changes by myquartz
2010-02-23 18:45:58 +00:00
rubidium fa6ef9d45d (svn r19219) -Fix: having OpenMSX's files in a subdirectory did not work as it should. 2010-02-23 15:51:26 +00:00
frosch 63b01f2009 (svn r19218) -Feature: [NewGRF] Add CB36 support for aircraft properties 0F and 11. (Eddi) 2010-02-22 21:46:20 +00:00
frosch fee0743ba9 (svn r19217) -Codechange: Unify punctuation marks. 2010-02-22 20:55:13 +00:00
frosch e0171330c1 (svn r19216) -Feature: Scroll to current order destination when ctrl+clicking the start/stop bar. 2010-02-22 20:53:45 +00:00
frosch 3222ace3e1 (svn r19215) -Codechange: Add Order::GetLocation() to deduplicate code. 2010-02-22 20:36:20 +00:00
yexo da0c4868ee (svn r19213) -Change: warn if a fallback sound set is loaded and tell the user where to download a proper sound setd 2010-02-22 20:19:17 +00:00
yexo 3b9da089e5 (svn r19212) -Fix: base graphics set with an empty filename in the obg file caused segfaults 2010-02-22 20:18:59 +00:00
yexo 1810351813 (svn r19211) -Change: allow sound sets without a sample.cat file (blathijs) 2010-02-22 20:18:38 +00:00
frosch 945d2c08e0 (svn r19210) -Fix: GetDestination() is invalid for nearest-depot orders. 2010-02-22 20:08:16 +00:00
translators a90f160511 (svn r19209) -Update from WebTranslator v3.0:
traditional_chinese - 2 changes by josesun
dutch - 6 changes by habell
finnish - 1 changes by jpx_
french - 2 changes by glx
german - 1 changes by planetmaker
hebrew - 5 changes by dnd_man
hungarian - 1 changes by alyr
korean - 1 changes by junho2813
norwegian_bokmal - 69 changes by mantaray
norwegian_nynorsk - 56 changes by mantaray
serbian - 4 changes by etran
slovak - 16 changes by keso53
slovenian - 9 changes by ntadej
spanish - 1 changes by Terkhen
thai - 151 changes by m_vanillaconix, nirakanz
vietnamese - 1 changes by nglekhoi
2010-02-22 18:45:49 +00:00
yexo beec6fa9e2 (svn r19208) -Codechange: fix a gcc warning 2010-02-22 16:32:50 +00:00
smatz b1151645c0 (svn r19207) -Fix (r19127): compilation was broken for gcc 3.3 2010-02-22 16:24:38 +00:00
rubidium 03e5434e63 (svn r19206) -Add: concept of fallback base sets, i.e. do not automatically load the NoMusic/NoSound sets when there is another set 2010-02-22 16:24:23 +00:00
yexo dd7c2b2f9d (svn r19205) -Codechange: move AirportSpec to newgrf_airport.h/cpp 2010-02-22 16:09:26 +00:00
yexo 5ebc0a16c8 (svn r19204) -Fix (r1919x): airport tiles without animation had an incomplete contructor 2010-02-22 16:08:31 +00:00
smatz 077fa11b3e (svn r19203) -Codechange: silence some gcc warnings 2010-02-22 16:02:37 +00:00
yexo cfc1571931 (svn r19201) -Codechange: airport tiles now have 4 random bits per tile. 2010-02-22 14:17:33 +00:00
yexo 06dc421f2a (svn r19199) -Codechange: add a 'name'-property to airport tiles 2010-02-22 14:17:17 +00:00
yexo 698737f485 (svn r19198) -Codechange: store the size of stations in savegames 2010-02-22 14:17:07 +00:00
yexo 7ca4c31cf5 (svn r19197) -Codechange: introduce animation callbacks for airport tiles 2010-02-22 14:16:57 +00:00
yexo 61fe40ba73 (svn r19196) -Codechange: change the airport tile animation info so it works just like for industry tiles 2010-02-22 14:16:50 +00:00
yexo 880fedc192 (svn r19195) -Codechange: actually draw newgrf airport tiles 2010-02-22 14:16:41 +00:00
yexo 80fb5c70c8 (svn r19194) -Feature: action 0/1/2/3 support for newgrf airporttiles 2010-02-22 14:16:19 +00:00
yexo 683ad53d21 (svn r19193) -Codechange: increase the maximum number of airport tiles to 256 and introduce AirportTileOverrideManager 2010-02-22 14:15:48 +00:00
yexo 3530156e15 (svn r19192) -Fix (r19191): forgot to svn add the new file 2010-02-22 14:15:28 +00:00
yexo 40f6e69ae9 (svn r19191) -Codechange: move AirportTileSpec to newgrf_airporttiles.h 2010-02-22 14:09:30 +00:00
alberth 5052777d0b (svn r19190) -Add: Improve error message with track building when signals are in the way. 2010-02-21 20:55:31 +00:00
alberth 2b07389fe6 (svn r19189) -Codechange: CheckTrackCombination() returns a CommandCost. 2010-02-21 20:34:57 +00:00
translators 5488a2c1a8 (svn r19188) -Update from WebTranslator v3.0:
arabic_egypt - 1 changes by kasakg
catalan - 1 changes by arnau
esperanto - 59 changes by Ailanto
hungarian - 8 changes by IPG
luxembourgish - 2 changes by Phreeze
brazilian_portuguese - 1 changes by leandromoh
thai - 138 changes by nirakanz
vietnamese - 10 changes by myquartz
2010-02-21 18:45:26 +00:00
yexo e6e2e8b473 (svn r19187) -Fix [FS#3634]: the vehicle info in the autoreplace gui was drawn even when the window was shaded 2010-02-21 17:52:43 +00:00
alberth 04087c1bf0 (svn r19186) -Codechange: Remove use of _error_message from CmdLevelLand(). 2010-02-21 17:02:28 +00:00
alberth 82a4d532b6 (svn r19185) -Codechange: Return succeeded or failed CommandCost from CheckIfCallBackAllowsCreation(). 2010-02-21 17:01:23 +00:00
alberth c4f67de69c (svn r19184) -Codechange: Return succeeded/failed command from CheckIfIndustryTilesAreFree(). 2010-02-21 15:27:11 +00:00
alberth 676a8bda3e (svn r19183) -Codechange: Return CommandCost from FindTownForIndustry(). 2010-02-21 14:57:27 +00:00
alberth 50bdd29758 (svn r19182) -Codechange: Use CommandCost return value in CheckIfIndustryIsAllowed() and CheckIfFarEnoughFromIndustry(). 2010-02-21 13:32:14 +00:00
rubidium 2a65f9e4d0 (svn r19180) -Add/Fix: (partial) support for genders for cargos, industries, vehicles, stations, ...; partial because you can't set a gender for a custom string. 2010-02-20 23:42:11 +00:00
rubidium 44f2ef179d (svn r19179) -Codechange: make strgen do some checking on whether genders are valid for a command (e.g. we don't have genders for numbers) 2010-02-20 23:02:03 +00:00
rubidium e2adecd927 (svn r19177) -Codechange: introduce INT8_MIN/MAX and UINT8_MAX for MSVC. 2010-02-20 22:58:25 +00:00
yexo 045bee5229 (svn r19176) -Fix [FS#3632] (r17859): when selecting "build many industries" in the scenario editor the "build" button wasn't enabled 2010-02-20 21:21:54 +00:00
frosch 9d3be49bd3 (svn r19174) -Fix: Buoys are no Stations, only BaseStations. 2010-02-20 21:00:19 +00:00
translators 304c9297ed (svn r19173) -Update from WebTranslator v3.0:
traditional_chinese - 1 changes by josesun
esperanto - 170 changes by Ailanto
turkish - 8 changes by niw3
2010-02-20 18:45:12 +00:00
terkhen 2ae5590f63 (svn r19172) -Codechange: Move road checks from CmdBuildRoadStop to CheckFlatLandRoadStop. 2010-02-20 18:28:21 +00:00
terkhen d1cce94525 (svn r19171) -Codechange: Split CheckFlatLandBelow into different functions. 2010-02-20 18:12:56 +00:00
terkhen 6b849b5483 (svn r19170) -Codechange: Make CheckFlatLandBelow use TileArea. 2010-02-20 17:56:05 +00:00
terkhen 8a4f1133d8 (svn r19169) -Codechange: Move buildable tile checks outside of CheckFlatLandBelow. 2010-02-20 17:39:51 +00:00
rubidium 9c6512ef9e (svn r19168) -Fix: under some circumstances timidity (via extmidi) would not shut down properly causing all kinds of trouble (e.g. blocked audio output). Try harder to shut down timidity and first shut down the music so shut down order is the inverse of initialisation order. Based on a patch by Jindřich Makovička. 2010-02-20 17:30:22 +00:00
frosch e905cb57d8 (svn r19167) -Fix [FS#3631](r19120): Industry 0 could be choosen even if not available. 2010-02-20 16:17:45 +00:00
yexo 7c51a82020 (svn r19166) -Change: don't print the absolute path to AI script files in the AI debug window, use the relative path from /ai/ instead 2010-02-20 13:28:56 +00:00
yexo 85856abb7c (svn r19165) -Fix [FS#3629]: vehicle running costs shouldn't be changed in a running game 2010-02-19 23:29:47 +00:00
translators 6d9e112b05 (svn r19164) -Update from WebTranslator v3.0:
arabic_egypt - 2 changes by kasakg
bulgarian - 19 changes by Tvel
catalan - 2 changes by arnau
czech - 4 changes by Hadez
galician - 9 changes by Condex
hungarian - 8 changes by alyr
norwegian_bokmal - 15 changes by mantaray
norwegian_nynorsk - 18 changes by mantaray
slovak - 150 changes by keso53
vietnamese - 5 changes by myquartz
2010-02-19 18:45:32 +00:00
translators a97083097e (svn r19163) -Update from WebTranslator v3.0:
korean - 2 changes by junho2813
norwegian_bokmal - 29 changes by mantaray
norwegian_nynorsk - 37 changes by mantaray
polish - 3 changes by xaxa
portuguese - 2 changes by SupSuper
ukrainian - 14 changes by Madvin
2010-02-18 18:45:22 +00:00
yexo 3a36964734 (svn r19161) -Codechange: make the default size of the open list used for yapf a lot lower to reduce memory usage 2010-02-18 18:04:02 +00:00
yexo 1abc0db336 (svn r19160) -Codechange: Enlarge a CBinaryHeapT if the heap is full instead of dropping the added item
-Fix: CBinaryHeapT::CheckConsistency compared pointers instead of the actual items (skidd13)
2010-02-18 14:23:18 +00:00
rubidium 3c5d19e411 (svn r19158) -Fix (r19149): MSVC 64 bits compile warning 2010-02-18 01:10:04 +00:00
frosch f02d6783e9 (svn r19154) -Fix: Invisible depots draw the track, so also draw the overlays. 2010-02-17 21:19:33 +00:00
frosch 239279e795 (svn r19153) -Fix [FS#pm](r19056): PBS reservation was drawn incorrectly for depots. 2010-02-17 21:07:32 +00:00
translators afd6fe547e (svn r19152) -Update from WebTranslator v3.0:
lithuanian - 2 changes by 
romanian - 2 changes by tonny
2010-02-17 18:45:10 +00:00
rubidium ef90fa7d02 (svn r19151) -Codechange [FS#3625]: Move home directory to a better place in Haiku (jrepan) 2010-02-17 16:45:55 +00:00
rubidium 9f27959fcd (svn r19150) -Fix (r19143): some more locations could use updating 2010-02-17 15:31:46 +00:00
rubidium a6112670d0 (svn r19149) -Codechange: make our vsnprintf implementation for Windows more POSIX compliant (adf88) 2010-02-17 15:07:09 +00:00
rubidium 1b0e78c588 (svn r19148) -Fix [FS#3627]: [v]seprintf should return the number of added characters excluding '\0' on truncation (adf88) 2010-02-17 13:55:08 +00:00
translators fa6942a4fa (svn r19147) -Update from WebTranslator v3.0:
all - update layout to latest english.txt
hebrew - 2 changes by dnd_man
indonesian - 1 changes by prof
lithuanian - 2 changes by 
norwegian_bokmal - 35 changes by mantaray
norwegian_nynorsk - 76 changes by mantaray
2010-02-17 12:16:33 +00:00
alberth dec02fad59 (svn r19146) -Codechange: Use CommandCost in industry checking routines. 2010-02-16 22:01:23 +00:00
translators 50532eb3f4 (svn r19145) -Update from WebTranslator v3.0:
french - 2 changes by glx
galician - 25 changes by Drenghist
lithuanian - 2 changes by 
slovak - 4 changes by keso53
2010-02-16 18:45:16 +00:00
rubidium 997d52fc69 (svn r19143) -Codechange: trunk's going for 1.1 now. 2010-02-16 00:07:15 +00:00
rubidium 3626eb340e (svn r19141) -Fix [FS#3619] (r18421): look-ahead for multitile waypoints 'made up' data that shouldn't go into the cache, causing desyncs in MP 2010-02-15 23:55:04 +00:00
alberth 80225cf246 (svn r19140) -Codechange: Move variables closer to their first use. 2010-02-15 19:52:40 +00:00
translators 966f186bf8 (svn r19139) -Update from WebTranslator v3.0:
croatian - 1 changes by VoyagerOne
czech - 12 changes by Hadez
dutch - 2 changes by habell
finnish - 1 changes by jpx_
german - 1 changes by planetmaker
hebrew - 2 changes by dnd_man
hungarian - 1 changes by alyr
lithuanian - 4 changes by BlinK_
norwegian_bokmal - 20 changes by mantaray
norwegian_nynorsk - 195 changes by mantaray
russian - 1 changes by Lone_Wolf
serbian - 1 changes by etran
slovak - 21 changes by keso53
slovenian - 1 changes by ntadej
spanish - 1 changes by Terkhen
2010-02-15 18:45:47 +00:00
alberth c0933e825a (svn r19138) -Codechange: Rename CheckMultipleIndustryInTown() to FindTownForIndustry(). 2010-02-15 11:04:27 +00:00
alberth 6553f49991 (svn r19137) -Add: Report a more useful error when failing to build a bubble generator. 2010-02-15 10:28:40 +00:00
alberth bb5261a075 (svn r19136) -Doc: Added Doxygen comments for industry checking procedures. 2010-02-15 09:49:10 +00:00
translators ef59270375 (svn r19135) -Update from WebTranslator v3.0:
italian - 1 changes by lorenzodv
lithuanian - 2 changes by 
norwegian_bokmal - 1 changes by mantaray
norwegian_nynorsk - 127 changes by mantaray
russian - 1 changes by Lone_Wolf
slovak - 199 changes by keso53
spanish - 1 changes by Terkhen
2010-02-14 18:45:24 +00:00
frosch 30b215a82b (svn r19134) -Fix (r16983, r17219): YAPF debug output was quite broken. 2010-02-14 18:33:57 +00:00
rubidium d0122644af (svn r19133) -Fix [FS#3621]: [Mac OS X] --enable-desync-debug failed compiling (planetmaker) 2010-02-14 16:52:15 +00:00
alberth 33a96b5ef3 (svn r19132) -Codechange: No need to end a line with ;;. 2010-02-14 16:31:35 +00:00
alberth ac65c41509 (svn r19131) -Doc: Add doxygen comments to some economy variables and constants. 2010-02-14 15:58:10 +00:00
alberth 7dcc414000 (svn r19130) -Codechange: Use references and inlining in CommandCost. 2010-02-14 15:44:21 +00:00
alberth 8641f08df3 (svn r19129) -Fix [FS#3623] (r19122): Don't draw cargo ratings/acceptance when the window is shaded. 2010-02-14 15:35:44 +00:00
alberth e8d40d6a19 (svn r19128) -Codechange: CommandCost cost methods return void instead of a copy of *this. 2010-02-14 15:30:08 +00:00
frosch 151babee57 (svn r19127) -Codechange: Add printf-like warnings to more functions. 2010-02-14 13:01:33 +00:00
frosch d757f81646 (svn r19126) -Codechange: Silence a warning. 2010-02-14 13:01:07 +00:00
frosch b0496c339f (svn r19125) -Fix (r18809): Compiling with desync-debug failed. 2010-02-13 20:13:34 +00:00
translators f36fc2c80d (svn r19124) -Update from WebTranslator v3.0:
traditional_chinese - 3 changes by josesun
english_US - 35 changes by agenthh
esperanto - 27 changes by Ailanto
finnish - 1 changes by jpx_
german - 1 changes by planetmaker
hungarian - 51 changes by IPG
icelandic - 55 changes by antonsigur
indonesian - 9 changes by fanioz
lithuanian - 2 changes by 
norwegian_bokmal - 229 changes by mantaray
norwegian_nynorsk - 2 changes by mantaray
portuguese - 9 changes by JayCity
brazilian_portuguese - 14 changes by Tucalipe, leandromoh
russian - 7 changes by 
serbian - 5 changes by etran
slovenian - 1 changes by ntadej
2010-02-13 18:45:51 +00:00
alberth 09327c2e69 (svn r19123) -Fix [FS#3617]: Resize station cargo widget when needed to display all accepted cargo types. 2010-02-13 18:44:03 +00:00
alberth 1737292d07 (svn r19122) -Codechange: Move cargo drawing to StationViewWindow::OnPaint(). 2010-02-13 18:41:31 +00:00
alberth df920582af (svn r19121) -Codechange: Introduce a variable for the height of the ratings and accepted cargo widgets. 2010-02-13 18:39:00 +00:00
frosch e7106d8121 (svn r19120) -Fix: [NewGRF] Industry property 0x17 was interpreted incorrectly and in some cases circumvented the density difficulty setting.
-Change: Do not scale the number of industry creations during map creation with the number of available industry types.
-Feature: [NewGRF] Implement special industry flag 0x10000.
2010-02-13 14:06:01 +00:00
rubidium 9c02767a92 (svn r19119) -Fix [FS#3616]: removing towns (in the scenario editor) that had stations/depots refer to them or vehicles were on the town's road could cause a crash 2010-02-13 14:02:36 +00:00
alberth c1b40ee5e0 (svn r19118) -Fix [FS#3593]: Some buttons in the order gui were raised too soon. 2010-02-13 14:00:45 +00:00
terkhen ff80df980a (svn r19117) -Fix [FS#3593]: The Non-stop dropdown wasn't enabled for depot and waypoint orders. 2010-02-13 10:33:05 +00:00
rubidium f6dfce6d59 (svn r19114) -Change: [strgen] Modify the outputted format for MSVC builds of strgen so it also shows fatal errors in the 'error list' and it also counts them. (Fatal) errors are marked as warnings so a failing language file is not causing the complete compilation to fail. 2010-02-12 23:47:50 +00:00
rubidium b1cce3f70f (svn r19113) -Change: [strgen] Remove the partially generated language file if compilation fails. 2010-02-12 23:45:25 +00:00
smatz 66837b1edd (svn r19112) -Fix [FS#3611]: don't crash on broken lng file 2010-02-12 23:39:44 +00:00
rubidium 171dbb7831 (svn r19111) -Fix (r19070): the station view didn't show acceptance anymore 2010-02-12 21:43:58 +00:00
translators e412dfedca (svn r19109) -Update from WebTranslator v3.0:
catalan - 13 changes by arnau
croatian - 1 changes by VoyagerOne
french - 1 changes by glx
lithuanian - 2 changes by 
norwegian_nynorsk - 71 changes by mantaray
polish - 5 changes by silver_777
russian - 15 changes by Lone_Wolf
slovak - 27 changes by keso53
slovenian - 6 changes by ntadej
vietnamese - 39 changes by myquartz, nglekhoi
2010-02-12 18:45:34 +00:00
rubidium 3108101cb2 (svn r19106) -Codechange: change 'const static' -> 'static const' for consistency (1 vs 2900 cases); some GCCs/ICCs are known to warn about the former case, but it's valid C++. 2010-02-12 17:31:40 +00:00
yexo 7d5cfa5884 (svn r19105) -Fix [FS#3614]: not all news data was properly freed when starting a new game 2010-02-12 16:42:29 +00:00
alberth dd1c72d39a (svn r19104) -Fix (r19039): Stablize main view centering in smallmap. 2010-02-12 13:46:41 +00:00
alberth 47295bb8b9 (svn r19103) -Codechange: Use px/py for pixel coordinates in PixelToTile(), as promised by the documentation. 2010-02-12 12:14:21 +00:00
alberth 464ad6b951 (svn r19101) -Fix (r19039): Click sound was not played when pressing zoom in/out buttons. 2010-02-12 10:40:29 +00:00
yexo 26005c55e5 (svn r19099) -Doc: two files had the wrong name in the @file comment 2010-02-11 20:52:56 +00:00
translators 826e8a92ef (svn r19098) -Update from WebTranslator v3.0:
arabic_egypt - 101 changes by kasakg
croatian - 7 changes by VoyagerOne
czech - 8 changes by SmatZ
dutch - 2 changes by habell
finnish - 4 changes by jpx_
french - 12 changes by glx
hebrew - 12 changes by dnd_man
hungarian - 15 changes by IPG
indonesian - 2 changes by fanioz
italian - 2 changes by lorenzodv
korean - 2 changes by junho2813
lithuanian - 10 changes by BlinK_
luxembourgish - 2 changes by Phreeze
norwegian_bokmal - 5 changes by mantaray
norwegian_nynorsk - 225 changes by mantaray
portuguese - 1 changes by JayCity
romanian - 2 changes by tonny
serbian - 2 changes by etran
slovak - 99 changes by keso53
spanish - 6 changes by Terkhen
vietnamese - 4 changes by myquartz
2010-02-11 18:46:06 +00:00
rubidium 1217bb9411 (svn r19097) -Fix [FS#3610] (r10444): compilation error in the BeMidi driver (jrepan) 2010-02-11 17:13:57 +00:00
yexo 804a6894c5 (svn r19096) -Fix: segfault when one of the items in the news_display group in the config file has no value 2010-02-11 15:12:08 +00:00
yexo f709290220 (svn r19095) -Fix: segfault when a baseset has an empty metadata field 2010-02-11 15:08:55 +00:00
yexo 6406b75b8f (svn r19094) -Codechange: don't check for NULL values before calling StrEmpty 2010-02-11 14:58:51 +00:00
smatz 07409e6741 (svn r19093) -Codechange: do not prefix console debug output with 'condbg', [console] is enough 2010-02-10 23:38:43 +00:00
rubidium 32cdc157ee (svn r19091) -Cleanup: remove some unneeded zeroing 2010-02-10 21:28:26 +00:00
rubidium 7a73a7490d (svn r19090) -Codechange: some comment coding style fixes 2010-02-10 21:06:05 +00:00
rubidium 249acc9e4f (svn r19089) -Codechange: some minor coding style 2010-02-10 20:53:23 +00:00
rubidium aab7768a3e (svn r19088) -Fix: some typos/spelling errors in the base 'translation' 2010-02-10 20:46:14 +00:00
rubidium 0072503496 (svn r19087) -Codechange: some typos in StringIDs 2010-02-10 20:20:18 +00:00
translators 1aee53ef6c (svn r19086) -Update from WebTranslator v3.0:
traditional_chinese - 4 changes by josesun
dutch - 4 changes by habell
french - 3 changes by glx
german - 2 changes by planetmaker
greek - 4 changes by fumantsu
hebrew - 29 changes by dnd_man
hungarian - 2 changes by alyr
italian - 4 changes by lorenzodv
japanese - 25 changes by PouncingAnt
lithuanian - 34 changes by BlinK_
luxembourgish - 178 changes by Phreeze
romanian - 4 changes by kkmic
slovenian - 2 changes by ntadej
spanish - 2 changes by Terkhen
2010-02-10 18:45:45 +00:00
smatz 8cd83f87df (svn r19085) -Codechange: simplify hooking of console commands 2010-02-10 18:18:08 +00:00
smatz c5b34444af (svn r19084) -Codechange: minor coding-style fixups 2010-02-10 17:37:47 +00:00
smatz 023fc16894 (svn r19083) -Cleanup: remove support for modifying variables from console 2010-02-10 17:32:39 +00:00
smatz d8a0278cf2 (svn r19082) -Codechange: make 'developer' a regular setting 2010-02-10 17:01:03 +00:00
rubidium 21bd2722cd (svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel 2010-02-10 16:24:05 +00:00
smatz 78ce2858fc (svn r19080) -Cleanup: remove unused _debug_ntp_level and _debug_ms_level 2010-02-10 16:12:54 +00:00
smatz ac6ff0de9b (svn r19079) -Codechange: use _debug_console_level instead of _stdlib_con_developer 2010-02-10 16:10:05 +00:00
rubidium 2fcab9d54e (svn r19078) -Update: add cases to Hebrew (dnd_man) 2010-02-10 16:04:11 +00:00
smatz 91988f2722 (svn r19077) -Codechange: remove company_pw from console vars 2010-02-10 15:26:47 +00:00
terkhen 2329eacfe8 (svn r19076) -Codechange: Move graph functions to their own header. 2010-02-10 15:24:48 +00:00
smatz 73ed81b1c7 (svn r19075) -Codechange: unhackify NetworkChangeCompanyPassword() 2010-02-10 15:17:27 +00:00
smatz b91b3ac836 (svn r19074) -Change: when filtering list of settings and console commands, use strstr() instead of strncmp() 2010-02-10 13:52:10 +00:00
rubidium 4cd2ad0a5f (svn r19073) -Fix (r15027): -a is not a command line parameter 2010-02-09 23:52:08 +00:00
rubidium ab35d95b5a (svn r19072) -Fix [FS#3599]: possible read/write after free when the client triggered the server to close the connection 2010-02-09 23:49:19 +00:00
rubidium 3c9c2f704f (svn r19071) -Codechange: update the other language files for r19070 (sbr) 2010-02-09 21:50:16 +00:00
rubidium 29ce905bc2 (svn r19070) -Fix [FS#3607]: the station coverage text was not RTL language aware (sbr) 2010-02-09 21:48:57 +00:00
translators 169020051c (svn r19068) -Update from WebTranslator v3.0:
finnish - 4 changes by jpx_
french - 4 changes by glx
german - 4 changes by planetmaker
hebrew - 14 changes by dnd_man
hungarian - 4 changes by IPG, Petert, alyr
japanese - 16 changes by PouncingAnt
korean - 4 changes by junho2813
luxembourgish - 59 changes by Phreeze
norwegian_bokmal - 5 changes by mantaray
norwegian_nynorsk - 5 changes by mantaray
portuguese - 1 changes by JayCity
brazilian_portuguese - 49 changes by Tucalipe, leandromoh
russian - 5 changes by Lone_Wolf
serbian - 4 changes by etran
slovenian - 4 changes by ntadej
spanish - 4 changes by Terkhen
vietnamese - 4 changes by nglekhoi
2010-02-09 18:45:53 +00:00
glx fb207873c5 (svn r19067) -Fix [FS#3604]: remove Bidi control characters from the reordered text 2010-02-09 18:37:19 +00:00
yexo e582d21981 (svn r19066) -Fix: settings that are part of the "ttdpatch flags" can cause desyncs if they're changed in network games 2010-02-09 16:22:13 +00:00
peter1138 bf862877a4 (svn r19065) -Fix [FS#3605]: Station offset multiplier was wrong. 2010-02-09 15:43:54 +00:00
terkhen 52312ea17f (svn r19064) -Feature: Allow to select different land colours for the smallmap (reworked by Alberth). 2010-02-08 23:46:35 +00:00
yexo 3c627747d3 (svn r19063) -Codechange: type in constant name (andythenorth) 2010-02-08 23:05:29 +00:00
terkhen b9f06f3f29 (svn r19062) -Codechange: Move smallmap related functions to their own header. 2010-02-08 21:19:41 +00:00
translators 0267acff62 (svn r19061) -Update from WebTranslator v3.0:
esperanto - 6 changes by Ailanto
galician - 37 changes by Condex
hebrew - 33 changes by dnd_man
luxembourgish - 57 changes by Phreeze
brazilian_portuguese - 53 changes by Tucalipe
2010-02-08 18:45:17 +00:00
peter1138 1bd72e28f0 (svn r19060) -Codechange: Draw custom depot sprites in GUI. 2010-02-08 16:07:46 +00:00
peter1138 898e879bd9 (svn r19056) -Add: [NewGRF] Action 3/2/1 (i.e. new graphics) support for rail types. (To be documented...) 2010-02-07 22:22:54 +00:00
translators 01474412fc (svn r19055) -Update from WebTranslator v3.0:
basque - 8 changes by Thadah
danish - 22 changes by beruic
esperanto - 15 changes by Ailanto
hungarian - 1 changes by alyr
japanese - 15 changes by PouncingAnt
polish - 6 changes by xaxa
2010-02-07 18:45:19 +00:00
rubidium f47f3a4157 (svn r19054) -Fix [FS#3598]: when banning yourself via rcon do not send the 'command response' to the client as the connection has already been terminated 2010-02-07 18:28:09 +00:00
frosch fb9b833dc4 (svn r19053) -Codechange: Add an enum for the special flags of industry tiles. (based on andythenorth' work) 2010-02-07 12:04:44 +00:00
alberth 76dbdca2f8 (svn r19052) -Codechange: Remove the _smallmap_draw_procs array. 2010-02-07 11:58:35 +00:00
frosch 3c7dff4270 (svn r19051) -Codechange: Variable scope. 2010-02-06 20:50:50 +00:00
frosch 69184fdc79 (svn r19050) -Fix: Don't call callbacks for disabled industrytypes. 2010-02-06 20:41:27 +00:00
frosch 0ab6f60c62 (svn r19049) -Codechange: Deduplicate computing number of initial industries. 2010-02-06 20:19:59 +00:00
alberth ec436a7615 (svn r19048) -Codechange: Pass the already queried effective tile type to the GetSmallMapPixels routines. 2010-02-06 19:24:51 +00:00
alberth 0e97146d4d (svn r19047) -Codechange: Use GetEffectiveTileType() in all GetSmallMapPixels routines. 2010-02-06 19:22:29 +00:00
alberth 5cd81526d8 (svn r19046) -Codechange: Move retrieval of tile colour data in smallmap. 2010-02-06 19:18:09 +00:00
translators 9734124835 (svn r19045) -Update from WebTranslator v3.0:
danish - 1 changes by beruic
japanese - 38 changes by PouncingAnt
turkish - 77 changes by niw3
ukrainian - 1 changes by Madvin
vietnamese - 154 changes by myquartz
2010-02-06 18:45:17 +00:00
rubidium 78f31c1744 (svn r19044) -Codechange: don't load the 'new game' NewGRFs when you're certain the savegame wouldn't have been saved with them, i.e. don't load the 'new game' NewGRFs for TTO savegames. 2010-02-06 17:26:21 +00:00
alberth da2722da36 (svn r19043) -Doc: Dcoumenting the GetSmallMapPixels typedef. 2010-02-06 15:10:12 +00:00
alberth 4cf65e6e81 (svn r19042) -Add: Allow mousewheel zooming in smallmap. 2010-02-06 13:22:04 +00:00
alberth a6e8c747c9 (svn r19041) -Codechange: Improve selection of tile to draw in zoomed-out smallmaps. 2010-02-06 13:19:46 +00:00
alberth 21589daea9 (svn r19040) -Codechange: Introduce inverse function of RemapCoords. 2010-02-06 13:14:40 +00:00
alberth db6e077c8a (svn r19039) -Feature: Add zoom-out to smallmap. 2010-02-06 13:12:59 +00:00
alberth 05388c953a (svn r19038) -Codechange: Move TileArea methods to their own file. 2010-02-06 12:56:13 +00:00
alberth 21c3dd11bd (svn r19027) -Doc: Document RemapCoords functions. 2010-02-06 09:30:30 +00:00
alberth 3f2c4d744a (svn r19026) -Codechange: Move a constant computation out of the loop. 2010-02-06 09:27:04 +00:00
alberth 32db019d9e (svn r19025) -Codechange: Rename DrawSmallMapStuff() to DrawSmallMapColumn(). 2010-02-06 09:25:02 +00:00
rubidium 8ee4a6e7f2 (svn r19024) -Fix [FS#3577]: mass stopping/starting/autoreplacing gave empty errors when there were no vehicles 2010-02-05 21:51:26 +00:00
rubidium 67234a6a6f (svn r19023) -Fix (r18807): city airport introduction date had become 5 years later 2010-02-05 21:49:56 +00:00
rubidium 64ead0b513 (svn r19022) -Fix (r18770): loading old (0.1-ish) savegames failed 2010-02-05 20:22:01 +00:00
rubidium a126db6ea4 (svn r19021) -Fix [FS#3570]: don't NULL the pointers when saving the savegame on an error during saving; the savegame is still valid 2010-02-05 20:18:30 +00:00
translators 0c226b44a3 (svn r19020) -Update from WebTranslator v3.0:
basque - 125 changes by Thadah
croatian - 8 changes by UnderwaterHesus
danish - 8 changes by beruic, silentStatic
portuguese - 2 changes by SupSuper
romanian - 6 changes by kkmic
ukrainian - 6 changes by Madvin
vietnamese - 106 changes by myquartz
2010-02-05 18:45:22 +00:00
smatz d62d0ac489 (svn r19019) -Codechange: use HasExactlyOneBit() and HasAtMostOneBit() instead of CountBits() where possible 2010-02-05 17:05:58 +00:00
rubidium 7c1170668a (svn r19017) -Doc: [NoAI] A parameter wasn't documented 2010-02-05 16:11:23 +00:00
terkhen 9cf602c7c1 (svn r19016) -Fix [FS#3591]: When removing roads, the player was also charged for removing the foundations. 2010-02-05 14:11:25 +00:00
rubidium 5d78e73445 (svn r19015) -Update: Vietnamese language settings 2010-02-05 10:47:07 +00:00
yexo 091d88f514 (svn r19014) -Add: [NoAI] AIOrder::[G|S]etStopLocation to get/set the stop location of trains in a rail station 2010-02-04 23:18:19 +00:00
yexo d858264ca6 (svn r19012) -Fix (r19003): macos.h is not in video/cocoa/ but in os/macosx/. 2010-02-04 22:17:41 +00:00
rubidium 34fa63b8f5 (svn r19011) -Update: AI changelog 2010-02-04 22:14:11 +00:00
terkhen 9e03eb08a2 (svn r19010) -Codechange: Remove a now unneeded check at CmdBuildRailStation. 2010-02-04 21:09:29 +00:00
translators afe2fe244d (svn r19009) -Update from WebTranslator v3.0:
basque - 5 changes by Thadah
turkish - 62 changes by niw3
2010-02-04 18:45:09 +00:00
rubidium d11bb39f43 (svn r19007) -Prepare: 1.0.0-beta4 2010-02-04 17:11:46 +00:00
rubidium cc8fd6e910 (svn r19006) -Fix (r18970): default rail type determination failed causing 'A'/SHIFT-F4 not to work the first time. As rail types can now be anything the explicit options for the different railtypes have been removed, leaving the most used rail type and first/last available rail types. 2010-02-04 17:08:48 +00:00
rubidium fbb9b4760a (svn r19005) -Codechange: make animated cursors have a bit set instead of using negative numbers that are passed as uints, then cast again to be compared as ints before being inverted to be actually used. Also fixes a couple of 'integer conversion resulted in truncation' warnings ICC spewed. 2010-02-04 15:42:38 +00:00
rubidium 09730847ec (svn r19004) -Codechange: silence ICC warning that 'integer conversion resulted in a change of sign' 2010-02-04 15:27:25 +00:00
rubidium e62b122bb1 (svn r19003) -Fix [FS#3194]: [OSX] OS X 10.5+ does not (always?) handle 8bpp graphics in a suitable manner. This is actually not a fix but a nasty work around; you can still easily trigger the bug/issue by overriding the 'default' blitter choice (Brad Oliver). I can/have not test(ed) (including compiling) this fix.
Bjarni once suggested that 8bpp works for him on 10.5, so apparantly not all 10.5+ does not handle 8bpp graphics. Nevertheless, it seemed that for some systems the already existing 'does this support 8bpp' did not work, i.e. the OS API seemed to suggest that 8bpp worked when it actually did not. So, I don't know what is going on precisely here but it's definitely not nice to suggest that it supports 8bpp when it doesn't. So just ditch 8bpp support for anything that we suspect might not support 8bpp...
2010-02-04 14:32:12 +00:00
rubidium 36298c1454 (svn r19002) -Fix [FS#1140]: [OSX] Problems with scrolling touchpad (Peter Thorson). I can/have not test(ed) it, it cannot break non OSX builds. 2010-02-04 14:21:20 +00:00
rubidium 228da0ccd3 (svn r19001) -Fix: some GCC compile warnings 2010-02-04 13:35:20 +00:00
smatz 2b8f7f2078 (svn r19000) -Cleanup: remove redundant check 2010-02-04 00:40:11 +00:00
rubidium 68b908a27c (svn r18999) -Change: update some of the defaults (Eddi) 2010-02-03 23:45:19 +00:00
rubidium 9f49882de7 (svn r18998) -Update: the credits 2010-02-03 23:08:46 +00:00
rubidium d818c7c7b1 (svn r18996) -Fix (r18993, r18994): MSVC 64 bits had somethings to complain about 2010-02-03 21:45:48 +00:00
translators a61cd5ad85 (svn r18995) -Update from WebTranslator v3.0:
greek - 8 changes by fumantsu
hebrew - 17 changes by dnd_man
russian - 6 changes by Lone_Wolf
2010-02-03 18:45:12 +00:00
rubidium 2db44fc18e (svn r18994) -Change: content mirroring support (based on work by TrueBrain). 2010-02-03 18:42:23 +00:00
rubidium c75f19f40b (svn r18993) -Codechange: allow allocating multiple items in a SmallVector with one call. 2010-02-03 17:25:56 +00:00
rubidium e437362c7b (svn r18992) -Codechange: move the file opening/closing out of the content download function 2010-02-03 17:15:35 +00:00
rubidium 589aee0cee (svn r18991) -Codechange: simplify memory management of DownloadSelectedContent 2010-02-03 17:12:19 +00:00
peter1138 f1458df1ca (svn r18990) -Codechange: [NewGRF] Add rail type map bounds checking to RailType[Change|Reserve]Info(). 2010-02-03 08:02:07 +00:00
peter1138 9950fc1ede (svn r18989) -Codechange: [NewGRF] Initialise rail type map with default rail types. 2010-02-03 07:58:43 +00:00
yexo 39c1de23d6 (svn r18988) -Fix: [NewGRF] industry var A5 (=high 8 bits of var A4) returned the high 8 bits of var A2. Same problem for 9B/9A/98 2010-02-02 23:11:10 +00:00
terkhen 2798fdf082 (svn r18987) -Fix: [NoAI] Make building long rails fail for AIs if there is an obstacle in the way. 2010-02-02 22:27:03 +00:00
terkhen b02a522038 (svn r18986) -Fix (r18803): Make building long roads fail for AIs if there is an obstacle in the way. 2010-02-02 21:25:01 +00:00
translators 8d4773be94 (svn r18985) -Update from WebTranslator v3.0:
basque - 1 changes by Thadah
hebrew - 33 changes by dnd_man
lithuanian - 1 changes by BlinK_
swedish - 8 changes by Chrill
vietnamese - 4 changes by nglekhoi
welsh - 3 changes by Rufus
2010-02-02 18:45:20 +00:00
terkhen 8849943da5 (svn r18984) -Add: Viewport place methods for dragging a line with limited size. 2010-02-01 23:13:15 +00:00
translators 615324130b (svn r18983) -Update from WebTranslator v3.0:
traditional_chinese - 11 changes by josesun
dutch - 3 changes by habell
greek - 9 changes by fumantsu
lithuanian - 4 changes by BlinK_
norwegian_bokmal - 2 changes by CyberKenny
norwegian_nynorsk - 2 changes by mantaray
vietnamese - 5 changes by nglekhoi
2010-02-01 18:45:24 +00:00
smatz 78ffa78ee7 (svn r18981) -Change: show empty query after creating new group (instead of 'Group nnn') 2010-02-01 18:38:28 +00:00
rubidium 06e80d0a1f (svn r18980) -Codechange: preceeding -> preceding (spelling) 2010-02-01 12:43:28 +00:00
matthijs 108b86282f (svn r18979) -Fix: Typo in console save command output. 2010-02-01 12:29:49 +00:00
smatz d155794605 (svn r18978) -Fix [FS#3584](r14753): possible invalid memory access when merging companies 2010-02-01 00:10:52 +00:00
terkhen 68fc39ea1d (svn r18977) -Doc: Add comments to ViewportDragDropSelectionProcess. 2010-01-31 22:37:20 +00:00
frosch c23e4e4538 (svn r18976) -Fix: Estimating the cost of removing statues could clear the presence flag in the town. 2010-01-31 20:56:24 +00:00
frosch 5f4f562d53 (svn r18975) -Cleanup: CMD_REMOVE_ROAD is unused. 2010-01-31 20:55:10 +00:00
frosch cbbe311cea (svn r18974) -Fix [FS#3578]: CMD_BUILD_ROAD missed CMD_AUTO. Also do not access tiles anymore after clearing them; that fails either in test or exec run. 2010-01-31 20:28:36 +00:00
translators 8e6096931a (svn r18973) -Update from WebTranslator v3.0:
catalan - 6 changes by arnau
hebrew - 8 changes by dnd_man
italian - 2 changes by lorenzodv
lithuanian - 12 changes by BlinK_
portuguese - 6 changes by JayCity
2010-01-31 18:45:18 +00:00
peter1138 2b820780a1 (svn r18972) -Add: [NewGRF] Per-rail type speed limits. 2010-01-31 13:17:29 +00:00
peter1138 2331ccd589 (svn r18971) -Fix: Train acceleration for original acceleration model wasn't updated if the train's power changed. 2010-01-31 12:56:32 +00:00
peter1138 990cbe6263 (svn r18970) -Codechange: Increase number of possible rail types to 16. 2010-01-30 21:59:22 +00:00
peter1138 32ef582c37 (svn r18969) -Add: [NewGRF] NewGRF-settable rail type properties. 2010-01-30 21:49:22 +00:00
translators 84c6616ee0 (svn r18968) -Update from WebTranslator v3.0:
bulgarian - 5 changes by Tvel
czech - 3 changes by ReisRyos
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 2 changes by planetmaker
hungarian - 4 changes by IPG
indonesian - 7 changes by fanioz
italian - 4 changes by lorenzodv
korean - 2 changes by junho2813
lithuanian - 6 changes by BlinK_
serbian - 2 changes by etran
slovenian - 3 changes by ntadej
spanish - 2 changes by Terkhen
vietnamese - 44 changes by myquartz
2010-01-30 18:45:45 +00:00
frosch f9cebfcfc4 (svn r18967) -Fix (r18966): Never trust your copy&paste skills. 2010-01-30 18:43:14 +00:00
frosch 88019e64e1 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 2010-01-30 18:34:48 +00:00
frosch 2f6fe85f23 (svn r18965) -Fix (r17846): Don't compare horizontal positions with vertical. 2010-01-30 17:42:04 +00:00
frosch af50e0a4cf (svn r18964) -Change: Highlight the selected action for town authority, and do not duplicate the itemtext to the description. 2010-01-30 16:29:52 +00:00
terkhen 272f2cd93e (svn r18963) -Codechange: Give AccelerationModel a generical name. 2010-01-30 16:27:35 +00:00
alberth 815eede0be (svn r18962) -Fix (r18958, r18961): Code-style, use this explicitly. 2010-01-30 15:29:35 +00:00
alberth cdc6f5ddc1 (svn r18961) -Codechange: Simplifying and unduplicating code in smallmap. 2010-01-30 13:11:26 +00:00
terkhen 72f4bd818c (svn r18960) -Codechange: Move acceleration-related values to a separated cache. 2010-01-30 10:41:15 +00:00
frosch 9e4a62d1ee (svn r18959) -Feature: [NewGRF] Allow layering of multiple groundsprites in spritelayouts of stations, houses and industrytiles; so hacks with zero-sized bounding boxes are no longer needed and no longer cause trouble. 2010-01-30 10:08:39 +00:00
alberth 5c9cb9648b (svn r18958) -Codechange: Merge smallmap remap functions. 2010-01-30 09:54:58 +00:00
alberth ab4072ba8d (svn r18957) -Doc: Documenting the scroll_x, scroll_y, and subscroll variables of SmallMapWindow. 2010-01-30 09:32:48 +00:00
yexo b7fc8b4979 (svn r18956) -Update: NoAI changelog 2010-01-29 23:59:38 +00:00
yexo 15016e3511 (svn r18955) -Feature: [NoAI] introduce GetBuildCost functions in several classes to get easier cost estimations before you start building 2010-01-29 23:56:42 +00:00
smatz 54f958c8e5 (svn r18954) -Fix (r18952): missing 'inline' 2010-01-29 23:54:00 +00:00
yexo 4c4d1e1bf6 (svn r18953) -Feature: [NoAI] allow editing AI settings while an AI is running
Only settings with the AICONFIG_INGAME flag can be editted in this way
2010-01-29 21:38:55 +00:00
yexo dc714960e3 (svn r18952) -Fix (r18950): loading recent (=newer then title game) savegames failed 2010-01-29 21:06:35 +00:00
translators b0349704b0 (svn r18951) -Update from WebTranslator v3.0:
czech - 8 changes by ReisRyos
dutch - 6 changes by Yexo
finnish - 4 changes by jpx_
french - 4 changes by glx
german - 4 changes by planetmaker
greek - 7 changes by fumantsu
hungarian - 4 changes by Petert
korean - 4 changes by junho2813
norwegian_bokmal - 4 changes by mantaray
norwegian_nynorsk - 4 changes by mantaray
serbian - 4 changes by etran
slovenian - 4 changes by ntadej
spanish - 4 changes by Terkhen
vietnamese - 24 changes by myquartz
2010-01-29 18:45:45 +00:00
yexo f381b91de0 (svn r18950) -Fix: make sure the values of settings loaded from a savegame are valid 2010-01-29 18:21:10 +00:00
yexo f8b0ddd3ec (svn r18949) -Fix (r18942): 'reduced plane crashes' were actually 'more plane crashes' 2010-01-29 17:56:36 +00:00
yexo ea227aa033 (svn r18948) -Fix: removing a newgrf from the list didn't update the scrollbar 2010-01-29 15:50:56 +00:00
yexo 81882039e3 (svn r18947) -Fix [FS#1510]: after clicking move up/move down in the newgrf/ai the selected item could be out of range 2010-01-29 15:45:53 +00:00
yexo a668e801e4 (svn r18946) -Fix: it was possible to change AI settings without changing to the custom difficulty level by using the query text window 2010-01-29 01:03:22 +00:00
yexo a43a23b408 (svn r18945) -Codechange: typo 2010-01-29 00:11:30 +00:00
yexo fae34ee719 (svn r18944) -Change [FS#3232]: use the highest version of an AI that can load the AI data from a savegame instead of the exact same version 2010-01-29 00:03:31 +00:00
yexo d75b9f1642 (svn r18943) -Feature [FS#2885]: make it possible to change newgame settings from within a game via the console (use setting_newgame instead of setting) 2010-01-28 23:17:28 +00:00
yexo fa01b25f74 (svn r18942) -Feature [FS#2678]: add a setting to reduce/disable aircraft crashes 2010-01-28 22:34:14 +00:00
yexo b689e3d6e4 (svn r18941) -Fix [FS#3575]: remove the loading indicators as soon as a train crashes 2010-01-28 22:06:13 +00:00
yexo da3ff51759 (svn r18940) -Feature: make the crash position of aircraft a bit random by giving aircraft a chance to crash every tick they're breaking.
Slow aircraft will crash a bit less, fast aircraft might crash a bit more
2010-01-28 21:59:18 +00:00
terkhen d4376779f8 (svn r18939) -Codechange [FS#3545]: Move train slope steepness to its own function. 2010-01-28 20:54:29 +00:00
frosch 294bc14652 (svn r18938) -Fix: Industrylayout's special water tile check did not properly check for crossing north border of map. Also don't consider MP_VOID tiles as water. 2010-01-28 19:41:45 +00:00
yexo 6be4560528 (svn r18937) -Fix (r15190): TileAddWrap didn't return INVALID_TILE for void tiles at the north border 2010-01-28 19:27:10 +00:00
translators 8ee96d4d45 (svn r18936) -Update from WebTranslator v3.0:
hungarian - 2 changes by IPG
indonesian - 5 changes by fanioz
spanish - 7 changes by yanok
vietnamese - 544 changes by myquartz
2010-01-28 18:45:16 +00:00
rubidium c1c401b51b (svn r18935) -Fix [FS#3551] (r18764): value of variables 90 and 91 weren't what NARS expects 2010-01-28 18:19:34 +00:00
glx 27491c5586 (svn r18934) -Fix (r18892, r18913): the deadlock should be definitively gone now 2010-01-28 13:49:20 +00:00
peter1138 08a24fcc31 (svn r18933) -Codechange: Don't constantly redraw a window when moving it unless it actually moves. 2010-01-28 02:31:37 +00:00
peter1138 07b285c5ca (svn r18932) -Codechange: Don't constantly redraw drop drop list. 2010-01-28 02:30:59 +00:00
frosch a3168269f9 (svn r18931) -Fix: Disabling autoreplace rules might count invalid engines. 2010-01-27 20:54:05 +00:00
frosch 7b237ee607 (svn r18930) -Fix: [NoAI] Autoreplace is also valid for the default group. 2010-01-27 20:51:11 +00:00
frosch ec9ac775bf (svn r18929) -Fix [FS#3568]: Preserve some timetable related vehicle flags during autorenew/-replace. 2010-01-27 20:07:29 +00:00
frosch 9a1dddd137 (svn r18928) -Fix (r18304): The date in case of 'early arrival' was misaligned in the timetable GUI. 2010-01-27 19:52:08 +00:00
rubidium 9a4a120b6e (svn r18927) -Change: move Vietnamese out of unfinished 2010-01-27 18:46:53 +00:00
translators 68344778e3 (svn r18926) -Update from WebTranslator v3.0:
romanian - 3 changes by kkmic
ukrainian - 2 changes by Madvin
vietnamese - 738 changes by myquartz
2010-01-27 18:45:13 +00:00
yexo ea7c90d471 (svn r18925) -Fix (r18924): a waypoint can have a buoy but no rail waypoint tile 2010-01-27 13:06:58 +00:00
yexo 849e676410 (svn r18924) -Fix [NoAI]: AIOrder::GetOrderDestination could return a non-waypoint tile when the waypoint was a multitile waypoint 2010-01-27 12:45:41 +00:00
peter1138 cd6eac77c3 (svn r18923) -Fix [FS#3565]: Check source stationspec exists before copying layouts. 2010-01-27 10:17:09 +00:00
yexo 4df90cddee (svn r18922) -Doc: add doxygen documentation to all functions in station_map.h 2010-01-26 23:25:28 +00:00
yexo 7f998ce80d (svn r18921) -Codechange: make the preconditions for Get/Set CustomStationSpecIndex a bit more strict 2010-01-26 23:03:47 +00:00
translators 0bc1b736d7 (svn r18920) -Update from WebTranslator v3.0:
afrikaans - 4 changes by Maccie123
dutch - 3 changes by habell
vietnamese - 638 changes by myquartz
2010-01-26 18:45:11 +00:00
glx 918b3aff5e (svn r18919) -Fix (r15371): strcasestr() return should not be const 2010-01-26 14:04:56 +00:00
translators 078e1edabc (svn r18917) -Update from WebTranslator v3.0:
danish - 1 changes by Hatsen
lithuanian - 17 changes by BlinK_, Devastator
malay - 17 changes by toadhall
norwegian_bokmal - 84 changes by mantaray
norwegian_nynorsk - 4 changes by mantaray
polish - 1 changes by xaxa
swedish - 6 changes by tobjork
2010-01-25 18:45:23 +00:00
frosch f379b0a1d9 (svn r18916) -Fix (r18809): Don't rely on 'time.h' being included via dark roads. 2010-01-25 17:22:06 +00:00
glx 32fa5384d2 (svn r18915) -Fix (r18912): use a macro for empty DrawTileSprites elements (and solve missing braces/initializer warnings) 2010-01-25 15:20:46 +00:00
glx 57718cc5a7 (svn r18913) -Fix (r18892): the deadlock was still possible 2010-01-25 00:43:51 +00:00
yexo 388c713f08 (svn r18912) -Codechange: free up a bunch of airporttile ids by using the tile animation frame 2010-01-24 20:25:28 +00:00
yexo 6ff482f515 (svn r18911) -Fix (r18910): forgot to svn add the new file 2010-01-24 20:21:09 +00:00
yexo de3c92dd06 (svn r18910) -Codechange: move the enum with airporttile names to table/airporttile_ids.h 2010-01-24 20:17:18 +00:00
translators 3a23e38898 (svn r18909) -Update from WebTranslator v3.0:
hebrew - 5 changes by dnd_man
norwegian_bokmal - 284 changes by mantaray
norwegian_nynorsk - 1 changes by mantaray
portuguese - 1 changes by JayCity
romanian - 2 changes by tonny
russian - 2 changes by Lone_Wolf
slovenian - 89 changes by ntadej
welsh - 2 changes by welshdragon
2010-01-24 18:45:28 +00:00
rubidium 3d0b3818dd (svn r18908) -Fix [FS#3561]: on bankruptcy the company value did include the loan and as such the value at which you bought the company was too low 2010-01-24 11:05:26 +00:00
alberth b2f9b0ac43 (svn r18907) -Cleanup: Smallmap was the last user of SetPixelIfEmpty(). 2010-01-23 22:37:14 +00:00
alberth d2fc24d61c (svn r18906) -Codechange: Use start and end column position instead of a mask for drawing a column in the smallmap. 2010-01-23 22:32:30 +00:00
peter1138 c83d57f228 (svn r18905) -Fix (r18902): Compile error on 64-bit with gcc 2010-01-23 22:25:00 +00:00
michi_cc a4f50de959 (svn r18904) -Fix: Writing LZO-compressed savegames would produce invalid files and potentially overwrite memory. 2010-01-23 22:23:45 +00:00
rubidium 299d405680 (svn r18902) -Fix [FS#3559]: the default button for the advanced settings didn't work 2010-01-23 19:33:18 +00:00
rubidium afcce5ed90 (svn r18901) -Change: make the default button work again for the world generation window; previously it worked due to the bug fixed in r18899. Do not add it again for the town custom number because there is no default for that one. 2010-01-23 19:32:56 +00:00
rubidium 37b0a61b42 (svn r18900) -Document: that an empty string for OnQueryTextFinished means 'use default' 2010-01-23 19:30:53 +00:00
rubidium 2b82db72ef (svn r18899) -Fix: the default button was enabled even when the ENABLE_DEFAULT flag wasn't set 2010-01-23 19:30:03 +00:00
translators 4d184e9b16 (svn r18898) -Update from WebTranslator v3.0:
italian - 2 changes by lorenzodv
japanese - 16 changes by PouncingAnt
korean - 1 changes by junho2813
lithuanian - 275 changes by BlinK_
norwegian_bokmal - 7 changes by Zhygometh
spanish - 4 changes by Terkhen
swedish - 91 changes by tobjork
2010-01-23 18:45:23 +00:00
frosch 4034f249db (svn r18897) -Fix: Land area information read the stationspec also for non-rail-stationtiles, which is no longer valid since r18876. 2010-01-23 16:38:09 +00:00
rubidium 9e106dca81 (svn r18896) -Fix [FS#3558]: pressing cancel for the query windows of the world generation window caused the default to be set instead of no changes to the value 2010-01-23 15:53:09 +00:00
peter1138 00ffde86d2 (svn r18893) -Codechange: Replace grf_load_* with methods of ByteReader. 2010-01-23 13:17:30 +00:00
glx a554b41452 (svn r18892) -Fix: in some rare case a deadlock could happen when stopping sound driver (windows) 2010-01-23 01:36:49 +00:00
peter1138 200dc6821f (svn r18891) -Fix: Avoid duplicate path separator when searching for PNG files which prevented tar-lookups. 2010-01-22 23:55:20 +00:00
frosch 3df9caa86a (svn r18890) -Codechange: Unify drawing of foundations for MP_UNMOVABLE. 2010-01-22 22:32:39 +00:00
frosch bf65eb686e (svn r18889) -Codechange: Use (GroundSprite|SpriteLayout)PaletteTransform() also for drawing of default industries. They are compatible since the bubblegenerator is also randomly recoloured. 2010-01-22 21:52:20 +00:00
frosch 6260d243ee (svn r18888) -Codechange: Rename PALETTE_59[EF] to something more meaningful. 2010-01-22 18:47:29 +00:00
translators 7f09435239 (svn r18887) -Update from WebTranslator v3.0:
bulgarian - 120 changes by Tvel
catalan - 4 changes by arnau
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 2 changes by planetmaker
korean - 1 changes by junho2813
serbian - 3 changes by etran
slovenian - 4 changes by ntadej
spanish - 1 changes by Terkhen
2010-01-22 18:45:31 +00:00
peter1138 16e621c939 (svn r18886) -Fix (r18884): Spurious casting 2010-01-22 15:34:22 +00:00
peter1138 bb71c61ee1 (svn r18885) -Fix (r18884): Industry tile layouts weren't completely freed on error. 2010-01-22 14:03:36 +00:00
peter1138 927f149ff2 (svn r18884) -Fix: [NewGRF] Perform bounds checking for all NewGRF data reads. Explicit length checks (which were not always correct) are no longer needed so these are removed to simplify code. 2010-01-22 13:02:15 +00:00
rubidium 7ec3d9a0c6 (svn r18883) -Codechange: warn in the difficulty and AI configuration window when setting the number of AIs to non-zero when you don't have AIs 2010-01-21 23:19:50 +00:00
rubidium 18446dd599 (svn r18882) -Change: default to zero AIs 2010-01-21 23:19:13 +00:00
rubidium 5ddf56f0e0 (svn r18881) -Codechange: make the AI debug window look nicer when not at its minimum size 2010-01-21 21:08:58 +00:00
yexo b76a5669f5 (svn r18880) -Fix: aircraft can be send to an hangar when the target airport has one and when it can land, not only when it has a plane terminal 2010-01-21 19:31:25 +00:00
translators fdfd0ab922 (svn r18879) -Update from WebTranslator v3.0:
portuguese - 2 changes by SupSuper
slovenian - 6 changes by ntadej
spanish - 149 changes by Terkhen
2010-01-21 18:45:13 +00:00
yexo e80f4f20af (svn r18878) -Fix [NewGRF]: crash when a newgrf used var62 in an industry tile chain when the industry tile was part of an original industry 2010-01-21 18:32:44 +00:00
yexo d04441e3f7 (svn r18877) -Change: make the default size of the AI debug window bigger so the 'no ai found' message can be read completely without resizing 2010-01-21 17:13:09 +00:00
yexo 18e7ec6b3e (svn r18876) -Codechange: make sure m4 is always 0 for non-railroad station tiles 2010-01-21 13:34:05 +00:00
rubidium f608ad7baf (svn r18875) -Codechange: remove some unneeded bits from the network protocol and improve the naming of some variables 2010-01-21 11:17:40 +00:00
rubidium e130e4e9ba (svn r18874) -Codechange: Change enum Sprites { to static const StringID = for each SPR_ entry and similar for cursors and palettes. This avoids the need for a cast in some places and thus provides better type-safety. 2010-01-21 01:46:40 +00:00
rubidium db33e32b4d (svn r18873) -Codechange: use PaletteID also in the blitter 2010-01-21 01:44:51 +00:00
rubidium f94c83a387 (svn r18872) -Codechange: introduce PaletteID and use it 2010-01-21 01:38:13 +00:00
translators 05129cf138 (svn r18869) -Update from WebTranslator v3.0:
serbian - 2 changes by etran
slovenian - 49 changes by ntadej
2010-01-20 18:45:10 +00:00
frosch 107ad9bfe1 (svn r18868) -Fix [FS#3547](r18776): Wrong comparator. 2010-01-20 17:59:31 +00:00
translators 36bb4e19ae (svn r18867) -Update from WebTranslator v3.0:
croatian - 36 changes by 
greek - 1 changes by fumantsu
spanish - 109 changes by Terkhen
2010-01-19 18:45:13 +00:00
rubidium 4d93b704d9 (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions 2010-01-18 22:57:21 +00:00
rubidium a8749ffa5b (svn r18864) -Fix [FS#3532]: town noise population settings could not be changed in-game 2010-01-18 21:44:31 +00:00
translators a203eaf18f (svn r18863) -Update from WebTranslator v3.0:
croatian - 36 changes by 
hebrew - 38 changes by dnd_man
polish - 1 changes by xaxa
spanish - 1 changes by Terkhen
ukrainian - 2 changes by Madvin
2010-01-18 18:45:20 +00:00
rubidium b1bd106703 (svn r18862) -Fix [FS#3544]: don't pass AI strings through iconv 2010-01-18 15:41:38 +00:00
smatz a39a446e8f (svn r18861) -Doc: more doxygen documentation in genworld files 2010-01-18 14:58:32 +00:00
yexo a1f28ec88b (svn r18860) -Codechange: introduce a wrapper to get an hangar tile from a station 2010-01-18 14:32:47 +00:00
smatz 565ad802b1 (svn r18859) -Codechange: rename glwp_modes to GenenerateLandscapeWindowMode 2010-01-18 12:53:01 +00:00
yexo bcec00fdbd (svn r18858) -Codechange: use IsAirportTile where possible 2010-01-18 12:36:08 +00:00
yexo ab68f08886 (svn r18857) -Codechange: don't rely on the fact that all airports are rectangular 2010-01-18 12:32:50 +00:00
smatz 84bc831e32 (svn r18856) -Codechange: do not call GetSlopeZInCorner() when there's no fence to draw 2010-01-18 12:09:25 +00:00
smatz 9fc910fbc2 (svn r18855) -Codechange: record compiler name and version in the crash log 2010-01-18 10:11:27 +00:00
rubidium 23a8d2239f (svn r18854) -Codechange [FS#3539]: unconflict acceleration type as 'status' and rail property (Terhken) 2010-01-17 23:03:43 +00:00
smatz 11e3a00a23 (svn r18853) -Codechange: apply coding style to GenWorld's enums, structs and typedefs 2010-01-17 22:59:24 +00:00
rubidium a271ef214b (svn r18852) -Update: tweak date formatting of Hebrew 2010-01-17 22:56:47 +00:00
smatz 2469752559 (svn r18851) -Codechange: enumify number of steps needed to generate landscape 2010-01-17 21:40:35 +00:00
smatz 3850b5912f (svn r18850) -Fix [FS#3540]: don't allow screen redraw when the landscape contains broken slopes 2010-01-17 20:28:08 +00:00
translators 75395dc8ce (svn r18849) -Update from WebTranslator v3.0:
croatian - 36 changes by 
finnish - 1 changes by jpx_
greek - 1 changes by fumantsu
norwegian_nynorsk - 1 changes by bjelleklang
slovenian - 96 changes by ntadej
2010-01-17 18:45:18 +00:00
rubidium 736c12f6ae (svn r18848) -Fix (r18838): the original accelaration got broken 2010-01-17 16:52:35 +00:00
frosch 24e0945bc4 (svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq. 2010-01-17 15:05:25 +00:00
yexo 830af8ee77 (svn r18845) -Codechange: introduce AirportTileSpec and use it for animation 2010-01-17 14:22:07 +00:00
yexo f920415752 (svn r18844) -Codechange: add GPL notice to src/table/airport_defaults.h 2010-01-17 12:48:09 +00:00
frosch ae48ea16f9 (svn r18843) -Codechange: Only NewGRF supplied spritelayouts use SPRITE_MODIFIER_CUSTOM_SPRITE, so no extra tests needed. 2010-01-17 01:22:43 +00:00
frosch d9d75c83d5 (svn r18842) -Codechange: Rename SPRITE_MODIFIER_USE_OFFSET to SPRITE_MODIFIER_CUSTOM_SPRITE, invert its meaning, and also use it for industry/house layouts instead of IS_CUSTOM_SPRITE(). 2010-01-17 01:01:56 +00:00
frosch 707cf045f8 (svn r18841) -Fix (r16869): Default-waypoint was drawn incorrectly for monorail and maglev in the waypoint picker. 2010-01-17 00:51:18 +00:00
frosch 2e9529aff3 (svn r18840) -Codechange: Use DrawCommonTileSeq[InGUI] for roaddepot drawing. 2010-01-16 22:52:51 +00:00
frosch 381bf04bab (svn r18839) -Codechange: Detriplicate drawing of spritelayouts in the GUI. 2010-01-16 22:44:03 +00:00
rubidium 719fb9803c (svn r18838) -Codechange [FS#3524]: reorganisation of the train acceleration code plus some minor optimisations (Terkhen) 2010-01-16 22:30:04 +00:00
frosch d27999e446 (svn r18837) -Codechange: Rename DrawStationTileSeq() to DrawCommonTileSeq() and move it to separate file. 2010-01-16 22:25:44 +00:00
rubidium 199091600a (svn r18836) -Codechange: make TrainUpdateSpeed a class function and update some comments (Terkhen) 2010-01-16 22:16:28 +00:00
peter1138 df06c14f61 (svn r18835) -Fix: Large sounds could still cause an overflow with high sample rates, causing them to be cut off. 2010-01-16 22:15:02 +00:00
rubidium 15adbad2f4 (svn r18834) -Fix [FS#3538]: compilation failed on OpenBSD (matze) 2010-01-16 22:01:33 +00:00
peter1138 3a5e588f12 (svn r18833) -Cleanup: Const-ness and style 2010-01-16 20:59:58 +00:00
frosch c07c7a3818 (svn r18832) -Fix: some indentation whitespace. 2010-01-16 20:51:35 +00:00
rubidium 251ffaa000 (svn r18831) -Change [FS#3537]: do not go into the crashlog handler in case loading a savegame misses with missing NewGRFs. This way the load game crash handler gets better visibility and the user is instructed to find the missing NewGRFs before filing a bug report 2010-01-16 19:08:33 +00:00
translators 7e7ec4f250 (svn r18830) -Update from WebTranslator v3.0:
croatian - 36 changes by 
finnish - 2 changes by jpx_
french - 1 changes by glx
german - 1 changes by planetmaker
hungarian - 2 changes by IPG
slovenian - 144 changes by ntadej
2010-01-16 18:45:22 +00:00
peter1138 711dea210b (svn r18829) -Codechange: Don't free memory from within audio mixer callback handler as it may be required to be real-time safe. 2010-01-16 17:47:26 +00:00
frosch 6101ad8396 (svn r18828) -Fix (r18823): Decrementing uints is different to ints. 2010-01-16 16:44:59 +00:00
alberth ff11095916 (svn r18827) -Fix: Center main window using smallmap widget edge coordinates. 2010-01-16 15:24:00 +00:00
frosch 6465f02fba (svn r18826) -Codechange: Unifiy return value of (SmallArray|FixedSizeArray)::(Append|AppendC) with other containers. (skidd13) 2010-01-16 14:22:19 +00:00
frosch 84ece021fd (svn r18825) -Codechange: Sometimes code is shorter if you do not use a function for deduplication. (skidd13) 2010-01-16 14:17:03 +00:00
frosch e6faf06b68 (svn r18824) -Codechange: Turn some public members into protected ones. (skidd13) 2010-01-16 14:12:18 +00:00
frosch 085e9251c5 (svn r18823) -Codechange: Some uints for unsigned ints. (skidd13) 2010-01-16 14:02:22 +00:00
frosch c7dafb9a26 (svn r18822) -Codechange: Rename YAPF-related container classes and their members to better fit other container classes. (skidd13) 2010-01-16 13:52:24 +00:00
rubidium 21fff6407d (svn r18821) -Codechange: [Allegro] make the frequency and number of samples runtime configurable 2010-01-15 23:47:28 +00:00
rubidium f74ce1890e (svn r18820) -Codechange: [SDL] make the number of samples runtime configurable and increase the default slightly 2010-01-15 23:45:26 +00:00
rubidium 1a1797ec4d (svn r18819) -Change [FS#3493]: be consistent with airport naming 2010-01-15 22:29:47 +00:00
rubidium 879668811c (svn r18818) -Fix [FS#3526] (r18766): some train acceleration type conversions were missed 2010-01-15 22:21:50 +00:00
yexo 31d1e9c051 (svn r18816) -Fix (r18807): getting the catchment area of oilrigs triggered an assert 2010-01-15 21:00:46 +00:00
yexo 72572a0586 (svn r18815) -Fix (r18813): adding a single newgrf via the newgrf gui added all newgrfs after the selected one too 2010-01-15 20:20:24 +00:00
translators 785b7e3382 (svn r18814) -Update from WebTranslator v3.0:
croatian - 36 changes by 
polish - 5 changes by amateja
romanian - 1 changes by kkmic
spanish - 1 changes by Terkhen
2010-01-15 18:45:15 +00:00
yexo bd102b78ee (svn r18813) -Codechange: deduplicate copying a newgrf config 2010-01-15 18:28:30 +00:00
rubidium aaf0b4b46c (svn r18812) -Codechange: make some functions in train.h functions of Train. 2010-01-15 18:23:52 +00:00
rubidium 55d1db5b28 (svn r18811) -Fix (r18803): also swap the parameters for the AI API 2010-01-15 18:22:57 +00:00
glx aff659b0b7 (svn r18810) -Fix (r18809): broken win32 compilation with SDL 2010-01-15 17:59:09 +00:00
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
yexo f380a7239d (svn r18808) -Cleanup: deplicate by using an existing function 2010-01-15 16:37:19 +00:00
yexo d669801f1d (svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there 2010-01-15 12:08:08 +00:00
peter1138 c37d69d161 (svn r18806) -Codechange: Typo in comment 2010-01-15 11:56:31 +00:00
rubidium ca167791b6 (svn r18805) -Codechange: move airport_movement.h to table/ 2010-01-15 10:55:43 +00:00
rubidium 4ecb3eb33c (svn r18804) -Codechange: guard against binaries claiming to be compatible with a future (stable) release of OpenTTD. 2010-01-14 23:06:41 +00:00
rubidium c390e8f00e (svn r18803) -Feature [FS#3318]: make building (long) roads work like building rail; build upon the first obstruction instead of failing totally. Patch by Terkhen. 2010-01-14 23:05:07 +00:00
frosch ed83388faa (svn r18802) -Codechange: Deduplicate drawing-code for depots and stations/waypoints. 2010-01-14 22:56:54 +00:00
rubidium f89d6bea0e (svn r18801) -Fix: in some cases error messages weren't properly sent to the client before closing the connection. As a result the client would say 'connection lost' when the cause was something completely different. 2010-01-14 21:48:42 +00:00
rubidium 83c8c562bb (svn r18800) -Fix: in some cases with invalid packets one can crash recent trunk and 1.0.0 betas; 0.7.5 and before can't be crashed though. 2010-01-14 21:47:31 +00:00
translators f42b435d28 (svn r18799) -Update from WebTranslator v3.0:
croatian - 36 changes by 
russian - 2 changes by Lone_Wolf
ukrainian - 3 changes by Madvin
2010-01-14 18:45:13 +00:00
belugas 1335914ec8 (svn r18798) -Codechange: Simplify use of parameter p2 by using the data it is represeting. Based on work by Terkhen 2010-01-14 15:52:26 +00:00
rubidium 66b900215a (svn r18797) -Fix (r18781): building wagons didn't add them to a train 2010-01-13 21:49:15 +00:00
rubidium 7aeccb9bd0 (svn r18796) -Fix [FS#3521]: [SDL] possible deadlock when killing OpenTTD while starting it 2010-01-13 21:34:48 +00:00
translators f43646cd7d (svn r18795) -Update from WebTranslator v3.0:
croatian - 36 changes by 
dutch - 190 changes by Hirundo
portuguese - 2 changes by JayCity
spanish - 1 changes by Terkhen
2010-01-13 18:45:15 +00:00
rubidium f9d2ccf8db (svn r18794) -Codechange: add local company and network 'state' to the crash log 2010-01-13 15:03:34 +00:00
translators 2868da2f57 (svn r18793) -Update from WebTranslator v3.0:
croatian - 36 changes by 
dutch - 69 changes by Hirundo
german - 1 changes by planetmaker
russian - 2 changes by Lone_Wolf
2010-01-12 18:45:15 +00:00
rubidium 9c579a5adf (svn r18792) -Fix [FS#3522] (r18709): crash when using the 32bpp blitter with a dedicated server 2010-01-12 18:09:48 +00:00
rubidium 70aad27dcb (svn r18791) -Fix [FS#3504]: when copying an 'image' back into the buffer the 32bpp anim blitter triggered palette check of the whole window instead of only the part the got copied back 2010-01-12 16:38:48 +00:00
peter1138 c3fffe7496 (svn r18790) -Revert (r18001,r18177,FS#3515): Viewport could still jump under high CPU load. Revert as change caused more problems than it fixed. 2010-01-12 09:54:18 +00:00
rubidium cb820e3da3 (svn r18789) -Codechange: when we're not in a network game we don't even need to consider undrawing the chat messages 2010-01-12 00:10:38 +00:00
rubidium 351eb4665c (svn r18788) -Codechange: replace macro as without macro it's shorter than with the macro. 2010-01-11 22:46:00 +00:00
rubidium a535acb549 (svn r18787) -Fix [FS#3516]: crash when getting the tooltip of the industry amount in the world generation window 2010-01-11 20:58:52 +00:00
rubidium a6ebc1a77e (svn r18786) -Fix [FS#3507]: NoAI's custom implementation of DoCommandP has several flaws (not masking of bits, not resetting town authority updates on checks/estimates, ...). Let it use DoCommandPInternal, DoCommandP without showing error messages and such, instead. 2010-01-11 20:42:07 +00:00
rubidium 2365819312 (svn r18785) -Codechange: rewrite/rework DoCommandP in order to simplify it, reduce duplication and remove gotos. 2010-01-11 20:39:38 +00:00
rubidium ebe99fd493 (svn r18784) -Codechange: make NetworkSend_Command accept a company instead of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company. 2010-01-11 20:32:32 +00:00
rubidium 3e5a87a52c (svn r18783) -Codechange: make CheckCompanyHasMoney set an error on the CommandCost it tests when you don't have enough money instead of setting a global variable. 2010-01-11 20:21:56 +00:00
rubidium 6a047d2316 (svn r18782) -Codechange: move the content of callback_table.cpp to network_command.cpp; it's only ever used there. 2010-01-11 20:00:14 +00:00
rubidium 2b97f38cd1 (svn r18781) -Codechange: pass the CommandCost to the callback instead of whether it succeeded or not.
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
2010-01-11 18:46:09 +00:00
translators 48df0d4e06 (svn r18780) -Update from WebTranslator v3.0:
traditional_chinese - 1 changes by josesun
croatian - 36 changes by 
dutch - 60 changes by Hirundo
french - 1 changes by glx
2010-01-11 18:45:15 +00:00
rubidium 833c6f36f3 (svn r18779) -Codechange: merge the command callbacks of the primary vehicles; they are identical 2010-01-11 18:34:02 +00:00
michi_cc de878fad31 (svn r18778) -Fix [FS#3483]: [YAPP] Remove a special check for two-sided signals when reserving a path as this causes trains to get stuck in front of them. 2010-01-11 00:02:14 +00:00
rubidium f51aac3523 (svn r18777) -Codechange: remove some unused parameters from a function 2010-01-10 23:20:11 +00:00
frosch d5fa74369a (svn r18776) -Codechange: Use SmallVector to collect refit options. 2010-01-10 21:45:32 +00:00
rubidium 3ebec78900 (svn r18775) -Fix (r18769): non-LZO code used LZO defines, also replace #define with static const uint and add some documentation. 2010-01-10 21:20:51 +00:00
frosch fee0cebc46 (svn r18774) -Change: Consider callback 19 only broken after subcargos 0 to 255 have been used, instead of stopping at 15. 2010-01-10 20:33:10 +00:00
translators 632280e06e (svn r18773) -Update from WebTranslator v3.0:
afrikaans - 6 changes by burgerd
croatian - 36 changes by 
danish - 3 changes by mgarde
dutch - 86 changes by Hirundo
french - 1 changes by glx
italian - 2 changes by lorenzodv
polish - 2 changes by xaxa
spanish - 4 changes by Terkhen
2010-01-10 18:45:27 +00:00
rubidium aca2daf841 (svn r18772) -Feature-ish: allow user customisable compression levels for the zlib compression 2010-01-10 15:35:13 +00:00
rubidium 188c8ebd5c (svn r18771) -Codechange: minor cleanups in saveload code 2010-01-10 14:57:05 +00:00
rubidium f5053cee7e (svn r18770) -Fix-ish: don't allow the memory saveload format to be chosen for savegames; it's utterly useless to make a snapshot in memory and then throw that away without doing anything with it. 2010-01-10 14:30:32 +00:00
rubidium 3ca0937c1c (svn r18769) -Codechange: replace MiniLZO with the real library. If you're using MSVC update openttd-useful, otherwise make sure you've got liblzo2 and it's development files installed. 2010-01-10 13:12:34 +00:00
translators 5afce5831d (svn r18768) -Update from WebTranslator v3.0:
croatian - 36 changes by 
czech - 4 changes by ReisRyos
dutch - 61 changes by Hirundo
finnish - 1 changes by jpx_
indonesian - 43 changes by fanioz
malay - 227 changes by toadhall
spanish - 122 changes by Terkhen
2010-01-09 18:45:25 +00:00
rubidium 2f8b49134c (svn r18767) -Fix: min/max income tooltips for the details performance statistics mentioned months whereas it should be quarters. 2010-01-09 18:44:46 +00:00
peter1138 1382964fa0 (svn r18766) -Codechange: Make train acceleration type (rail/elrail/monorail vs maglev) a rail type property 2010-01-09 15:33:41 +00:00
rubidium b9052fff9f (svn r18765) -Fix [FS#3499] (r18750): crash when trying to show cargo payments when there are 'holes' in the cargospec array 2010-01-09 14:57:03 +00:00
rubidium e4af35d316 (svn r18764) -Fix [FS#3422]: split the (un)load ticks counter and signal wait counter; sometimes they might get into eachother's way 2010-01-09 14:43:08 +00:00
rubidium f65f276d10 (svn r18763) -Feature [FS#3095]: rerandomise AIs on reloading (via the debug window) when they were randomly chosen 2010-01-09 14:41:22 +00:00
yexo 7f6016031e (svn r18762) -Codechange: unduplicate sprite layout drawing between industries and houses 2010-01-08 22:42:00 +00:00
frosch 5b422d0c64 (svn r18761) -Fix [FS#3497]: Spritelayouts do not need an Action 1 if only using default sprites. 2010-01-08 20:42:12 +00:00
frosch a16edfebd9 (svn r18760) -Fix (rlots)[FS#3500]: Action 9 did not properly detect whether an Action 8 was encountered already. 2010-01-08 19:18:32 +00:00
yexo da3decba52 (svn r18759) -Fix [NewGRF]: don't segfault when a newgrf contains an action2 and action3 but no action0 2010-01-08 19:14:33 +00:00
rubidium 37e2ea30a8 (svn r18758) -Change: move Malay to the 'finished' languages 2010-01-08 18:47:25 +00:00
translators b6b34e2643 (svn r18757) -Update from WebTranslator v3.0:
catalan - 1 changes by arnau
simplified_chinese - 69 changes by EraserKing
croatian - 36 changes by 
czech - 11 changes by ReisRyos
danish - 11 changes by beruic
hungarian - 2 changes by IPG
italian - 1 changes by lorenzodv
korean - 1 changes by junho2813
malay - 476 changes by toadhall
portuguese - 1 changes by JayCity
russian - 1 changes by Lone_Wolf
serbian - 1 changes by etran
slovenian - 24 changes by ntadej
spanish - 11 changes by Terkhen
vietnamese - 2 changes by nglekhoi
2010-01-08 18:45:47 +00:00
glx 6179198c65 (svn r18756) -Codechange: direct accesses to png_*_struct members are deprecated 2010-01-08 03:17:12 +00:00
yexo be3ca424f6 (svn r18755) -Fix [FS#3495] (r14847): CircularTileSearch skipped a few tiles close to the starting tile 2010-01-07 20:56:50 +00:00
translators be6fb855e8 (svn r18754) -Update from WebTranslator v3.0:
arabic_egypt - 60 changes by kasakg
croatian - 57 changes by UnderwaterHesus
dutch - 1 changes by habell
french - 1 changes by glx
korean - 2 changes by junho2813
malay - 649 changes by Syed, toadhall
brazilian_portuguese - 1 changes by Rubidium
romanian - 1 changes by kkmic
swedish - 1 changes by Landrash
2010-01-07 18:45:31 +00:00
rubidium aa0b17bd60 (svn r18753) -Fix: Max TE was incorrect in the engine preview 2010-01-07 17:14:08 +00:00
rubidium cd55161622 (svn r18752) -Codechange: unduplify some code 2010-01-07 16:39:04 +00:00
rubidium 1fc01513e2 (svn r18751) -Codechange: also log the zlib version in the crash log 2010-01-07 16:29:58 +00:00
rubidium 175db8d613 (svn r18750) -Fix [FS#3492]: the cargo payment button states weren't properly set on opening the window 2010-01-07 11:54:01 +00:00
rubidium 882b23d3ee (svn r18749) -Fix [FS#3491]: the AI's name and version in the debug panel weren't properly centered 2010-01-07 11:48:59 +00:00
rubidium 0e404038f2 (svn r18747) -Codechange: add some constness to the AI code 2010-01-07 00:09:27 +00:00
rubidium 1967084bc3 (svn r18746) -Fix [FS#3489]: clear the cached NewGRFs of a server when receiving a reply instead of when requesting the information. With slow/unstable network connections it would look like the NewGRF settings button went randomly missing. 2010-01-06 20:49:24 +00:00
frosch 9c4b5e32fa (svn r18745) -Codechange: Assemble custom station foundations into a single bounding box. 2010-01-06 20:23:06 +00:00
frosch 70f96a3dbf (svn r18744) -Fix [FS#3487-ish]: Do not toggle the sticky- and shading-button twice per mouseclick when clicking fast. 2010-01-06 20:17:46 +00:00
translators e0bf5da9ed (svn r18743) -Update from WebTranslator v3.0:
afrikaans - 47 changes by burgerd
croatian - 36 changes by 
dutch - 1 changes by habell
finnish - 3 changes by jpx_
malay - 537 changes by Syed, toadhall
polish - 4 changes by vanta
portuguese - 4 changes by JayCity
russian - 1 changes by Lone_Wolf
ukrainian - 1 changes by Madvin
2010-01-06 18:45:30 +00:00
yexo 4257607e2b (svn r18742) -Fix [NewGRF]: house prop 1D was thrashed when a newgrf contains prop 14 after prop 1D 2010-01-06 15:16:14 +00:00
rubidium 3a26658fed (svn r18741) -Fix (r14597, r16460): the 'ownname' of a language isn't the name of the translator, but the name of the language in said language. 2010-01-06 13:35:32 +00:00
yexo 509d533c51 (svn r18739) -Fix (r18719): building trees on snow with rocks underneed caused an assert 2010-01-06 09:08:43 +00:00
yexo 06842771a8 (svn r18738) -Fix (r18719): when a tree died while there was snow the amount of snow on the tile changed 2010-01-05 22:32:47 +00:00
peter1138 3157dfb675 (svn r18737) -Fix (r12028): Var67 data wasn't swapped properly for orientation. 2010-01-05 22:18:04 +00:00
yexo 75f717cce3 (svn r18736) -Feature [NewGRF]: implement varaction2houses vars 66 ad 67 2010-01-05 21:36:05 +00:00
translators b6bca21877 (svn r18733) -Update from WebTranslator v3.0:
catalan - 2 changes by arnau
croatian - 36 changes by 
finnish - 3 changes by jpx_
german - 1 changes by planetmaker
greek - 1 changes by Rubidium
malay - 503 changes by toadhall
polish - 1 changes by xaxa
russian - 1 changes by Lone_Wolf
spanish - 1 changes by Terkhen
2010-01-05 18:45:29 +00:00
rubidium 74ffe8647f (svn r18732) -Codechange: move the company related commands of misc_cmd.cpp to company_cmd.cpp 2010-01-05 17:11:56 +00:00
rubidium f348afb5aa (svn r18731) -Codechange: move the DrawStationCoverage stuff from misc_gui.cpp to station_gui.cpp 2010-01-05 16:59:57 +00:00
yexo 9143b65785 (svn r18730) -Fix [FS#3414]: new viewports didn't center on the correct position 2010-01-05 14:26:15 +00:00
yexo fa23617380 (svn r18729) -Fix [FS#3427]: the lock in the company gui was only drawn for your own company 2010-01-04 23:00:19 +00:00
yexo 6dcfa9a063 (svn r18728) -Fix: don't mark all tiles dirty in the artic tileloop 2010-01-04 22:26:25 +00:00
rubidium 92c75f9092 (svn r18727) -Fix [FS#3480]: some invalid gender/plural indices in strings, which could eventually cause crashes. 2010-01-04 21:58:47 +00:00
rubidium 28fc7b47bd (svn r18726) -Fix [FS#3463]: with non-uniform industries the 'supplies' text when building a station could be incorrect (missing a cargo)
-Change [NoAI]: AITile::GetCargoProduction now returns the number of producers and not the number of tiles of producers.
-Fix [NoAI]: AITileList_IndustryProducing would omit some tiles for at which a station would get cargo.
2010-01-04 21:10:20 +00:00
frosch 1ed599f5cf (svn r18725) -Add: [NoAI] AIWaypoint::WaypointType and AIWaypoint::HasWaypointType().
-Change: [NoAI] Constructor of AIWaypoint now takes a WaypointType to also handle buoys.
-Remove: [NoAI] AIBuoyList.
2010-01-04 19:42:29 +00:00
yexo 27fc22a76b (svn r18724) -Fix [FS#3475] (r17899): refitting a non-refittable vehicle to it's default cargotype failed, causing problems for AIs 2010-01-04 18:50:50 +00:00
rubidium b42e76d858 (svn r18723) -Codechange: also simplify looping over an area when building trees, desert, rocky areas or leveling land 2010-01-04 18:49:27 +00:00
translators 76bf94bf00 (svn r18722) -Update from WebTranslator v3.0:
croatian - 36 changes by 
finnish - 2 changes by jpx_
french - 1 changes by glx
german - 1 changes by planetmaker
greek - 36 changes by fumantsu
italian - 1 changes by lorenzodv
malay - 58 changes by toadhall
romanian - 1 changes by kkmic
russian - 2 changes by Lone_Wolf
serbian - 4 changes by etran
swedish - 1 changes by Landrash
2010-01-04 18:45:41 +00:00
rubidium 9dfa2db455 (svn r18721) -Codechange: simplify adding/removing rectangles of tiles from AITileLists 2010-01-04 18:39:46 +00:00
rubidium 740585c219 (svn r18720) -Codechange: simplify looping and validation of CmdBuildCanal 2010-01-04 18:37:47 +00:00
yexo b378e82676 (svn r18719) -Feature: don't delete the rough/rocky status of a tile when it's covered by snow, this allows rocky tiles under snow if you have a variable snowline 2010-01-04 18:33:43 +00:00
rubidium 3e131e2fec (svn r18718) -Codechange: make a wrapper macro for looping TileAreas 2010-01-04 18:30:10 +00:00
rubidium 87466a4ed0 (svn r18717) -Codechange: use TileArea in industry instead of three separate variables. Also make use of TileArea functions for determining the 'width' and 'height' of an industry. 2010-01-04 18:21:07 +00:00
rubidium 71f2789270 (svn r18716) -Codechange: pass a TileArea to FindStationsAroundTiles 2010-01-04 18:16:32 +00:00
rubidium 31b325baaf (svn r18715) -Codechange: make StationFinder a subclass of TileArea 2010-01-04 18:12:10 +00:00
rubidium 8b88bb0c9b (svn r18714) -Codechange: move the TileArea struct to it's own header 2010-01-04 18:05:14 +00:00
rubidium 02a297669a (svn r18713) -Fix [FS#3476]: the join station window didn't account for scrolling, so if you did scroll the station was not joined with the selected station 2010-01-04 17:54:57 +00:00
peter1138 51f5102713 (svn r18712) -Fix (r5167): Spurious character spacing with free type fonts for small and large font sizes. 2010-01-04 16:37:53 +00:00
rubidium 3e481c4027 (svn r18710) -Fix [FS#3478]: the wrong town is mentioned in the error when trying to make one way roads of town owned roads 2010-01-04 11:35:12 +00:00
peter1138 abb147d974 (svn r18709) -Fix (r10227,FS#3464): Animation buffer for 32bpp-anim blitter was only validated during sprite blitting, other drawing operations didn't check it. Initial startup and window resize could therefore lead to crash. 2010-01-04 02:32:36 +00:00
peter1138 5ab64809fe (svn r18708) -Feature: [NewGRF] Add support for custom station foundation graphics. 2010-01-03 22:44:57 +00:00
yexo 9e2ccca327 (svn r18707) -Fix (r17802): local variables should not be accessed after the function returns 2010-01-03 22:43:12 +00:00
rubidium 069b6a9fab (svn r18703) -Feature-ish: allow virtually paying a percentage of the leg profit in feeder chains. This to give the user a better chance to get a feeder system without "losses". 2010-01-03 21:29:20 +00:00
frosch a9d4147eb2 (svn r18702) -Fix [FS#3467]: Enable DrawGroundSpriteAt() to deal with foundations as DrawGroundSprite() does, and use this for drawing one-way-road-signs and clear-land-fences. 2010-01-03 20:55:00 +00:00
yexo 8a50a4112c (svn r18701) -Fix (r18700): always compile before making a commit 2010-01-03 20:14:50 +00:00
yexo 47a11fff20 (svn r18700) -Fix: when deleting an industry on water (oil rigs) the tiles on water were not marked dirty 2010-01-03 19:33:12 +00:00
frosch 666c856457 (svn r18699) -Fix [FS#PlanetAndy]: GRF parameters were not properly initialised to zero, and not always checked for valid range. 2010-01-03 19:29:56 +00:00
translators f82c591022 (svn r18698) -Update from WebTranslator v3.0:
croatian - 36 changes by 
estonian - 71 changes by KSiimson
greek - 4 changes by fumantsu
indonesian - 4 changes by prof
portuguese - 1 changes by JayCity
spanish - 1 changes by Terkhen
urdu - 13 changes by waderay
2010-01-03 18:45:21 +00:00
rubidium 409007cd92 (svn r18697) -Fix [FS#3471]: crash when scrolling to an item removed by filtering in the 'add NewGRF window' 2010-01-03 15:25:51 +00:00
yexo 6e97511bcb (svn r18696) -Fix [FS#3404]: AITile::IsCoastTile returned false for coast tiles with trees on them. 2010-01-03 12:42:50 +00:00
translators c73df2016a (svn r18694) -Update from WebTranslator v3.0:
catalan - 7 changes by arnau
croatian - 36 changes by 
korean - 1 changes by junho2813
norwegian_nynorsk - 10 changes by 2rB
polish - 4 changes by silver_777
portuguese - 2 changes by JayCity
romanian - 41 changes by tonny
2010-01-02 18:45:23 +00:00
alberth ab26bfd6a0 (svn r18693) -Doc: Add some doxygen comments to smallmap code. 2010-01-02 18:29:51 +00:00
yexo c8c61faff2 (svn r18692) -Fix: after a company went bankrupt it was impossible to build a new waypoint close to a deleted one until the grey sign was gone 2010-01-02 17:09:14 +00:00
yexo d8bcda3b94 (svn r18691) -Change [NoAI]: cleanup some errors messages and add a few to AIWaypoint 2010-01-02 16:47:32 +00:00
rubidium 43a5a4bee8 (svn r18690) -Fix [FS#3469]: some keys that open windows that want to be located relatively to the toolbars/statusbar could cause a crash when in one of the end game screens 2010-01-02 16:05:27 +00:00
rubidium 35c79d81ef (svn r18689) -Codechange: move the looping over chunkhandlers code to a macro 2010-01-02 15:56:20 +00:00
rubidium 58be174df2 (svn r18688) -Cleanup: remove some unused code/constants 2010-01-02 15:52:41 +00:00
yexo fe67e85700 (svn r18687) -Add [NoAI]: AIEngine::IsBuildable to check if you can build a certain engine.
-Change: AIEngine::IsValidEngine will now also return true when you have at least one vehicle of that type even if you can't build it anymore.
2010-01-02 15:52:29 +00:00
rubidium ea75e7da60 (svn r18686) -Fix [FS#3470]: in some cases _sl.chs is used when not initialised. As _sl.chs always refers to a single table when initialised replace _sl.chs with the actual table 2010-01-02 15:48:07 +00:00
rubidium 0f22c6030d (svn r18685) -Update: add genders to Catalan 2010-01-02 11:26:20 +00:00
rubidium b2e9b5d612 (svn r18683) -Fix: it's not an other 2010-01-01 18:45:40 +00:00
translators 115b207745 (svn r18682) -Update from WebTranslator v3.0:
traditional_chinese - 1 changes by josesun
croatian - 36 changes by 
czech - 1 changes by martin_meridius
korean - 1 changes by junho2813
norwegian_bokmal - 5 changes by CyberKenny
portuguese - 9 changes by JayCity
romanian - 5 changes by tonny
serbian - 5 changes by etran
ukrainian - 5 changes by Madvin
2010-01-01 18:45:35 +00:00
peter1138 81dc77ee23 (svn r18681) -Codechange: Use existing TILE_LOOP method for iterating trigger area. 2010-01-01 18:19:26 +00:00
peter1138 f77d88c0aa (svn r18680) -Fix: Whole station area is already correct size. 2010-01-01 18:10:50 +00:00
rubidium 936477c323 (svn r18679) -Fix (r16993): tile area of waypoints wasn't correctly given to NewGRFs in case of multi tile waypoints 2010-01-01 18:10:10 +00:00
rubidium 0bc292056d (svn r18678) -Update: happy new year 2010-01-01 00:00:45 +00:00
translators b6496be499 (svn r18677) -Update from WebTranslator v3.0:
catalan - 5 changes by arnau
traditional_chinese - 36 changes by josesun
croatian - 36 changes by 
czech - 4 changes by martin_meridius
dutch - 5 changes by habell
finnish - 1 changes by jpx_
french - 2 changes by Skiper, glx
german - 5 changes by planetmaker
hungarian - 5 changes by alyr
italian - 5 changes by lorenzodv
korean - 4 changes by junho2813
lithuanian - 14 changes by Devastator
persian - 1 changes by Gajoo
portuguese - 2 changes by JayCity
russian - 11 changes by Lone_Wolf
spanish - 1 changes by Terkhen
swedish - 4 changes by Landrash
urdu - 15 changes by waderay
2009-12-31 18:45:51 +00:00
rubidium ebfdcf575d (svn r18676) -Change [FS#3411]: 'escape' in the 'found town' window removes the focus from the town name input box 2009-12-31 18:12:10 +00:00
rubidium de3cff9e1a (svn r18675) -Add [FS#3256]: function to remove focus from all widgets in a window 2009-12-31 18:11:03 +00:00
peter1138 739aea3e1a (svn r18674) -Feature (FS#3459): Configurable slope steepness for trains from 0% to 10%, default is 3% as before (mostly by Terkhen) 2009-12-31 10:41:03 +00:00
peter1138 2d14ced236 (svn r18673) -Fix (r17943): Deja vu: 3 byte structs are padded to a word on ARM. 2009-12-31 07:39:05 +00:00