src/command.h
branchgamebalance
changeset 9895 7bd07f43b0e3
parent 6449 e520244dc71e
child 6308 646711c5feaa
--- a/src/command.h	Mon Mar 19 09:33:17 2007 +0000
+++ b/src/command.h	Mon Mar 19 12:38:16 2007 +0000
@@ -176,10 +176,10 @@
 
 typedef int32 CommandProc(TileIndex tile, uint32 flags, uint32 p1, uint32 p2);
 
-typedef struct Command {
+struct Command {
 	CommandProc *proc;
 	byte flags;
-} Command;
+};
 
 //#define return_cmd_error(errcode) do { _error_message=(errcode); return CMD_ERROR; } while(0)
 #define return_cmd_error(errcode) do { return CMD_ERROR | (errcode); } while (0)
@@ -209,6 +209,6 @@
 
 bool IsValidCommand(uint cmd);
 byte GetCommandFlags(uint cmd);
-int32 GetAvailableMoneyForCommand(void);
+int32 GetAvailableMoneyForCommand();
 
 #endif /* COMMAND_H */