rubidium
736c12f6ae
(svn r18848) -Fix (r18838): the original accelaration got broken
2010-01-17 16:52:35 +00:00
frosch
24e0945bc4
(svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq.
2010-01-17 15:05:25 +00:00
yexo
830af8ee77
(svn r18845) -Codechange: introduce AirportTileSpec and use it for animation
2010-01-17 14:22:07 +00:00
yexo
f920415752
(svn r18844) -Codechange: add GPL notice to src/table/airport_defaults.h
2010-01-17 12:48:09 +00:00
frosch
ae48ea16f9
(svn r18843) -Codechange: Only NewGRF supplied spritelayouts use SPRITE_MODIFIER_CUSTOM_SPRITE, so no extra tests needed.
2010-01-17 01:22:43 +00:00
frosch
d9d75c83d5
(svn r18842) -Codechange: Rename SPRITE_MODIFIER_USE_OFFSET to SPRITE_MODIFIER_CUSTOM_SPRITE, invert its meaning, and also use it for industry/house layouts instead of IS_CUSTOM_SPRITE().
2010-01-17 01:01:56 +00:00
frosch
707cf045f8
(svn r18841) -Fix (r16869): Default-waypoint was drawn incorrectly for monorail and maglev in the waypoint picker.
2010-01-17 00:51:18 +00:00
frosch
2e9529aff3
(svn r18840) -Codechange: Use DrawCommonTileSeq[InGUI] for roaddepot drawing.
2010-01-16 22:52:51 +00:00
frosch
381bf04bab
(svn r18839) -Codechange: Detriplicate drawing of spritelayouts in the GUI.
2010-01-16 22:44:03 +00:00
rubidium
719fb9803c
(svn r18838) -Codechange [FS#3524]: reorganisation of the train acceleration code plus some minor optimisations (Terkhen)
2010-01-16 22:30:04 +00:00
frosch
d27999e446
(svn r18837) -Codechange: Rename DrawStationTileSeq() to DrawCommonTileSeq() and move it to separate file.
2010-01-16 22:25:44 +00:00
rubidium
199091600a
(svn r18836) -Codechange: make TrainUpdateSpeed a class function and update some comments (Terkhen)
2010-01-16 22:16:28 +00:00
peter1138
df06c14f61
(svn r18835) -Fix: Large sounds could still cause an overflow with high sample rates, causing them to be cut off.
2010-01-16 22:15:02 +00:00
rubidium
15adbad2f4
(svn r18834) -Fix [FS#3538]: compilation failed on OpenBSD (matze)
2010-01-16 22:01:33 +00:00
peter1138
3a5e588f12
(svn r18833) -Cleanup: Const-ness and style
2010-01-16 20:59:58 +00:00
frosch
c07c7a3818
(svn r18832) -Fix: some indentation whitespace.
2010-01-16 20:51:35 +00:00
rubidium
251ffaa000
(svn r18831) -Change [FS#3537]: do not go into the crashlog handler in case loading a savegame misses with missing NewGRFs. This way the load game crash handler gets better visibility and the user is instructed to find the missing NewGRFs before filing a bug report
2010-01-16 19:08:33 +00:00
translators
7e7ec4f250
(svn r18830) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
finnish - 2 changes by jpx_
french - 1 changes by glx
german - 1 changes by planetmaker
hungarian - 2 changes by IPG
slovenian - 144 changes by ntadej
2010-01-16 18:45:22 +00:00
peter1138
711dea210b
(svn r18829) -Codechange: Don't free memory from within audio mixer callback handler as it may be required to be real-time safe.
2010-01-16 17:47:26 +00:00
frosch
6101ad8396
(svn r18828) -Fix (r18823): Decrementing uints is different to ints.
2010-01-16 16:44:59 +00:00
alberth
ff11095916
(svn r18827) -Fix: Center main window using smallmap widget edge coordinates.
2010-01-16 15:24:00 +00:00
frosch
6465f02fba
(svn r18826) -Codechange: Unifiy return value of (SmallArray|FixedSizeArray)::(Append|AppendC) with other containers. (skidd13)
2010-01-16 14:22:19 +00:00
frosch
84ece021fd
(svn r18825) -Codechange: Sometimes code is shorter if you do not use a function for deduplication. (skidd13)
2010-01-16 14:17:03 +00:00
frosch
e6faf06b68
(svn r18824) -Codechange: Turn some public members into protected ones. (skidd13)
2010-01-16 14:12:18 +00:00
frosch
085e9251c5
(svn r18823) -Codechange: Some uints for unsigned ints. (skidd13)
2010-01-16 14:02:22 +00:00
frosch
c7dafb9a26
(svn r18822) -Codechange: Rename YAPF-related container classes and their members to better fit other container classes. (skidd13)
2010-01-16 13:52:24 +00:00
rubidium
21fff6407d
(svn r18821) -Codechange: [Allegro] make the frequency and number of samples runtime configurable
2010-01-15 23:47:28 +00:00
rubidium
f74ce1890e
(svn r18820) -Codechange: [SDL] make the number of samples runtime configurable and increase the default slightly
2010-01-15 23:45:26 +00:00
rubidium
1a1797ec4d
(svn r18819) -Change [FS#3493]: be consistent with airport naming
2010-01-15 22:29:47 +00:00
rubidium
879668811c
(svn r18818) -Fix [FS#3526] (r18766): some train acceleration type conversions were missed
2010-01-15 22:21:50 +00:00
yexo
31d1e9c051
(svn r18816) -Fix (r18807): getting the catchment area of oilrigs triggered an assert
2010-01-15 21:00:46 +00:00
yexo
72572a0586
(svn r18815) -Fix (r18813): adding a single newgrf via the newgrf gui added all newgrfs after the selected one too
2010-01-15 20:20:24 +00:00
translators
785b7e3382
(svn r18814) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
polish - 5 changes by amateja
romanian - 1 changes by kkmic
spanish - 1 changes by Terkhen
2010-01-15 18:45:15 +00:00
yexo
bd102b78ee
(svn r18813) -Codechange: deduplicate copying a newgrf config
2010-01-15 18:28:30 +00:00
rubidium
aaf0b4b46c
(svn r18812) -Codechange: make some functions in train.h functions of Train.
2010-01-15 18:23:52 +00:00
rubidium
55d1db5b28
(svn r18811) -Fix (r18803): also swap the parameters for the AI API
2010-01-15 18:22:57 +00:00
glx
aff659b0b7
(svn r18810) -Fix (r18809): broken win32 compilation with SDL
2010-01-15 17:59:09 +00:00
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
yexo
f380a7239d
(svn r18808) -Cleanup: deplicate by using an existing function
2010-01-15 16:37:19 +00:00
yexo
d669801f1d
(svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there
2010-01-15 12:08:08 +00:00
peter1138
c37d69d161
(svn r18806) -Codechange: Typo in comment
2010-01-15 11:56:31 +00:00
rubidium
ca167791b6
(svn r18805) -Codechange: move airport_movement.h to table/
2010-01-15 10:55:43 +00:00
rubidium
4ecb3eb33c
(svn r18804) -Codechange: guard against binaries claiming to be compatible with a future (stable) release of OpenTTD.
2010-01-14 23:06:41 +00:00
rubidium
c390e8f00e
(svn r18803) -Feature [FS#3318]: make building (long) roads work like building rail; build upon the first obstruction instead of failing totally. Patch by Terkhen.
2010-01-14 23:05:07 +00:00
frosch
ed83388faa
(svn r18802) -Codechange: Deduplicate drawing-code for depots and stations/waypoints.
2010-01-14 22:56:54 +00:00
rubidium
f89d6bea0e
(svn r18801) -Fix: in some cases error messages weren't properly sent to the client before closing the connection. As a result the client would say 'connection lost' when the cause was something completely different.
2010-01-14 21:48:42 +00:00
rubidium
83c8c562bb
(svn r18800) -Fix: in some cases with invalid packets one can crash recent trunk and 1.0.0 betas; 0.7.5 and before can't be crashed though.
2010-01-14 21:47:31 +00:00
translators
f42b435d28
(svn r18799) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
russian - 2 changes by Lone_Wolf
ukrainian - 3 changes by Madvin
2010-01-14 18:45:13 +00:00
belugas
1335914ec8
(svn r18798) -Codechange: Simplify use of parameter p2 by using the data it is represeting. Based on work by Terkhen
2010-01-14 15:52:26 +00:00
rubidium
66b900215a
(svn r18797) -Fix (r18781): building wagons didn't add them to a train
2010-01-13 21:49:15 +00:00
rubidium
7aeccb9bd0
(svn r18796) -Fix [FS#3521]: [SDL] possible deadlock when killing OpenTTD while starting it
2010-01-13 21:34:48 +00:00
translators
f43646cd7d
(svn r18795) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
dutch - 190 changes by Hirundo
portuguese - 2 changes by JayCity
spanish - 1 changes by Terkhen
2010-01-13 18:45:15 +00:00
rubidium
f9d2ccf8db
(svn r18794) -Codechange: add local company and network 'state' to the crash log
2010-01-13 15:03:34 +00:00
translators
2868da2f57
(svn r18793) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
dutch - 69 changes by Hirundo
german - 1 changes by planetmaker
russian - 2 changes by Lone_Wolf
2010-01-12 18:45:15 +00:00
rubidium
9c579a5adf
(svn r18792) -Fix [FS#3522] (r18709): crash when using the 32bpp blitter with a dedicated server
2010-01-12 18:09:48 +00:00
rubidium
70aad27dcb
(svn r18791) -Fix [FS#3504]: when copying an 'image' back into the buffer the 32bpp anim blitter triggered palette check of the whole window instead of only the part the got copied back
2010-01-12 16:38:48 +00:00
peter1138
c3fffe7496
(svn r18790) -Revert (r18001,r18177,FS#3515): Viewport could still jump under high CPU load. Revert as change caused more problems than it fixed.
2010-01-12 09:54:18 +00:00
rubidium
cb820e3da3
(svn r18789) -Codechange: when we're not in a network game we don't even need to consider undrawing the chat messages
2010-01-12 00:10:38 +00:00
rubidium
351eb4665c
(svn r18788) -Codechange: replace macro as without macro it's shorter than with the macro.
2010-01-11 22:46:00 +00:00
rubidium
a535acb549
(svn r18787) -Fix [FS#3516]: crash when getting the tooltip of the industry amount in the world generation window
2010-01-11 20:58:52 +00:00
rubidium
a6ebc1a77e
(svn r18786) -Fix [FS#3507]: NoAI's custom implementation of DoCommandP has several flaws (not masking of bits, not resetting town authority updates on checks/estimates, ...). Let it use DoCommandPInternal, DoCommandP without showing error messages and such, instead.
2010-01-11 20:42:07 +00:00
rubidium
2365819312
(svn r18785) -Codechange: rewrite/rework DoCommandP in order to simplify it, reduce duplication and remove gotos.
2010-01-11 20:39:38 +00:00
rubidium
ebe99fd493
(svn r18784) -Codechange: make NetworkSend_Command accept a company instead of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company.
2010-01-11 20:32:32 +00:00
rubidium
3e5a87a52c
(svn r18783) -Codechange: make CheckCompanyHasMoney set an error on the CommandCost it tests when you don't have enough money instead of setting a global variable.
2010-01-11 20:21:56 +00:00
rubidium
6a047d2316
(svn r18782) -Codechange: move the content of callback_table.cpp to network_command.cpp; it's only ever used there.
2010-01-11 20:00:14 +00:00
rubidium
2b97f38cd1
(svn r18781) -Codechange: pass the CommandCost to the callback instead of whether it succeeded or not.
...
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
2010-01-11 18:46:09 +00:00
translators
48df0d4e06
(svn r18780) -Update from WebTranslator v3.0:
...
traditional_chinese - 1 changes by josesun
croatian - 36 changes by
dutch - 60 changes by Hirundo
french - 1 changes by glx
2010-01-11 18:45:15 +00:00
rubidium
833c6f36f3
(svn r18779) -Codechange: merge the command callbacks of the primary vehicles; they are identical
2010-01-11 18:34:02 +00:00
michi_cc
de878fad31
(svn r18778) -Fix [FS#3483]: [YAPP] Remove a special check for two-sided signals when reserving a path as this causes trains to get stuck in front of them.
2010-01-11 00:02:14 +00:00
rubidium
f51aac3523
(svn r18777) -Codechange: remove some unused parameters from a function
2010-01-10 23:20:11 +00:00
frosch
d5fa74369a
(svn r18776) -Codechange: Use SmallVector to collect refit options.
2010-01-10 21:45:32 +00:00
rubidium
3ebec78900
(svn r18775) -Fix (r18769): non-LZO code used LZO defines, also replace #define with static const uint and add some documentation.
2010-01-10 21:20:51 +00:00
frosch
fee0cebc46
(svn r18774) -Change: Consider callback 19 only broken after subcargos 0 to 255 have been used, instead of stopping at 15.
2010-01-10 20:33:10 +00:00
translators
632280e06e
(svn r18773) -Update from WebTranslator v3.0:
...
afrikaans - 6 changes by burgerd
croatian - 36 changes by
danish - 3 changes by mgarde
dutch - 86 changes by Hirundo
french - 1 changes by glx
italian - 2 changes by lorenzodv
polish - 2 changes by xaxa
spanish - 4 changes by Terkhen
2010-01-10 18:45:27 +00:00
rubidium
aca2daf841
(svn r18772) -Feature-ish: allow user customisable compression levels for the zlib compression
2010-01-10 15:35:13 +00:00
rubidium
188c8ebd5c
(svn r18771) -Codechange: minor cleanups in saveload code
2010-01-10 14:57:05 +00:00
rubidium
f5053cee7e
(svn r18770) -Fix-ish: don't allow the memory saveload format to be chosen for savegames; it's utterly useless to make a snapshot in memory and then throw that away without doing anything with it.
2010-01-10 14:30:32 +00:00
rubidium
3ca0937c1c
(svn r18769) -Codechange: replace MiniLZO with the real library. If you're using MSVC update openttd-useful, otherwise make sure you've got liblzo2 and it's development files installed.
2010-01-10 13:12:34 +00:00
translators
5afce5831d
(svn r18768) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
czech - 4 changes by ReisRyos
dutch - 61 changes by Hirundo
finnish - 1 changes by jpx_
indonesian - 43 changes by fanioz
malay - 227 changes by toadhall
spanish - 122 changes by Terkhen
2010-01-09 18:45:25 +00:00
rubidium
2f8b49134c
(svn r18767) -Fix: min/max income tooltips for the details performance statistics mentioned months whereas it should be quarters.
2010-01-09 18:44:46 +00:00
peter1138
1382964fa0
(svn r18766) -Codechange: Make train acceleration type (rail/elrail/monorail vs maglev) a rail type property
2010-01-09 15:33:41 +00:00
rubidium
b9052fff9f
(svn r18765) -Fix [FS#3499] (r18750): crash when trying to show cargo payments when there are 'holes' in the cargospec array
2010-01-09 14:57:03 +00:00
rubidium
e4af35d316
(svn r18764) -Fix [FS#3422]: split the (un)load ticks counter and signal wait counter; sometimes they might get into eachother's way
2010-01-09 14:43:08 +00:00
rubidium
f65f276d10
(svn r18763) -Feature [FS#3095]: rerandomise AIs on reloading (via the debug window) when they were randomly chosen
2010-01-09 14:41:22 +00:00
yexo
7f6016031e
(svn r18762) -Codechange: unduplicate sprite layout drawing between industries and houses
2010-01-08 22:42:00 +00:00
frosch
5b422d0c64
(svn r18761) -Fix [FS#3497]: Spritelayouts do not need an Action 1 if only using default sprites.
2010-01-08 20:42:12 +00:00
frosch
a16edfebd9
(svn r18760) -Fix (rlots)[FS#3500]: Action 9 did not properly detect whether an Action 8 was encountered already.
2010-01-08 19:18:32 +00:00
yexo
da3decba52
(svn r18759) -Fix [NewGRF]: don't segfault when a newgrf contains an action2 and action3 but no action0
2010-01-08 19:14:33 +00:00
rubidium
37e2ea30a8
(svn r18758) -Change: move Malay to the 'finished' languages
2010-01-08 18:47:25 +00:00
translators
b6b34e2643
(svn r18757) -Update from WebTranslator v3.0:
...
catalan - 1 changes by arnau
simplified_chinese - 69 changes by EraserKing
croatian - 36 changes by
czech - 11 changes by ReisRyos
danish - 11 changes by beruic
hungarian - 2 changes by IPG
italian - 1 changes by lorenzodv
korean - 1 changes by junho2813
malay - 476 changes by toadhall
portuguese - 1 changes by JayCity
russian - 1 changes by Lone_Wolf
serbian - 1 changes by etran
slovenian - 24 changes by ntadej
spanish - 11 changes by Terkhen
vietnamese - 2 changes by nglekhoi
2010-01-08 18:45:47 +00:00
glx
6179198c65
(svn r18756) -Codechange: direct accesses to png_*_struct members are deprecated
2010-01-08 03:17:12 +00:00
yexo
be3ca424f6
(svn r18755) -Fix [FS#3495] (r14847): CircularTileSearch skipped a few tiles close to the starting tile
2010-01-07 20:56:50 +00:00
translators
be6fb855e8
(svn r18754) -Update from WebTranslator v3.0:
...
arabic_egypt - 60 changes by kasakg
croatian - 57 changes by UnderwaterHesus
dutch - 1 changes by habell
french - 1 changes by glx
korean - 2 changes by junho2813
malay - 649 changes by Syed, toadhall
brazilian_portuguese - 1 changes by Rubidium
romanian - 1 changes by kkmic
swedish - 1 changes by Landrash
2010-01-07 18:45:31 +00:00
rubidium
aa0b17bd60
(svn r18753) -Fix: Max TE was incorrect in the engine preview
2010-01-07 17:14:08 +00:00
rubidium
cd55161622
(svn r18752) -Codechange: unduplify some code
2010-01-07 16:39:04 +00:00
rubidium
1fc01513e2
(svn r18751) -Codechange: also log the zlib version in the crash log
2010-01-07 16:29:58 +00:00
rubidium
175db8d613
(svn r18750) -Fix [FS#3492]: the cargo payment button states weren't properly set on opening the window
2010-01-07 11:54:01 +00:00
rubidium
882b23d3ee
(svn r18749) -Fix [FS#3491]: the AI's name and version in the debug panel weren't properly centered
2010-01-07 11:48:59 +00:00
rubidium
0e404038f2
(svn r18747) -Codechange: add some constness to the AI code
2010-01-07 00:09:27 +00:00
rubidium
1967084bc3
(svn r18746) -Fix [FS#3489]: clear the cached NewGRFs of a server when receiving a reply instead of when requesting the information. With slow/unstable network connections it would look like the NewGRF settings button went randomly missing.
2010-01-06 20:49:24 +00:00
frosch
9c4b5e32fa
(svn r18745) -Codechange: Assemble custom station foundations into a single bounding box.
2010-01-06 20:23:06 +00:00
frosch
70f96a3dbf
(svn r18744) -Fix [FS#3487-ish]: Do not toggle the sticky- and shading-button twice per mouseclick when clicking fast.
2010-01-06 20:17:46 +00:00
translators
e0bf5da9ed
(svn r18743) -Update from WebTranslator v3.0:
...
afrikaans - 47 changes by burgerd
croatian - 36 changes by
dutch - 1 changes by habell
finnish - 3 changes by jpx_
malay - 537 changes by Syed, toadhall
polish - 4 changes by vanta
portuguese - 4 changes by JayCity
russian - 1 changes by Lone_Wolf
ukrainian - 1 changes by Madvin
2010-01-06 18:45:30 +00:00
yexo
4257607e2b
(svn r18742) -Fix [NewGRF]: house prop 1D was thrashed when a newgrf contains prop 14 after prop 1D
2010-01-06 15:16:14 +00:00
rubidium
3a26658fed
(svn r18741) -Fix (r14597, r16460): the 'ownname' of a language isn't the name of the translator, but the name of the language in said language.
2010-01-06 13:35:32 +00:00
yexo
509d533c51
(svn r18739) -Fix (r18719): building trees on snow with rocks underneed caused an assert
2010-01-06 09:08:43 +00:00
yexo
06842771a8
(svn r18738) -Fix (r18719): when a tree died while there was snow the amount of snow on the tile changed
2010-01-05 22:32:47 +00:00
peter1138
3157dfb675
(svn r18737) -Fix (r12028): Var67 data wasn't swapped properly for orientation.
2010-01-05 22:18:04 +00:00
yexo
75f717cce3
(svn r18736) -Feature [NewGRF]: implement varaction2houses vars 66 ad 67
2010-01-05 21:36:05 +00:00
translators
b6bca21877
(svn r18733) -Update from WebTranslator v3.0:
...
catalan - 2 changes by arnau
croatian - 36 changes by
finnish - 3 changes by jpx_
german - 1 changes by planetmaker
greek - 1 changes by Rubidium
malay - 503 changes by toadhall
polish - 1 changes by xaxa
russian - 1 changes by Lone_Wolf
spanish - 1 changes by Terkhen
2010-01-05 18:45:29 +00:00
rubidium
74ffe8647f
(svn r18732) -Codechange: move the company related commands of misc_cmd.cpp to company_cmd.cpp
2010-01-05 17:11:56 +00:00
rubidium
f348afb5aa
(svn r18731) -Codechange: move the DrawStationCoverage stuff from misc_gui.cpp to station_gui.cpp
2010-01-05 16:59:57 +00:00
yexo
9143b65785
(svn r18730) -Fix [FS#3414]: new viewports didn't center on the correct position
2010-01-05 14:26:15 +00:00
yexo
fa23617380
(svn r18729) -Fix [FS#3427]: the lock in the company gui was only drawn for your own company
2010-01-04 23:00:19 +00:00
yexo
6dcfa9a063
(svn r18728) -Fix: don't mark all tiles dirty in the artic tileloop
2010-01-04 22:26:25 +00:00
rubidium
92c75f9092
(svn r18727) -Fix [FS#3480]: some invalid gender/plural indices in strings, which could eventually cause crashes.
2010-01-04 21:58:47 +00:00
rubidium
28fc7b47bd
(svn r18726) -Fix [FS#3463]: with non-uniform industries the 'supplies' text when building a station could be incorrect (missing a cargo)
...
-Change [NoAI]: AITile::GetCargoProduction now returns the number of producers and not the number of tiles of producers.
-Fix [NoAI]: AITileList_IndustryProducing would omit some tiles for at which a station would get cargo.
2010-01-04 21:10:20 +00:00
frosch
1ed599f5cf
(svn r18725) -Add: [NoAI] AIWaypoint::WaypointType and AIWaypoint::HasWaypointType().
...
-Change: [NoAI] Constructor of AIWaypoint now takes a WaypointType to also handle buoys.
-Remove: [NoAI] AIBuoyList.
2010-01-04 19:42:29 +00:00
yexo
27fc22a76b
(svn r18724) -Fix [FS#3475] (r17899): refitting a non-refittable vehicle to it's default cargotype failed, causing problems for AIs
2010-01-04 18:50:50 +00:00
rubidium
b42e76d858
(svn r18723) -Codechange: also simplify looping over an area when building trees, desert, rocky areas or leveling land
2010-01-04 18:49:27 +00:00
translators
76bf94bf00
(svn r18722) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
finnish - 2 changes by jpx_
french - 1 changes by glx
german - 1 changes by planetmaker
greek - 36 changes by fumantsu
italian - 1 changes by lorenzodv
malay - 58 changes by toadhall
romanian - 1 changes by kkmic
russian - 2 changes by Lone_Wolf
serbian - 4 changes by etran
swedish - 1 changes by Landrash
2010-01-04 18:45:41 +00:00
rubidium
9dfa2db455
(svn r18721) -Codechange: simplify adding/removing rectangles of tiles from AITileLists
2010-01-04 18:39:46 +00:00
rubidium
740585c219
(svn r18720) -Codechange: simplify looping and validation of CmdBuildCanal
2010-01-04 18:37:47 +00:00
yexo
b378e82676
(svn r18719) -Feature: don't delete the rough/rocky status of a tile when it's covered by snow, this allows rocky tiles under snow if you have a variable snowline
2010-01-04 18:33:43 +00:00
rubidium
3e131e2fec
(svn r18718) -Codechange: make a wrapper macro for looping TileAreas
2010-01-04 18:30:10 +00:00
rubidium
87466a4ed0
(svn r18717) -Codechange: use TileArea in industry instead of three separate variables. Also make use of TileArea functions for determining the 'width' and 'height' of an industry.
2010-01-04 18:21:07 +00:00
rubidium
71f2789270
(svn r18716) -Codechange: pass a TileArea to FindStationsAroundTiles
2010-01-04 18:16:32 +00:00
rubidium
31b325baaf
(svn r18715) -Codechange: make StationFinder a subclass of TileArea
2010-01-04 18:12:10 +00:00
rubidium
8b88bb0c9b
(svn r18714) -Codechange: move the TileArea struct to it's own header
2010-01-04 18:05:14 +00:00
rubidium
02a297669a
(svn r18713) -Fix [FS#3476]: the join station window didn't account for scrolling, so if you did scroll the station was not joined with the selected station
2010-01-04 17:54:57 +00:00
peter1138
51f5102713
(svn r18712) -Fix (r5167): Spurious character spacing with free type fonts for small and large font sizes.
2010-01-04 16:37:53 +00:00
rubidium
3e481c4027
(svn r18710) -Fix [FS#3478]: the wrong town is mentioned in the error when trying to make one way roads of town owned roads
2010-01-04 11:35:12 +00:00
peter1138
abb147d974
(svn r18709) -Fix (r10227,FS#3464): Animation buffer for 32bpp-anim blitter was only validated during sprite blitting, other drawing operations didn't check it. Initial startup and window resize could therefore lead to crash.
2010-01-04 02:32:36 +00:00
peter1138
5ab64809fe
(svn r18708) -Feature: [NewGRF] Add support for custom station foundation graphics.
2010-01-03 22:44:57 +00:00
yexo
9e2ccca327
(svn r18707) -Fix (r17802): local variables should not be accessed after the function returns
2010-01-03 22:43:12 +00:00
rubidium
069b6a9fab
(svn r18703) -Feature-ish: allow virtually paying a percentage of the leg profit in feeder chains. This to give the user a better chance to get a feeder system without "losses".
2010-01-03 21:29:20 +00:00
frosch
a9d4147eb2
(svn r18702) -Fix [FS#3467]: Enable DrawGroundSpriteAt() to deal with foundations as DrawGroundSprite() does, and use this for drawing one-way-road-signs and clear-land-fences.
2010-01-03 20:55:00 +00:00
yexo
8a50a4112c
(svn r18701) -Fix (r18700): always compile before making a commit
2010-01-03 20:14:50 +00:00
yexo
47a11fff20
(svn r18700) -Fix: when deleting an industry on water (oil rigs) the tiles on water were not marked dirty
2010-01-03 19:33:12 +00:00
frosch
666c856457
(svn r18699) -Fix [FS#PlanetAndy]: GRF parameters were not properly initialised to zero, and not always checked for valid range.
2010-01-03 19:29:56 +00:00
translators
f82c591022
(svn r18698) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
estonian - 71 changes by KSiimson
greek - 4 changes by fumantsu
indonesian - 4 changes by prof
portuguese - 1 changes by JayCity
spanish - 1 changes by Terkhen
urdu - 13 changes by waderay
2010-01-03 18:45:21 +00:00
rubidium
409007cd92
(svn r18697) -Fix [FS#3471]: crash when scrolling to an item removed by filtering in the 'add NewGRF window'
2010-01-03 15:25:51 +00:00
yexo
6e97511bcb
(svn r18696) -Fix [FS#3404]: AITile::IsCoastTile returned false for coast tiles with trees on them.
2010-01-03 12:42:50 +00:00
translators
c73df2016a
(svn r18694) -Update from WebTranslator v3.0:
...
catalan - 7 changes by arnau
croatian - 36 changes by
korean - 1 changes by junho2813
norwegian_nynorsk - 10 changes by 2rB
polish - 4 changes by silver_777
portuguese - 2 changes by JayCity
romanian - 41 changes by tonny
2010-01-02 18:45:23 +00:00
alberth
ab26bfd6a0
(svn r18693) -Doc: Add some doxygen comments to smallmap code.
2010-01-02 18:29:51 +00:00
yexo
c8c61faff2
(svn r18692) -Fix: after a company went bankrupt it was impossible to build a new waypoint close to a deleted one until the grey sign was gone
2010-01-02 17:09:14 +00:00
yexo
d8bcda3b94
(svn r18691) -Change [NoAI]: cleanup some errors messages and add a few to AIWaypoint
2010-01-02 16:47:32 +00:00
rubidium
43a5a4bee8
(svn r18690) -Fix [FS#3469]: some keys that open windows that want to be located relatively to the toolbars/statusbar could cause a crash when in one of the end game screens
2010-01-02 16:05:27 +00:00
rubidium
35c79d81ef
(svn r18689) -Codechange: move the looping over chunkhandlers code to a macro
2010-01-02 15:56:20 +00:00
rubidium
58be174df2
(svn r18688) -Cleanup: remove some unused code/constants
2010-01-02 15:52:41 +00:00
yexo
fe67e85700
(svn r18687) -Add [NoAI]: AIEngine::IsBuildable to check if you can build a certain engine.
...
-Change: AIEngine::IsValidEngine will now also return true when you have at least one vehicle of that type even if you can't build it anymore.
2010-01-02 15:52:29 +00:00
rubidium
ea75e7da60
(svn r18686) -Fix [FS#3470]: in some cases _sl.chs is used when not initialised. As _sl.chs always refers to a single table when initialised replace _sl.chs with the actual table
2010-01-02 15:48:07 +00:00
rubidium
0f22c6030d
(svn r18685) -Update: add genders to Catalan
2010-01-02 11:26:20 +00:00
rubidium
b2e9b5d612
(svn r18683) -Fix: it's not an other
2010-01-01 18:45:40 +00:00
translators
115b207745
(svn r18682) -Update from WebTranslator v3.0:
...
traditional_chinese - 1 changes by josesun
croatian - 36 changes by
czech - 1 changes by martin_meridius
korean - 1 changes by junho2813
norwegian_bokmal - 5 changes by CyberKenny
portuguese - 9 changes by JayCity
romanian - 5 changes by tonny
serbian - 5 changes by etran
ukrainian - 5 changes by Madvin
2010-01-01 18:45:35 +00:00
peter1138
81dc77ee23
(svn r18681) -Codechange: Use existing TILE_LOOP method for iterating trigger area.
2010-01-01 18:19:26 +00:00
peter1138
f77d88c0aa
(svn r18680) -Fix: Whole station area is already correct size.
2010-01-01 18:10:50 +00:00
rubidium
936477c323
(svn r18679) -Fix (r16993): tile area of waypoints wasn't correctly given to NewGRFs in case of multi tile waypoints
2010-01-01 18:10:10 +00:00
rubidium
0bc292056d
(svn r18678) -Update: happy new year
2010-01-01 00:00:45 +00:00
translators
b6496be499
(svn r18677) -Update from WebTranslator v3.0:
...
catalan - 5 changes by arnau
traditional_chinese - 36 changes by josesun
croatian - 36 changes by
czech - 4 changes by martin_meridius
dutch - 5 changes by habell
finnish - 1 changes by jpx_
french - 2 changes by Skiper, glx
german - 5 changes by planetmaker
hungarian - 5 changes by alyr
italian - 5 changes by lorenzodv
korean - 4 changes by junho2813
lithuanian - 14 changes by Devastator
persian - 1 changes by Gajoo
portuguese - 2 changes by JayCity
russian - 11 changes by Lone_Wolf
spanish - 1 changes by Terkhen
swedish - 4 changes by Landrash
urdu - 15 changes by waderay
2009-12-31 18:45:51 +00:00
rubidium
ebfdcf575d
(svn r18676) -Change [FS#3411]: 'escape' in the 'found town' window removes the focus from the town name input box
2009-12-31 18:12:10 +00:00
rubidium
de3cff9e1a
(svn r18675) -Add [FS#3256]: function to remove focus from all widgets in a window
2009-12-31 18:11:03 +00:00
peter1138
739aea3e1a
(svn r18674) -Feature (FS#3459): Configurable slope steepness for trains from 0% to 10%, default is 3% as before (mostly by Terkhen)
2009-12-31 10:41:03 +00:00
peter1138
2d14ced236
(svn r18673) -Fix (r17943): Deja vu: 3 byte structs are padded to a word on ARM.
2009-12-31 07:39:05 +00:00
rubidium
768bfa969d
(svn r18672) -Codechange: mention the game date in the crash log
2009-12-31 00:09:29 +00:00
rubidium
75c46b7a27
(svn r18671) -Fix [FS#3452]: [NewGRF] If an action B did not have a 'data' string but would print it OpenTTD would segfault
2009-12-30 20:31:43 +00:00
alberth
d86dbabbc4
(svn r18670) -Fix [FS#3455]: Update all tiles when snowline height changes in larger steps than one tile.
2009-12-30 19:30:49 +00:00
translators
84a7f6aa5b
(svn r18669) -Update from WebTranslator v3.0:
...
afrikaans - 13 changes by burgerd
croatian - 36 changes by
english_US - 74 changes by agenthh
finnish - 4 changes by jpx_
french - 5 changes by glx
greek - 20 changes by fumantsu
lithuanian - 55 changes by Devastator
persian - 1 changes by Gajoo
spanish - 4 changes by Terkhen
urdu - 19 changes by waderay
2009-12-30 18:45:29 +00:00
rubidium
fbfbd2dfb9
(svn r18668) -Fix [FS#3450]: the space between the S and X of OS X should be a non-breaking one
2009-12-30 18:10:07 +00:00
rubidium
e6dbe673f0
(svn r18667) -Fix [FS#3454]: [NoAI] crash when trying to get the order destination of a 'nearest depot' order
2009-12-30 18:07:28 +00:00
alberth
4801b17837
(svn r18666) -Codechange: Add tooltips to enable/disable all buttons in smallmap.
2009-12-30 17:58:19 +00:00
alberth
0a7fc9e4ea
(svn r18665) -Feature [FS#567]: Allow contour-map to be shown with coloured industries in smallmap.
2009-12-30 17:44:38 +00:00
alberth
ba3ef1a2d5
(svn r18664) -Fix [FS#3449]: Unshade shaded finances window when toggling size.
2009-12-30 08:40:05 +00:00
alberth
2ab3e5ab40
(svn r18663) -Codechange (r1): Remove unused _smallmap_vegetation_andor colour masks.
2009-12-30 08:01:54 +00:00
yexo
60a48dbec1
(svn r18661) -Fix [FS#3169]: aircraft on the metropolitan airport took a long route to the closest loading pad
2009-12-29 23:23:16 +00:00
yexo
1520aab5b2
(svn r18660) -Cleanup: remove useless function
2009-12-29 23:13:36 +00:00
rubidium
891ded5c48
(svn r18658) -Fix [FS#3443]: wrong strings drawn for cargo subtype in vehicle details
2009-12-29 18:57:25 +00:00
translators
6cfa7df1cf
(svn r18657) -Update from WebTranslator v3.0:
...
afrikaans - 174 changes by burgerd
catalan - 10 changes by arnau
croatian - 36 changes by
norwegian_bokmal - 7 changes by Zhygometh
swedish - 32 changes by Landrash
ukrainian - 82 changes by Madvin
vietnamese - 23 changes by nglekhoi
2009-12-29 18:45:24 +00:00
orudge
00ede07b13
(svn r18656) -Feature: Add event semaphore support for OS/2
2009-12-29 04:27:39 +00:00
translators
96c699ff1e
(svn r18654) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
finnish - 5 changes by jpx_
portuguese - 1 changes by JayCity
russian - 1 changes by Lone_Wolf
vietnamese - 27 changes by motorolavn, nglekhoi
2009-12-28 18:45:17 +00:00
rubidium
4697a1f431
(svn r18653) -Fix [FS#3442]: when trying to attach a wagon to an existing free wagon chain, don't attach it to itself
2009-12-28 18:26:39 +00:00
rubidium
454e124912
(svn r18652) -Fix: glitches due to having the wrong bounding boxes for the face widgets
2009-12-28 13:04:18 +00:00
smatz
f60b3a28d6
(svn r18651) -Fix [FS#3438](r18518): [NoAI] When AI tried to create NO_UNLOAD order, GOTO_NEAREST_DEPOT order was created instead
2009-12-28 12:12:57 +00:00
translators
224f3cd361
(svn r18649) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
finnish - 3 changes by Tve4
korean - 1 changes by dlunch
norwegian_nynorsk - 7 changes by 2rB
vietnamese - 39 changes by motorolavn, nglekhoi
2009-12-27 18:45:17 +00:00
michi_cc
40ba9933dc
(svn r18648) -Fix/Feature [FS#3430-ish]: [YAPP] Treat the backside of an one-way path signals as a safe waiting point.
2009-12-27 14:37:54 +00:00
michi_cc
f7025612e1
(svn r18647) -Fix: [YAPP] A train inside a station was not always found when checking for trains on a reserved path.
2009-12-27 14:37:50 +00:00
michi_cc
182b0b5c14
(svn r18646) -Fix [FS#3418]: [YAPP] Don't extend the reserved path through a newly built path signal directly in front of a stopped or loading train. Also restore the reserved path in more cases after removing a signal.
2009-12-27 14:37:46 +00:00
smatz
29e05554d7
(svn r18645) -Fix [FS#3433](r942): out-of-bounds access in the 'Start new multiplayer game' GUI
2009-12-27 13:38:08 +00:00
rubidium
b0c9b2c232
(svn r18644) -Fix [FS#3434]: company league window was too narrow
2009-12-27 13:19:17 +00:00
rubidium
04a8888547
(svn r18643) -Fix [FS#3436]: rotation could not be changed for heightmaps
2009-12-27 12:58:23 +00:00
rubidium
fb9eba67d1
(svn r18642) -Fix [FS#3432]: when a company goes bankrupt and has vehicles on a drive through road stop that is not theirs, the 'filled' cache of the road stops would get corrupted
2009-12-27 09:05:00 +00:00
translators
9aa89db3d6
(svn r18641) -Update from WebTranslator v3.0:
...
catalan - 6 changes by arnau
croatian - 36 changes by
norwegian_nynorsk - 15 changes by 2rB
russian - 4 changes by Lone_Wolf
vietnamese - 45 changes by motorolavn, nglekhoi
2009-12-26 18:45:20 +00:00
smatz
ce08aebde7
(svn r18640) -Fix (r18633): don't assert when accessing first invalid item, it's used quite often in the code
...
-Revert (r18637): it's not needed any more
2009-12-26 13:49:14 +00:00
rubidium
9574371e53
(svn r18639) -Update: Squirrel from 2.2.3 to 2.2.4
...
-Revert (r17273): this fix is included in Squirrel 2.2.4
2009-12-26 09:59:32 +00:00
rubidium
28c7c49855
(svn r18638) -Fix: downloading music sets would fail
2009-12-26 09:38:41 +00:00
rubidium
e7efb42a27
(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
9cefcdab82
(svn r18636) -Codechange: make TextEffect::duration a value in ticks instead of ticks * 8
2009-12-25 23:22:41 +00:00
smatz
e6d6704f32
(svn r18635) -Codechange: store TextEffects in a SmallVector
2009-12-25 23:15:08 +00:00
rubidium
69f1db204e
(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
a7be7ebe80
(svn r18633) -Codechange: fortify SmallVector a bit more
2009-12-25 23:10:20 +00:00
rubidium
4dbf08fc4b
(svn r18632) -Fix (r18629): error in string caused failure of Czech language
2009-12-25 20:11:31 +00:00
rubidium
7ed2e65b77
(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
21a3f97a0b
(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
6cf4637dac
(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
c8db92e3dd
(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
c4205c2599
(svn r18627) -Fix: no need to print 'Registers:' twice in win64 crash logs
2009-12-25 11:52:14 +00:00
rubidium
770c5d0594
(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
aa6081d830
(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
60082980fd
(svn r18622) -Merge: release changes
2009-12-23 23:09:47 +00:00
rubidium
2bb5e2de29
(svn r18620) -Fix: possible deadlock with SDL and changing the resolution in-game
2009-12-23 22:41:47 +00:00
translators
8436c3d5fb
(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
97e7a584a2
(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
277794e26b
(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
fbaba4e6bd
(svn r18614) -Fix [FS#3412](r18602): too many signs were drawn, causing slowdowns
2009-12-23 17:59:34 +00:00
rubidium
82f927bd16
(svn r18613) -Codechange: add the music set to the crashlog too
2009-12-23 17:33:45 +00:00
alberth
52c7d9897e
(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
91747d72dc
(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
6e97343df6
(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
a8d6d18b22
(svn r18608) -Change: add the concept of music sets
2009-12-22 21:40:29 +00:00
alberth
b30e56850c
(svn r18607) -Fix (r18583): Preserve window width when shading.
2009-12-22 20:53:28 +00:00
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