summaryrefslogtreecommitdiff
path: root/ai/ai.h
diff options
context:
space:
mode:
Diffstat (limited to 'ai/ai.h')
-rw-r--r--ai/ai.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/ai/ai.h b/ai/ai.h
index 90527f2df..dd036fea1 100644
--- a/ai/ai.h
+++ b/ai/ai.h
@@ -20,20 +20,20 @@ typedef struct AICommand {
/* The struct for an AIScript Player */
typedef struct AIPlayer {
- bool active; //! Is this AI active?
- AICommand *queue; //! The commands that he has in his queue
- AICommand *queue_tail; //! The tail of this queue
+ bool active; ///< Is this AI active?
+ AICommand *queue; ///< The commands that he has in his queue
+ AICommand *queue_tail; ///< The tail of this queue
} AIPlayer;
/* The struct to keep some data about the AI in general */
typedef struct AIStruct {
/* General */
- bool enabled; //! Is AI enabled?
- uint tick; //! The current tick (something like _frame_counter, only for AIs)
+ bool enabled; ///< Is AI enabled?
+ uint tick; ///< The current tick (something like _frame_counter, only for AIs)
/* For network-clients (a OpenTTD client who acts as an AI connected to a server) */
- bool network_client; //! Are we a network_client?
- uint8 network_playas; //! The current network player we are connected as
+ bool network_client; ///< Are we a network_client?
+ uint8 network_playas; ///< The current network player we are connected as
} AIStruct;
VARDEF AIStruct _ai;