Commit Graph

8142 Commits

Author SHA1 Message Date
alberth 3323d64f28 (svn r18606) -Codechange: Introduce several forms of zero-size stacked display planes. 2009-12-22 20:43:25 +00:00
alberth 7dbc77a1e7 (svn r18605) -Codechange: Coding style fixes, prevent useless calls to UpdateWidgetSize(). 2009-12-22 19:40:23 +00:00
translators 3d2c126268 (svn r18604) -Update from WebTranslator v3.0:
croatian - 36 changes by 
dutch - 1 changes by habell
finnish - 1 changes by jpx_
french - 1 changes by glx
german - 1 changes by planetmaker
hungarian - 1 changes by alyr
korean - 5 changes by junho2813
portuguese - 5 changes by JayCity
romanian - 124 changes by tonny
serbian - 1 changes by etran
spanish - 1 changes by Terkhen
vietnamese - 6 changes by nglekhoi
2009-12-22 18:45:36 +00:00
rubidium ade9773080 (svn r18603) -Codechange: move getting the song name to music_gui.cpp 2009-12-22 18:34:07 +00:00
rubidium b0603f4c2e (svn r18602) -Codechange: unify the viewport sign and text effect drawing
-Fix [FS#3394]: signs could occasionally glitch
2009-12-22 12:50:41 +00:00
alberth 96a8a0f34d (svn r18601) -Codechange: Use resize step of the order list panel widget for order line calculations. 2009-12-22 11:22:07 +00:00
alberth 4733b696a1 (svn r18600) -Fix (r18599): Re-enable ctl+click to jump to competitor station. 2009-12-22 11:15:08 +00:00
alberth d47c6e4135 (svn r18599) -Fix: Displaying selected orders of a competitor vehicle was broken, disable the selection. 2009-12-22 10:28:58 +00:00
rubidium c816281e09 (svn r18598) -Fix [FS#3402]: also cancel the save-pause when loading a savegame as scenario 2009-12-22 08:34:40 +00:00
frosch 8d8bd3d45f (svn r18597) -Fix (r17147)[FS#3395, FS#3396]: ChangeVehicleNews() did not update the news ticker. 2009-12-21 21:14:40 +00:00
alberth a87748df8a (svn r18596) -Fix: Add padding to several town generation buttons and labels for nice and consistent layout. 2009-12-21 21:12:41 +00:00
rubidium 0cb84effc8 (svn r18595) -Fix (r18277): one couldn't enter test via the keyboard in the company password window. Also replace a magic number with a enumified constant. 2009-12-21 20:32:20 +00:00
translators a7cacd98ed (svn r18594) -Update from WebTranslator v3.0:
croatian - 36 changes by 
dutch - 7 changes by habell
finnish - 1 changes by jpx_
korean - 47 changes by junho2813
norwegian_bokmal - 7 changes by Zhygometh
polish - 7 changes by xaxa
romanian - 13 changes by kkmic
2009-12-21 18:45:24 +00:00
rubidium 50734030aa (svn r18593) -Fix: GetWidget call case similar to r18591 2009-12-21 18:20:18 +00:00
rubidium 38ceeb41b7 (svn r18592) -Fix (r18591): argh... save after starting the commit :( 2009-12-21 18:13:43 +00:00
rubidium 64ac99a6c1 (svn r18591) -Fix [FS#3399]: FindScrollbar could trigger an assert if the next widget (in the widget array) was a container-ish (e.g. selection) widget 2009-12-21 18:12:25 +00:00
rubidium 7c4e8421be (svn r18590) -Fix [FS#3397]: too strict assert was triggered 2009-12-21 17:45:02 +00:00
alberth 1d7a75032f (svn r18589) -Codechange: Add tooltip to some network windows, remove old comment. 2009-12-21 16:28:50 +00:00
alberth 91872aca48 (svn r18588) -Feature [FS#2943]: Add shading and unshading of windows. 2009-12-21 16:24:29 +00:00
alberth f55c3312b3 (svn r18587) -Codechange: Insert a shade selection widget in the widget tree when the window starts with a title bar with a shade box. 2009-12-21 16:16:40 +00:00
rubidium cc40883ad8 (svn r18586) -Fix [FS#3398]: pressing default for the starting year/snow line height edit boxes of the world generation windows didn't work. 2009-12-21 16:16:37 +00:00
rubidium abb601f682 (svn r18585) -Codechange: replace some magic numbers by constants 2009-12-21 16:13:30 +00:00
alberth b3ecc90992 (svn r18584) -Codechange: Generalize MakeWidgetTree to read only one widget (recursively). 2009-12-21 16:12:43 +00:00
alberth ca66652005 (svn r18583) -Codechange: Add WWT_SHADEBOX widget and its functions (heavily based on code by erikjanp). 2009-12-21 16:06:20 +00:00
rubidium c03aadda08 (svn r18582) -Codechange: save 8 bytes from the Window class 2009-12-20 20:49:47 +00:00
alberth a4a043344b (svn r18581) -Change (r18570): Update sprite tables for the window shading sprites too. 2009-12-20 20:15:19 +00:00
alberth 5a083f183e (svn r18580) -Codechange: Use widget information only for setting scrollbar capacity. 2009-12-20 20:08:39 +00:00
alberth 20debea202 (svn r18579) -Codechange: Add orientation to scrollbars. 2009-12-20 20:04:30 +00:00
rubidium cf2349ae10 (svn r18578) -Feature: initially select the last joined server when going to the server list 2009-12-20 19:18:18 +00:00
translators 3d21848258 (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 1ea8cb4fc4 (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 90b7f0f3cb (svn r18575) -Fix [FS#3393]: unit numbers weren't always fully shown in the depot 2009-12-20 16:42:35 +00:00
rubidium f2785ae24d (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 4d9097cafb (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 b369d81566 (svn r18572) -Change: Enable 'multiple NewGRF engine sets' by default. 2009-12-20 15:37:39 +00:00
frosch 640442ae03 (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 4434422c11 (svn r18568) -Codechange: Bail out early. 2009-12-20 15:08:20 +00:00
rubidium ee3a44e74f (svn r18567) -Fix [FS#2613]: [NewGRF] House property 15 did not work 2009-12-20 14:53:32 +00:00
frosch 1e1fa9ff2e (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 e5ebae1085 (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 5ac036720b (svn r18564) -Fix: silence a warning 2009-12-20 14:05:58 +00:00
rubidium 6803672c88 (svn r18563) -Document: some industry related functions 2009-12-20 13:45:43 +00:00
rubidium ca5a9ab995 (svn r18562) -Document: improve clarity of the AIAccounting class 2009-12-20 12:29:16 +00:00
rubidium 4d78112282 (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 468986d41a (svn r18560) -Fix (r18541): variety distribution dropdown should not be on heightmap window. 2009-12-20 09:28:53 +00:00
peter1138 2a53179f4d (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 37ce32106d (svn r18558) -Cleanup (r18557): no need to document TILE_INVALID twice 2009-12-20 00:53:22 +00:00
smatz a608fbaf7f (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 64478eb960 (svn r18556) -Fix (r17005): squirrel export didn't accept negative constants 2009-12-19 23:48:42 +00:00
smatz 061de2b2df (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 e46a9078e6 (svn r18554) -Change: Forbid industries to clear sea/river when leveling land. 2009-12-19 22:17:02 +00:00
rubidium 2555c7966a (svn r18553) -Fix: make aircraft behave the same on autoreplace/autorenew as other vehicles 2009-12-19 22:04:02 +00:00
glx 59c303e7cd (svn r18552) -Fix (r18548): some translators were very fast 2009-12-19 22:00:22 +00:00
frosch 7ea108224b (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 a62f16c86d (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 d48ad4b6e3 (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 e97f828c64 (svn r18548) -Fix (r18541): Unused string slipped in. 2009-12-19 20:05:10 +00:00
rubidium c811f3bd21 (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 a6146f5f51 (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 29d6491605 (svn r18545) -Fix [FS#3292]: Assign '_screen.dst_ptr' as soon as it is allocated. 2009-12-19 18:46:40 +00:00
translators 7572f95448 (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 37a6907e79 (svn r18543) -Codechange: Use separate set of strings for variety distribution setting to ease translation. 2009-12-19 18:36:35 +00:00
alberth 614501b1be (svn r18542) -Codechange: Make nested widget parts obligatory in a window description. 2009-12-19 18:03:04 +00:00
peter1138 99bb3a95b4 (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 f946775205 (svn r18540) -Codechange: resulting in better name for 'result'. 2009-12-19 17:14:35 +00:00
alberth 07a2c21d24 (svn r18539) -Codechange: Re-use cargolist drawing in StationViewWindow::DrawAcceptedCargo() 2009-12-19 16:02:29 +00:00
alberth 7fc7324ef8 (svn r18538) -Codechange: Split DrawStationCoverageText into a calculation part and a drawing part. 2009-12-19 15:52:50 +00:00
frosch 9a11aed4bd (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 5c2b6a8943 (svn r18536) -Fix [FS#3386]: MSVC warning. Patch by pavel1269 2009-12-19 15:31:23 +00:00
rubidium c5159055e3 (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 f051ef01e3 (svn r18534) -Doc: Add doxy strings to StationCoverageType enum. 2009-12-19 15:04:24 +00:00
rubidium b3e3f0b0ee (svn r18533) -Fix: don't refer, in the comments, to a long renamed function 2009-12-19 09:23:19 +00:00
rubidium 21324b69d9 (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 6f1982d151 (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 6f5425a062 (svn r18530) -Fix (r18304): Width property set on window instead of width. 2009-12-18 19:59:32 +00:00
translators b7c90a84ad (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 5ef4be1780 (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 8c737964ec (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 2fd1ccf289 (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 5e2b7e0238 (svn r18522) -Feature: add the possibility to not make new tree tiles in-game 2009-12-17 16:59:33 +00:00
rubidium b0f1fcbead (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 04dfadc523 (svn r18518) -Add [NoAI]: AIOrder::AIOF_GOTO_NEAREST_DEPOT for goto nearest depot orders 2009-12-16 21:31:21 +00:00
translators 0b9e733560 (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 5afa990ccf (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 fbfcbe06ec (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 d46127a723 (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 f0728ca1d1 (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 35b8c8367e (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 e673232c18 (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 7b136d1fdd (svn r18509) -Codechange (r2515,r2753): Data for drawing single_x/y rail pieces was inverted. 2009-12-15 13:59:20 +00:00
rubidium 7c2a61e210 (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 619e70f94a (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 3e6c530e1e (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 5450167efc (svn r18505) -Fix [FS#3169]: improve airport movement on several airports 2009-12-14 23:35:38 +00:00
yexo 65642c5878 (svn r18504) -Remove [NoAI]: AIVehicle::SkipToVehicleOrder as it was a duplicate or AIOrder.SkipToOrder 2009-12-14 22:17:15 +00:00
rubidium b7263147c1 (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 c0d4bc5b87 (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 4250792389 (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 a190ae9a71 (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 620ca5e6c1 (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