equal
deleted
inserted
replaced
5 #ifndef AI_OBJECT_HPP |
5 #ifndef AI_OBJECT_HPP |
6 #define AI_OBJECT_HPP |
6 #define AI_OBJECT_HPP |
7 |
7 |
8 #include "../../stdafx.h" |
8 #include "../../stdafx.h" |
9 #include "../../misc/countedptr.hpp" |
9 #include "../../misc/countedptr.hpp" |
|
10 #include "../../road_type.h" |
10 |
11 |
11 #include "ai_types.hpp" |
12 #include "ai_types.hpp" |
12 |
13 |
13 /** |
14 /** |
14 * The callback function for Mode-classes. |
15 * The callback function for Mode-classes. |
58 |
59 |
59 /** |
60 /** |
60 * Get the DoCommand last error. |
61 * Get the DoCommand last error. |
61 */ |
62 */ |
62 static AIErrorType GetLastError(); |
63 static AIErrorType GetLastError(); |
|
64 |
|
65 /** |
|
66 * Set the road type. |
|
67 */ |
|
68 static void SetRoadType(RoadType road_type); |
|
69 |
|
70 /** |
|
71 * Get the road type. |
|
72 */ |
|
73 static RoadType GetRoadType(); |
63 |
74 |
64 /** |
75 /** |
65 * Set the current mode of your AI to this proc. |
76 * Set the current mode of your AI to this proc. |
66 */ |
77 */ |
67 static void SetDoCommandMode(AIModeProc *proc, AIObject *instance); |
78 static void SetDoCommandMode(AIModeProc *proc, AIObject *instance); |