summaryrefslogtreecommitdiff
path: root/src/command_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/command_type.h')
-rw-r--r--src/command_type.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/command_type.h b/src/command_type.h
index 1f7c817fe..28d1855a4 100644
--- a/src/command_type.h
+++ b/src/command_type.h
@@ -370,8 +370,9 @@ typedef CommandCost CommandProc(TileIndex tile, DoCommandFlag flags, uint32 p1,
* the #CMD_AUTO, #CMD_OFFLINE and #CMD_SERVER values.
*/
struct Command {
- CommandProc *proc;
- byte flags;
+ CommandProc *proc; ///< The procedure to actually executing
+ const char *name; ///< A human readable name for the procedure
+ byte flags; ///< The (command) flags to that apply to this command
};
/**