Commit Graph

8884 Commits

Author SHA1 Message Date
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
alberth
9f437abd40 (svn r19273) -Codechange: Return station joining error message when error is detected. 2010-02-27 13:51:11 +00:00
alberth
01562e2dfc (svn r19272) -Doc: successfull -> successful. 2010-02-27 12:29:44 +00:00
alberth
8807f454e0 (svn r19271) -Fix (r19270): Secondary error messages start with ... . 2010-02-27 12:21:34 +00:00
alberth
4ec812b147 (svn r19270) -Codechange: Forward CommandCost results through CreateNewIndustryHelper(). 2010-02-27 12:12:01 +00:00
alberth
fbbf22da32 (svn r19269) -Codechange: PerformIndustryTileSlopeCheck() returns a succeeded or failed command. 2010-02-27 10:21:59 +00:00
translators
80ef4177c0 (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
7721a5cc51 (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
43cc8f3a23 (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
a88f57efde (svn r19263) -Fix (r19184): some specific industry creation errors got replaced by 'site unsuitable'. 2010-02-26 09:55:53 +00:00
rubidium
04fbf762fb (svn r19262) -Feature: finalise BaNaNaS support for music sets 2010-02-26 00:00:55 +00:00
smatz
766c0ee824 (svn r19260) -Codechange: another minor coding style fix 2010-02-25 22:59:24 +00:00
terkhen
1805a10e65 (svn r19259) -Fix (r19230): Road stops were not removed in case of bankruptcy. 2010-02-25 21:43:28 +00:00
smatz
20cb48ac12 (svn r19257) -Codechange: minor coding style fix 2010-02-25 21:13:50 +00:00
yexo
daf89297fe (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
b21278659c (svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it 2010-02-25 20:05:31 +00:00
yexo
d60fb0640b (svn r19254) -Codechange: simplify newgrf text code by introducing a few helper functions 2010-02-25 20:00:11 +00:00
translators
bf67762f4c (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
2f0b98ef91 (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
e876e21abf (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
59e767b1bf (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
cdaeead70f (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
b893abb356 (svn r19248) -Fix: DOS 'port' did not compile anymore 2010-02-25 13:06:00 +00:00
yexo
5e48066824 (svn r19247) -Codechange: Rename methods to fit better to common style (skidd13) 2010-02-25 11:52:04 +00:00
yexo
9ab9cf06bf (svn r19246) -Doc: CBinaryHeapT (skidd13) 2010-02-25 11:51:38 +00:00
yexo
f6ea57d2c4 (svn r19245) -Codechange: apply coding style to binary heap (skidd13) 2010-02-25 11:50:58 +00:00
yexo
f8a67c21e4 (svn r19244) -Codechange: Remove function call if consistency-check is not used (skidd13) 2010-02-25 11:50:30 +00:00
yexo
55e5a38d15 (svn r19243) -Codechange: rename var's to fit better to common style (skidd13) 2010-02-25 11:49:17 +00:00
yexo
4b6c04585e (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
a44f12ade5 (svn r19241) -Cleanup: Move the HeapifyUp code into its own method (skidd13) 2010-02-25 11:48:09 +00:00
yexo
37b4da9f4b (svn r19240) -Codechange: Unify HeapifyUp code (skidd13) 2010-02-25 11:47:44 +00:00
yexo
71aedf247e (svn r19239) -Cleanup: Move the HeapifyDown code into its own method (skidd13) 2010-02-25 11:47:18 +00:00
yexo
baf9c32900 (svn r19238) -Codechange: Unify the HeapifyDown code (skidd13) 2010-02-25 11:46:41 +00:00
yexo
b7d2c74b0b (svn r19237) -Codechange: use types directly and prefer uint instead of int (skidd13) 2010-02-25 11:46:20 +00:00
yexo
9ed0a64d04 (svn r19236) -Codechange: move method code into class definition (skidd13) 2010-02-25 11:45:47 +00:00
peter1138
82be024308 (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
fa43522946 (svn r19233) -Fix: the -M command line option did not work 2010-02-24 22:41:51 +00:00
terkhen
d954e1eb9a (svn r19232) -Fix (r19231): Forbid overbuilding drive-through stops using a different orientation. 2010-02-24 22:40:43 +00:00
terkhen
21c8699358 (svn r19231) -Feature: Allow overbuilding of road stops. 2010-02-24 21:55:03 +00:00
terkhen
8c512f62e2 (svn r19230) -Feature: Allow to remove multiple road stops using drag and drop. 2010-02-24 21:53:16 +00:00
terkhen
f7e91fa7d2 (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
381ec11328 (svn r19228) -Codechange: Move an additional check from CmdBuildRoadStop to CheckFlatLandRoadStop. 2010-02-24 21:47:06 +00:00
terkhen
6ccd15fd08 (svn r19227) -Codechange: Reorganization of parameters at CmdBuildRoadStop. 2010-02-24 21:45:23 +00:00
translators
5a59425fac (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
4572c0dac4 (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
5504b1105e (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 2010-02-24 14:46:15 +00:00
translators
0db792f467 (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
7c7264dc9e (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
89e7d3bd2b (svn r19218) -Feature: [NewGRF] Add CB36 support for aircraft properties 0F and 11. (Eddi) 2010-02-22 21:46:20 +00:00
frosch
6918cc02fe (svn r19217) -Codechange: Unify punctuation marks. 2010-02-22 20:55:13 +00:00
frosch
537f9676e6 (svn r19216) -Feature: Scroll to current order destination when ctrl+clicking the start/stop bar. 2010-02-22 20:53:45 +00:00
frosch
b7bfae70a8 (svn r19215) -Codechange: Add Order::GetLocation() to deduplicate code. 2010-02-22 20:36:20 +00:00
yexo
11a878512e (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
2eea7da8e6 (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
dd6ef3a61b (svn r19211) -Change: allow sound sets without a sample.cat file (blathijs) 2010-02-22 20:18:38 +00:00
frosch
baeeb024ea (svn r19210) -Fix: GetDestination() is invalid for nearest-depot orders. 2010-02-22 20:08:16 +00:00
translators
6e02f805dc (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
54c7b9f407 (svn r19208) -Codechange: fix a gcc warning 2010-02-22 16:32:50 +00:00
smatz
4357e8db1e (svn r19207) -Fix (r19127): compilation was broken for gcc 3.3 2010-02-22 16:24:38 +00:00
rubidium
38aff74d42 (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
63e056c043 (svn r19205) -Codechange: move AirportSpec to newgrf_airport.h/cpp 2010-02-22 16:09:26 +00:00
yexo
6a17ead8e4 (svn r19204) -Fix (r1919x): airport tiles without animation had an incomplete contructor 2010-02-22 16:08:31 +00:00
smatz
ab2f51aba0 (svn r19203) -Codechange: silence some gcc warnings 2010-02-22 16:02:37 +00:00
yexo
5777a20aac (svn r19201) -Codechange: airport tiles now have 4 random bits per tile. 2010-02-22 14:17:33 +00:00
yexo
86fc08789d (svn r19199) -Codechange: add a 'name'-property to airport tiles 2010-02-22 14:17:17 +00:00
yexo
80982cc91b (svn r19198) -Codechange: store the size of stations in savegames 2010-02-22 14:17:07 +00:00
yexo
391b759d04 (svn r19197) -Codechange: introduce animation callbacks for airport tiles 2010-02-22 14:16:57 +00:00
yexo
2c502fe4a1 (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
1975efea58 (svn r19195) -Codechange: actually draw newgrf airport tiles 2010-02-22 14:16:41 +00:00
yexo
bc156f754a (svn r19194) -Feature: action 0/1/2/3 support for newgrf airporttiles 2010-02-22 14:16:19 +00:00
yexo
966382f3d8 (svn r19193) -Codechange: increase the maximum number of airport tiles to 256 and introduce AirportTileOverrideManager 2010-02-22 14:15:48 +00:00
yexo
d93bfaac26 (svn r19192) -Fix (r19191): forgot to svn add the new file 2010-02-22 14:15:28 +00:00
yexo
028b7925ea (svn r19191) -Codechange: move AirportTileSpec to newgrf_airporttiles.h 2010-02-22 14:09:30 +00:00
alberth
7171b4edb7 (svn r19190) -Add: Improve error message with track building when signals are in the way. 2010-02-21 20:55:31 +00:00
alberth
b99453c09f (svn r19189) -Codechange: CheckTrackCombination() returns a CommandCost. 2010-02-21 20:34:57 +00:00
translators
00a55808ea (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
f8773d001c (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
d66da8d120 (svn r19186) -Codechange: Remove use of _error_message from CmdLevelLand(). 2010-02-21 17:02:28 +00:00
alberth
19f5b6f7b6 (svn r19185) -Codechange: Return succeeded or failed CommandCost from CheckIfCallBackAllowsCreation(). 2010-02-21 17:01:23 +00:00
alberth
b882106956 (svn r19184) -Codechange: Return succeeded/failed command from CheckIfIndustryTilesAreFree(). 2010-02-21 15:27:11 +00:00
alberth
fe35b9d8e7 (svn r19183) -Codechange: Return CommandCost from FindTownForIndustry(). 2010-02-21 14:57:27 +00:00
alberth
368976f395 (svn r19182) -Codechange: Use CommandCost return value in CheckIfIndustryIsAllowed() and CheckIfFarEnoughFromIndustry(). 2010-02-21 13:32:14 +00:00
rubidium
146d521377 (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
15395264af (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
52047aef75 (svn r19177) -Codechange: introduce INT8_MIN/MAX and UINT8_MAX for MSVC. 2010-02-20 22:58:25 +00:00
yexo
edf2fd1433 (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
41a7feb101 (svn r19174) -Fix: Buoys are no Stations, only BaseStations. 2010-02-20 21:00:19 +00:00
translators
9f00e76fca (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
120a3d5942 (svn r19172) -Codechange: Move road checks from CmdBuildRoadStop to CheckFlatLandRoadStop. 2010-02-20 18:28:21 +00:00
terkhen
304806e066 (svn r19171) -Codechange: Split CheckFlatLandBelow into different functions. 2010-02-20 18:12:56 +00:00
terkhen
ffcddf9295 (svn r19170) -Codechange: Make CheckFlatLandBelow use TileArea. 2010-02-20 17:56:05 +00:00
terkhen
7189db0912 (svn r19169) -Codechange: Move buildable tile checks outside of CheckFlatLandBelow. 2010-02-20 17:39:51 +00:00
rubidium
dde920f3c3 (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
eb64024984 (svn r19167) -Fix [FS#3631](r19120): Industry 0 could be choosen even if not available. 2010-02-20 16:17:45 +00:00
yexo
1e2733d2ac (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
f865f0a386 (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
dbee9da176 (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
9c9dd801e9 (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
d06407b06c (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
0f6e4a5cce (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
7e05c1fcd0 (svn r19158) -Fix (r19149): MSVC 64 bits compile warning 2010-02-18 01:10:04 +00:00
frosch
1a151edcb1 (svn r19154) -Fix: Invisible depots draw the track, so also draw the overlays. 2010-02-17 21:19:33 +00:00
frosch
2775f758a3 (svn r19153) -Fix [FS#pm](r19056): PBS reservation was drawn incorrectly for depots. 2010-02-17 21:07:32 +00:00
translators
a38dad728e (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
dd714d1e96 (svn r19151) -Codechange [FS#3625]: Move home directory to a better place in Haiku (jrepan) 2010-02-17 16:45:55 +00:00
rubidium
9379469bbb (svn r19150) -Fix (r19143): some more locations could use updating 2010-02-17 15:31:46 +00:00
rubidium
7353e104ba (svn r19149) -Codechange: make our vsnprintf implementation for Windows more POSIX compliant (adf88) 2010-02-17 15:07:09 +00:00
rubidium
28cc56d11d (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
8461258998 (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
f2adc37cc8 (svn r19146) -Codechange: Use CommandCost in industry checking routines. 2010-02-16 22:01:23 +00:00
translators
6fa8b9d459 (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
08865c515c (svn r19143) -Codechange: trunk's going for 1.1 now. 2010-02-16 00:07:15 +00:00
rubidium
5750163213 (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
b09f12f7ca (svn r19140) -Codechange: Move variables closer to their first use. 2010-02-15 19:52:40 +00:00
translators
4360d93712 (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
d2fbf654df (svn r19138) -Codechange: Rename CheckMultipleIndustryInTown() to FindTownForIndustry(). 2010-02-15 11:04:27 +00:00
alberth
e4986c8430 (svn r19137) -Add: Report a more useful error when failing to build a bubble generator. 2010-02-15 10:28:40 +00:00
alberth
f94c030837 (svn r19136) -Doc: Added Doxygen comments for industry checking procedures. 2010-02-15 09:49:10 +00:00
translators
4c1d862d5e (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
c10e26137e (svn r19134) -Fix (r16983, r17219): YAPF debug output was quite broken. 2010-02-14 18:33:57 +00:00
rubidium
88aae13b35 (svn r19133) -Fix [FS#3621]: [Mac OS X] --enable-desync-debug failed compiling (planetmaker) 2010-02-14 16:52:15 +00:00
alberth
e3b24801e2 (svn r19132) -Codechange: No need to end a line with ;;. 2010-02-14 16:31:35 +00:00
alberth
a493ba8f26 (svn r19131) -Doc: Add doxygen comments to some economy variables and constants. 2010-02-14 15:58:10 +00:00
alberth
9e302e5fa1 (svn r19130) -Codechange: Use references and inlining in CommandCost. 2010-02-14 15:44:21 +00:00
alberth
ead01e1dd3 (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
a2af272a52 (svn r19128) -Codechange: CommandCost cost methods return void instead of a copy of *this. 2010-02-14 15:30:08 +00:00
frosch
5c6dcffd47 (svn r19127) -Codechange: Add printf-like warnings to more functions. 2010-02-14 13:01:33 +00:00
frosch
09ce2f49b5 (svn r19126) -Codechange: Silence a warning. 2010-02-14 13:01:07 +00:00
frosch
9d5a8b851b (svn r19125) -Fix (r18809): Compiling with desync-debug failed. 2010-02-13 20:13:34 +00:00
translators
6422606c17 (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
0052f2667f (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
e095cfb016 (svn r19122) -Codechange: Move cargo drawing to StationViewWindow::OnPaint(). 2010-02-13 18:41:31 +00:00
alberth
02c2b55a20 (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
3fe58a2250 (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
06600a6834 (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
75b513cd50 (svn r19118) -Fix [FS#3593]: Some buttons in the order gui were raised too soon. 2010-02-13 14:00:45 +00:00
terkhen
12fb3be6c3 (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
31f78edd24 (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
8d54e30e23 (svn r19113) -Change: [strgen] Remove the partially generated language file if compilation fails. 2010-02-12 23:45:25 +00:00
smatz
a35227a1a9 (svn r19112) -Fix [FS#3611]: don't crash on broken lng file 2010-02-12 23:39:44 +00:00
rubidium
39ea18dca6 (svn r19111) -Fix (r19070): the station view didn't show acceptance anymore 2010-02-12 21:43:58 +00:00
translators
a6bd176f36 (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
d507788d37 (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
b9d7aa05c0 (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
edf0cde4af (svn r19104) -Fix (r19039): Stablize main view centering in smallmap. 2010-02-12 13:46:41 +00:00
alberth
b8ae1a0ef5 (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
3f46632e76 (svn r19101) -Fix (r19039): Click sound was not played when pressing zoom in/out buttons. 2010-02-12 10:40:29 +00:00
yexo
40c54781f6 (svn r19099) -Doc: two files had the wrong name in the @file comment 2010-02-11 20:52:56 +00:00