summaryrefslogtreecommitdiff
path: root/command.h
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-04 17:54:56 +0000
committertruelight <truelight@openttd.org>2004-12-04 17:54:56 +0000
commitb8f6d41418982163965dd5beb0b39dbdce1fbe8f (patch)
tree68d3e795694a875138c369707ed74b5b4b022d49 /command.h
parent0434287ef826a4ed72cd8528a52a86ae8b70a948 (diff)
downloadopenttd-b8f6d41418982163965dd5beb0b39dbdce1fbe8f.tar.xz
(svn r942) -Merged branch/network back into the trunk
Diffstat (limited to 'command.h')
-rw-r--r--command.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/command.h b/command.h
index d40f8543d..1918184ec 100644
--- a/command.h
+++ b/command.h
@@ -146,6 +146,8 @@ enum {
//CMD_DESTROY_INDUSTRY = 109,
CMD_DESTROY_COMPANY_HQ = 111,
+ CMD_GIVE_MONEY = 112,
+ CMD_CHANGE_PATCH_SETTING = 113,
};
enum {
@@ -166,9 +168,8 @@ enum {
enum {
CMD_AUTO = 0x200,
CMD_NO_WATER = 0x400,
- CMD_DONT_NETWORK = 0x800, // execute the command without sending it on the network
- CMD_ASYNC = 0x1000, // execute the command asynchronously without testing first in networking
- CMD_NET_INSTANT = 0x2000,
+ CMD_NETWORK_COMMAND = 0x800, // execute the command without sending it on the network
+ CMD_NO_TEST_IF_IN_NETWORK = 0x1000, // When enabled, the command will bypass the no-DC_EXEC round if in network
};
//#define return_cmd_error(errcode) do { _error_message=(errcode); return CMD_ERROR; } while(0)