Codechange: Move command callback declarations to the cmd header files.
This commit is contained in:
@@ -5,6 +5,7 @@ if(OPTION_TOOLS_ONLY)
|
||||
endif()
|
||||
|
||||
add_files(
|
||||
script_cmd.h
|
||||
script_config.cpp
|
||||
script_config.hpp
|
||||
script_fatalerror.hpp
|
||||
|
18
src/script/script_cmd.h
Normal file
18
src/script/script_cmd.h
Normal file
@@ -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 */
|
Reference in New Issue
Block a user