Commit Graph

8867 Commits

Author SHA1 Message Date
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