Commit Graph

8167 Commits

Author SHA1 Message Date
alberth
d7c797fcf3 (svn r18581) -Change (r18570): Update sprite tables for the window shading sprites too. 2009-12-20 20:15:19 +00:00
alberth
f20e477a02 (svn r18580) -Codechange: Use widget information only for setting scrollbar capacity. 2009-12-20 20:08:39 +00:00
alberth
05c30d294e (svn r18579) -Codechange: Add orientation to scrollbars. 2009-12-20 20:04:30 +00:00
rubidium
5f1bb2e882 (svn r18578) -Feature: initially select the last joined server when going to the server list 2009-12-20 19:18:18 +00:00
translators
e7000381fb (svn r18577) -Update from WebTranslator v3.0:
basque - 4 changes by Thadah
croatian - 36 changes by 
finnish - 7 changes by jpx_
hungarian - 7 changes by alyr
indonesian - 9 changes by prof
polish - 7 changes by silver_777
portuguese - 7 changes by JayCity
serbian - 7 changes by etran
spanish - 7 changes by Terkhen
2009-12-20 18:45:29 +00:00
rubidium
ca3e2053a4 (svn r18576) -Codechange: use the function to determine the width of digits for determining the width of the unitnumber in vehicle lists. 2009-12-20 16:44:41 +00:00
rubidium
3fcccd89fe (svn r18575) -Fix [FS#3393]: unit numbers weren't always fully shown in the depot 2009-12-20 16:42:35 +00:00
rubidium
9d5a91ed07 (svn r18574) -Fix [FS#3392] (r18481): manually sending trains and RVs to depots didn't quite work 2009-12-20 16:19:47 +00:00
michi_cc
73cd818445 (svn r18573) -Fix [FS#3198]: [OSX] Try to get a generic RGB colour space if getting the system colour profile failed. (tyler) 2009-12-20 16:10:44 +00:00
frosch
e2b54320bf (svn r18572) -Change: Enable 'multiple NewGRF engine sets' by default. 2009-12-20 15:37:39 +00:00
frosch
1e9c78b9c4 (svn r18571) -Fix (r18551): Vehicles not carrying any cargo (e.g. engines) were not considered for sending to depot for replacement. 2009-12-20 15:21:39 +00:00
frosch
c22e462d96 (svn r18568) -Codechange: Bail out early. 2009-12-20 15:08:20 +00:00
rubidium
0bff19e869 (svn r18567) -Fix [FS#2613]: [NewGRF] House property 15 did not work 2009-12-20 14:53:32 +00:00
frosch
bc19dd6a25 (svn r18566) -Codechange: When both the union and intersection of refit masks of articulated vehicles are needed, they can be determined at once. 2009-12-20 14:28:55 +00:00
rubidium
886c1e8e30 (svn r18565) -Fix [FS#3391] (r18541): some older GCC warn about implicitly casting from floats to integers 2009-12-20 14:18:22 +00:00
glx
da99cc15e9 (svn r18564) -Fix: silence a warning 2009-12-20 14:05:58 +00:00
rubidium
af8b516bff (svn r18563) -Document: some industry related functions 2009-12-20 13:45:43 +00:00
rubidium
1ff03b3198 (svn r18562) -Document: improve clarity of the AIAccounting class 2009-12-20 12:29:16 +00:00
rubidium
99cdb5e8ec (svn r18561) -Fix [FS#3390]: Do try to overtake a vehicle in a station as overtaking in a station is not allowed 2009-12-20 11:22:36 +00:00
peter1138
1afa4b18a4 (svn r18560) -Fix (r18541): variety distribution dropdown should not be on heightmap window. 2009-12-20 09:28:53 +00:00
peter1138
2bc0d3a5de (svn r18559) -Fix: When using original landscape generator, the terrain type and water level fields have no effect for arctic or tropic climates, so disable the dropdowns. 2009-12-20 09:26:37 +00:00
smatz
067d4e51bc (svn r18558) -Cleanup (r18557): no need to document TILE_INVALID twice 2009-12-20 00:53:22 +00:00
smatz
f708b9a80a (svn r18557) -Fix: (most of) gcc errors when using lto caused by some structs having different definition in different object files 2009-12-19 23:53:15 +00:00
smatz
37c48a7727 (svn r18556) -Fix (r17005): squirrel export didn't accept negative constants 2009-12-19 23:48:42 +00:00
smatz
a5e8465a4a (svn r18555) -Fix (r15027): fake definitions of squirrel types were wrong for eg. 64bit systems, don't use them 2009-12-19 23:46:15 +00:00
frosch
77d19dc5af (svn r18554) -Change: Forbid industries to clear sea/river when leveling land. 2009-12-19 22:17:02 +00:00
rubidium
fe1c72f7f1 (svn r18553) -Fix: make aircraft behave the same on autoreplace/autorenew as other vehicles 2009-12-19 22:04:02 +00:00
glx
f5896da108 (svn r18552) -Fix (r18548): some translators were very fast 2009-12-19 22:00:22 +00:00
frosch
fec93aef84 (svn r18551) -Fix [FS#1762]: When autoreplace is the only allowed reason to send vehicles to depot, first check some minimal requirements (engine availability, refittability) and a heuristic for the needed money. 2009-12-19 21:54:34 +00:00
smatz
e0a28e8c54 (svn r18550) -Fix (r18281): show expected price of town construction even when the company doesn't have enough money 2009-12-19 21:42:19 +00:00
rubidium
0508f789e9 (svn r18549) -Fix: first do the time-since-last-service check and only then determine whether autoreplace needs to take place. This way they will not keep autoreplacing continuously on failure, but only after some timeout. 2009-12-19 21:19:45 +00:00
peter1138
a61ebc0565 (svn r18548) -Fix (r18541): Unused string slipped in. 2009-12-19 20:05:10 +00:00
rubidium
bc5d452e82 (svn r18547) -Fix [FS#3388]: missing thread synchronisation when changing the resolution for SDL via the in game menu 2009-12-19 19:29:01 +00:00
rubidium
0da7a4dc91 (svn r18546) -Codechange: make making the screenshot not asynchronious; just do it at the moment it's requested. 2009-12-19 19:21:37 +00:00
frosch
440ab2cf84 (svn r18545) -Fix [FS#3292]: Assign '_screen.dst_ptr' as soon as it is allocated. 2009-12-19 18:46:40 +00:00
translators
b90fdfe5df (svn r18544) -Update from WebTranslator v3.0:
croatian - 36 changes by 
french - 8 changes by glx
german - 8 changes by planetmaker
greek - 3 changes by fumantsu
norwegian_nynorsk - 10 changes by 2rB
vietnamese - 2 changes by nglekhoi
2009-12-19 18:45:20 +00:00
peter1138
c701af7832 (svn r18543) -Codechange: Use separate set of strings for variety distribution setting to ease translation. 2009-12-19 18:36:35 +00:00
alberth
2f9f70c295 (svn r18542) -Codechange: Make nested widget parts obligatory in a window description. 2009-12-19 18:03:04 +00:00
peter1138
e88b327343 (svn r18541) -Feature: Additional map variety option for TGP landscape generator. Evolved from curve map idea from Zephyris. 2009-12-19 18:00:38 +00:00
frosch
9384da0ea2 (svn r18540) -Codechange: resulting in better name for 'result'. 2009-12-19 17:14:35 +00:00
alberth
be29ee40a1 (svn r18539) -Codechange: Re-use cargolist drawing in StationViewWindow::DrawAcceptedCargo() 2009-12-19 16:02:29 +00:00
alberth
7ef35286fd (svn r18538) -Codechange: Split DrawStationCoverageText into a calculation part and a drawing part. 2009-12-19 15:52:50 +00:00
frosch
ec8e44055c (svn r18537) -Fix (r17436): Also do not account cargo in statistics, if it was not accepted. 2009-12-19 15:51:55 +00:00
rubidium
730f0483b9 (svn r18536) -Fix [FS#3386]: MSVC warning. Patch by pavel1269 2009-12-19 15:31:23 +00:00
rubidium
43a5dd8f86 (svn r18535) -Fix [FS#2722]: don't account for path reservation costs when entering a signal block via a 'block' signal. This way you won't get double penalties, both red signals and reservation costs, for the block signalled tracks 2009-12-19 15:30:24 +00:00
alberth
beb5b57971 (svn r18534) -Doc: Add doxy strings to StationCoverageType enum. 2009-12-19 15:04:24 +00:00
rubidium
23c6a33126 (svn r18533) -Fix: don't refer, in the comments, to a long renamed function 2009-12-19 09:23:19 +00:00
rubidium
98be5fcc5c (svn r18532) -Codechange/Fix (r18404): don't leave the road stop between tiles, just stay on it. This prevents the rare cases where a road vehicle would stop exactly on the border where it could not load 2009-12-18 21:35:55 +00:00
rubidium
06f9e26ca4 (svn r18531) -Fix [FS#3384] (r18404): for articulated road vehicles only the first part was accounted for, so for extremely short fronts and lots after it the spreading did not work as it should. 2009-12-18 21:34:06 +00:00
peter1138
fa5920025c (svn r18530) -Fix (r18304): Width property set on window instead of width. 2009-12-18 19:59:32 +00:00
translators
bc5d344d0b (svn r18529) -Update from WebTranslator v3.0:
croatian - 45 changes by UnderwaterHesus
dutch - 4 changes by habell
finnish - 42 changes by Tve4, jpx_
hungarian - 4 changes by IPG
italian - 11 changes by lorenzodv
norwegian_nynorsk - 2 changes by 2rB
polish - 4 changes by silver_777
serbian - 4 changes by etran
spanish - 4 changes by Terkhen
2009-12-18 18:45:31 +00:00
peter1138
53784dbd9f (svn r18528) -Fix (FS#3370): Platform length/count buttons not centred when NewGRF stations in use. 2009-12-18 15:56:31 +00:00
yexo
aeedd3d098 (svn r18527) -Fix: an industry newgrf that defined a too small size for action0 prop 0A could cause a crash 2009-12-17 23:26:25 +00:00
translators
b10a386378 (svn r18523) -Update from WebTranslator v3.0:
croatian - 36 changes by 
dutch - 5 changes by habell
finnish - 4 changes by jpx_
french - 4 changes by glx
german - 8 changes by planetmaker
hebrew - 52 changes by dnd_man
hungarian - 6 changes by IPG
norwegian_bokmal - 8 changes by Zhygometh
polish - 4 changes by silver_777
portuguese - 4 changes by JayCity
serbian - 4 changes by etran
2009-12-17 18:45:35 +00:00
rubidium
6baaea23de (svn r18522) -Feature: add the possibility to not make new tree tiles in-game 2009-12-17 16:59:33 +00:00
rubidium
5971619b1e (svn r18520) -Fix [FS#3272]: allegro doesn't like to work with extmidi; it causes 'random' (looks like a racing condition in allegro) crashes when songs are stopped. 2009-12-16 23:49:21 +00:00
yexo
2a329b6d2a (svn r18518) -Add [NoAI]: AIOrder::AIOF_GOTO_NEAREST_DEPOT for goto nearest depot orders 2009-12-16 21:31:21 +00:00
translators
1ccaf32e8e (svn r18517) -Update from WebTranslator v3.0:
croatian - 36 changes by 
danish - 3 changes by beruic
dutch - 1 changes by Yexo
french - 4 changes by glx
german - 1 changes by planetmaker
polish - 6 changes by mirqus, silver_777
spanish - 10 changes by Terkhen
welsh - 1 changes by welshdragon
2009-12-16 18:45:27 +00:00
rubidium
af5db46940 (svn r18516) -Feature [FS#3359]: moving of AIs in the AI configuration window. Based on a patch by Zuu. 2009-12-16 16:57:26 +00:00
rubidium
e62a56e0f4 (svn r18515) -Change: make it visible when you're to pass the next signal on danger and possible to cancel it
-Fix [FS#2891]: when you pass a signal at danger, in a PBS controlled area, don't try to do the 'safe' thing and stop, but continue going; the user wanted the train to pass the signal at danger so (s)he has to suffer the consequences. Ofcourse one can always stop the train manually.
2009-12-16 16:23:44 +00:00
rubidium
c719069e05 (svn r18514) -Codechange: make it a bit clearer that for tile layouts num_sprites (as in number of sprite sets) is not the same as num_sprites (as in number of building sprites) 2009-12-16 11:35:05 +00:00
rubidium
2aba1ac3fd (svn r18513) -Fix [FS#3379]: sometimes NewGRFs throw invalid data at OpenTTD and that triggered a check... that if a has to be between b and c (inclusive) then c must be bigger than or equal to b (and definitely not smaller) 2009-12-16 00:06:51 +00:00
yexo
e0b9aaac4f (svn r18512) -Fix (r17859) [FS#3376]: assert when clicking the industry button in the scenario editor 2009-12-15 22:39:58 +00:00
translators
c1758afde3 (svn r18511) -Update from WebTranslator v3.0:
croatian - 37 changes by UnderwaterHesus
finnish - 1 changes by jpx_
french - 1 changes by glx
german - 5 changes by dihedral
hungarian - 4 changes by IPG, alyr
norwegian_bokmal - 1 changes by Zhygometh
polish - 8 changes by xaxa
portuguese - 1 changes by JayCity
serbian - 1 changes by etran
spanish - 1 changes by Terkhen
vietnamese - 3 changes by nglekhoi
2009-12-15 18:45:34 +00:00
peter1138
10753a6199 (svn r18509) -Codechange (r2515,r2753): Data for drawing single_x/y rail pieces was inverted. 2009-12-15 13:59:20 +00:00
rubidium
54ffa0e563 (svn r18508) -Fix [FS#3372]: if a rail station class had less data than capacity it would try to set a negative position 2009-12-15 01:38:55 +00:00
yexo
e114b90751 (svn r18507) -Change [FS#3340]: move the 'check online content' button from the AI list window to the AI configuration window 2009-12-15 00:33:44 +00:00
rubidium
25d04c0777 (svn r18506) -Fix [FS#3368]: no error message was created for the first fatal NewGRF error. 2009-12-15 00:00:51 +00:00
yexo
2f3027c01b (svn r18505) -Fix [FS#3169]: improve airport movement on several airports 2009-12-14 23:35:38 +00:00
yexo
9b5219c17b (svn r18504) -Remove [NoAI]: AIVehicle::SkipToVehicleOrder as it was a duplicate or AIOrder.SkipToOrder 2009-12-14 22:17:15 +00:00
rubidium
4d628ea48c (svn r18503) -Fix [FS#3370]: the length and platform buttons in the station window weren't always properly centered 2009-12-14 22:11:06 +00:00
rubidium
4538739c3c (svn r18502) -Fix: the dummy AI would could a NOT_REACHED if the translated error message contained a quote 2009-12-14 22:06:25 +00:00
rubidium
e8ed3b3389 (svn r18499) -Fix/Change/Feature [FS#3159]: autoreplace and autorenew always reset their cargo sub type to 0. Now find a sub cargo type with the exact same name and use that, otherwise fallback to 0. So cargo sub types can be maintained via autoreplace *if* the new vehicle supports the same cargo sub type. 2009-12-14 19:19:47 +00:00
rubidium
12732cf39d (svn r18498) -Fix [FS#2616]: cloning of vehicles could create vehicles with invalid cargo sub types for the build year of the vehicle. Fall back to another cargo sub type with the exact same name, otherwise fallback to cargo sub type 0. 2009-12-14 19:17:18 +00:00
translators
0cacd89042 (svn r18497) -Update from WebTranslator v3.0:
croatian - 36 changes by 
hebrew - 1 changes by dnd_man
norwegian_bokmal - 23 changes by Zhygometh
2009-12-14 18:45:12 +00:00
rubidium
adc88c5777 (svn r18495) -Codechange: make sure we don't taint the vehicle cache with finding refit options and unmagify a constant 2009-12-13 22:19:19 +00:00
rubidium
75ed87aa71 (svn r18494) -Fix (r18474): crash when moving non-engine to new free wagon chain and group count was off when moving a front engine within the same train and the new front isn't an engine. 2009-12-13 22:17:12 +00:00
rubidium
2d249b9946 (svn r18493) -Fix: don't access something after deleting it 2009-12-13 21:36:10 +00:00
alberth
f7e40c76e4 (svn r18492) -Doc: A few Doxygen reference fixes (NewsSubtype reported by Eddi), and a typo fix. 2009-12-13 21:12:36 +00:00
alberth
867af7ae35 (svn r18491) -Fix (r18482): Update doxy comments of SetupSmallestSize() as well. 2009-12-13 21:05:38 +00:00
alberth
6551592e8d (svn r18490) -Doc: Fixed syntax of a few doxygen pre and post coditions. 2009-12-13 20:54:52 +00:00
alberth
38733e9870 (svn r18489) -Codechange: Introduce a custom container widget for a resizing legend bar in the smallmap. 2009-12-13 20:37:32 +00:00
alberth
e57e4f788f (svn r18488) -Codechange: Make number of rows for displaying industries in smallmap legend dynamic. 2009-12-13 20:27:53 +00:00
alberth
17699167a8 (svn r18487) -Codechange: Move row height and column counting to OnInit in the smallmap window as well. 2009-12-13 20:19:08 +00:00
rubidium
5d6df7a8fd (svn r18486) -Fix: when switching language and you're getting a different font, recalculate the coordinates/sizes of the viewport signs. Otherwise it gets glitchy or abbreviated (in the smallmap) 2009-12-13 19:33:07 +00:00
translators
a60ef8f92a (svn r18485) -Update from WebTranslator v3.0:
basque - 23 changes by Thadah
croatian - 93 changes by UnderwaterHesus
german - 1 changes by planetmaker
greek - 1 changes by fumantsu
hungarian - 4 changes by IPG, Petert
norwegian_bokmal - 654 changes by Zhygometh
romanian - 2 changes by kkmic
spanish - 1 changes by Terkhen
2009-12-13 18:45:26 +00:00
rubidium
f90086b696 (svn r18484) -Codechange: simplify the Is(Stopped)InDepot functions for trains 2009-12-13 17:13:20 +00:00
rubidium
ec77e712b7 (svn r18483) -Document [FS#3367]: that OpenGFX/OpenSFX can be used and where to find them. Also refer to the readme in some error messages. 2009-12-13 14:23:45 +00:00
alberth
35c40409ca (svn r18482) -Cleanup (r18092): Conversion to widget array is not done any more. 2009-12-13 13:29:13 +00:00
rubidium
899b3db66b (svn r18481) -Codechange: unify the curve pathfinder penalty defaults; 0.01 tile won't make a dent, 3 tiles might be a bit too much
-Feature-ish: make maximum pathfinder penalties for finding depots customisable, also increase it slightly to 20 tiles worth of penalties.
2009-12-13 10:48:44 +00:00
alberth
d4451d13a0 (svn r18480) -Codechange: Moved column width computation of smallmap legends to OnInit(), added a few doxy comments. 2009-12-13 10:25:37 +00:00
peter1138
5b07373aab (svn r18479) -Fix (r6532): Direction is accounted for long before motion counter is updated 2009-12-13 08:46:08 +00:00
rubidium
689e7efe2f (svn r18474) -Fix (r18470): in some odd corner cases the group (vehicle) counts could be off 2009-12-12 23:49:30 +00:00
rubidium
54852d9a13 (svn r18473) -Fix (r18470): crash when moving a multiheaded part to be just after itself 2009-12-12 23:24:11 +00:00
rubidium
9eaf5edb53 (svn r18472) -Fix [FS#3146]: selling vehicles in the depot could create states that are not allowed by the NewGRF attach callback. 2009-12-12 22:59:48 +00:00
frosch
6fba20b02b (svn r18471) -Codechange/Fix: [NoAI] Deduplicate code betweeen AIVehicle::SkipToVehicleOrder and AIOrder::SkipToOrder. They are the same. Also ORDER_CURRENT was not allowed for the latter, but well... 2009-12-12 22:15:14 +00:00
rubidium
f877cfb38a (svn r18470) -Codechange/Fix [part of FS#3146]: moving vehicles around in the depot could create states that are not allowed by the NewGRF attach callback. 2009-12-12 22:11:43 +00:00
rubidium
1c3a99fe4c (svn r18469) -Fix (r17139): possible invalid reads when listing content on the console 2009-12-12 21:56:13 +00:00
rubidium
8d8207e285 (svn r18468) -Codechange: make sure one never makes self-loops using Vehicle::SetNext 2009-12-12 21:04:08 +00:00
peter1138
bdc1c00caa (svn r18467) -Fix (r17870): Missed positioning for cargo capacity of non-articulated road vehicles. 2009-12-11 23:00:07 +00:00
rubidium
5fedaa4cca (svn r18466) -Codechange: use CmdMoveRailWagon to attach a just build wagon to a chain 2009-12-11 22:23:48 +00:00
rubidium
e80eabcc2c (svn r18465) -Codechange: simplify CheckTrainInDepot and remove some unneeded wrapper functions 2009-12-11 22:04:57 +00:00
alberth
d0474e31a7 (svn r18464) -Fix (r17863): Caption of the build vehicle window did not have company colours. 2009-12-11 20:37:24 +00:00
rubidium
e253bda379 (svn r18463) -Codechange: some simplifications for finding the end of a vehicle 2009-12-11 19:28:28 +00:00
rubidium
d752254cfd (svn r18462) -Fix: when moving a wagon and only the last part of a dual headed engine you could split the dual headed engine over two vehicles. 2009-12-11 19:27:48 +00:00
rubidium
d9da9d46c5 (svn r18461) -Fix (r18456): when moving a wagon from the front of a train one could make a train 1 longer than allowed 2009-12-11 18:49:03 +00:00
translators
3f9f7d5c53 (svn r18460) -Update from WebTranslator v3.0:
catalan - 2 changes by arnau
traditional_chinese - 4 changes by josesun
croatian - 59 changes by UnderwaterHesus
french - 2 changes by glx
norwegian_bokmal - 34 changes by Zhygometh
serbian - 6 changes by etran
vietnamese - 3 changes by nglekhoi
2009-12-11 18:45:23 +00:00
rubidium
639e2986b7 (svn r18459) -Codechange: move the new train validity checking (attach callbacks) to a separate function 2009-12-11 16:16:36 +00:00
rubidium
e4439fd3d4 (svn r18458) -Codechange: make the 'check train length' code of CmdMoveRailVehicle a separate function 2009-12-11 15:50:07 +00:00
yexo
6921b7d0a4 (svn r18457) -Fix (r18015): southwest and northeast buttons for freeform edges were swapped 2009-12-11 15:16:44 +00:00
rubidium
9298f4d618 (svn r18456) -Codechange: make the length checking functionality of CmdMoveRailVehicle a separate function and simplify the logic 2009-12-11 13:37:01 +00:00
translators
3c211b0852 (svn r18454) -Update from WebTranslator v3.0:
dutch - 2 changes by habell
hebrew - 49 changes by dnd_man
indonesian - 35 changes by fanioz, prof
polish - 5 changes by amateja, silver_777
russian - 1 changes by Lone_Wolf
serbian - 3 changes by etran
2009-12-10 18:45:22 +00:00
rubidium
bba6c14930 (svn r18453) -Fix [FS#3364]: wrong heightmap dimensions, or rather... a nested_array index removed too much 2009-12-10 12:26:39 +00:00
rubidium
0287a009f8 (svn r18450) -Fix [FS#3363]: initial size of the vehicle detail windows would occasionally be too small (although it could be resized) 2009-12-09 22:25:12 +00:00
rubidium
07ab36bd37 (svn r18449) -Fix (r18448): invalid argidx offsets in German 2009-12-09 18:50:05 +00:00
translators
5d90b34b42 (svn r18448) -Update from WebTranslator v3.0:
finnish - 1 changes by jpx_
german - 7 changes by Roujin, planetmaker
hungarian - 1 changes by alyr
italian - 4 changes by lorenzodv
norwegian_bokmal - 33 changes by CyberKenny
portuguese - 2 changes by JayCity
russian - 2 changes by Lone_Wolf
spanish - 1 changes by Terkhen
vietnamese - 29 changes by nglekhoi
2009-12-09 18:45:29 +00:00
rubidium
32b86b23b5 (svn r18447) -Change: make some more windows (e.g. graphs, company view) stickyable 2009-12-09 17:10:57 +00:00
glx
ff801662a5 (svn r18446) -Fix (r17450): abort() doesn't trigger crashlog on windows 2009-12-09 15:24:13 +00:00
rubidium
2b1453f1b5 (svn r18445) -Fix [FS#3335]: for STR_NEWS_INDUSTRY_CLOSURE_GENERAL the gender of the industry wasn't properly selected for Greek. 2009-12-09 11:42:12 +00:00
rubidium
64b727b03c (svn r18444) -Feature: allow G and P to 'select' substrings of STRINGn for getting their gender 2009-12-09 11:41:27 +00:00
rubidium
7ec7cf2435 (svn r18443) -Fix (r18438): MSVC thinks, in it's infinite wisdom, that int min(int, int) is a better match for min(uint64, uint) than uint64 min(uint64, uint64). As such we need to cast the UINT16_MAX to prevent MSVC from displaying it's infinite wisdom with loads of warnings. 2009-12-09 09:28:47 +00:00
rubidium
067a99eab7 (svn r18442) -Fix (r18440): warning about SDL_Linked_Version never being NULL on non-Windows systems 2009-12-09 09:16:29 +00:00
peter1138
f846386e2f (svn r18441) -Fix: The vehicle list filler widget didn't fill. 2009-12-09 08:23:10 +00:00
glx
570d2d11f1 (svn r18440) -Fix (r17774): don't try to get SDL version when SDL is not loaded 2009-12-09 02:53:59 +00:00
glx
07eeea7844 (svn r18439) -Fix (r15233): forgot to load the symbol from SDL.dll 2009-12-09 02:49:01 +00:00
rubidium
ba92913b19 (svn r18438) -Codechange [FS#3337]: introduce a template for Clamp (fonsinchen) and reuse template functions in their non-template counterparts. 2009-12-09 00:41:18 +00:00
smatz
6181ed8eed (svn r18437) -Fix (r16557): background of disabled button in AI GUI wasn't set back to grey after AI bankrupt 2009-12-09 00:08:13 +00:00
rubidium
027b389466 (svn r18436) -Fix [FS#3357]: unselect an AI in the AI Settings window when it falls out of the range of active AIs 2009-12-08 23:32:32 +00:00
rubidium
457fb31d43 (svn r18435) -Fix (r18136): articulated road vehicles weren't properly drawn in the vehicle list/details windows 2009-12-08 20:56:45 +00:00
rubidium
46f48163b5 (svn r18434) -Change [FS#565]: use zł instead of zl for the Polish Zloty. 2009-12-08 20:12:43 +00:00
frosch
7c727d4c4c (svn r18433) -Codechange: Show different texts in town GUI when the town does not need food the whole year to grow. 2009-12-08 19:59:21 +00:00
translators
02ebfa32d8 (svn r18432) -Update from WebTranslator v3.0:
portuguese - 1 changes by JayCity
spanish - 2 changes by Terkhen
2009-12-08 18:45:09 +00:00
rubidium
83d74846f7 (svn r18429) -Fix [FS#3360]: when road vehicles are, because of the 'jam protection' running through eachother more vehicles could be in a road stop than there could be under normal circumstances. As such an assert when the road stop's limits are reached isn't good. 2009-12-08 00:16:31 +00:00
rubidium
7da9158f6b (svn r18428) -Fix: if lots of road vehicles are leaving a depot and the first in the hash linked list is basically the last of the vehicles to leave the depot then due to the 'jam prevention' code all vehicles would fairly quickly increase the blocked counter and drive off all simultaniously 2009-12-08 00:15:15 +00:00
translators
f1c194f656 (svn r18425) -Update from WebTranslator v3.0:
traditional_chinese - 1 changes by josesun
greek - 1 changes by fumantsu
norwegian_bokmal - 13 changes by 2rB
norwegian_nynorsk - 48 changes by 2rB
spanish - 3 changes by Terkhen
2009-12-07 18:45:20 +00:00
rubidium
b71fad33f2 (svn r18424) -Fix [FS#3327]: [Windows] the help window would be too large in some cases 2009-12-07 17:13:28 +00:00
rubidium
e473b88318 (svn r18423) -Fix (r17336): [Windows] incorrect relative path the the icon making the icon not being included in the binary
-Fix: [Windows] mention the version of GPL in the metadata
2009-12-07 16:55:50 +00:00
rubidium
22b3cb1fc7 (svn r18422) -Fix (r18404): MSVC complaining about struct vs class 2009-12-07 10:44:58 +00:00
rubidium
c616b8cc0c (svn r18421) -Fix [FS#3244]: pathfinders wouldn't consider the 'other' reachable waypoint tile if the closest one is free but there is no safe waiting point directly after it. Now check for a free safe waiting point beyond the waypoint unless there are junctions before the first safe waiting point. 2009-12-07 08:47:10 +00:00
rubidium
5e2a1a46ed (svn r18420) -Codechange: split YAPF's track follower from the actual YAPF code 2009-12-07 08:41:18 +00:00
rubidium
a0a530a997 (svn r18418) -Fix [FS#3298]: under some circumstances a pointer could be left untouched and then freed. Make sure this doesn't happen by ensuring it starts out as NULL instead of 'garbage'. 2009-12-06 20:22:21 +00:00
translators
c6b2a96682 (svn r18417) -Update from WebTranslator v3.0:
traditional_chinese - 31 changes by josesun
czech - 46 changes by Hadez
greek - 1 changes by fumantsu
hungarian - 2 changes by IPG
indonesian - 1 changes by prof
norwegian_nynorsk - 111 changes by 2rB
russian - 11 changes by Lone_Wolf
slovak - 14 changes by JamesSVK
2009-12-06 18:45:27 +00:00
frosch
96e72d3fa1 (svn r18416) -Fix (r15559): Only consider valid cargos in town GUI. 2009-12-06 16:15:58 +00:00
rubidium
d66fe90ad0 (svn r18415) -Fix [FS#3332]: on slopes the original and better road layouts did not check their minimum distance requirements 2009-12-06 16:14:13 +00:00
peter1138
bbf3805523 (svn r18414) -Fix: In the depot window, 'free' wagons were not drawn resize.step_height apart 2009-12-06 11:46:57 +00:00
alberth
651f5410e9 (svn r18413) -Doc: Added doxygen strings for cargo-type related enums, structs, and functions. 2009-12-05 21:39:28 +00:00
smatz
472e6404cb (svn r18412) -Fix [FS#3350]: don't allow sending ships to rail waypoints and trains to buyos (Hirundo) 2009-12-05 19:21:43 +00:00
translators
e12eae005c (svn r18411) -Update from WebTranslator v3.0:
greek - 3 changes by fumantsu
norwegian_nynorsk - 107 changes by 2rB
portuguese - 3 changes by JayCity
2009-12-05 18:45:11 +00:00
alberth
466a0841a9 (svn r18410) -Codechange: Move GetCargoSprite() to CargoSpec::GetCargoIcon(). 2009-12-05 16:00:58 +00:00
frosch
9bbf2ca405 (svn r18409) -Change [FS#3349]: Recolour the bubble generator just like any other industry. (planetmaker) 2009-12-05 15:03:32 +00:00