Commit Graph

12668 Commits

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