Added a new src file ai_actions.[ch]pp , modified 4 build configurations.

This commit is contained in:
Iurii Chernyi 2009-04-11 21:44:20 +00:00
parent 181950e10b
commit 1f35c5135c
6 changed files with 70 additions and 0 deletions

View file

@ -278,6 +278,10 @@
RelativePath="..\..\src\ai_attack.cpp"
>
</File>
<File
RelativePath="..\..\src\ai_actions.cpp"
>
</File>
<File
RelativePath="..\..\src\ai_configuration.cpp"
>
@ -2753,6 +2757,10 @@
RelativePath="..\..\src\ai.hpp"
>
</File>
<File
RelativePath="..\..\src\ai_actions.hpp"
>
</File>
<File
RelativePath="..\..\src\ai2.hpp"
>

View file

@ -206,6 +206,7 @@ SET(wesnoth-main_SRC
addon_checks.cpp
addon_management.cpp
ai.cpp
ai_actions.cpp
ai_dfool.cpp
ai_attack.cpp
ai_configuration.cpp

View file

@ -43,6 +43,7 @@ wesnoth_source = \
addon_checks.cpp \
addon_management.cpp \
ai.cpp \
ai_actions.cpp \
ai_attack.cpp \
ai_configuration.cpp \
ai_dfool.cpp \

View file

@ -150,6 +150,7 @@ wesnoth_sources = Split("""
addon_management.cpp
ai_dfool.cpp
ai_attack.cpp
ai_actions.cpp
ai_configuration.cpp
ai_manager.cpp
ai_move.cpp

30
src/ai_actions.cpp Normal file
View file

@ -0,0 +1,30 @@
/* $Id: ai_actions.cpp $ */
/*
Copyright (C) 2009 by Yurii Chernyi <terraninfo@terraninfo.net>
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2
or at your option any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY.
See the COPYING file for more details.
*/
/**
* Managing the AI-Game interaction - AI actions and their results
* @file ai_actions.cpp
*/
#include "ai_actions.hpp"
#define DBG_AI_ACTIONS LOG_STREAM(debug, ai_actions)
#define LOG_AI_ACTIONS LOG_STREAM(info, ai_actions)
#define WRN_AI_ACTIONS LOG_STREAM(warn, ai_actions)
#define ERR_AI_ACTIONS LOG_STREAM(err, ai_actions)
// =======================================================================
//
// =======================================================================

29
src/ai_actions.hpp Normal file
View file

@ -0,0 +1,29 @@
/* $Id: ai_actions.hpp $ */
/*
Copyright (C) 2009 by Yurii Chernyi <terraninfo@terraninfo.net>
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2
or at your option any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY.
See the COPYING file for more details.
*/
/**
* Managing the AI-Game interaction - AI actions and their results
* @file ai_actions.hpp
* */
#ifndef AI_ACTIONS_HPP_INCLUDED
#define AI_ACTIONS_HPP_INCLUDED
#include "global.hpp"
// =======================================================================
//
// =======================================================================
#endif