Commit Graph

8167 Commits

Author SHA1 Message Date
rubidium
0946fd974f (svn r18637) -Fix [FS#3428]: check whether the content list is empty before trying to draw it 2009-12-26 09:01:28 +00:00
smatz
289c130333 (svn r18636) -Codechange: make TextEffect::duration a value in ticks instead of ticks * 8 2009-12-25 23:22:41 +00:00
smatz
6607dfdc68 (svn r18635) -Codechange: store TextEffects in a SmallVector 2009-12-25 23:15:08 +00:00
rubidium
b224e62d19 (svn r18634) -Revert (r16808): the fix doesn't work in all cases
-Fix [FS#3421] (r16838): crash when invalid pointers are left due to saveload failing at e.g. decompressing the savegame
2009-12-25 23:14:12 +00:00
smatz
754502ac37 (svn r18633) -Codechange: fortify SmallVector a bit more 2009-12-25 23:10:20 +00:00
rubidium
cb8a7292ee (svn r18632) -Fix (r18629): error in string caused failure of Czech language 2009-12-25 20:11:31 +00:00
rubidium
c4973433dd (svn r18631) -Fix [FS#3419]: when making a screenshot from the console the currently executed command would be shown twice 2009-12-25 19:17:36 +00:00
rubidium
0efc6bb877 (svn r18630) -Fix [FS#3419]: when making a screenshot the name of the previous screenshot went missing in the 'successful screenshot' message 2009-12-25 19:16:58 +00:00
translators
e5713ff57b (svn r18629) -Update from WebTranslator v3.0:
croatian - 36 changes by 
czech - 63 changes by martin_meridius
danish - 21 changes by beruic
indonesian - 14 changes by adjayanto
russian - 20 changes by Lone_Wolf
2009-12-25 18:45:18 +00:00
rubidium
e2c2370bc8 (svn r18628) -Fix [FS#3422]: (un)loading counter being reset while loading a train and changing the (path) signal setup around the station 2009-12-25 18:01:27 +00:00
smatz
e2161c77ae (svn r18627) -Fix: no need to print 'Registers:' twice in win64 crash logs 2009-12-25 11:52:14 +00:00
rubidium
b0e7f79d2f (svn r18626) -Fix [FS#3425]: {CARGO} takes 2 parameters, not 1. This made {N:XYZ} commands after CARGO mess up their indices and that then triggered an assertion 2009-12-25 10:04:30 +00:00
translators
12f1a405a2 (svn r18625) -Update from WebTranslator v3.0:
croatian - 36 changes by 
german - 6 changes by planetmaker
hungarian - 1 changes by alyr
italian - 15 changes by lorenzodv
korean - 1 changes by junho2813
romanian - 171 changes by tonny
spanish - 1 changes by Terkhen
2009-12-24 18:45:26 +00:00
rubidium
3bafba18c3 (svn r18622) -Merge: release changes 2009-12-23 23:09:47 +00:00
rubidium
af5bd27c73 (svn r18620) -Fix: possible deadlock with SDL and changing the resolution in-game 2009-12-23 22:41:47 +00:00
translators
9d71d52134 (svn r18617) -Update from WebTranslator v3.0:
catalan - 21 changes by arnau
croatian - 36 changes by 
dutch - 6 changes by habell
finnish - 6 changes by jpx_
french - 6 changes by glx
hungarian - 10 changes by IPG
korean - 5 changes by junho2813
polish - 5 changes by silver_777
portuguese - 7 changes by JayCity
romanian - 168 changes by tonny
serbian - 8 changes by etran
spanish - 5 changes by Terkhen
vietnamese - 1 changes by nglekhoi
2009-12-23 18:45:40 +00:00
rubidium
dfb55862f9 (svn r18616) -Fix [FS#3413]: crash when the current order is a conditional order when a plane is checking whether it needs servicing 2009-12-23 18:45:05 +00:00
rubidium
257a16a3b1 (svn r18615) -Fix: conditional orders were seen as 'valid' and as such aircraft with only conditional orders did not crash 2009-12-23 18:43:38 +00:00
smatz
51b5b98632 (svn r18614) -Fix [FS#3412](r18602): too many signs were drawn, causing slowdowns 2009-12-23 17:59:34 +00:00
rubidium
319118a13e (svn r18613) -Codechange: add the music set to the crashlog too 2009-12-23 17:33:45 +00:00
alberth
1f634ba721 (svn r18612) -Fix [FS#3407]: Buy vehicle window did not properly disable panel drawing while shaded. 2009-12-23 10:12:43 +00:00
rubidium
8fc7d7ca49 (svn r18611) -Fix (r18608): uppercase-to-lowercase conversion when opening a file wasn't applied when finding the full path of a file 2009-12-23 09:08:52 +00:00
rubidium
f775b80669 (svn r18610) -Codechange: don't consider a music set at all for 'best' set when it's missing files 2009-12-23 08:51:46 +00:00
rubidium
42d7f30dcc (svn r18608) -Change: add the concept of music sets 2009-12-22 21:40:29 +00:00
alberth
8e802135d8 (svn r18607) -Fix (r18583): Preserve window width when shading. 2009-12-22 20:53:28 +00:00
alberth
e967f04123 (svn r18606) -Codechange: Introduce several forms of zero-size stacked display planes. 2009-12-22 20:43:25 +00:00
alberth
caa73efe93 (svn r18605) -Codechange: Coding style fixes, prevent useless calls to UpdateWidgetSize(). 2009-12-22 19:40:23 +00:00
translators
1f6afa3a1c (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
834a91ddc6 (svn r18603) -Codechange: move getting the song name to music_gui.cpp 2009-12-22 18:34:07 +00:00
rubidium
dc58b1dfee (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
b584dc72d7 (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
5f358b0668 (svn r18600) -Fix (r18599): Re-enable ctl+click to jump to competitor station. 2009-12-22 11:15:08 +00:00
alberth
5b8807670f (svn r18599) -Fix: Displaying selected orders of a competitor vehicle was broken, disable the selection. 2009-12-22 10:28:58 +00:00
rubidium
536a2c8b6a (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
dd7f373eab (svn r18597) -Fix (r17147)[FS#3395, FS#3396]: ChangeVehicleNews() did not update the news ticker. 2009-12-21 21:14:40 +00:00
alberth
b929bb000a (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
7263d3ff34 (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
200321d756 (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
653addf364 (svn r18593) -Fix: GetWidget call case similar to r18591 2009-12-21 18:20:18 +00:00
rubidium
231b2d500e (svn r18592) -Fix (r18591): argh... save after starting the commit :( 2009-12-21 18:13:43 +00:00
rubidium
1465a8e120 (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
96193ca87b (svn r18590) -Fix [FS#3397]: too strict assert was triggered 2009-12-21 17:45:02 +00:00
alberth
2ac35a8cff (svn r18589) -Codechange: Add tooltip to some network windows, remove old comment. 2009-12-21 16:28:50 +00:00
alberth
0e9dac92d2 (svn r18588) -Feature [FS#2943]: Add shading and unshading of windows. 2009-12-21 16:24:29 +00:00
alberth
40ab9eeeba (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
a5dc9f76df (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
b15fb68503 (svn r18585) -Codechange: replace some magic numbers by constants 2009-12-21 16:13:30 +00:00
alberth
e8690df51b (svn r18584) -Codechange: Generalize MakeWidgetTree to read only one widget (recursively). 2009-12-21 16:12:43 +00:00
alberth
45a8eb682e (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
97a6adf9f3 (svn r18582) -Codechange: save 8 bytes from the Window class 2009-12-20 20:49:47 +00:00
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