summaryrefslogtreecommitdiff
path: root/ai
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-03-09 20:37:51 +0000
committerpeter1138 <peter1138@openttd.org>2006-03-09 20:37:51 +0000
commit9c7f09322ef91a7fa565e23898467d5cd9aafe7e (patch)
tree061684b960a2757bd9c019a34af1bd45b36d85b5 /ai
parent78a7b15ce0ceb0758de4eadf6d366906e5372cf2 (diff)
downloadopenttd-9c7f09322ef91a7fa565e23898467d5cd9aafe7e.tar.xz
(svn r3805) - [FS#62] Fix doxygen comments to refer to the correct parameter. (sulai)
Diffstat (limited to 'ai')
-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;