Commit Graph

12867 Commits

Author SHA1 Message Date
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
8b2a02366f (svn r17090) -Fix (r17089): regression test failed (frosch123) 2009-08-06 17:23:53 +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