Commit Graph

6939 Commits

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