The Battle for Wesnoth  1.19.7+dev
Static Public Member Functions | Static Protected Member Functions | List of all members
ai_testing Class Reference

#include <testing.hpp>

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 (const std::set< 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 24 of file testing.hpp.

Member Function Documentation

◆ log_draw()

void ai_testing::log_draw ( )
static

Definition at line 75 of file testing.cpp.

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

Referenced by play_controller::check_time_over().

◆ log_game_end()

void ai_testing::log_game_end ( )
static

◆ log_game_start()

void ai_testing::log_game_start ( )
static

◆ log_turn()

void ai_testing::log_turn ( const char *  msg,
unsigned int  side 
)
staticprotected

◆ log_turn_end()

void ai_testing::log_turn_end ( unsigned int  side)
static

Definition at line 40 of file testing.cpp.

References log_turn().

◆ log_turn_start()

void ai_testing::log_turn_start ( unsigned int  side)
static

Definition at line 35 of file testing.cpp.

References log_turn().

◆ log_victory()

void ai_testing::log_victory ( const std::set< unsigned int > &  teams)
static

Definition at line 81 of file testing.cpp.

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

Referenced by play_controller::check_victory().


The documentation for this class was generated from the following files: