yexo
7a334f62e8
(svn r17382) -Cleanup: don't set load_unload_time_rem when an aircraft turns in the air as it's not used
2009-09-02 15:13:33 +00:00
yexo
dbe9917574
(svn r17381) -Codechange: music track selection window uses nested widgets
2009-09-02 14:09:51 +00:00
rubidium
187db314e5
(svn r17380) -Codechange: move drawing the performance detail data to DrawWidget
2009-09-02 13:39:46 +00:00
rubidium
808a2b06e6
(svn r17379) -Codechange: make the performance rating window nested, although it still needs some improvements
2009-09-02 13:24:36 +00:00
yexo
457c101138
(svn r17378) -Fix [NoAI]: Several AITile::* functions didn't check whether their parameters were valid
2009-09-02 12:48:23 +00:00
yexo
7c4dc7db7f
(svn r17377) -Fix (r17365): MSVC complains about struct<>class difference
2009-09-02 12:02:55 +00:00
rubidium
4473b3eb30
(svn r17376) -Fix: also draw the white "I've just opened" line for nested windows
2009-09-02 11:31:11 +00:00
rubidium
62c7948a4f
(svn r17375) -Codechange: remove last direct usage of scrollbar variables
2009-09-02 08:58:20 +00:00
rubidium
fc193fd902
(svn r17374) -Codechange: make the town and vehicle GUIs use the scrollbar wrappers
2009-09-02 08:48:29 +00:00
rubidium
e9e2ffade2
(svn r17373) -Codechange: make the timetable, station and subsidy GUIs use scrollbar wrappers
2009-09-02 08:40:31 +00:00
rubidium
1f3f5a8a83
(svn r17372) -Codechange: make the settings, rail and sign GUIs use the scrollbar wrappers
2009-09-02 08:28:50 +00:00
rubidium
d5e749d8b1
(svn r17371) -Codechange: make the newgrf, news and order GUIs use the scrollbar wrappers
2009-09-02 08:18:54 +00:00
rubidium
6d72ae033a
(svn r17370) -Codechange: make the saveload and network GUIs use the scrollbar wrappers
2009-09-02 08:08:30 +00:00
rubidium
e80d296638
(svn r17369) -Codechange: make the depot, group and industry GUIs use the scrollbar wrappers
2009-09-02 07:36:39 +00:00
rubidium
9442334163
(svn r17368) -Codechange: remove pointless passing of 'this' as parameter
2009-09-02 07:22:09 +00:00
rubidium
2e59affde5
(svn r17367) -Codechange: make the autoreplace, bridge and build vehicle GUIs use the scrollbar wrappers
2009-09-02 07:17:15 +00:00
rubidium
042a99e328
(svn r17366) -Codechange: make the AI GUIs use the scrollbar wrappers
2009-09-02 07:01:25 +00:00
rubidium
f1ba8fb206
(svn r17365) -Codechange: introduce wrapper functions to update the position, capacity and count of scroll bars. This to (eventually) prevent the scrollbar overflowing outside of the window
2009-09-02 06:34:40 +00:00
rubidium
123c44137a
(svn r17364) -Fix (r17356): off by one when selecting a subsidy
2009-09-01 22:38:18 +00:00
rubidium
a79be4de27
(svn r17363) -Fix [FS#3163] (r16717): feed autoreplace the front of vehicles, otherwise it gets distracted and bails out
2009-09-01 21:54:59 +00:00
yexo
7b3cfe5aa0
(svn r17362) -Fix (r17360): alignment in afrikaans.txt was wrong
2009-09-01 21:43:38 +00:00
yexo
657165ae7d
(svn r17361) -Fix (r17360): committed a bit too much
2009-09-01 21:35:28 +00:00
yexo
5678d36895
(svn r17360) -Fix (r17329): the 'track' and 'title' texts were lost in the conversion to nested widgets
2009-09-01 21:30:14 +00:00
smatz
7744a7303a
(svn r17359) -Fix: put static before cv qualifier, some compilers complain about that
2009-09-01 21:27:33 +00:00
smatz
8cf944001d
(svn r17358) -Fix: compilation was broken for gcc older than 3.4
2009-09-01 20:59:44 +00:00
smatz
992e6ff4ad
(svn r17357) -Codechange: some compilers complain about implicit conversion from NULL to bool
2009-09-01 20:51:45 +00:00
rubidium
cbe1b67811
(svn r17356) -Fix: actually implement scrolling for the subsidy list instead of 'just' showing a scroll bar.
2009-09-01 20:42:12 +00:00
rubidium
c7d39c9bf8
(svn r17355) -Codechange: determine the minimum size of the subsidy gui based on (some) of the content
2009-09-01 20:06:10 +00:00
rubidium
74b7e1ab65
(svn r17354) -Codechange: make the subsidy gui nested
2009-09-01 19:29:16 +00:00
yexo
3f2af511f0
(svn r17353) -Codechange: make sure the shuffle and programme buttons in the music window are always the same size
2009-09-01 19:18:42 +00:00
rubidium
cd6b9ed7e4
(svn r17352) -Fix [FS#3162]: trains wouldn't show smoke if the load/unload counter wasn't 0, though there doesn't seem to be a reason to check that variable anyhow anymore
2009-09-01 18:35:24 +00:00
translators
80bca675ae
(svn r17351) -Update from WebTranslator v3.0:
...
simplified_chinese - 24 changes by yuanmin
czech - 118 changes by SmatZ
dutch - 2 changes by Yexo
french - 2 changes by glx
russian - 1 changes by Lone_Wolf
spanish - 2 changes by Terkhen
2009-09-01 17:45:23 +00:00
glx
cf2d2cb4b6
(svn r17350) -Fix (r17336): broken compilation with mingw
2009-09-01 14:20:35 +00:00
smatz
7642c0d0f1
(svn r17349) -Update (r17348): apply changes to other lang files
2009-09-01 14:06:23 +00:00
smatz
f22e1cf9ab
(svn r17348) -Fix: don't mix 'sort by' strings used for buttons and dropdowns
2009-09-01 14:05:27 +00:00
rubidium
62e990823d
(svn r17345) -Fix [FS#2769]: one wasn't offered to take over bankrupt companies anymore; caused by the introduction NoAI, although NewAI had the same problem too.
2009-09-01 12:57:04 +00:00
rubidium
eba9b2f779
(svn r17344) -Codechange: splash of coding style over ai_event_types.*
2009-09-01 12:33:17 +00:00
rubidium
c1fe2ce4bc
(svn r17343) -Codechange: it's bankruptcy, not bankrupcy, according to my Oxford Dictionary of English and Merriam-Webster.
2009-09-01 12:28:46 +00:00
rubidium
94867f3052
(svn r17342) -Fix: reset bankruptcy checks when bankruptcy has been averted and don't set an unused timeout with a magic number
2009-09-01 12:17:02 +00:00
rubidium
846cd79ada
(svn r17341) -Fix: memory leak when trying to bankrupt the local company
2009-09-01 12:16:01 +00:00
rubidium
d1b0754bbf
(svn r17340) -Fix: old loader tried to load a uint8 into a uint16
2009-09-01 12:14:57 +00:00
rubidium
533e3da493
(svn r17339) -Codechange: move thread related files to their own directory (like done for video, music, sound, etc)
2009-09-01 10:07:22 +00:00
yexo
2aec011d04
(svn r17338) -Feature(tte): Add extra entry points for all airports so planes don't make strange turns when entering the holding stack
2009-09-01 10:06:18 +00:00
yexo
0755f3a9c1
(svn r17337) -Fix: some more strange airport holding bay positions
2009-08-31 23:42:17 +00:00
rubidium
19b83eb5aa
(svn r17336) -Codechange: move some os specific files into src/os/
2009-08-31 22:38:37 +00:00
rubidium
54f67b8137
(svn r17335) -Fix (r17333): don't return a pointer as boolean
2009-08-31 22:18:17 +00:00
yexo
1d55bb2090
(svn r17334) -Fix: don't turn north just before approaching the landing strip of the small airport
2009-08-31 22:15:29 +00:00
rubidium
67468acf5a
(svn r17333) -Codechange: make the road pathfinder 'interface' like the one for the rail pathfinder
...
-Fix [FS#3057]: road vehicles forgetting their servicing order when the path takes them away (in bird distance) from their destination first
2009-08-31 19:16:18 +00:00
translators
9edf3ec982
(svn r17332) -Update from WebTranslator v3.0:
...
english_US - 1 changes by agenthh
german - 2 changes by Roujin
italian - 5 changes by lorenzodv
korean - 20 changes by darkhasa
2009-08-31 17:45:18 +00:00
yexo
ef8a9a25ff
(svn r17331) -Codechange: don't depend on static widget position/size for drawing of volumer sliders in music window
2009-08-30 21:31:54 +00:00
yexo
dc9d4865c9
(svn r17330) -Codechange: Lower some buttons in the music window when clicked instead of changing the text colour to white
2009-08-30 20:38:57 +00:00
yexo
c54d23e954
(svn r17329) -Codechange: music window uses nested widgets
2009-08-30 19:23:36 +00:00
alberth
caa44c71a9
(svn r17328) -Codechange: Get the vehicle technical data as string rather than having it printed.
2009-08-30 18:41:03 +00:00
alberth
174284d526
(svn r17327) -Codechange: Allow external use of GetEngineCategoryName().
2009-08-30 17:54:11 +00:00
translators
2f9ebae66d
(svn r17326) -Update from WebTranslator v3.0:
...
italian - 1 changes by lorenzodv
welsh - 16 changes by welshdragon
2009-08-30 17:45:11 +00:00
alberth
c37078c9b7
(svn r17325) -Codechange: Un-duplicate engine drawing routines.
2009-08-30 17:38:28 +00:00
Yexo
7cb4f3e7a3
(svn r17324) -Codechange: Land info window uses nested widget tree
2009-08-30 17:07:53 +00:00
rubidium
751dc4ad3d
(svn r17323) -Codechange: replace some magic numbers with constants in the town directory.
2009-08-30 15:25:20 +00:00
rubidium
25b667c1ea
(svn r17322) -Codechange: make the industry directory window nested.
2009-08-30 15:25:20 +00:00
rubidium
ecf50ba58e
(svn r17321) -Codechange: minor coding style fixes for the town directory
2009-08-30 14:39:59 +00:00
rubidium
b237655d76
(svn r17320) -Codechange: move the code to determine the string and set dparams of industries in the industry directory out of OnPaint
2009-08-30 14:06:55 +00:00
rubidium
898d070919
(svn r17319) -Codechange: replace some magic numbers related to locations/sizes with the appropriate variables in the industry directory
2009-08-30 13:54:53 +00:00
rubidium
99dda2a3ce
(svn r17318) -Codechange: remove state changes from the OnPaint of the industry directory
2009-08-30 13:44:25 +00:00
smatz
09e1ecc8ac
(svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile()
2009-08-30 11:47:41 +00:00
smatz
1889ebff85
(svn r17315) -Codechange: move code related to industry types to separate file
2009-08-30 11:40:01 +00:00
alberth
54f5962af2
(svn r17314) -Fix (r17313): Allow the picker window to change size.
2009-08-30 08:10:00 +00:00
rubidium
8a91545f62
(svn r17313) -Codechange: make the road station picker nested
2009-08-29 22:24:29 +00:00
rubidium
d514d665ef
(svn r17312) -Codechange: make the road toolbars and depot picker nested
2009-08-29 21:33:50 +00:00
yexo
a3382deac7
(svn r17311) -Change: rename STR_WHITE_STRINGN to STR_WHITE_STRING
2009-08-29 21:28:36 +00:00
yexo
fad737decb
(svn r17310) -Codechange: about window uses nested widget tree
2009-08-29 20:54:32 +00:00
smatz
0b980d91c7
(svn r17309) -Fix: not all non-ASCII characters were entered with escapes in the About window
2009-08-29 20:01:16 +00:00
translators
c0735ffd68
(svn r17308) -Update from WebTranslator v3.0:
...
french - 22 changes by glx
german - 28 changes by Roujin
indonesian - 7 changes by fanioz
italian - 44 changes by lorenzodv
russian - 7 changes by MajestiC
2009-08-29 17:45:20 +00:00
yexo
a80bb35ffe
(svn r17307) -Fix [NoAI]: AIRail::RemoveRailTrack returned ERR_PRECONDITION_ERROR for road/rail-crossings
2009-08-29 17:01:39 +00:00
alberth
6432986704
(svn r17306) -Fix: DrawStringMultiLine() computed available width and height wrongly.
2009-08-29 17:00:32 +00:00
rubidium
252304b569
(svn r17304) -Codechange: move (more) drawing code out of the rail depot picker's OnPaint.
2009-08-29 09:30:40 +00:00
translators
b0ba8e35ce
(svn r17303) -Update from WebTranslator v3.0:
...
french - 30 changes by glx
german - 38 changes by Roujin
spanish - 103 changes by Terkhen
2009-08-28 17:45:13 +00:00
rubidium
cdca76cd6b
(svn r17301) -Fix (r17297): typo
2009-08-28 16:49:00 +00:00
rubidium
b6c97c36b6
(svn r17300) -Fix [FS#3120]: mention of Ctrl modifier was missing from some tooltips
2009-08-28 15:25:12 +00:00
rubidium
d5bd62ad15
(svn r17299) -Fix: the tooltip could get truncated under some circumstances due to its custom string height determination
2009-08-28 15:23:51 +00:00
yexo
8a2e1011b2
(svn r17298) -Fix [FS#3153]: reloading an AI started a new AI in the first available company slot causing other AIs to be started
2009-08-28 15:23:11 +00:00
rubidium
79ad9f5b58
(svn r17297) -Fix [part of FS#3120]: effect of pressing Ctrl was missed in a number of cases
2009-08-28 13:04:58 +00:00
rubidium
169df83012
(svn r17296) -Fix/feature [FS#3152]: allow rail wagons to be build when only el rail engines are available
2009-08-27 19:47:50 +00:00
translators
c10abd507d
(svn r17295) -Update from WebTranslator v3.0:
...
lithuanian - 6 changes by mtxd
2009-08-27 17:45:08 +00:00
smatz
e126e1e9c6
(svn r17294) -Add [NoAI]: AITown::GetLastMonthTransportedPercentage and AIIndustry::GetLastMonthTransportedPercentage
2009-08-27 13:50:07 +00:00
smatz
15242b3ac8
(svn r17293) -Fix [NoAI]: AITown::GetLastMonthTransported didn't work as documented at all, make it return what AITown::GetLastMonthProduction did
...
-Change [NoAI]: mark AITown::GetMaxProduction as deprecated, AITown::GetLastMonthProduction returns now the value GetMaxProduction did
2009-08-27 13:47:03 +00:00
smatz
a0d0206f2d
(svn r17292) -Codechange: use unified ToPercent() function to convert fract numbers to percents
2009-08-27 13:31:26 +00:00
rubidium
3af095aa19
(svn r17291) -Fix [FS#3147]: crash after upgrading base graphics/sound set when opening the game options menu and you were using the upgraded set
2009-08-26 20:26:40 +00:00
translators
3cf9f4c0ee
(svn r17290) -Update from WebTranslator v3.0:
...
italian - 44 changes by lorenzodv
lithuanian - 21 changes by mtxd
norwegian_bokmal - 6 changes by CyberKenny
russian - 2 changes by Lone_Wolf
serbian - 45 changes by etran
2009-08-26 20:23:07 +00:00
translator
b009fb2637
(svn r17288) -Update from WebTranslator v3.0: fix newlines (had to test a new commit system)
2009-08-25 18:46:13 +00:00
translators
0755896670
(svn r17287) -Update from WebTranslator v3.0:
...
latvian - 32 changes by dzhins
polish - 1 changes by Kogut
2009-08-25 17:45:10 +00:00
rubidium
aa67dd87c6
(svn r17284) -Fix [Squirrel]: stack was not always cleared properly with tail recursion
2009-08-25 15:09:27 +00:00
yexo
650f36c08c
(svn r17283) -Cleanup [Squirrel]: remove a few unneeded changes to squirrel code
2009-08-25 12:47:50 +00:00
yexo
fe4f55d0a4
(svn r17282) -Fix (r17195): the squirrel documentation files were not updated
2009-08-25 11:43:05 +00:00
smatz
1c6a2d72e2
(svn r17281) -Feature(tte): open the 'Rename group' dialog after creating new group
2009-08-25 10:44:19 +00:00
smatz
bdb0ba3feb
(svn r17275) -Codechange: remember group ID we are renaming, don't rename currently selected group
2009-08-24 21:51:02 +00:00
translators
45bb5b39fc
(svn r17274) -Update from WebTranslator v3.0:
...
czech - 4 changes by SmatZ
english_US - 4 changes by agenthh
latvian - 54 changes by dzhins
serbian - 110 changes by etran
spanish - 1 changes by Terkhen
2009-08-24 17:45:21 +00:00
yexo
f66041e3c8
(svn r17273) -Fix [Squirrel]: calling a function that has default parameters with not enough parameters can cause a crash
2009-08-23 19:25:52 +00:00
rubidium
0f6384ccee
(svn r17272) -Fix [FS#3115]: game options window sub frames wouldn't resize when another did
2009-08-23 19:22:33 +00:00
rubidium
d4a98be94a
(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false
2009-08-23 19:03:09 +00:00
translators
dba7079aca
(svn r17270) -Update from WebTranslator v3.0:
...
danish - 39 changes by silentStatic
portuguese - 2 changes by SupSuper
serbian - 4 changes by etran
2009-08-23 17:45:13 +00:00
rubidium
1cfc262fb0
(svn r17268) -Fix [FS#3143]: Station/Town window titles weren't updated when they got renamed
2009-08-22 20:28:30 +00:00
rubidium
6aa9ebd85a
(svn r17267) -Change [FS#3139]: mention the MD5 checksum of the original NewGRF in the "saveload failed horribly"-error message and make it more clear that the filename is of the current NewGRF
2009-08-22 20:20:20 +00:00
alberth
bdb54a11dd
(svn r17265) -Codechange: Typo fix, small is with two l's
2009-08-22 19:06:02 +00:00
translators
8a096f6427
(svn r17262) -Update from WebTranslator v3.0:
...
finnish - 1 changes by jpx_
german - 2 changes by planetmaker
greek - 49 changes by fumantsu
serbian - 62 changes by etran
welsh - 6 changes by welshdragon
2009-08-22 17:45:20 +00:00
rubidium
290d8a99c3
(svn r17251) -Fix [FS#3141]: other tunnel end not shown if building rail tunnels and the first railtype is not available yet
2009-08-22 07:02:33 +00:00
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
rubidium
be9033295e
(svn r17247) -Change: move '3rd party' MD5 implementation also to the 3rdparty directory.
2009-08-21 20:15:17 +00:00
translators
50b05b212a
(svn r17246) -Update from WebTranslator v3.0:
...
german - 1 changes by dihedral
russian - 1 changes by Lone_Wolf
swedish - 9 changes by hgj
2009-08-21 17:45:17 +00:00
rubidium
79844fd27f
(svn r17245) -Fix [FS#3137] (r17015): you could, via unselect all, also unselect already installed content; it would not uninstall it though
2009-08-21 08:41:54 +00:00
rubidium
45239b345e
(svn r17244) -Change: add $Id$ to the language files too
2009-08-20 19:54:37 +00:00
rubidium
5efd5f1f68
(svn r17243) -Fix (r17216): undo 'damage' by svn:keywords
2009-08-20 19:54:03 +00:00
translators
cd5ae22c85
(svn r17242) -Update from WebTranslator v3.0:
...
simplified_chinese - 4 changes by Gavin
czech - 10 changes by joeprusa
german - 1 changes by Roujin
swedish - 7 changes by hgj
2009-08-20 17:45:16 +00:00
rubidium
11f4973cf6
(svn r17241) -Change: make a distinction between missing and corrupted data files. If (at least) one data file is missing do not consider the set to be useable. Do also no autodetect sets with missing files.
2009-08-20 17:02:44 +00:00
yexo
3e74025d84
(svn r17239) -Change [FS#2802]: allow overbuilding the front tile of a roadstation / roaddepot with road
...
to be consistent with overbuilding the front tile of tunnels/bridges and also to make it easier for AIs to
connect roadstations and roaddepots to the road in front of it
2009-08-20 15:59:35 +00:00
matthijs
b76a61f317
(svn r17238) -Codechange: Clean up CheckExternalFiles a bit and improve the error message it
...
outputs. This makes the function return faster in the common case when all
files are in order, by not doing another set of MD5 checks.
2009-08-20 15:37:24 +00:00
yexo
dcf67bcd39
(svn r17237) -Update: AI changelog
2009-08-20 13:36:48 +00:00
yexo
d6a3178646
(svn r17233) -Fix (r17232): typo
2009-08-20 11:02:35 +00:00
yexo
172d4dd23e
(svn r17232) -Fix (r17223): Kill an AI when it tries to Sleep / execute a DoCommand during Save() instead of failing to save
2009-08-20 10:58:22 +00:00
yexo
48f70be5f8
(svn r17231) -Fix [FS#3134]: AIs that crashed during Save() weren't killed as they should
2009-08-20 10:45:57 +00:00
yexo
6b0520b3b4
(svn r17230) -Fix (r15027): don't assert when an AI uses AI*Mode objects incorrectly but crash the AI instead
2009-08-20 10:39:39 +00:00
matthijs
8336820738
(svn r17229) -Codechange: Coding style fixes.
2009-08-20 10:34:19 +00:00
rubidium
c096e3d54c
(svn r17228) -Codechange: some coding style fixes
2009-08-20 10:23:39 +00:00
matthijs
70db6bf74f
(svn r17227) -Feature [Unix]: Only use colorized error output on terminals.
2009-08-20 10:01:42 +00:00
rubidium
9aeb2d604b
(svn r17225) -Fix (r17213): WT3 did something it wasn't supposed to do
2009-08-19 22:11:09 +00:00
translators
0ae51067c6
(svn r17224) -Update from WebTranslator v3.0:
...
catalan - 2 changes by arnaullv
simplified_chinese - 12 changes by Gavin, ww9980
polish - 20 changes by amateja
2009-08-19 17:45:13 +00:00
yexo
c22f60c812
(svn r17223) -Change [NoAI] [FS#2980]: Crash an AI when it uses a DoCommand / Sleep instead of just printing an error message in the AI Debug Window
2009-08-19 16:14:15 +00:00
rubidium
2612f46a20
(svn r17222) -Fix [FS#3129, FS#3130]: with time tables vehicles would stay in the 'loading' state after they have finished loading
2009-08-19 15:27:55 +00:00
yexo
74e5f16bc2
(svn r17221) -Change [NoAI] [FS#3101]: when the API requests a string as parameter allow every squirrel type and convert to a string
2009-08-19 14:54:52 +00:00
rubidium
46d5fc5565
(svn r17220) -Fix (r15027): don't ignore white space changes (e.g. alignment fixes) in the exporter
2009-08-19 14:48:51 +00:00
yexo
c463176a9c
(svn r17219) -Cleanup: remove a lot of unused string code
2009-08-19 13:13:32 +00:00
glx
ae691ae28b
(svn r17218) -Fix (r17216): missing '(' causing compile error
2009-08-18 23:08:16 +00:00
rubidium
2568643418
(svn r17217) -Fix (r17216): silence some warnings for the more exotic GCC-alikes
2009-08-18 22:51:43 +00:00
rubidium
5e40d05c51
(svn r17216) -Update: MiniLZO from 1.08 to 2.03.
2009-08-18 22:26:38 +00:00
yexo
e0d2b2ddaa
(svn r17215) -Cleanup: remove unused return value
2009-08-18 20:36:56 +00:00
yexo
418c88f94d
(svn r17214) -Add [NoAI]: GetAPIVersion() as optional function in info.nut. Return "0.7" to get an api compatible (as much as possible) with the 0.7 api or "0.8" to get the latest api.
...
-Change [NoAI]: move all deprecated functions to a separate squirrel script that is only loaded if an AI requests an old API version.
2009-08-18 18:51:42 +00:00
translators
5bf5ead4da
(svn r17213) -Update from WebTranslator v3.0:
...
dutch - 13 changes by Bart
english_US - 5 changes by agenthh
latvian - 64 changes by dzhins
romanian - 2 changes by kkmic
thai - 85 changes by idkidnew
2009-08-18 17:50:19 +00:00
rubidium
48e1a54c58
(svn r17212) -Change: move minilzo to its 'own' 3rdparty directory as it belongs there
2009-08-18 17:49:28 +00:00
frosch
51b7f4d0ff
(svn r17211) -Cleanup: Remove unused RailVehicleInfo::ai_rank.
2009-08-18 16:21:22 +00:00
rubidium
6174908dff
(svn r17210) -Update: credits to reflect the (current) truth a bit better
2009-08-18 15:19:43 +00:00
frosch
0ddf9c86e1
(svn r17209) -Codechange: Move cargo_type from (Rail|Road|Ship)VehicleInfo to EngineInfo.
2009-08-17 18:33:48 +00:00
frosch
8a2dd6907f
(svn r17208) -Cleanup: Remove never accessed EngineInfo for engine 255.
2009-08-17 18:28:44 +00:00
translators
a0192ff838
(svn r17207) -Update from WebTranslator v3.0:
...
catalan - 1 changes by arnaullv
hungarian - 2 changes by IPG
indonesian - 1 changes by prof
serbian - 12 changes by etran
spanish - 1 changes by Terkhen
2009-08-17 17:45:20 +00:00
translators
824e9c99a8
(svn r17206) -Update from WebTranslator v3.0:
...
catalan - 1 changes by arnaullv
simplified_chinese - 6 changes by Gavin
dutch - 5 changes by Bart
finnish - 2 changes by jpx_
french - 3 changes by glx
hungarian - 16 changes by IPG
indonesian - 1 changes by prof
russian - 2 changes by Lone_Wolf
serbian - 87 changes by etran
spanish - 2 changes by Terkhen
turkish - 2 changes by niw3
2009-08-16 17:45:36 +00:00
alberth
b95413e709
(svn r17205) -Fix (r17175): Make year and snow line up/down buttons raise again.
2009-08-16 16:48:59 +00:00
alberth
e5577c7c01
(svn r17204) -Codechange: Move viewport initialization into the constructor of the news item window.
2009-08-16 16:06:06 +00:00
yexo
d349bf7ec3
(svn r17203) -Change [NoAI]: Add IsRoadTypeAvailable(GetCurrentRoadType()) as precondition for several AIRoad::* functions
2009-08-16 10:33:36 +00:00
alberth
8484638ba8
(svn r17202) -Codechange: News item is already given as argument.
2009-08-16 09:20:25 +00:00
rubidium
7b55bbbc6d
(svn r17201) -Fix [NoAI]: don't say you're building a depot when you're actually building a station (API docs typo)
2009-08-16 09:04:53 +00:00
alberth
a634d839fb
(svn r17200) -Codechange: Initialize NewsWindow::duration, add some documentation strings.
2009-08-16 08:59:56 +00:00
alberth
7877b5b304
(svn r17199) -Codechange: Remove NF_VIEWPORT since it is implied by the news mode.
2009-08-16 07:31:36 +00:00
alberth
b31928c033
(svn r17198) -Fix [FS#2406]: Accept monthly production values in the scenario editor.
2009-08-16 07:28:00 +00:00
yexo
2b2093a469
(svn r17195) -Update: squirrel to 2.2.3 stable
2009-08-15 21:21:52 +00:00
alberth
fe2fcace25
(svn r17194) -Fix (r17175): Depot sell buttons did not raise again.
2009-08-15 20:59:49 +00:00
rubidium
702da7d8ef
(svn r17193) -Fix [FS#3124]: guard the valuator against 'external' modifications of the valuated list which could cause it to go into an infinite loop.
2009-08-15 20:34:11 +00:00
alberth
9c6d5f155a
(svn r17192) -Fix (r17175): Buttons in the toolbar of the scenario editor did not raise again.
2009-08-15 20:33:38 +00:00
translators
b61d1b1cb8
(svn r17190) -Update from WebTranslator v3.0:
...
bulgarian - 13 changes by Tvel
simplified_chinese - 1 changes by Gavin
german - 1 changes by planetmaker
indonesian - 2 changes by prof
polish - 3 changes by amateja
romanian - 32 changes by kkmic
spanish - 3 changes by Terkhen
turkish - 5 changes by niw3
urdu - 2 changes by yasirniazkhan
vietnamese - 29 changes by pinochioxy
2009-08-15 17:45:30 +00:00
alberth
2a155ffbf9
(svn r17188) -Codechange: Use display mode names for naming window and widget descriptions.
2009-08-15 14:39:22 +00:00
alberth
c4bcae1599
(svn r17187) -Codechange: Make switches on news display mode complete.
2009-08-15 14:27:54 +00:00
frosch
50b1aacdb0
(svn r17185) -Codechange: Tweak depot gui and vehicle lists, so text overlaps less with vehicle images.
2009-08-15 11:47:11 +00:00
rubidium
d61709ddfc
(svn r17182) -Feature(ish) [FS#2945]: sort vehicle lists on (timetable) delay
2009-08-15 10:51:33 +00:00
alberth
f8252a7b74
(svn r17178) -Codechange (r17177): Remove now unused define.
2009-08-14 22:07:25 +00:00
alberth
45cad5c733
(svn r17177) -Codechange: Message options window uses nested widget tree.
2009-08-14 22:01:44 +00:00
alberth
4cd2dfecdf
(svn r17176) -Codechange: Move widget state updating out of OnPaint method of message options window.
2009-08-14 21:33:30 +00:00
alberth
bef94e081d
(svn r17175) -Codechange: Only auto-raise push buttons.
2009-08-14 21:27:08 +00:00
alberth
b21edb5c61
(svn r17174) -Codechange: Switch to vertical alignment in the message options window.
2009-08-14 21:21:56 +00:00
alberth
0ed0ac1b5f
(svn r17173) -Codechange: Vertically align WWT_TEXT widget, generalize vertical alignment of label and text buttons.
2009-08-14 21:20:22 +00:00
alberth
a6d4d3351a
(svn r17172) -Codechange: Move the _message_opt variable into the MessageOptionsWindow struct.
2009-08-14 19:02:20 +00:00
alberth
0cc8cbd40d
(svn r17171) -Doc: Additions and corrections of various doxygen strings.
2009-08-14 18:41:03 +00:00
translators
54c85b0ffd
(svn r17170) -Update from WebTranslator v3.0:
...
bulgarian - 91 changes by Tvel
traditional_chinese - 1 changes by Kwokfu
greek - 76 changes by fumantsu
vietnamese - 48 changes by pinochioxy
2009-08-14 17:45:14 +00:00
smatz
b8bd45ba4f
(svn r17169) -Codechange: apply coding style to some for statements
2009-08-14 17:14:04 +00:00
smatz
d64bdb138c
(svn r17168) -Codechange: apply coding style to if and while statements
2009-08-14 17:11:59 +00:00
rubidium
9c77b0ce5d
(svn r17167) -Fix: don't resize the 'base grf status' text part in the game options window when there is no base graphics set that misses files.
2009-08-13 19:54:18 +00:00
translators
83984cdedd
(svn r17166) -Update from WebTranslator v3.0:
...
bulgarian - 29 changes by Tvel
simplified_chinese - 2 changes by ww9980
traditional_chinese - 5 changes by Kwokfu
greek - 146 changes by fumantsu
indonesian - 10 changes by prof
polish - 11 changes by amateja
2009-08-13 17:45:22 +00:00
smatz
cab25f7c24
(svn r17164) -Fix: crash when clicking on the spacer in the build airport GUI
2009-08-13 12:49:51 +00:00
rubidium
e53bf3a427
(svn r17162) -Change: move Greek out of unfinished
2009-08-12 17:46:51 +00:00
translators
1e96b908a3
(svn r17161) -Update from WebTranslator v3.0:
...
traditional_chinese - 5 changes by Kwokfu
croatian - 74 changes by Tifached
czech - 4 changes by SmatZ
german - 4 changes by planetmaker
greek - 75 changes by fumantsu
malay - 1 changes by rionix88
serbian - 30 changes by BlueEyedFiend
2009-08-12 17:45:24 +00:00
smatz
1f2e0d3cfe
(svn r17157) -Add: localised decimal separator
2009-08-12 01:28:11 +00:00
translators
9a3cd40d1e
(svn r17156) -Update from WebTranslator v3.0:
...
dutch - 290 changes by miloiw
finnish - 38 changes by jpx_
indonesian - 11 changes by fanioz, prof
malay - 5 changes by rionix88
2009-08-11 17:45:14 +00:00
smatz
18a7d4f29d
(svn r17154) -Fix (r11129): several times copypasted typo
2009-08-11 14:57:09 +00:00
smatz
70e8176323
(svn r17153) -Fix (r11429): don't allow further remapping of already remapped string
2009-08-11 14:55:35 +00:00
michi_cc
2fb209c96a
(svn r17152) -Fix: A stuck train could free the reservation of another train if it was reversed or did crash.
2009-08-10 23:52:44 +00:00
michi_cc
6c88e22cc7
(svn r17151) -Fix [FS#3104] (r13974): A train entering a PBS section through a block signal could cause a train crash if another reservation ending at a safe tile was already present in the section.
2009-08-10 23:52:40 +00:00
smatz
0f3aa56bea
(svn r17150) -Codechange: when MapGRFStringID() fails to remap, return STR_EMPTY instead of 'random' string
2009-08-10 22:36:15 +00:00
frosch
e44a69b92f
(svn r17147) -Fix [FS#3048]: Keep vehicle news and viewports following vehicles, when autoreplacing/renewing them.
2009-08-10 20:06:39 +00:00
rubidium
362dc78607
(svn r17146) -Codechange: improve the sample rate conversion a bit
2009-08-10 17:46:44 +00:00
translators
a5364ea13b
(svn r17145) -Update from WebTranslator v3.0:
...
catalan - 62 changes by arnaullv
simplified_chinese - 1 changes by Gavin
danish - 4 changes by silentStatic
dutch - 248 changes by miloiw
french - 7 changes by glx
german - 4 changes by planetmaker
hungarian - 4 changes by alyr
indonesian - 8 changes by fanioz, prof
portuguese - 55 changes by SupSuper
russian - 8 changes by Rikkit
serbian - 4 changes by etran
spanish - 5 changes by Terkhen
2009-08-10 17:45:39 +00:00
rubidium
19b83c22ed
(svn r17143) -Fix [FS#3097]: NewGRFs sometimes got the wrong string causing crashes later on
2009-08-10 11:11:11 +00:00
rubidium
f21b0a0cc8
(svn r17142) -Fix [FS#3103] (r17139): MSVC didn't like some template stuff
2009-08-10 10:25:40 +00:00
rubidium
9192402bfb
(svn r17140) -Change: allow higher sample rate and higher quality samples. Based on work by orudge.
2009-08-09 23:04:08 +00:00
rubidium
93493827b6
(svn r17139) -Change: add the concept of sound sets
2009-08-09 19:50:44 +00:00
rubidium
dcea681cbb
(svn r17138) -Fix: some MSVC 64 bits compiler warnings
2009-08-09 19:06:35 +00:00
rubidium
02d2afcb19
(svn r17137) -Fix (r17129): strgen complained a lot about english.txt compiled with MSVC.
2009-08-09 19:06:05 +00:00
rubidium
a3a69b1356
(svn r17135) -Fix (r17133): some (older) GCCs failed to compile
2009-08-09 18:44:35 +00:00
translators
8873488635
(svn r17134) -Update from WebTranslator v3.0:
...
simplified_chinese - 2 changes by Gavin
galician - 2 changes by Condex
greek - 22 changes by fumantsu
urdu - 1 changes by yasirniazkhan
2009-08-09 17:45:15 +00:00
rubidium
cdb969e164
(svn r17133) -Codechange: generalise the code that searches for base graphics
2009-08-09 16:54:03 +00:00
smatz
cb6b1accc4
(svn r17132) -Fix: comments in company_cmd.cpp
2009-08-09 15:58:34 +00:00
smatz
073e163b7f
(svn r17131) -Codechange: apply coding style to some switch statements
2009-08-09 14:40:34 +00:00
alberth
c85bd040c5
(svn r17130) -Fix [FS#3099]: Last line of output in the AI debug window did not fit entirely.
2009-08-09 10:42:01 +00:00
rubidium
a8b8dd1c08
(svn r17129) -Codechange: also let strgen warn if the translation uses STRINGn or RAW_STRING instead of STRING.
2009-08-09 10:20:09 +00:00
smatz
e4e85406d5
(svn r17128) -Codechange: make code used for generating new subsidies nicer
2009-08-08 22:58:49 +00:00
smatz
8771fdd5f1
(svn r17127) -Fix (r17124): destructor has to be defined else operator delete might be called with NULL parameter
2009-08-08 22:42:52 +00:00
alberth
2ed22179a8
(svn r17126) -Fix [FS#3096]: Initialize graph data from the constructor of the derived class.
2009-08-08 22:26:45 +00:00
yexo
ee384495b9
(svn r17125) -Cleanup: remove an unused variable
2009-08-08 22:09:53 +00:00
smatz
d59b687f65
(svn r17124) -Codechange: store subsidies in a pool (instead of an array)
2009-08-08 20:53:36 +00:00
alberth
e8c34c300d
(svn r17123) -Codechange (r17122): Use this for calling methods.
2009-08-08 20:39:45 +00:00
alberth
a4ef6a78a2
(svn r17122) -Codechange: Message history window uses nested widget tree.
2009-08-08 20:06:38 +00:00
frosch
32a47df09a
(svn r17121) -Fix [FS#3060]: Update vehicle position cache when the vehicle sprite changes.
2009-08-08 18:45:12 +00:00
smatz
0644123d51
(svn r17120) -Fix (r17114): {STRING2} isn't supposed to be in other lang files except english.txt
2009-08-08 18:44:35 +00:00
smatz
0f1a07d185
(svn r17119) -Codechange: replace constants in subsidy.cpp by enum values
2009-08-08 18:26:25 +00:00
frosch
562eb36838
(svn r17118) -Fix: Mark industry tiles dirty when trigger are triggered.
2009-08-08 18:24:48 +00:00
smatz
8e0b03a7e0
(svn r17117) -Fix (r1): don't create pax subsidy when source town, not destination town, has good service
2009-08-08 18:22:29 +00:00
translators
d76fbbcc9e
(svn r17116) -Update from WebTranslator v3.0:
...
galician - 12 changes by Condex
greek - 114 changes by fumantsu
turkish - 2 changes by niw3
2009-08-08 17:45:14 +00:00
smatz
2d39a2bb85
(svn r17115) -Add [NoAI]: AISubsidy::SubsidyParticipantType, AISubsidy::GetSourceType, AISubsidy::GetSourceIndex, AISubsidy::GetDestinationType, AISubsidy::GetDestinationIndex for better subsidy management
...
-Change [NoAI]: mark AISubsidy::SourceIsTown, AISubsidy::GetSource, AISubsidy::GetDestinationType, AISubsidy::GetDestination as deprecated
2009-08-08 16:53:22 +00:00
smatz
d6dbe1eb3f
(svn r17114) -Update (r17113): use {STRING} instead of {STATION} in related strings in other language files too
2009-08-08 16:45:59 +00:00
smatz
0502a6df42
(svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source
...
-Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost
-Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies
2009-08-08 16:42:55 +00:00
yexo
eb5039f81e
(svn r17112) -Change [NoAI]: AIVehicleList_Station now also works for waypoints
2009-08-08 16:36:06 +00:00
yexo
b8b20245bd
(svn r17111) -Fix (r17110): forgot to include ai_log.hpp
2009-08-08 14:44:17 +00:00
yexo
183b7e0ed5
(svn r17110) -Fix [NoAI]: Print a warning message in the AI console when a deprecated function is used
2009-08-08 13:50:18 +00:00
smatz
3777a590f9
(svn r17109) -Fix (r15027): squirrel_export.sh failed for some locales
2009-08-08 12:26:03 +00:00
frosch
393e4e62d5
(svn r17108) -Fix (r17107): ST_INDUSTRY and ST_TOWN got swapped when setting up cargo subsidy.
2009-08-08 08:48:39 +00:00
smatz
738d7fde53
(svn r17107) -Codechange: store type of subsidy source and destination in the Subsidy struct instead of determining it every time it's needed
2009-08-07 22:23:34 +00:00
smatz
876d09d751
(svn r17106) -Codechange: move computation of station's catchment rectagle to separate function
2009-08-07 21:11:58 +00:00
smatz
3bcc0dacf8
(svn r17105) -Codechange: no need to reset list of industries nearby that often, clearing is enough
2009-08-07 20:30:38 +00:00
smatz
fb24991366
(svn r17104) -Codechange: move code related to subsidy awarding to separate procedure
2009-08-07 20:24:33 +00:00
rubidium
3ec90df76c
(svn r17103) -Update: pretranslate a bunch of strings that can't be translated
2009-08-07 19:48:20 +00:00
translators
bd09896c19
(svn r17102) -Update from WebTranslator v3.0:
...
polish - 69 changes by Adam123
spanish - 1 changes by Terkhen
2009-08-07 17:45:11 +00:00
smatz
55fceac7f3
(svn r17101) -Revert [FS#3065](r16546): large table on stack caused stack overflow on some architectures
2009-08-07 13:33:55 +00:00
rubidium
e918be12f2
(svn r17097) -Fix [FS#3092] (r13256): make restart command work again and make the help show how it works and how it doesn't work
2009-08-06 22:00:32 +00:00
rubidium
773bce46a3
(svn r17096) -Fix [FS#3091]: news message about ordered refits failing wasn't very clear
2009-08-06 20:29:13 +00:00
rubidium
01cca46dcc
(svn r17095) -Codechange: make ParseStringChoice a bit safer
2009-08-06 20:21:53 +00:00
rubidium
d5931df4b4
(svn r17094) -Update: AI changelog
2009-08-06 19:35:58 +00:00
translators
f405c8d172
(svn r17092) -Update from WebTranslator v3.0:
...
simplified_chinese - 2 changes by Gavin
frisian - 36 changes by huddekul
german - 57 changes by Roujin
spanish - 48 changes by Terkhen
2009-08-06 17:45:15 +00:00
smatz
df4dbfec23
(svn r17091) -Fix (r17089)(r17090): regression test was right
2009-08-06 17:35:20 +00:00
smatz
1fcdb149d3
(svn r17089) -Codechange: move RunVehicleDayProc() to vehicle.cpp
2009-08-06 17:02:49 +00:00
smatz
d7996f796d
(svn r17088) -Codechange: split IncreaseDate() to more procedures
2009-08-06 16:01:31 +00:00
smatz
fcae906575
(svn r17086) -Cleanup (r16654): remove code used only for debugging
2009-08-06 13:51:48 +00:00
smatz
096aca2479
(svn r17085) -Codechange: unify the place where vehicle's cargo ages
2009-08-06 12:44:10 +00:00
smatz
4a39f236fa
(svn r17084) -Codechange: _age_cargo_skip_counter is common to all vehicle types
2009-08-06 12:33:13 +00:00
translators
45ba549cda
(svn r17076) -Update: reflect the changes Rubidium made in the last few days to all languages
2009-08-05 18:56:43 +00:00
rubidium
d61be2637e
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
2009-08-05 17:59:21 +00:00
translators
a79707357b
(svn r17074) -Update from WebTranslator v3.0:
...
simplified_chinese - 8 changes by Gavin
dutch - 50 changes by Rubidium, TrueBrain
finnish - 4 changes by jpx_
french - 47 changes by glx
frisian - 38 changes by huddekul
galician - 20 changes by Condex
german - 2 changes by Roujin
indonesian - 7 changes by fanioz
romanian - 9 changes by kkmic
russian - 51 changes by Lone_Wolf, MajestiC
spanish - 1 changes by Terkhen
2009-08-05 17:45:40 +00:00
smatz
b0c4a09301
(svn r17073) -Codechange: constify iec_prefixes[], change the code around a bit
2009-08-05 16:14:40 +00:00
rubidium
8b743d3a69
(svn r17072) -Fix: don't let squirrel export make a 'stub' for ai_changelog.hpp
2009-08-05 15:10:37 +00:00
smatz
e2d4de7b54
(svn r17071) -Fix: give a better error message when trying to make road one-way when it doesn't belong to you
2009-08-05 14:33:30 +00:00
rubidium
2a344f5240
(svn r17070) -Codechange: some minor fixes to the order in english.txt
2009-08-05 14:30:30 +00:00
smatz
98bc2e8d2b
(svn r17069) -Fix (r17004): invalid read when converting old waypoints
2009-08-05 14:12:39 +00:00
rubidium
9fb8a6825e
(svn r17068) -Change: make a number of strings more consistent with their relatives
2009-08-05 12:48:48 +00:00
rubidium
44642d8e17
(svn r17067) -Fix (r17064): local authority window got messed up a bit; also move OS names to a more logical place.
2009-08-05 12:37:09 +00:00
rubidium
f8ae9f7368
(svn r17066) -Codechange: unify the order of {TINYFONT}/{BIGFONT} and {<colour>}
2009-08-05 11:48:20 +00:00
rubidium
13163dd476
(svn r17065) -Codechange: reorder last 1/3 of the strings. Hope it makes a bit more sense now
2009-08-05 11:32:32 +00:00