diff options
author | Michael Lutz <michi@icosahedron.de> | 2021-10-10 02:35:06 +0200 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-12-16 22:28:32 +0100 |
commit | 123c7f99c342aa9eb7ca505f0b49257fc8eee7ff (patch) | |
tree | eaa3f1c377393e03263a974b7080eacc6f80ae77 /src/script | |
parent | 7048e1522f7095e7c716c2488d78711ab6ed912c (diff) | |
download | openttd-123c7f99c342aa9eb7ca505f0b49257fc8eee7ff.tar.xz |
Codechange: Move command callback declarations to the cmd header files.
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/script/script_cmd.h | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/src/script/CMakeLists.txt b/src/script/CMakeLists.txt index f4b87dc3b..d1054ca5f 100644 --- a/src/script/CMakeLists.txt +++ b/src/script/CMakeLists.txt @@ -5,6 +5,7 @@ if(OPTION_TOOLS_ONLY) endif() add_files( + script_cmd.h script_config.cpp script_config.hpp script_fatalerror.hpp diff --git a/src/script/script_cmd.h b/src/script/script_cmd.h new file mode 100644 index 000000000..bf6aa50c7 --- /dev/null +++ b/src/script/script_cmd.h @@ -0,0 +1,18 @@ +/* + * This file is part of OpenTTD. + * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. + * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + +/** @file script_cmd.h Command definitions related to scripts. */ + +#ifndef SCRIPT_CMD_H +#define SCRIPT_CMD_H + +#include "../command_type.h" + +CommandCallback CcAI; +CommandCallback CcGame; + +#endif /* SCRIPT_CMD_H */ |