summaryrefslogtreecommitdiff
path: root/bin/ai
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-05-07 21:30:18 +0000
committeryexo <yexo@openttd.org>2009-05-07 21:30:18 +0000
commit9b4a32deb41a33ea1a83ee1f14256e087460e1e5 (patch)
tree0a9096550f43de69ac7d3edb71b18c56ab47a382 /bin/ai
parente92efe028cc6fec6242dfa9ca2a24df150948e51 (diff)
downloadopenttd-9b4a32deb41a33ea1a83ee1f14256e087460e1e5.tar.xz
(svn r16252) -Add [NoAI]: AIAirport::GetPrice, returning the building cost of an airport
Diffstat (limited to 'bin/ai')
-rw-r--r--bin/ai/regression/regression.nut1
-rw-r--r--bin/ai/regression/regression.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/bin/ai/regression/regression.nut b/bin/ai/regression/regression.nut
index 8b77879bd..82154c9db 100644
--- a/bin/ai/regression/regression.nut
+++ b/bin/ai/regression/regression.nut
@@ -220,6 +220,7 @@ function Regression::Airport()
}
print(" GetBankBalance(): " + AICompany.GetBankBalance(AICompany.COMPANY_SELF));
+ print(" GetPrice(): " + AIAirport.GetPrice(0));
print(" BuildAirport(): " + AIAirport.BuildAirport(32116, 0, AIStation.STATION_JOIN_ADJACENT));
print(" IsHangarTile(): " + AIAirport.IsHangarTile(32116));
print(" IsAirportTile(): " + AIAirport.IsAirportTile(32116));
diff --git a/bin/ai/regression/regression.txt b/bin/ai/regression/regression.txt
index 5a7c96d2a..7163df68b 100644
--- a/bin/ai/regression/regression.txt
+++ b/bin/ai/regression/regression.txt
@@ -620,6 +620,7 @@
GetAirportHeight(9): -1
GetAirportCoverageRadius(9): -1
GetBankBalance(): 100000
+ GetPrice(): 84
BuildAirport(): true
IsHangarTile(): false
IsAirportTile(): true