Commit Graph

14016 Commits

Author SHA1 Message Date
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
rubidium
75dce10ae1 (svn r18510) -Codechange: some further cleanups of the Windows installer; it didn't always remove all the files it installed and the downloaded free graphics/sounds are now fully extracted instead of dumped as tar in the data directory. This should make reading the readme for them quite a bit easier. 2009-12-15 14:29:47 +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
99170a045a (svn r18496) -Codechange: some changes to the installer to make it more usable, easier to maintain and more up-to-date 2009-12-14 18:20:42 +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