Command Struct Reference

Define a command with the flags which belongs to it. More...

#include <command_type.h>

Data Fields

CommandProcproc
 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.

Detailed Description

Define a command with the flags which belongs to it.

This struct connect a command handler function with the flags created with the CMD_AUTO, CMD_OFFLINE and CMD_SERVER values.

Definition at line 384 of file command_type.h.


The documentation for this struct was generated from the following file:

Generated on Sat Jun 19 17:15:24 2010 for OpenTTD by  doxygen 1.6.1