(svn r19602) -Codechange: add the name of the command to the desync logs

This commit is contained in:
rubidium
2010-04-11 10:11:26 +00:00
parent 9b7d71699d
commit 5c7aaf11ba
4 changed files with 134 additions and 113 deletions

View File

@@ -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
};
/**