Static Public Member Functions | Static Protected Member Functions

ai_testing Class Reference

#include <testing.hpp>

List of all members.

Static Public Member Functions

static void log_turn_start (unsigned int side)
static void log_turn_end (unsigned int side)
static void log_draw ()
static void log_victory (std::vector< unsigned int > teams)
static void log_game_start ()
static void log_game_end ()

Static Protected Member Functions

static void log_turn (const char *msg, unsigned int side)

Detailed Description

Definition at line 28 of file testing.hpp.


Member Function Documentation

void ai_testing::log_draw (  )  [static]

Definition at line 74 of file testing.cpp.

References replay::add_log_data(), LOG_AI_TESTING, and recorder.

Referenced by playsingle_controller::check_time_over().

Here is the call graph for this function:

Here is the caller graph for this function:

void ai_testing::log_game_end (  )  [static]

Definition at line 103 of file testing.cpp.

References replay::add_log_data(), LOG_AI_TESTING, recorder, side_units(), str_cast(), resources::teams, resources::tod_manager, and tod_manager::turn().

Referenced by playsingle_controller::play_scenario().

Here is the call graph for this function:

Here is the caller graph for this function:

void ai_testing::log_game_start (  )  [static]

Todo:
1.9: add information about ai_config

Definition at line 89 of file testing.cpp.

References replay::add_log_data(), ai::manager::get_active_ai_identifier_for_side(), LOG_AI_TESTING, recorder, game_config::revision, str_cast(), and resources::teams.

Referenced by playsingle_controller::play_scenario().

Here is the call graph for this function:

Here is the caller graph for this function:

void ai_testing::log_turn ( const char *  msg,
unsigned int  side 
) [static, protected]

Definition at line 44 of file testing.cpp.

References replay::add_log_data(), DBG_AI_TESTING, team::gold(), recorder, side_units(), side_units_cost(), resources::tod_manager, team::total_income(), tod_manager::turn(), and team::villages().

Referenced by log_turn_end(), and log_turn_start().

Here is the call graph for this function:

Here is the caller graph for this function:

void ai_testing::log_turn_end ( unsigned int  side  )  [static]

Definition at line 39 of file testing.cpp.

References log_turn().

Referenced by playsingle_controller::play_turn().

Here is the call graph for this function:

Here is the caller graph for this function:

void ai_testing::log_turn_start ( unsigned int  side  )  [static]

Definition at line 34 of file testing.cpp.

References log_turn().

Referenced by playsingle_controller::play_turn().

Here is the call graph for this function:

Here is the caller graph for this function:

void ai_testing::log_victory ( std::vector< unsigned int >  teams  )  [static]

Definition at line 80 of file testing.cpp.

References replay::add_log_data(), LOG_AI_TESTING, recorder, str_cast(), and w.

Referenced by play_controller::check_victory().

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:12:38 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs