diff options
author | frosch <frosch@openttd.org> | 2009-03-30 20:48:10 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-03-30 20:48:10 +0000 |
commit | f55be81e3c8031cffd229b0347f2268fe0a1eafd (patch) | |
tree | f0de1a132f0bdff1175626a0d737372ae7590d8e /bin/ai/regression | |
parent | 3bbf0fc87b34ccab4f3bb91e1690981aecd80c7d (diff) | |
download | openttd-f55be81e3c8031cffd229b0347f2268fe0a1eafd.tar.xz |
(svn r15901) -Add: AIIndustryType::IsBuiltOnWater(), HasHeliport() and HasDock(). Just like AIIndustry.
Diffstat (limited to 'bin/ai/regression')
-rw-r--r-- | bin/ai/regression/regression.nut | 3 | ||||
-rw-r--r-- | bin/ai/regression/regression.txt | 36 |
2 files changed, 39 insertions, 0 deletions
diff --git a/bin/ai/regression/regression.nut b/bin/ai/regression/regression.nut index 827145e77..02f2e55bf 100644 --- a/bin/ai/regression/regression.nut +++ b/bin/ai/regression/regression.nut @@ -635,6 +635,9 @@ function Regression::IndustryTypeList() print(" GetName(): " + AIIndustryType.GetName(i)); print(" CanBuildIndustry(): " + AIIndustryType.CanBuildIndustry(i)); print(" CanProspectIndustry(): " + AIIndustryType.CanProspectIndustry(i)); + print(" IsBuiltOnWater(): " + AIIndustryType.IsBuiltOnWater(i)); + print(" HasHeliport(): " + AIIndustryType.HasHeliport(i)); + print(" HasDock(): " + AIIndustryType.HasDock(i)); } } diff --git a/bin/ai/regression/regression.txt b/bin/ai/regression/regression.txt index 3eefdd3fb..c3c793179 100644 --- a/bin/ai/regression/regression.txt +++ b/bin/ai/regression/regression.txt @@ -6926,6 +6926,9 @@ GetName(): Farm CanBuildIndustry(): false CanProspectIndustry(): false + IsBuiltOnWater(): false + HasHeliport(): false + HasDock(): false Id: 5 IsRawIndustry(): true ProductionCanIncrease(): true @@ -6933,6 +6936,9 @@ GetName(): Oil Rig CanBuildIndustry(): false CanProspectIndustry(): false + IsBuiltOnWater(): true + HasHeliport(): true + HasDock(): true Id: 12 IsRawIndustry(): false ProductionCanIncrease(): true @@ -6940,6 +6946,9 @@ GetName(): Bank CanBuildIndustry(): true CanProspectIndustry(): false + IsBuiltOnWater(): false + HasHeliport(): false + HasDock(): false Id: 11 IsRawIndustry(): true ProductionCanIncrease(): false @@ -6947,6 +6956,9 @@ GetName(): Oil Wells CanBuildIndustry(): false CanProspectIndustry(): false + IsBuiltOnWater(): false + HasHeliport(): false + HasDock(): false Id: 1 IsRawIndustry(): false ProductionCanIncrease(): true @@ -6954,6 +6966,9 @@ GetName(): Power Station CanBuildIndustry(): true CanProspectIndustry(): false + IsBuiltOnWater(): false + HasHeliport(): false + HasDock(): false Id: 3 IsRawIndustry(): true ProductionCanIncrease(): true @@ -6961,6 +6976,9 @@ GetName(): Forest CanBuildIndustry(): false CanProspectIndustry(): false + IsBuiltOnWater(): false + HasHeliport(): false + HasDock(): false Id: 2 IsRawIndustry(): false ProductionCanIncrease(): true @@ -6968,6 +6986,9 @@ GetName(): Sawmill CanBuildIndustry(): true CanProspectIndustry(): false + IsBuiltOnWater(): false + HasHeliport(): false + HasDock(): false Id: 18 IsRawIndustry(): true ProductionCanIncrease(): true @@ -6975,6 +6996,9 @@ GetName(): Iron Ore Mine CanBuildIndustry(): false CanProspectIndustry(): false + IsBuiltOnWater(): false + HasHeliport(): false + HasDock(): false Id: 0 IsRawIndustry(): true ProductionCanIncrease(): true @@ -6982,6 +7006,9 @@ GetName(): Coal Mine CanBuildIndustry(): false CanProspectIndustry(): false + IsBuiltOnWater(): false + HasHeliport(): false + HasDock(): false Id: 8 IsRawIndustry(): false ProductionCanIncrease(): true @@ -6989,6 +7016,9 @@ GetName(): Steel Mill CanBuildIndustry(): true CanProspectIndustry(): false + IsBuiltOnWater(): false + HasHeliport(): false + HasDock(): false Id: 4 IsRawIndustry(): false ProductionCanIncrease(): true @@ -6996,6 +7026,9 @@ GetName(): Oil Refinery CanBuildIndustry(): true CanProspectIndustry(): false + IsBuiltOnWater(): false + HasHeliport(): false + HasDock(): false Id: 6 IsRawIndustry(): false ProductionCanIncrease(): true @@ -7003,6 +7036,9 @@ GetName(): Factory CanBuildIndustry(): true CanProspectIndustry(): false + IsBuiltOnWater(): false + HasHeliport(): false + HasDock(): false --Map-- GetMapSize(): 65536 |