diff options
author | truebrain <truebrain@openttd.org> | 2011-12-19 21:01:03 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-19 21:01:03 +0000 |
commit | e0ffe4faf268298f3a20427cd87462c70e3d9bc2 (patch) | |
tree | b2958b45d880e8ed5fe40f2a176652ef072ea5a6 /src/command.cpp | |
parent | ad48ab923764087bf66153d1c26ed0eb05a19989 (diff) | |
download | openttd-e0ffe4faf268298f3a20427cd87462c70e3d9bc2.tar.xz |
(svn r23627) -Add: ScriptNews::Create, to create custom news messages (GameScript only)
Diffstat (limited to 'src/command.cpp')
-rw-r--r-- | src/command.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command.cpp b/src/command.cpp index 00bc9d46e..7b32b1150 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -148,6 +148,7 @@ CommandProc CmdBuildCanal; CommandProc CmdBuildLock; CommandProc CmdCompanyCtrl; +CommandProc CmdCustomNewsItem; CommandProc CmdLevelLand; @@ -282,6 +283,7 @@ static const Command _command_proc_table[] = { DEF_CMD(CmdMoneyCheat, CMD_OFFLINE, CMDT_CHEAT ), // CMD_MONEY_CHEAT DEF_CMD(CmdBuildCanal, CMD_AUTO, CMDT_LANDSCAPE_CONSTRUCTION), // CMD_BUILD_CANAL DEF_CMD(CmdCompanyCtrl, CMD_SPECTATOR | CMD_CLIENT_ID, CMDT_SERVER_SETTING ), // CMD_COMPANY_CTRL + DEF_CMD(CmdCustomNewsItem, CMD_DEITY, CMDT_OTHER_MANAGEMENT ), // CMD_CUSTOM_NEWS_ITEM DEF_CMD(CmdLevelLand, CMD_ALL_TILES | CMD_NO_TEST | CMD_AUTO, CMDT_LANDSCAPE_CONSTRUCTION), // CMD_LEVEL_LAND; test run might clear tiles multiple times, in execution that only happens once |