Commit Graph

7165 Commits

Author SHA1 Message Date
yexo
f9c18ccc48 (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
b841250913 (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
aca7ba714a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 2009-08-23 19:03:09 +00:00
translators
8fae313f70 (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
c539b59da3 (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
31a6ce5643 (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
f74b7d4ebd (svn r17265) -Codechange: Typo fix, small is with two l's 2009-08-22 19:06:02 +00:00
translators
ed91b0e2f3 (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
5a76fb5686 (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
7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium
60a3bc9034 (svn r17247) -Change: move '3rd party' MD5 implementation also to the 3rdparty directory. 2009-08-21 20:15:17 +00:00
translators
a27e7231b4 (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
865fc40e29 (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
2c896a9c6c (svn r17244) -Change: add $Id$ to the language files too 2009-08-20 19:54:37 +00:00
rubidium
d680be454e (svn r17243) -Fix (r17216): undo 'damage' by svn:keywords 2009-08-20 19:54:03 +00:00
translators
97abee98a9 (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
2fd1b000e5 (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
367ff2375a (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
edcaf8aa3a (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
330c8d6a57 (svn r17237) -Update: AI changelog 2009-08-20 13:36:48 +00:00
yexo
b71de3a377 (svn r17233) -Fix (r17232): typo 2009-08-20 11:02:35 +00:00
yexo
8839bdbefd (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
0cb004e1d2 (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
14b5862c22 (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
0960f15c7e (svn r17229) -Codechange: Coding style fixes. 2009-08-20 10:34:19 +00:00
rubidium
7fb95e2c2b (svn r17228) -Codechange: some coding style fixes 2009-08-20 10:23:39 +00:00
matthijs
0188ebad56 (svn r17227) -Feature [Unix]: Only use colorized error output on terminals. 2009-08-20 10:01:42 +00:00
rubidium
a466a43589 (svn r17225) -Fix (r17213): WT3 did something it wasn't supposed to do 2009-08-19 22:11:09 +00:00
translators
ca5beb4e98 (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
a4afa140f3 (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
0780dc8138 (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
5a863925ee (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
4423000225 (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
94198e09ce (svn r17219) -Cleanup: remove a lot of unused string code 2009-08-19 13:13:32 +00:00
glx
0fa0286ebb (svn r17218) -Fix (r17216): missing '(' causing compile error 2009-08-18 23:08:16 +00:00
rubidium
40d1f1fedf (svn r17217) -Fix (r17216): silence some warnings for the more exotic GCC-alikes 2009-08-18 22:51:43 +00:00
rubidium
d4adee0b1d (svn r17216) -Update: MiniLZO from 1.08 to 2.03. 2009-08-18 22:26:38 +00:00
yexo
a8773bba2d (svn r17215) -Cleanup: remove unused return value 2009-08-18 20:36:56 +00:00
yexo
67106dc063 (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
58a0ff945c (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
82105604c3 (svn r17212) -Change: move minilzo to its 'own' 3rdparty directory as it belongs there 2009-08-18 17:49:28 +00:00
frosch
f595668650 (svn r17211) -Cleanup: Remove unused RailVehicleInfo::ai_rank. 2009-08-18 16:21:22 +00:00
rubidium
2ae150af8e (svn r17210) -Update: credits to reflect the (current) truth a bit better 2009-08-18 15:19:43 +00:00
frosch
8bd029015e (svn r17209) -Codechange: Move cargo_type from (Rail|Road|Ship)VehicleInfo to EngineInfo. 2009-08-17 18:33:48 +00:00
frosch
7f030110b0 (svn r17208) -Cleanup: Remove never accessed EngineInfo for engine 255. 2009-08-17 18:28:44 +00:00
translators
1235773a3b (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
07c8713e82 (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
11d974a9f1 (svn r17205) -Fix (r17175): Make year and snow line up/down buttons raise again. 2009-08-16 16:48:59 +00:00
alberth
4f1758b51a (svn r17204) -Codechange: Move viewport initialization into the constructor of the news item window. 2009-08-16 16:06:06 +00:00
yexo
c89621540c (svn r17203) -Change [NoAI]: Add IsRoadTypeAvailable(GetCurrentRoadType()) as precondition for several AIRoad::* functions 2009-08-16 10:33:36 +00:00
alberth
b03e758d25 (svn r17202) -Codechange: News item is already given as argument. 2009-08-16 09:20:25 +00:00
rubidium
cb8690d898 (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
66e98469bb (svn r17200) -Codechange: Initialize NewsWindow::duration, add some documentation strings. 2009-08-16 08:59:56 +00:00
alberth
3409385e1d (svn r17199) -Codechange: Remove NF_VIEWPORT since it is implied by the news mode. 2009-08-16 07:31:36 +00:00
alberth
098756b84b (svn r17198) -Fix [FS#2406]: Accept monthly production values in the scenario editor. 2009-08-16 07:28:00 +00:00
yexo
03d711add3 (svn r17195) -Update: squirrel to 2.2.3 stable 2009-08-15 21:21:52 +00:00
alberth
75f8a9db0a (svn r17194) -Fix (r17175): Depot sell buttons did not raise again. 2009-08-15 20:59:49 +00:00
rubidium
dc4deab88b (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
118d5e9fac (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
fc1d7d1013 (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
dd6fcb08b6 (svn r17188) -Codechange: Use display mode names for naming window and widget descriptions. 2009-08-15 14:39:22 +00:00
alberth
ff60a5605c (svn r17187) -Codechange: Make switches on news display mode complete. 2009-08-15 14:27:54 +00:00
frosch
2ad4bf74a1 (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
5294ca8a10 (svn r17182) -Feature(ish) [FS#2945]: sort vehicle lists on (timetable) delay 2009-08-15 10:51:33 +00:00
alberth
13a37b427a (svn r17178) -Codechange (r17177): Remove now unused define. 2009-08-14 22:07:25 +00:00
alberth
200fcddc38 (svn r17177) -Codechange: Message options window uses nested widget tree. 2009-08-14 22:01:44 +00:00
alberth
3d38744b9f (svn r17176) -Codechange: Move widget state updating out of OnPaint method of message options window. 2009-08-14 21:33:30 +00:00
alberth
e6a1da11a3 (svn r17175) -Codechange: Only auto-raise push buttons. 2009-08-14 21:27:08 +00:00
alberth
fe74c526d8 (svn r17174) -Codechange: Switch to vertical alignment in the message options window. 2009-08-14 21:21:56 +00:00
alberth
2184b5db8a (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
c4f055cc11 (svn r17172) -Codechange: Move the _message_opt variable into the MessageOptionsWindow struct. 2009-08-14 19:02:20 +00:00
alberth
4eb155ccfb (svn r17171) -Doc: Additions and corrections of various doxygen strings. 2009-08-14 18:41:03 +00:00
translators
ab9995ddbc (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
2d3ddab7ca (svn r17169) -Codechange: apply coding style to some for statements 2009-08-14 17:14:04 +00:00
smatz
c5533ae470 (svn r17168) -Codechange: apply coding style to if and while statements 2009-08-14 17:11:59 +00:00
rubidium
3108ff7ac6 (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
48e9974d1c (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
bd6acb36ae (svn r17164) -Fix: crash when clicking on the spacer in the build airport GUI 2009-08-13 12:49:51 +00:00
rubidium
e0c37dcc7f (svn r17162) -Change: move Greek out of unfinished 2009-08-12 17:46:51 +00:00
translators
5d56b4bb0e (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
a29bbb1e1f (svn r17157) -Add: localised decimal separator 2009-08-12 01:28:11 +00:00
translators
d58d053438 (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
624a1948b1 (svn r17154) -Fix (r11129): several times copypasted typo 2009-08-11 14:57:09 +00:00
smatz
d77b5b562c (svn r17153) -Fix (r11429): don't allow further remapping of already remapped string 2009-08-11 14:55:35 +00:00
michi_cc
b84e93487f (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
da18471d48 (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
616370eae3 (svn r17150) -Codechange: when MapGRFStringID() fails to remap, return STR_EMPTY instead of 'random' string 2009-08-10 22:36:15 +00:00
frosch
52f9b8ffbd (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
238b0e43bb (svn r17146) -Codechange: improve the sample rate conversion a bit 2009-08-10 17:46:44 +00:00
translators
6800db65a7 (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
b8954b84bd (svn r17143) -Fix [FS#3097]: NewGRFs sometimes got the wrong string causing crashes later on 2009-08-10 11:11:11 +00:00
rubidium
40a8bd556e (svn r17142) -Fix [FS#3103] (r17139): MSVC didn't like some template stuff 2009-08-10 10:25:40 +00:00
rubidium
8e058c2d27 (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
9ee2a66c86 (svn r17139) -Change: add the concept of sound sets 2009-08-09 19:50:44 +00:00
rubidium
35d5a197d6 (svn r17138) -Fix: some MSVC 64 bits compiler warnings 2009-08-09 19:06:35 +00:00
rubidium
ed9c01e8b0 (svn r17137) -Fix (r17129): strgen complained a lot about english.txt compiled with MSVC. 2009-08-09 19:06:05 +00:00
rubidium
ca0eb1d4ef (svn r17135) -Fix (r17133): some (older) GCCs failed to compile 2009-08-09 18:44:35 +00:00
translators
2ae1c062ce (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
f118932643 (svn r17133) -Codechange: generalise the code that searches for base graphics 2009-08-09 16:54:03 +00:00
smatz
b7e746f72c (svn r17132) -Fix: comments in company_cmd.cpp 2009-08-09 15:58:34 +00:00
smatz
e707c82412 (svn r17131) -Codechange: apply coding style to some switch statements 2009-08-09 14:40:34 +00:00
alberth
05a65dcc12 (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
0d1b35a400 (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
e6bc51ab06 (svn r17128) -Codechange: make code used for generating new subsidies nicer 2009-08-08 22:58:49 +00:00
smatz
e2c404958d (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
153cfa8c70 (svn r17126) -Fix [FS#3096]: Initialize graph data from the constructor of the derived class. 2009-08-08 22:26:45 +00:00
yexo
5d0ae8ad47 (svn r17125) -Cleanup: remove an unused variable 2009-08-08 22:09:53 +00:00
smatz
13e23141b4 (svn r17124) -Codechange: store subsidies in a pool (instead of an array) 2009-08-08 20:53:36 +00:00
alberth
8d809d5f4c (svn r17123) -Codechange (r17122): Use this for calling methods. 2009-08-08 20:39:45 +00:00
alberth
2cd3b5f44c (svn r17122) -Codechange: Message history window uses nested widget tree. 2009-08-08 20:06:38 +00:00
frosch
efcaefd178 (svn r17121) -Fix [FS#3060]: Update vehicle position cache when the vehicle sprite changes. 2009-08-08 18:45:12 +00:00
smatz
87014fec05 (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
046be0a199 (svn r17119) -Codechange: replace constants in subsidy.cpp by enum values 2009-08-08 18:26:25 +00:00
frosch
134c5f3f9a (svn r17118) -Fix: Mark industry tiles dirty when trigger are triggered. 2009-08-08 18:24:48 +00:00
smatz
0bb34a5d1f (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
e28bf66c6d (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
b43fd7266e (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
ab9c71f0d9 (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
2a430d981f (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
eff8cb8390 (svn r17112) -Change [NoAI]: AIVehicleList_Station now also works for waypoints 2009-08-08 16:36:06 +00:00
yexo
3dcc195dfa (svn r17111) -Fix (r17110): forgot to include ai_log.hpp 2009-08-08 14:44:17 +00:00
yexo
2d1c64948a (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
ba2f6f0a66 (svn r17109) -Fix (r15027): squirrel_export.sh failed for some locales 2009-08-08 12:26:03 +00:00
frosch
28b5adbcbc (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
74d3382b94 (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
39e145e586 (svn r17106) -Codechange: move computation of station's catchment rectagle to separate function 2009-08-07 21:11:58 +00:00
smatz
33288c9d50 (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
3532592e7d (svn r17104) -Codechange: move code related to subsidy awarding to separate procedure 2009-08-07 20:24:33 +00:00
rubidium
c2a3e28d9d (svn r17103) -Update: pretranslate a bunch of strings that can't be translated 2009-08-07 19:48:20 +00:00
translators
f41b016863 (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
135f80f95b (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
ba4fd897b8 (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
3ecf335718 (svn r17096) -Fix [FS#3091]: news message about ordered refits failing wasn't very clear 2009-08-06 20:29:13 +00:00
rubidium
ee2b7de8f4 (svn r17095) -Codechange: make ParseStringChoice a bit safer 2009-08-06 20:21:53 +00:00
rubidium
6ae880a40d (svn r17094) -Update: AI changelog 2009-08-06 19:35:58 +00:00
translators
e83f72c3c7 (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
50d03a8751 (svn r17091) -Fix (r17089)(r17090): regression test was right 2009-08-06 17:35:20 +00:00
smatz
88a2d688da (svn r17089) -Codechange: move RunVehicleDayProc() to vehicle.cpp 2009-08-06 17:02:49 +00:00
smatz
0ab39b52d0 (svn r17088) -Codechange: split IncreaseDate() to more procedures 2009-08-06 16:01:31 +00:00
smatz
a3e69a5b3c (svn r17086) -Cleanup (r16654): remove code used only for debugging 2009-08-06 13:51:48 +00:00
smatz
adcc5338f3 (svn r17085) -Codechange: unify the place where vehicle's cargo ages 2009-08-06 12:44:10 +00:00
smatz
9c25f1bdb7 (svn r17084) -Codechange: _age_cargo_skip_counter is common to all vehicle types 2009-08-06 12:33:13 +00:00
translators
7fcebf0997 (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
1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 2009-08-05 17:59:21 +00:00
translators
2fe966fd8c (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
9dcdc14310 (svn r17073) -Codechange: constify iec_prefixes[], change the code around a bit 2009-08-05 16:14:40 +00:00
rubidium
808254c488 (svn r17072) -Fix: don't let squirrel export make a 'stub' for ai_changelog.hpp 2009-08-05 15:10:37 +00:00
smatz
47b111449b (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
e0ba8e6b56 (svn r17070) -Codechange: some minor fixes to the order in english.txt 2009-08-05 14:30:30 +00:00
smatz
29287ce104 (svn r17069) -Fix (r17004): invalid read when converting old waypoints 2009-08-05 14:12:39 +00:00
rubidium
5351db3703 (svn r17068) -Change: make a number of strings more consistent with their relatives 2009-08-05 12:48:48 +00:00
rubidium
6b59a238ae (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
04927226bd (svn r17066) -Codechange: unify the order of {TINYFONT}/{BIGFONT} and {<colour>} 2009-08-05 11:48:20 +00:00
rubidium
c9048bc6f8 (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
rubidium
8a20e528a5 (svn r17064) -Codechange: reorder another 1/3 of the strings 2009-08-04 22:56:12 +00:00
rubidium
f5b1f23bb2 (svn r17063) -Fix: terraform toolbar had the wrong tooltip for building trees. 2009-08-04 22:19:46 +00:00
rubidium
4b2592dbc0 (svn r17062) -Change: unify the naming of some 125 strings 2009-08-04 18:04:33 +00:00
translators
16e89ac4d5 (svn r17061) -Update from WebTranslator v3.0:
dutch - 313 changes by TrueBrain, Yexo
english_US - 5 changes by agenthh
korean - 24 changes by telk5093
portuguese - 112 changes by SupSuper
serbian - 98 changes by etran
swedish - 20 changes by hgj
turkish - 50 changes by niw3
2009-08-04 17:45:27 +00:00
rubidium
3914bfecf6 (svn r17060) -Codechange: reorder 1/3 of the strings so they are more logically grouped (rest still needs to be done) 2009-08-04 17:16:24 +00:00
yexo
113d276ca5 (svn r17059) -Codechange: Rename a few strings to reflect their usage 2009-08-03 21:32:35 +00:00
belugas
a2b996106e (svn r17058) -Codechange: magic numbers removal.
Two values used intead of just one, as it gives more possibilities to those who dare...
2009-08-03 20:02:25 +00:00
translators
37d01c7758 (svn r17057) -Update from WebTranslator v3.0:
arabic_egypt - 28 changes by kasakg
simplified_chinese - 4 changes by Gavin
dutch - 12 changes by habell
english_US - 54 changes by agenthh
finnish - 9 changes by jpx_
french - 8 changes by glx
frisian - 65 changes by huddekul
russian - 9 changes by Lone_Wolf
serbian - 126 changes by etran
slovak - 9 changes by James
2009-08-03 17:45:33 +00:00
alberth
f7a6fe81e8 (svn r17056) -Codechange: Reduce width of the drop-down in the bridge gui. 2009-08-03 16:42:02 +00:00
alberth
51c29deb70 (svn r17055) -Codechange: Improve aligning of bridge sprites and descriptions in bridge gui. 2009-08-03 16:36:40 +00:00
alberth
3539a054f6 (svn r17054) -Codechange: Bridge gui uses nested widgets only. 2009-08-03 15:25:52 +00:00
rubidium
b6cfe4d2fe (svn r17053) -Codechange: pass a Rect to DrawGraph so it knows where to draw 2009-08-03 15:23:49 +00:00
rubidium
37d4277271 (svn r17052) -Codechange: move state changes out of OnPaint for the graph windows 2009-08-03 14:44:55 +00:00
rubidium
8589fb27a0 (svn r17051) -Codechange: make the graph legend window use nested widgets 2009-08-03 14:44:08 +00:00
rubidium
d1bc38a619 (svn r17050) -Codechange: replace custom implementation of TILE_LOOP with TILE_LOOP. 2009-08-03 09:10:28 +00:00
yexo
8112cb8aff (svn r17049) -Fix [NoAI]: documentation of AITile::LevelTiles was wrong 2009-08-02 21:07:30 +00:00
alberth
926c8b6fef (svn r17048) -Codechange: Airport toolbar and airport builder window use nested widgets. 2009-08-02 21:04:15 +00:00
frosch
aad988c99a (svn r17047) -Fix: Mark house tiles dirty when triggers were triggered. 2009-08-02 19:49:22 +00:00
frosch
1c7a2cca23 (svn r17046) -Fix (r11411) [FS#3085]: Trigger house trigger 02 only for the north tile. 2009-08-02 19:48:51 +00:00
frosch
20520baffb (svn r17045) -Fix (r16867) [FS#3084]: Also 'p's can be important. 2009-08-02 19:04:48 +00:00
alberth
38600459a5 (svn r17044) -Codechange: ai windows use nested widget tree. 2009-08-02 18:54:49 +00:00
yexo
8c2709d97f (svn r17043) -Change [NoAI]: Load the API before compiling an AI script so AIs can subclass API classes and use API constants as part of their own constants 2009-08-02 18:26:32 +00:00
translators
059328e85e (svn r17042) -Update from WebTranslator v3.0:
catalan - 35 changes by arnaullv
danish - 3 changes by silentStatic
english_US - 30 changes by agenthh
frisian - 133 changes by huddekul
german - 6 changes by Roujin
hungarian - 9 changes by alyr
indonesian - 8 changes by prof
italian - 3 changes by lorenzodv
norwegian_bokmal - 4 changes by CyberKenny
spanish - 3 changes by Terkhen
turkish - 14 changes by niw3
2009-08-02 17:45:37 +00:00
rubidium
2675eb4619 (svn r17041) -Fix [FS#3083] (r14735): graphical glitch with graph key 2009-08-02 16:45:53 +00:00
rubidium
a7b0040e30 (svn r17040) -Fix [FS#3081]: inconsistency between signs of stations and waypoints 2009-08-02 16:17:13 +00:00
rubidium
74cec1f0c4 (svn r17039) -Fix (r16988): segfault when removing rail with waypoint remover and vice versa 2009-08-02 14:54:42 +00:00
rubidium
95c204ebee (svn r17038) -Fix (r17015): don't download the stuff we already have 2009-08-02 13:58:11 +00:00
frosch
7f49d3b45c (svn r17037) -Fix (r17036): 'Polygonal Capabilities' are a core feature of windows. 2009-08-02 13:56:14 +00:00
frosch
a6cbf0d419 (svn r17036) -Codechange: Split price bases from economy.cpp to table/pricebase.h. 2009-08-02 12:34:26 +00:00
rubidium
053ba65836 (svn r17035) -Add: case to Turkish 2009-08-02 12:12:01 +00:00
alberth
6d05326143 (svn r17030) -Codechange: Better descriptions for buoys. 2009-08-01 17:46:31 +00:00
translators
d8dc40dd68 (svn r17029) -Update from WebTranslator v3.0:
catalan - 3 changes by arnaullv
simplified_chinese - 7 changes by Gavin
danish - 31 changes by silentStatic
dutch - 6 changes by Yexo
frisian - 54 changes by huddekul
greek - 40 changes by fumantsu
hungarian - 1 changes by IPG
indonesian - 3 changes by prof
italian - 6 changes by lorenzodv
korean - 6 changes by telk5093
portuguese - 23 changes by SupSuper
serbian - 98 changes by BlueEyedFiend
spanish - 15 changes by Terkhen
turkish - 9 changes by niw3
urdu - 30 changes by yasirniazkhan
2009-08-01 17:45:44 +00:00
rubidium
de877e783f (svn r17028) -Fix (r17019): a function and class were not mentioned in the changelog 2009-08-01 16:59:53 +00:00
alberth
5d083f3039 (svn r17025) -Codechange: Waypoint window using all the new goodies (based on work by Rubidium). 2009-08-01 15:53:23 +00:00
alberth
6a1af7f74f (svn r17024) -Codechange: Allow InitNested to be done in two parts. 2009-08-01 15:49:18 +00:00
alberth
47075fdbca (svn r17023) -Revert (r16839): FillNestedArray() was less obsolete than anticipated. 2009-08-01 15:45:18 +00:00
alberth
9e682bb2f7 (svn r17022) -Codechange: Use nested widgets for the console window. 2009-08-01 12:42:58 +00:00
alberth
9734c0922c (svn r17021) -Codechange: Use nested widgets for the main window. 2009-08-01 12:42:27 +00:00
frosch
1cd07265f8 (svn r17020) -Fix: Recenter viewport of waypoint-gui after moving the sign. 2009-08-01 11:55:49 +00:00
yexo
b4abe942cb (svn r17019) -Doc: add AI API changelog 2009-08-01 10:48:22 +00:00
alberth
c0c2e02fb7 (svn r17018) -Fix [FS#1833]: Take width of station type names into account in station builder window. 2009-08-01 10:38:25 +00:00
alberth
ebd24adaff (svn r17017) -Fix (r17008): Setup padding for WWT_MATRIX. 2009-08-01 10:06:52 +00:00
yexo
fc03fef4ae (svn r17016) -Add [NoAI]: AICompany::Get/Set PresidentGender 2009-08-01 00:28:21 +00:00
rubidium
ae71df349e (svn r17015) -Fix [FS#3075]: infinite recursion in content dependency checking 2009-07-31 23:54:43 +00:00
yexo
3631f40637 (svn r17014) -Add [NoAI]: AIEngine::GetDesignDate 2009-07-31 23:22:49 +00:00
rubidium
5186d1d4f6 (svn r17013) -Fix [FS#3074]: concatenating strings in Squirrel when non-ASCII strings were received from OpenTTD failed. The number of bytes in an UTF-8 encoded string isn't always the same as the number of characters in the decoded (into wchars) string 2009-07-31 23:13:53 +00:00
yexo
8d768f5b30 (svn r17012) -Add [NoAI]: AIBaseStation::GetConstructionDate 2009-07-31 22:38:09 +00:00
yexo
8c05194c02 (svn r17011) -Change [NoAI]: Add AIBaseStation as a parentclass for AIStation and AIWaypoint, and move GetName, SetName and GetLocation to AIBaseStation
Remove (nearly) all references to WaypointID and replace them with StationID
2009-07-31 22:30:54 +00:00
alberth
b129184d57 (svn r17008) -Fix [FS#3061]: Resize matrix in station build window vertically according to font height. 2009-07-31 22:08:19 +00:00
rubidium
8181a0a2ad (svn r17007) -Fix (r15896): WT2 reverted the ISO code of Serbian 2009-07-31 21:51:23 +00:00
rubidium
3c06534286 (svn r17006) -Fix (r17005): gcc compile failure 2009-07-31 19:57:21 +00:00
yexo
c2ed884012 (svn r17005) -Add [NoAI]: AIAbstractList::SORT_ASCENDING / SORT_DESCENDING 2009-07-31 19:50:01 +00:00
rubidium
0bb3d7030f (svn r17004) -Fix (r16909): StationRect of loading buoys/waypoints wasn't correctly set when loading 'old' games. 2009-07-31 19:04:22 +00:00
translators
9f2f4f8364 (svn r17003) -Update from WebTranslator v3.0:
dutch - 5 changes by habell
french - 3 changes by glx
german - 4 changes by planetmaker
indonesian - 21 changes by prof
portuguese - 6 changes by SupSuper
2009-07-31 17:45:19 +00:00
rubidium
a148a991bb (svn r17002) -Change: also support distant join for waypoints 2009-07-31 16:28:28 +00:00
rubidium
097e79a86d (svn r17001) -Codechange: replace some more assert(0)s to NOT_REACHED() and document why they (assert(0)) have to stay for the remaining cases. 2009-07-31 13:25:20 +00:00
rubidium
c2fdb85c0d (svn r17000) -Change: allow overbuilding/extending waypoints 2009-07-30 22:06:54 +00:00
rubidium
45c9a747db (svn r16999) -Fix (r16993): AIs couldn't build waypoints anymore 2009-07-30 22:05:57 +00:00
rubidium
5bbf83ebbe (svn r16998) -Codechange: rework/unify 'find station to join with' code and use it for all stations 2009-07-30 21:41:21 +00:00
yexo
60b68de98e (svn r16996) -Fix (r16995): the tiles under the bridge were not marked dirty when a bridge was replaced with another type 2009-07-30 19:51:29 +00:00
yexo
70cb4c27fe (svn r16995) -Codechange: apply some code style to CmdBuildBridge 2009-07-30 19:30:13 +00:00
translators
600b7f90b9 (svn r16994) -Update from WebTranslator v3.0:
simplified_chinese - 3 changes by Gavin
finnish - 5 changes by jpx_
german - 6 changes by Roujin
hungarian - 2 changes by IPG
italian - 7 changes by lorenzodv
2009-07-30 17:45:19 +00:00
rubidium
5592eb4955 (svn r16993) -Change: make the rail waypoint builder draggable 2009-07-30 17:44:13 +00:00
rubidium
4a1f6547c6 (svn r16992) -Add [NoAI]: function to clear waypoint(s) in a certain rectangle on the map 2009-07-30 15:17:03 +00:00
rubidium
de99f212dc (svn r16991) -Change: make 'remove waypoint' draggable 2009-07-30 15:16:19 +00:00
rubidium
37e6f6a003 (svn r16990) -Codechange: unify some (command) naming w.r.t. stations/waypoints. 2009-07-29 22:32:20 +00:00
rubidium
a52cd653d4 (svn r16989) -Codechange: unify the code for demolishing (dynamite) stations and waypoints. 2009-07-29 22:13:12 +00:00
rubidium
959a5e690b (svn r16988) -Codechange: unify the code for removing (parts of) stations and waypoints 2009-07-29 22:09:05 +00:00
rubidium
e6480d823a (svn r16987) -Codechange: simplify the code to loop train station for the station demolish code 2009-07-29 21:49:37 +00:00
yexo
30a1f1416a (svn r16986) -Fix [NoAI]: AIBridge::GetPrice returned incorrect values 2009-07-29 21:48:19 +00:00
rubidium
bfcf32c64e (svn r16985) -Codechange: simplify the station removal code a bit by giving proper names and using some helper functions 2009-07-29 21:41:45 +00:00
frosch
d51c4b6f6e (svn r16984) -Codechange: Document and assertify (Start|End)SpriteCombine. 2009-07-29 20:27:24 +00:00
rubidium
3a6c0a9f22 (svn r16983) -Change: work around a bogus GCC 4.4+ warning that can't be disabled 2009-07-29 20:24:48 +00:00
translators
0930c3c098 (svn r16982) -Update from WebTranslator v3.0:
catalan - 10 changes by arnaullv
dutch - 2 changes by Yexo
french - 4 changes by glx
german - 2 changes by planetmaker
russian - 3 changes by Lone_Wolf
spanish - 2 changes by Terkhen
2009-07-29 17:45:22 +00:00
rubidium
63c29124de (svn r16981) -Fix [FS#3062]: the last manually added server would not be saved 2009-07-29 16:45:51 +00:00
belugas
57dd3a7ad9 (svn r16979) -Codechange[FS#3066]: Add notion of Ctrl_Click in the tooltip for Loan borrow/repay buttons (planetmaker) 2009-07-29 14:33:32 +00:00
belugas
bc1e027d16 (svn r16978) -Fix(r16977): tab indentation instead of space indentation at beginning of a line, please 2009-07-29 12:45:15 +00:00
belugas
482732c08a (svn r16977) -Fix(r1772)[FS#3059]: make it so that failing to generate many random towns in scenario editor returns a failing message.
Fix by therken
Doxygen comments by me
2009-07-29 03:02:13 +00:00
rubidium
e473e69ba4 (svn r16976) -Codechange: remove WaypointID and MAX_LENGTH constants in favour of their Station variants 2009-07-28 21:06:38 +00:00
rubidium
2543b1b20a (svn r16974) -Codechange: do simple station build checks and 'decode' p1/p2 first 2009-07-28 18:52:16 +00:00
translators
6d1a431e8e (svn r16973) -Update from WebTranslator v3.0:
simplified_chinese - 2 changes by Gavin
esperanto - 20 changes by tradukanto
german - 3 changes by Roujin
2009-07-28 17:45:13 +00:00
rubidium
39ac44ad49 (svn r16972) -Fix [FS#3058] (r16942): mixup of variables caused, in some cases, rail stations to have incorrect width/height. 2009-07-28 13:35:50 +00:00
alberth
4ef012abfa (svn r16970) -Codechange: Transparency window uses nested widgets only. 2009-07-27 21:16:13 +00:00
alberth
2d673309e7 (svn r16969) -Codechange: Normalizing transparency gui widget numbers. 2009-07-27 20:46:50 +00:00
translators
b7caac9563 (svn r16968) -Update from WebTranslator v3.0:
danish - 14 changes by silentStatic
finnish - 1 changes by jpx_
greek - 1 changes by kinglee
malay - 26 changes by rionix88
persian - 2 changes by 100ra
brazilian_portuguese - 6 changes by Tucalipe
slovak - 37 changes by James
spanish - 2 changes by Terkhen
swedish - 4 changes by Chrill
2009-07-27 17:45:26 +00:00
rubidium
b76cad419e (svn r16967) -Fix [FS#0356]: assert when UFO tried to destroy rail 2009-07-27 11:59:36 +00:00
rubidium
2ec12a3f58 (svn r16966) -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP 2009-07-26 21:50:30 +00:00
rubidium
47a37b6093 (svn r16965) -Codechange: use tile area instead of sets of variables for the station joiner code. 2009-07-26 21:07:03 +00:00
translators
4aa2785757 (svn r16964) -Update from WebTranslator v3.0:
greek - 303 changes by fumantsu
italian - 1 changes by lorenzodv
russian - 1 changes by Lone_Wolf
spanish - 25 changes by Terkhen
turkish - 1 changes by niw3
2009-07-26 17:45:18 +00:00
alberth
9856cc9d0a (svn r16963) -Codechange: Added NWidgetViewport widget. 2009-07-26 17:29:01 +00:00
rubidium
2dd998ab06 (svn r16962) -Codechange: more work towards multi tile waypoints 2009-07-26 16:17:49 +00:00
alberth
0081bb9a96 (svn r16961) -Codechange: Moving some methods up in the class hierarchy to avoid code duplication. 2009-07-26 13:19:23 +00:00
alberth
75ccf9de3a (svn r16960) -Doc: Added some viewport and vehicle type doxygen strings. 2009-07-26 12:49:26 +00:00
rubidium
5b576e6e7a (svn r16959) -Codechange: make the station joiner a bit more aware of the difference between waypoints and stations. 2009-07-26 09:25:00 +00:00
translators
83b61a75c3 (svn r16958) -Update from WebTranslator v3.0:
english_US - 2 changes by agenthh
frisian - 54 changes by huddekul
greek - 272 changes by fumantsu
russian - 8 changes by Lone_Wolf
serbian - 59 changes by etran
spanish - 122 changes by Terkhen
2009-07-25 17:45:24 +00:00
frosch
55e07d0606 (svn r16957) -Fix: Trigger the same window repositioning after changing font/language as it is done after resizing the main OpenTTD window. 2009-07-25 15:58:48 +00:00
rubidium
6de80c9278 (svn r16956) -Update: 'pre' translate some strings that can't be translated, like {BLACK}{STRING} 2009-07-25 15:43:40 +00:00
rubidium
47793328b6 (svn r16955) -Fix (r16954): removed a few strings too many from the translations 2009-07-25 15:22:23 +00:00
rubidium
96cc9c2de1 (svn r16954) -Codechange: make the Game Options window use the nested widget system. 2009-07-25 15:10:52 +00:00
alberth
e3033ee895 (svn r16953) -Codechange: Use SetStringParameters() for simple parameterized strings. 2009-07-25 11:54:53 +00:00
alberth
e5bfc5660d (svn r16952) -Codechange: Use a label for the world population in the town directory window. 2009-07-25 11:32:53 +00:00
rubidium
36a28fe3d2 (svn r16951) -Change: order the strings in the options dropdown slightly more logical 2009-07-25 11:02:15 +00:00
rubidium
8e92d536d3 (svn r16950) -Codechange: unduplicate waypoint + station sign drawing 2009-07-25 10:56:36 +00:00
rubidium
65d4d8b46c (svn r16949) -Codechange: unify the way the DisplayOption enums are written 2009-07-25 10:54:42 +00:00
rubidium
4017439c37 (svn r16948) -Codechange: some code reductions and usage of wrapper functions 2009-07-25 10:39:58 +00:00
rubidium
7440ec7a73 (svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and trainst_h. 2009-07-25 08:54:19 +00:00
alberth
59c48fee8b (svn r16946) -Doc: Adding docs for some string parameter manipulation functions. 2009-07-25 07:49:49 +00:00
rubidium
63f2da7492 (svn r16945) -Fix (r16940): comments got swapped 2009-07-24 19:17:45 +00:00
rubidium
7a24fba918 (svn r16944) -Codechange: remove needlessly complex way of getting the offset of items within a struct that are within a struct 2009-07-24 19:09:48 +00:00
translators
d11ec2d1af (svn r16943) -Update from WebTranslator v3.0:
simplified_chinese - 5 changes by Gavin
dutch - 1 changes by webfreakz
german - 1 changes by Roujin
indonesian - 1 changes by prof
korean - 5 changes by darkttd
portuguese - 7 changes by carlosjor
russian - 1 changes by Lone_Wolf
spanish - 30 changes by Terkhen
2009-07-24 17:45:27 +00:00
rubidium
3ec35e4e8d (svn r16942) -Codechange: document CanExpandRailStation and remove the 'magic' array of numbers for a named struct 2009-07-24 17:05:17 +00:00
rubidium
9e9c397bf6 (svn r16941) -Document: some map accessors 2009-07-24 15:27:31 +00:00
rubidium
c3d2c47faa (svn r16940) -Codechange: make the pathfinders behave the same when finding waypoints or stations, i.e. don't force exactly one destination tile for a waypoint 2009-07-24 15:18:25 +00:00
rubidium
cf38a5bee6 (svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way it's written. 2009-07-24 11:47:12 +00:00
rubidium
2c6b5237f6 (svn r16938) -Codechange: introduce helper function to tell whether a tile is either a rail station or rail waypoint tile 2009-07-24 11:15:11 +00:00
alberth
07447a1766 (svn r16937) -Codechange: Make the station build window look good when resized. 2009-07-24 09:56:37 +00:00
alberth
bbcb985938 (svn r16936) -Fix [FS#3053]: Rail station build window with NewGRFs could crash due to uninitialized string parameter. 2009-07-24 09:45:39 +00:00
alberth
feb83756a2 (svn r16935) -Codechange: Improve wording of .lng file error message (found by cmoiromain). 2009-07-24 09:14:36 +00:00
rubidium
803cf87885 (svn r16934) -Codechange: introduce a simple helper function to check whether a station is pending deletion or not 2009-07-24 07:38:10 +00:00
rubidium
c1ffbc3bce (svn r16933) -Fix [FS#3054] (r16694): vehicles would wait "very long" when they had nothing to unload and gradual loading was disabled. 2009-07-24 00:08:48 +00:00
translators
f5731ca473 (svn r16932) -Update from WebTranslator v3.0:
all languages - update for latest commits which moved around lots of strings
dutch - 5 changes by Yexo
norwegian_bokmal - 1 changes by CyberKenny
romanian - 1 changes by kkmic
spanish - 1 changes by Terkhen
2009-07-23 22:26:12 +00:00
smatz
92f021a0a2 (svn r16931) -Cleanup (r16922): one semicolon too much 2009-07-23 22:01:25 +00:00
rubidium
e9bc557b2a (svn r16930) -Codechange: more StringID name unification and grouping 2009-07-23 19:31:50 +00:00
frosch
20c1e42be1 (svn r16929) -Change: There is no point in not randomising engine introduction-date before 1922. Instead disable the randomisation for the first two years after game-start, so you do not have to wait for the first engine. 2009-07-23 18:45:53 +00:00
translators
fb47193e65 (svn r16928) -Update from WebTranslator v3.0:
czech - 1 changes by SmatZ
dutch - 1 changes by Yexo
english_US - 6 changes by agenthh
french - 5 changes by glx
german - 1 changes by planetmaker
hungarian - 12 changes by IPG, alyr
indonesian - 5 changes by prof
italian - 4 changes by lorenzodv
norwegian_bokmal - 66 changes by CyberKenny
persian - 1 changes by 100ra
romanian - 4 changes by kkmic
russian - 3 changes by Lone_Wolf, Smoky555
spanish - 21 changes by Terkhen
swedish - 3 changes by Kindling
turkish - 19 changes by niw3
2009-07-23 17:45:47 +00:00
rubidium
1e6b1a7613 (svn r16927) -Change: make the 'there is no AI' error message translatable 2009-07-23 15:39:21 +00:00
rubidium
5f9ee68eac (svn r16926) -Fix (r16925): if checking whether a station can be adjoined, don't check whether 'the other station you have already found' to be valid but the station that you just found. Especially because you won't have found as station until you have found one. 2009-07-23 12:13:53 +00:00
rubidium
16ad8df175 (svn r16925) -Fix (r16909): guard commands more against using waypoints as stations and/or accidentally reusing waypoints for stations or vice versa. 2009-07-23 12:02:09 +00:00
rubidium
fefc880971 (svn r16924) -Fix (r16922): selling or sending to depot, what's the difference? :) 2009-07-23 08:47:14 +00:00
rubidium
f48cc9d4bf (svn r16923) -Codechange: move Cmd*Buoy* to waypoint_cmd.cpp and make them behave more like waypoints, e.g. reuse station signs of recently deleted buoys 2009-07-23 00:14:05 +00:00
rubidium
b04ba7dcea (svn r16922) -Codechange: unduplicate some vehicle CMD_*s and move the setting of the error message to a single place 2009-07-22 23:39:35 +00:00
rubidium
9980af2898 (svn r16921) -Codechange: make it more clear what strings are related to road vehicles; only ROAD isn't always enough. Also unify the way of writing it. 2009-07-22 22:44:56 +00:00
rubidium
2962d8f0fc (svn r16920) -Codechange: shuffle some strings around to simplify looking up vehicle type specific strings for a specific message 2009-07-22 20:17:07 +00:00
rubidium
c17c31b5b6 (svn r16919) -Codechange: unify some more StringID w.r.t. their naming 2009-07-22 19:12:20 +00:00
translators
9aaec4d2f2 (svn r16918) -Update from WebTranslator v3.0:
catalan - 1 changes by arnaullv
czech - 71 changes by SmatZ
dutch - 8 changes by Yexo
english_US - 5 changes by agenthh
esperanto - 3 changes by LaPingvino
finnish - 4 changes by jpx_
german - 4 changes by planetmaker
norwegian_bokmal - 136 changes by CyberKenny
persian - 127 changes by 100ra
romanian - 1 changes by kkmic
russian - 9 changes by Lone_Wolf, MajestiC
spanish - 5 changes by Terkhen
ukrainian - 1 changes by Madvin
2009-07-22 17:45:41 +00:00
rubidium
3bcfa7c52a (svn r16917) -Codechange: fix some GCC 4.5 'case X is not in enum Y' warnings 2009-07-22 16:56:36 +00:00
smatz
13a7c550ad (svn r16916) -Fix (r16909): station acceptance was reset after game load 2009-07-22 15:10:58 +00:00
rubidium
5f3a097b86 (svn r16915) -Fix (r16909): signal updates didn't propagate through waypoints 2009-07-22 12:43:29 +00:00
rubidium
6e3d999dce (svn r16914) -Codechange: split Station and BaseStation into different files 2009-07-22 11:35:35 +00:00
alberth
da9d9a27fe (svn r16913) -Codechange: Signal, train depot, and waypoint windows switched to using nested widget tree. 2009-07-22 10:34:21 +00:00
rubidium
cb0409fe52 (svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h 2009-07-22 10:18:19 +00:00
rubidium
df9941f729 (svn r16910) -Update: remove removed strings from the other language files 2009-07-22 09:00:49 +00:00
rubidium
68ead6b84f (svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions all over the place when using the more advanced station types.
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
2009-07-22 08:59:57 +00:00
rubidium
2646a99d29 (svn r16908) -Codechange: s/DepotWaypointReservation/DepotReservation/ 2009-07-22 08:52:41 +00:00
rubidium
8405d7d7e7 (svn r16907) -Codechange: make a more clear distinction between reservation functions that return a bool and that return TrackBits; GetRailStationReservation vs GetRailwayStationReservation, which one returns the bool and which one the TrackBits? 2009-07-21 22:37:10 +00:00
alberth
8083d67780 (svn r16906) -Fix (r12939): Child windows of build toolbars were placed inconsistently. 2009-07-21 22:25:21 +00:00
translators
639a829f87 (svn r16903) -Update from WebTranslator v3.0:
simplified_chinese - 2 changes by Gavin
danish - 5 changes by Bjarni
dutch - 1 changes by habell
finnish - 17 changes by jpx_
hungarian - 1 changes by alyr
italian - 1 changes by lorenzodv
korean - 1 changes by darkttd
russian - 15 changes by Lone_Wolf
serbian - 90 changes by BlueEyedFiend
welsh - 24 changes by welshdragon
2009-07-21 17:45:33 +00:00
rubidium
f7b3067fb3 (svn r16901) -Fix [FS#3046] (rpbs): when marking trains stuck don't reset the unload counter/stuck when the vehicle is unloading. It'll be automatically reset once the vehicle wants to leave the station 2009-07-21 17:14:05 +00:00
rubidium
0658d6cb3d (svn r16900) -Codechange: prepare the waypoint window for buoys 2009-07-21 16:30:01 +00:00
frosch
f09df64608 (svn r16899) -Fix (r16896): Missing 'return'. 2009-07-21 16:20:02 +00:00
alberth
4ba0e2301a (svn r16898) -Codechange: Station build window uses nested widget tree. 2009-07-21 11:40:30 +00:00
rubidium
ed5ced71c8 (svn r16897) -Codechange: use the 'generic' station spec to station allocation for waypoints too 2009-07-21 11:20:34 +00:00
rubidium
43eda3dfbf (svn r16896) -Codechange: make station spec allocation and station animation functions work for both stations and waypoints 2009-07-21 11:11:05 +00:00
alberth
c63338cd81 (svn r16895) -Codechange: Build dock window uses nested widget tree. 2009-07-21 10:46:32 +00:00
frosch
d5a4c89365 (svn r16894) -Codechange: Add [Specialised]Vehicle::Last(). 2009-07-20 19:58:33 +00:00
alberth
e3752f3ef8 (svn r16893) -Codechange: Ship depot build window uses nested widget tree. 2009-07-20 19:45:12 +00:00
alberth
03abe67e88 (svn r16892) -Codechange: Add support for nested widget tree windows to PickerWindowBase. 2009-07-20 19:44:28 +00:00
alberth
2a5784c53d (svn r16891) -Codechange: Docks toolbar uses nested widget tree. 2009-07-20 18:43:02 +00:00
alberth
1978c7dc87 (svn r16890) -Codechange: Allow raising and enabling/disabling of widgets even if they are not used. 2009-07-20 18:39:38 +00:00
translators
38d88f10fe (svn r16889) -Update from WebTranslator v3.0:
danish - 40 changes by silentStatic
french - 1 changes by glx
galician - 37 changes by Condex
german - 1 changes by planetmaker
russian - 17 changes by Lone_Wolf
serbian - 2 changes by BlueEyedFiend
2009-07-20 17:45:25 +00:00
rubidium
2ca679f5a9 (svn r16888) -Fix (r16864): crash when trying to build (some?) NewGRF waypoints 2009-07-20 16:30:37 +00:00
rubidium
87dba11ca1 (svn r16887) -Fix (r16884): erroneous semicolon. 2009-07-20 13:16:15 +00:00
rubidium
e3053660c6 (svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically 2009-07-20 11:21:57 +00:00
rubidium
dc943b35e0 (svn r16885) -Codechange: reduce (string) duplication with vehicle lists 2009-07-20 11:12:59 +00:00
frosch
7b92d9efe4 (svn r16884) -Codechange: Add Train::GetFirstEnginePart() and use it. 2009-07-19 19:17:41 +00:00
translators
3999dbe7f7 (svn r16883) -Update from WebTranslator v3.0:
simplified_chinese - 5 changes by Gavin
traditional_chinese - 4 changes by ww9980
russian - 12 changes by Lone_Wolf
slovak - 7 changes by James
2009-07-19 17:45:17 +00:00
alberth
a9474bf032 (svn r16882) -Codechange: Introduce a line_height variable in the station picker window. 2009-07-19 17:28:20 +00:00
rubidium
21921441d0 (svn r16881) -Codechange: fix some naming inconsistencies w.r.t. strings used in the vehicle list GUIs. 2009-07-19 16:57:04 +00:00
rubidium
42e1bdacbc (svn r16880) -Codechange: replace magic numbers with their enums and use a clearer variable name than 'flag' in the station naming function. 2009-07-19 15:58:47 +00:00
alberth
d509ad3213 (svn r16879) -Codechange: Use coordinates of widgets for custom rendering. 2009-07-19 15:40:43 +00:00
alberth
3361602f1b (svn r16878) -Codechange: Let WWT_LABEL widgets do the drawing rather than OnPaint. 2009-07-19 15:18:26 +00:00
smatz
af13707e00 (svn r16877) -Codechange: use Subsidy::IsAwarded() instead of testing subsidy's age 2009-07-18 19:54:35 +00:00
rubidium
3fcfb9b248 (svn r16876) -Codechange: add helper functions to cast to Station/Waypoint with some extra checks. 2009-07-18 18:39:17 +00:00
translators
73453e61d6 (svn r16875) -Update from WebTranslator v3.0:
simplified_chinese - 46 changes by EraserKing, Gavin
indonesian - 5 changes by prof
russian - 18 changes by Lone_Wolf
ukrainian - 2 changes by nsergiy
2009-07-18 17:45:16 +00:00
frosch
d3a95e9bbd (svn r16874) -Change: Give the number behind free wagon chains in depots the same meaning as for trains. 2009-07-18 17:38:18 +00:00
alberth
eed8b07d69 (svn r16873) -Codechange: Terraform window and scenario landscape editing window switched to nested widgets. 2009-07-18 15:29:16 +00:00
frosch
e8c2992ae6 (svn r16872) -Codechange: Add RoadVehicle::GetDisplayImageWidth and simplify DrawRoadVehImage. 2009-07-18 12:34:19 +00:00
alberth
36576371c0 (svn r16871) -Codechange: Generalize GetWidgetContentSize to UpdateWidgetSize for better control over widget size and resize steps. 2009-07-18 10:46:55 +00:00
rubidium
2b374824dc (svn r16870) -Codechange: unmagicify road stop/waypoint picker drawing 2009-07-18 10:39:52 +00:00
rubidium
861a2163f6 (svn r16869) -Codechange: make drawing waypoints a tiny bit more like drawing stations 2009-07-18 10:01:31 +00:00
rubidium
8c17c6cb2b (svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoords 2009-07-18 08:41:58 +00:00
frosch
f129634f52 (svn r16867) -Feature(ette): Turn variable 0E/8E (vertical offset for trains in depot) and variable 1E/9E bit 3 (wagon width in depot) into grf-local variables. 2009-07-17 22:00:13 +00:00
yexo
82ac703e2d (svn r16866) -Fix (r16865): forgot to run squirrel_export.sh 2009-07-17 21:45:57 +00:00
yexo
38768d0ca2 (svn r16865) -Doc [NoAI] [FS#3037]: replace old exception names with current ones and fix a type in the noai documentation (patch by Chruker) 2009-07-17 21:36:26 +00:00
rubidium
4e5af51d1f (svn r16864) -Codechange: make Waypoints a subclass of BaseStation. 2009-07-17 21:06:06 +00:00
rubidium
d8f16ea199 (svn r16863) -Codechange: GetWaypointByTile -> Waypoint::GetByTile, like used for e.g. stations 2009-07-17 20:51:24 +00:00
rubidium
c9cab7ba19 (svn r16862) -Codechange: make waypoints use the same system of station station spec lists. 2009-07-17 20:40:29 +00:00
rubidium
72d6c3a9ad (svn r16861) -Codechange: move a few more bits from station to basestation (to be shared with waypoints) 2009-07-17 20:30:07 +00:00
rubidium
06ea681b5f (svn r16860) -Codechange: introduce a helper to assign a station spec to Waypoints 2009-07-17 20:21:24 +00:00
rubidium
84df3ba2b4 (svn r16859) -Codechange: split the Station struct into two so parts of it can be reused for Waypoints. 2009-07-17 19:44:13 +00:00
translators
869fb4fa78 (svn r16858) -Update from WebTranslator v3.0:
simplified_chinese - 1 changes by Gavin
indonesian - 1 changes by prof
russian - 16 changes by Lone_Wolf
2009-07-17 17:45:14 +00:00
smatz
57d3d4ce5e (svn r16857) -Fix [FS#3036](r16652): crash when train partially in depot crashed 2009-07-17 13:54:06 +00:00
alberth
b9cf3f880b (svn r16856) -Fix: Allow the rail toobar window to align vertically for larger sprites. 2009-07-17 10:38:07 +00:00
rubidium
9933df9d89 (svn r16855) -Codechange: remove unused 'conversion' stuff from the waypoint struct and make it more similar to Station. 2009-07-16 23:02:39 +00:00
rubidium
a007d609af (svn r16854) -Fix (r2046): savegames from before this version would get the town id as their 'index' (#<num). For stations with custom names that custom name would be dropped and the lowest 6 bits of the StringID would be used for the 'index'. In other words, it resulted in a mess. 2009-07-16 22:58:06 +00:00
smatz
f16314d0cc (svn r16853) -Codechange: make CargoSpec const at two places 2009-07-16 21:37:59 +00:00