alberth
72d62fd6fc
(svn r19494) -Codechange: Remove _error_message.
2010-03-20 17:58:24 +00:00
alberth
a9926e21dc
(svn r19493) -Codechange: Keep track of last error in CmdDepotSellAllVehicles().
2010-03-20 17:22:15 +00:00
alberth
2cb5c0591f
(svn r19492) -Codechange: Keep track of last error in CmdClearArea().
2010-03-20 17:19:16 +00:00
alberth
25907d12b8
(svn r19491) -Codechange: Keep track of last error in CmdRemoveLongRoad().
2010-03-20 17:14:26 +00:00
alberth
ba6605b99e
(svn r19490) -Fix: Return to old behaviour of CmdLevelLand() by keeping track of last error.
2010-03-20 17:13:00 +00:00
alberth
5dec903d5c
(svn r19489) -Codechange: Introduce a had_success variable in SendAllVehiclesToDepot().
2010-03-20 17:10:14 +00:00
alberth
312c0c9906
(svn r19488) -Codechange: Use last_error data for removal in CmdRailTrackHelper() as well.
2010-03-20 17:08:16 +00:00
alberth
21bd55939d
(svn r19487) -Codechange: Removed non-reachable return statement.
2010-03-20 16:53:46 +00:00
alberth
e93fea29fd
(svn r19486) -Codechange: Code style, move var declarations closer to their first use.
2010-03-20 16:47:07 +00:00
alberth
885547b884
(svn r19485) -Codechange: Re-implement CalcBridgeLenCostFactor() in a more readable way without changing computed costs.
2010-03-20 16:45:23 +00:00
alberth
42946f2a40
(svn r19484) -Codechange: Rename parameter 'x' of CalcBridgeLenCostFactor() to 'length'.
2010-03-20 15:32:58 +00:00
alberth
8109a0ad7f
(svn r19483) -Codechange: Code layout fixes, and parentheses reduction.
2010-03-20 15:30:57 +00:00
alberth
68ee4aa7d6
(svn r19482) -Doc: Doxygen additions/updates.
2010-03-20 15:23:26 +00:00
frosch
be6c18454a
(svn r19481) -Codechange: Turn _industry_counts into a static member of Industry.
2010-03-20 14:30:16 +00:00
terkhen
55bc2c58ea
(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
a7619c7fb3
(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
b0f3fff54b
(svn r19478) -Codechange: Resolve TS_ prefix clash between TileSource and TownSize enums.
2010-03-20 10:55:08 +00:00
yexo
608d5bdd97
(svn r19477) -Fix (r1946x): removed a few too functions including the copy constructor
2010-03-19 22:46:22 +00:00
yexo
d72dfea800
(svn r19476) -Codechange: simplify the 'is conflicting industry nearby' check a bit
2010-03-19 21:23:54 +00:00
terkhen
baedea5dd4
(svn r19475) -Cleanup: Remove an unneeded for when drawing detail panels.
2010-03-19 21:00:15 +00:00
yexo
ceba15f114
(svn r19474) -Cleanup: remove ByteBlob::Append(T*, num_items)
2010-03-19 20:44:23 +00:00
yexo
762fbc70c0
(svn r19473) -Codechange: remove unused variables in the Blob::SmartAlloc code (skidd13)
2010-03-19 20:28:28 +00:00
yexo
e0187a0ea5
(svn r19472) -Codechange: reorder the static members of ByteBlob and add Zero() (skidd13)
2010-03-19 20:13:15 +00:00
yexo
40765d328e
(svn r19471) -Codechange: rename ByteBlob methods to fit common style (skidd13)
2010-03-19 20:08:40 +00:00
yexo
33946d3c2c
(svn r19470) -Codechange: rename blob internals (skidd13)
2010-03-19 20:06:33 +00:00
yexo
4850c91b76
(svn r19469) -Codechange: remove unused functions from Blob (skidd13)
2010-03-19 20:05:49 +00:00
yexo
7744ec0870
(svn r19468) -Codechange: make ptr_u union in Blob anonymous (skidd13)
2010-03-19 20:04:24 +00:00
yexo
75c520cd08
(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
33a9deca6c
(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
a2ea0b7b12
(svn r19465) -Codechange: support for multi-tile hangars
2010-03-19 11:17:52 +00:00
yexo
455bb65282
(svn r19464) -Codechange: move GetHangarTile to Airport
2010-03-19 09:58:46 +00:00
yexo
79909cedee
(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
e414e06ab8
(svn r19462) -Codechange: use the AS_GENERIC macro also for the dummy airport
2010-03-19 00:34:38 +00:00
yexo
e062b50f15
(svn r19461) -Fix (r19355): p1 was still used in two places
2010-03-18 23:41:39 +00:00
rubidium
e5a19ea279
(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
3291a6c2f9
(svn r19459) -Feature: make some airport properties modifyable by newgrfs
2010-03-18 23:15:38 +00:00
yexo
fbf60bf1d1
(svn r19458) -Fix (r19457): svn add the new file
2010-03-18 23:14:47 +00:00
yexo
cc23ebd446
(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
ff7e317db0
(svn r19456) -Codechange; increase the maximum number of airports
2010-03-18 23:10:35 +00:00
yexo
22a27d3b62
(svn r19455) -Codechange: split all airport information in Station to a seperate class
2010-03-18 21:02:20 +00:00
translators
6b67d9042c
(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
c6c48d874f
(svn r19453) -Codechange: split getting the initial aircraft position to a new function
2010-03-18 18:38:32 +00:00
rubidium
ac019b15ca
(svn r19452) -Change: plural type of Slovak (keso)
2010-03-18 16:34:50 +00:00
yexo
841e385368
(svn r19451) -Cleanup: remove some unused code
2010-03-18 15:20:49 +00:00
yexo
44ca44a05d
(svn r19450) -Fix (r19197): animation callbacks for airport tiles where never called
2010-03-18 15:20:21 +00:00
yexo
6d1c3ec97c
(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
749d58ca6d
(svn r19445) -Change: No need to drag an area when overbuilding bridges.
2010-03-17 20:19:55 +00:00
frosch
a1e4139025
(svn r19443) -Fix [FS#3701]: Mark industry windows dirty more often.
2010-03-17 18:52:56 +00:00
rubidium
ef7355467e
(svn r19441) -Fix (r19437): broken Greek translation.
2010-03-17 18:49:59 +00:00
translators
8f4bf79fe1
(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
6003b9f211
(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
ca5f1adbf0
(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
a974195284
(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
fa9d25eb2c
(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
a7b93cdeb5
(svn r19434) -Add: Add rail speed limit to land area information window.
2010-03-16 06:43:41 +00:00
peter1138
369975964a
(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
f30297fdbb
(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
bbfc0a49e5
(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
4c358cb1e1
(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
b20309a02a
(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
f671a51666
(svn r19427) -Codechange: gracefully handle the case where we can't open a .tar file.
2010-03-15 17:44:54 +00:00
rubidium
7ba01a1874
(svn r19426) -Fix: compilation with AIs disabled
2010-03-15 11:45:15 +00:00
michi_cc
72b15f0c73
(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
1a5e825d8d
(svn r19424) -Codechange: Call command procs only via DoCommand().
2010-03-14 20:53:31 +00:00
alberth
68213d25ab
(svn r19423) -Codechange: Move error message reporting of industry build in SE to a callback.
2010-03-14 19:59:45 +00:00
translators
95407d5d22
(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
64c38c89c9
(svn r19421) -Codechange: Remove explicit use of _error_message from CmdConvertRail().
2010-03-14 16:42:55 +00:00
alberth
bf54baf991
(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
efddc16fc3
(svn r19419) -Codechange: Use failed CommandCost object to retrieve message instead of _error_message.
2010-03-14 14:36:37 +00:00
alberth
51e71c8a36
(svn r19418) -Codechange: Code style fix for ValParamTrackOrientation().
2010-03-14 14:30:51 +00:00
alberth
1aef93517f
(svn r19417) -Codechange: More code style, move variable declarations to their first use.
2010-03-14 14:01:53 +00:00
alberth
df772274cf
(svn r19416) -Codechange: Code style, move variable declarations to their first use.
2010-03-14 13:49:23 +00:00
alberth
cb10444807
(svn r19415) -Codechange: Forward CommandCost with an error back to the caller.
2010-03-14 12:58:51 +00:00
alberth
19dff3a6b2
(svn r19414) -Doc: Several doxygen additions and corrections.
2010-03-14 12:39:24 +00:00
alberth
130f9f96b3
(svn r19413) -Codechange: Merging RailtypeFlag enum (a bit number) with RailTypeFlags enum (had values only).
2010-03-14 12:04:10 +00:00
alberth
e5529f46f4
(svn r19412) -Codechange (r9942): One pair of parentheses is enough.
2010-03-13 20:03:58 +00:00
translators
52b41f6170
(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
5271816287
(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
4aeea5cc21
(svn r19408) -Change: make the space after ... consistent in the translations too
2010-03-13 18:13:35 +00:00
rubidium
cf70388000
(svn r19407) -Fix: incorrect number of dots in '...' in translations
2010-03-13 18:06:10 +00:00
rubidium
f213795a1a
(svn r19406) -Fix: unneeded space in English string
2010-03-13 17:58:04 +00:00
alberth
d5fe3f96c7
(svn r19405) -Codechange: CheckOwnership() returns a CommandCost.
2010-03-13 17:11:28 +00:00
alberth
a4a7465fe7
(svn r19404) -Codechange: CheckAllowRemoveTunnelBridge() returns a CommandCost.
2010-03-13 16:38:23 +00:00
frosch
37109f9b66
(svn r19403) -Fix (r19398): Test inverted.
2010-03-13 15:55:04 +00:00
alberth
59caa8ea94
(svn r19402) -Codechange: CheckAllowRemoveRoad() returns a CommandCost.
2010-03-13 15:53:44 +00:00
alberth
d503642072
(svn r19401) -Codechange: Use curly braces with multi-line if statements.
2010-03-13 15:42:36 +00:00
alberth
ae5b11321b
(svn r19400) -Codechange: CheckforTownRating returns a CommandCost.
2010-03-13 15:33:07 +00:00
alberth
8bda21c5a0
(svn r19399) -Doc: Doxyment enum TownRatingCheckType.
2010-03-13 15:13:19 +00:00
rubidium
9981952acf
(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
23e2cffebd
(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
eaa878621b
(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
25e5be2b51
(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
e18436477b
(svn r19392) -Codechange: Increase the maximum size of a TileArea.
2010-03-12 19:38:00 +00:00
rubidium
9317384c1a
(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
56f37ecaef
(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
c90afebee4
(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
1ebaa68cd2
(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
ce807f1f26
(svn r19387) -Fix [FS#3671]: Close all orders windows when switching companies.
2010-03-11 20:57:18 +00:00
translators
f52d3256a5
(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
017281bc22
(svn r19385) -Fix [FS#3684]: [IPv6] Netmask calculations were wrong if cidr >= 32.
2010-03-11 17:57:14 +00:00
frosch
04e510f966
(svn r19384) -Fix: Overbuilding plain rail with stations did not update PBS reservation.
2010-03-10 20:45:23 +00:00
frosch
da82483b83
(svn r19383) -Fix [FS#3680]: Overbuilding bridges cleared PBS reservation.
2010-03-10 20:44:04 +00:00
yexo
d13ca455b8
(svn r19382) -Fix (r19381): don't break savegame version 139
2010-03-10 18:59:40 +00:00
yexo
8bc4dbf8ab
(svn r19381) -Fix [FS#3670] (r19198): airport size wasn't properly stored in the savegame
2010-03-10 18:51:56 +00:00
yexo
38c4e21fdf
(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
5e9988877e
(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
a93b54bf6e
(svn r19378) -Codechange: Rename ReadExtended() to ReadExtendedByte()
2010-03-10 07:31:08 +00:00
translators
054573b5a3
(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
042902a5eb
(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
7d9b3ce17a
(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
f950829b3c
(svn r19373) -Fix (r19372): Missing variable declaration.
2010-03-07 22:31:18 +00:00
alberth
6005227ac9
(svn r19372) -Codechange: CheckTileOwnership() returns a CommandCost.
2010-03-07 20:44:05 +00:00
translators
d8f4ccfdf7
(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
8ae03fd9ec
(svn r19370) -Codechange: EnsureNoTrainOnTrack() returns a CommandCost.
2010-03-07 18:29:53 +00:00
alberth
b04de719b3
(svn r19369) -Codechange: EnsureNoTrainOnTrackBits() returns a CommandCost now.
2010-03-07 18:24:41 +00:00
frosch
2044c94217
(svn r19368) -Codechange: Return early in AIAbstractList::SetValue(), if the value is not modified.
2010-03-07 17:38:40 +00:00
frosch
abcd24ab61
(svn r19367) -Fix [FS#3665]: List valuator could cause invalid iterators.
2010-03-07 17:24:07 +00:00
alberth
a8385d5bf5
(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
014f651e65
(svn r19365) -Codechange: Move EnsureNoTrainOnTrackProc() to src/vehicle.cpp.
2010-03-07 15:54:58 +00:00
peter1138
cca91d7e75
(svn r19364) -Fix [FS#3668]: Implement custom sound effect for helicopter take-off.
2010-03-07 15:10:39 +00:00
alberth
3679ab0489
(svn r19363) -Codechange: Remove use of _error_message global from TerraformTile_Track.
2010-03-07 14:00:53 +00:00
alberth
fba4bed6bf
(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
d2221982d3
(svn r19361) -Fix [FS#3664](r19353): crash when an airport was deleted
2010-03-06 23:54:54 +00:00
terkhen
e4bb3f80b7
(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
3bb2a50df4
(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
9eca269321
(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
f35c0e145c
(svn r19357) -Codechange: Add 'face' member to ErrmsgWindow to simplify stuff.
2010-03-06 16:23:32 +00:00
frosch
6f26434909
(svn r19356) -Fix: Whitespace.
2010-03-06 16:15:50 +00:00
yexo
28fffb09e5
(svn r19355) -Codechange: add the airport layout to build as parameter to CmdBuildAirport
2010-03-06 16:07:45 +00:00
yexo
c5e5a2d651
(svn r19354) -Codechange: store the number of layouts in AirportSpec
2010-03-06 16:02:07 +00:00
yexo
79a8345749
(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
128ef7617d
(svn r19352) -Fix (r19332): MSVC doesn't have M_PI in math.h
2010-03-06 15:30:40 +00:00
yexo
fadc8a3fee
(svn r19351) -Codechange: use TileArea for AfterRemoveRect
2010-03-06 13:38:46 +00:00
alberth
beb46d1a7f
(svn r19350) -Codechange: StationRect::BeforeAddRect() returns a CommandCost.
2010-03-06 13:23:33 +00:00
terkhen
32bd795e62
(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
e6a1b2d92e
(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
f27186e617
(svn r19347) -Add: Vehicle GUI now shows power, weight and tractive effort for road vehicles.
2010-03-06 12:59:28 +00:00
terkhen
f78a386b87
(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
e6878d7ba1
(svn r19345) -Feature: Realistic acceleration for road vehicles.
2010-03-06 12:56:57 +00:00
terkhen
ac03431a76
(svn r19344) -Codechange: RoadVehicle uses UpdateInclination instead of its own function.
2010-03-06 12:55:56 +00:00
terkhen
2e18705d4e
(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
53c6f12693
(svn r19342) -Codechange: Move inclination update functions to GroundVehicle.
2010-03-06 12:52:44 +00:00
terkhen
963f304f67
(svn r19341) -Codechange: Move GOINGUP/GOINGDOWN flags to GroundVehicle.
...
-Codechange: Move GetSlopeResistance to GroundVehicle.
2010-03-06 12:50:55 +00:00
terkhen
a0cb027db1
(svn r19340) -Documentation: Add a list of required functions to GroundVehicle.
2010-03-06 12:45:47 +00:00
terkhen
78dd849452
(svn r19339) -Codechange: Move acceleration functions to GroundVehicle.
2010-03-06 12:44:30 +00:00
terkhen
544b9e1f5d
(svn r19338) -Codechange: Move the acceleration cache to GroundVehicle.
2010-03-06 12:42:53 +00:00
terkhen
bd9205bdf2
(svn r19337) -Codechange: Create the GroundVehicle class.
2010-03-06 12:41:18 +00:00
terkhen
4921477a88
(svn r19336) -Codechange: Move rail speed limit to its own function.
2010-03-06 12:27:23 +00:00
alberth
1f2a0c3a77
(svn r19335) -Codechange: StationRect::BeforeAddTile() returns a CommandCost.
2010-03-06 12:15:03 +00:00
alberth
26d53fbb5f
(svn r19334) -Codechange: method-call codestyle fixes, and introduction of const reference formal parameter.
2010-03-06 11:54:59 +00:00
alberth
df142cdd0e
(svn r19333) -Fix (r19328): int versus uint comparison warning fixed.
2010-03-06 11:08:39 +00:00
peter1138
70fb7e4549
(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
e6f148119d
(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
d5eaf69fe5
(svn r19330) -Cleanup: remove the now unused 'oilrig' from AirportSpec
2010-03-06 00:38:21 +00:00
yexo
5671e8b7fb
(svn r19329) -Codechange: language updates for the previous commits
2010-03-05 23:22:31 +00:00
yexo
75b0d39d23
(svn r19328) -Feature: a more extendable gui for building airports
2010-03-05 23:21:56 +00:00
yexo
5dce998f6a
(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
e6d7e6e977
(svn r19326) -Codechange: store the airport name as property in AirportSpec
2010-03-05 23:21:41 +00:00
yexo
d587ad5782
(svn r19325) -Codechange: introduce airport classes and split the default airports in 4 classes
2010-03-05 23:21:35 +00:00
yexo
20dd63a590
(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
e69d50d86b
(svn r19323) -Codechange: copy the AirportSpec original array to an internal array in AirportSpec
2010-03-05 23:21:23 +00:00
yexo
4768c3f87c
(svn r19322) -Codechange: change the id of the oilrig airport from 15 to 9
2010-03-05 23:20:02 +00:00
rubidium
8ddb33a3bc
(svn r19321) -Codechange [FS#3630]: unify the rail station widget descriptions (sbr)
2010-03-05 22:48:58 +00:00
alberth
d285d2e414
(svn r19320) -Fix (r19291): Forgot to set error message.
2010-03-05 21:34:12 +00:00
alberth
4c0d4990f5
(svn r19319) -Codechange: EnsureNoVehicleOnGround() returns a CommandCost.
2010-03-05 21:20:22 +00:00
yexo
ef1b27a18d
(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
d69cd842c3
(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
a8d4308d17
(svn r19316) -Fix (r19186): Give correct error when failing to flatten land.
2010-03-04 21:35:26 +00:00
yexo
ce7a0304f5
(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
5f5eb51c57
(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
39b9be2998
(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
73fdfa40e0
(svn r19307) -Add: Let railtypes specify their own smallmap colour. No legend support yet.
2010-03-03 19:07:34 +00:00
peter1138
82f09c6ed8
(svn r19306) -Change: Railtype cost factor from byte to word value
2010-03-03 18:58:32 +00:00
translators
abb44be391
(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
f87e0e8d7c
(svn r19304) -Fix [FS#3652]: disable sound when a sound error happen instead crashing
2010-03-02 23:11:23 +00:00
frosch
c1cb4de447
(svn r19303) -Codechange: Silence a gcc warning.
2010-03-02 20:31:05 +00:00
translators
9936475e23
(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
707eb6d723
(svn r19301) -Feature: [YAPF] Consider the railtype imposed speed limit for pathfinding.
2010-03-02 03:31:02 +00:00
yexo
446372fe9f
(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
9c77ff3352
(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
1cd347bfc9
(svn r19297) -Codechange: Variable scope and documentation of DoCreateNewIndustry().
2010-03-01 19:34:04 +00:00
translators
a75d536b1b
(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
23af928ce9
(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info
2010-02-28 20:28:08 +00:00
frosch
1d145f1070
(svn r19294) -Change: [NoAI] Remove HasNext() from all lists/iterators and add IsEnd() instead.
2010-02-28 20:25:03 +00:00
frosch
ac3c1aae53
(svn r19293) -Fix [FS#3566]: Some methods of AIAbstractList left invalid iterators.
2010-02-28 19:53:11 +00:00
translators
e99b4ea4a8
(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
d0ec21fd3f
(svn r19291) -Codechange: Rename HasVehicleOnTunnelBridge() to TunnelBridgeIsFree() and return a CommandCost status.
2010-02-28 18:15:19 +00:00
alberth
6601623518
(svn r19289) -Codechange: Move _error_message assignment from check routine to caller.
2010-02-28 10:47:46 +00:00
alberth
16f52ec33a
(svn r19288) -Codechange: Move EnsureNoVehicleOnGround() and HasVehicleOnTunnelBridge() functions.
2010-02-28 10:44:53 +00:00
alberth
3338efed28
(svn r19287) -Fix [FS#3650] (r19263): Don't store a boolean in a CommandCost.
2010-02-28 09:44:35 +00:00
michi_cc
50e13b49db
(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
e175c704a3
(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
e6397cf68b
(svn r19282) -Doc: Add some doxygen doc markup.
2010-02-27 19:53:37 +00:00
rubidium
79fd831ccd
(svn r19281) -Fix (r19280): typo in Hungarian caused compile failure of the language
2010-02-27 18:57:01 +00:00
translators
75b00fe4ac
(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
87c09ddcc0
(svn r19279) -Codechange: CheckIfAuthorityAllowsNewStation() returns CommandCost.
2010-02-27 17:42:55 +00:00
rubidium
f91cf9e519
(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
274727ab36
(svn r19276) -Fix [FS#3649](r19229): Newly built road stops were not always repainted.
2010-02-27 16:27:15 +00:00
alberth
4d9bc56e88
(svn r19275) -Codechange: CanExpandRailStation() returns a CommandCost.
2010-02-27 14:17:33 +00:00
alberth
24762bcfce
(svn r19274) -Codechange: CmdBuildAirport() returns the 'too spread out' error via CommandCost, if needed.
2010-02-27 14:03:06 +00:00