summaryrefslogtreecommitdiff
path: root/src/ai/ai_instance.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-07-31 22:30:54 +0000
committeryexo <yexo@openttd.org>2009-07-31 22:30:54 +0000
commit8c05194c0241d88226ba6c727a0c45b00d8495ed (patch)
treebe76ebd36a14a7828a9ed5400f42045b375b7c50 /src/ai/ai_instance.cpp
parentb129184d57cac186c53bda3e8165efd63806c2aa (diff)
downloadopenttd-8c05194c0241d88226ba6c727a0c45b00d8495ed.tar.xz
(svn r17011) -Change [NoAI]: Add AIBaseStation as a parentclass for AIStation and AIWaypoint, and move GetName, SetName and GetLocation to AIBaseStation
Remove (nearly) all references to WaypointID and replace them with StationID
Diffstat (limited to 'src/ai/ai_instance.cpp')
-rw-r--r--src/ai/ai_instance.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ai/ai_instance.cpp b/src/ai/ai_instance.cpp
index 4566e925d..45e336d5c 100644
--- a/src/ai/ai_instance.cpp
+++ b/src/ai/ai_instance.cpp
@@ -30,6 +30,7 @@
#include "api/ai_accounting.hpp.sq"
#include "api/ai_airport.hpp.sq"
#include "api/ai_base.hpp.sq"
+#include "api/ai_basestation.hpp.sq"
#include "api/ai_bridge.hpp.sq"
#include "api/ai_bridgelist.hpp.sq"
#include "api/ai_buoylist.hpp.sq"
@@ -158,6 +159,7 @@ void AIInstance::RegisterAPI()
SQAIAccounting_Register(this->engine);
SQAIAirport_Register(this->engine);
SQAIBase_Register(this->engine);
+ SQAIBaseStation_Register(this->engine);
SQAIBridge_Register(this->engine);
SQAIBridgeList_Register(this->engine);
SQAIBridgeList_Length_Register(this->engine);