src/ai/api/ai_object.hpp
branchnoai
changeset 10668 495789401303
parent 10341 08f39ee90bdf
child 10977 6c1a6657c7db
--- a/src/ai/api/ai_object.hpp	Thu May 22 10:23:34 2008 +0000
+++ b/src/ai/api/ai_object.hpp	Thu May 22 15:49:08 2008 +0000
@@ -7,6 +7,7 @@
 
 #include "../../stdafx.h"
 #include "../../misc/countedptr.hpp"
+#include "../../road_type.h"
 
 #include "ai_types.hpp"
 
@@ -62,6 +63,16 @@
 	static AIErrorType GetLastError();
 
 	/**
+	 * Set the road type.
+	 */
+	static void SetRoadType(RoadType road_type);
+
+	/**
+	 * Get the road type.
+	 */
+	static RoadType GetRoadType();
+
+	/**
 	 * Set the current mode of your AI to this proc.
 	 */
 	static void SetDoCommandMode(AIModeProc *proc, AIObject *instance);