Commit Graph

7992 Commits

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