summaryrefslogtreecommitdiff
path: root/bin/ai/regression/regression.txt
diff options
context:
space:
mode:
authorfonsinchen <fonsinchen@openttd.org>2014-05-04 13:57:48 +0000
committerfonsinchen <fonsinchen@openttd.org>2014-05-04 13:57:48 +0000
commitbb269661d499352754d254c45bc3ef75a1fac370 (patch)
tree816020d8d1ed92923dd106b48c3b7f8b4df64e08 /bin/ai/regression/regression.txt
parentd2357ec435afc6f09ae7a98a42b389efa62e29f0 (diff)
downloadopenttd-bb269661d499352754d254c45bc3ef75a1fac370.tar.xz
(svn r26557) -Fix: clean up, test (somewhat), and complete the API for waiting cargo
Diffstat (limited to 'bin/ai/regression/regression.txt')
-rw-r--r--bin/ai/regression/regression.txt41
1 files changed, 38 insertions, 3 deletions
diff --git a/bin/ai/regression/regression.txt b/bin/ai/regression/regression.txt
index 5eab44103..e6f30d220 100644
--- a/bin/ai/regression/regression.txt
+++ b/bin/ai/regression/regression.txt
@@ -7487,9 +7487,6 @@ ERROR: IsEnd() is invalid as Begin() is never called
GetLocation(1000): -1
GetStationID(33411): 4
GetStationID(34411): 65535
- GetCargoWaiting(0, 0): 0
- GetCargoWaiting(1000, 0): -1
- GetCargoWaiting(0, 1000): -1
GetStationID(33411): 4
HasRoadType(3, TRAM): false
HasRoadType(3, ROAD): false
@@ -7504,6 +7501,44 @@ ERROR: IsEnd() is invalid as Begin() is never called
GetNearestTown(): 65535
GetNearestTown(): 10
+--CargoWaiting--
+ GetCargoWaiting(0, 0): 0
+ GetCargoWaitingFrom(0, 0, 0): 0
+ GetCargoWaitingVia(0, 0, 0): 0
+ GetCargoWaitingFromVia(0, 0, 0, 0): 0
+ GetCargoWaitingFromVia(0, 0, 1000, 0): -1
+ GetCargoWaitingFrom(0, 1000, 0): -1
+ GetCargoWaitingVia(0, 1000, 0): -1
+ GetCargoWaitingFromVia(0, 1000, 0, 0): -1
+ GetCargoWaitingFromVia(0, 1000, 1000, 0): -1
+ GetCargoWaiting(1000, 0): -1
+ GetCargoWaitingFrom(1000, 0, 0): -1
+ GetCargoWaitingVia(1000, 0, 0): -1
+ GetCargoWaitingFromVia(1000, 0, 0, 0): -1
+ GetCargoWaitingFromVia(1000, 0, 1000, 0): -1
+ GetCargoWaitingFrom(1000, 1000, 0): -1
+ GetCargoWaitingVia(1000, 1000, 0): -1
+ GetCargoWaitingFromVia(1000, 1000, 0, 0): -1
+ GetCargoWaitingFromVia(1000, 1000, 1000, 0): -1
+ GetCargoWaiting(0, 1000): -1
+ GetCargoWaitingFrom(0, 0, 1000): -1
+ GetCargoWaitingVia(0, 0, 1000): -1
+ GetCargoWaitingFromVia(0, 0, 0, 1000): -1
+ GetCargoWaitingFromVia(0, 0, 1000, 1000): -1
+ GetCargoWaitingFrom(0, 1000, 1000): -1
+ GetCargoWaitingVia(0, 1000, 1000): -1
+ GetCargoWaitingFromVia(0, 1000, 0, 1000): -1
+ GetCargoWaitingFromVia(0, 1000, 1000, 1000): -1
+ GetCargoWaiting(1000, 1000): -1
+ GetCargoWaitingFrom(1000, 0, 1000): -1
+ GetCargoWaitingVia(1000, 0, 1000): -1
+ GetCargoWaitingFromVia(1000, 0, 0, 1000): -1
+ GetCargoWaitingFromVia(1000, 0, 1000, 1000): -1
+ GetCargoWaitingFrom(1000, 1000, 1000): -1
+ GetCargoWaitingVia(1000, 1000, 1000): -1
+ GetCargoWaitingFromVia(1000, 1000, 0, 1000): -1
+ GetCargoWaitingFromVia(1000, 1000, 1000, 1000): -1
+
--StationList--
Count(): 2
Location ListDump: