summaryrefslogtreecommitdiff
path: root/src/signs_cmd.h
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-11-21 23:03:44 +0100
committerMichael Lutz <michi@icosahedron.de>2021-12-16 22:28:32 +0100
commit58cff7b081ce9ea4b5314cf8324ca60607389d15 (patch)
tree0d46a0522d5fbbb1039e1e31e07557ee1ad9befb /src/signs_cmd.h
parentc6d7b98808575f31103121528565ed252a3cfc6c (diff)
downloadopenttd-58cff7b081ce9ea4b5314cf8324ca60607389d15.tar.xz
Codechange: Un-bitstuff the remaining on-map commands.
Diffstat (limited to 'src/signs_cmd.h')
-rw-r--r--src/signs_cmd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/signs_cmd.h b/src/signs_cmd.h
index 85f0ffbdf..1c4e1b465 100644
--- a/src/signs_cmd.h
+++ b/src/signs_cmd.h
@@ -11,9 +11,10 @@
#define SIGNS_CMD_H
#include "command_type.h"
+#include "signs_type.h"
-CommandProc CmdPlaceSign;
-CommandProc CmdRenameSign;
+CommandCost CmdPlaceSign(DoCommandFlag flags, TileIndex tile, const std::string &text);
+CommandCost CmdRenameSign(DoCommandFlag flags, SignID sign_id, const std::string &text);
DEF_CMD_TRAIT(CMD_PLACE_SIGN, CmdPlaceSign, CMD_DEITY, CMDT_OTHER_MANAGEMENT)
DEF_CMD_TRAIT(CMD_RENAME_SIGN, CmdRenameSign, CMD_DEITY, CMDT_OTHER_MANAGEMENT)