#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) |
Definition at line 24 of file testing.hpp.
|
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().
|
static |
Definition at line 101 of file testing.cpp.
References replay::add_log_data(), resources::gameboard, LOG_AI_TESTING, resources::recorder, resources::tod_manager, and tod_manager::turn().
Referenced by playsingle_controller::do_end_level().
|
static |
Definition at line 90 of file testing.cpp.
References replay::add_log_data(), resources::gameboard, ai::manager::get_active_ai_identifier_for_side(), ai::manager::get_singleton(), LOG_AI_TESTING, resources::recorder, and game_config::revision.
Referenced by playsingle_controller::play_scenario_main_loop().
|
staticprotected |
Definition at line 45 of file testing.cpp.
References replay::add_log_data(), c, DBG_AI_TESTING, resources::gameboard, game_board::get_team(), team::gold(), wfl::msg(), resources::recorder, display_context::side_units(), display_context::side_units_cost(), resources::tod_manager, team::total_income(), tod_manager::turn(), and team::villages().
Referenced by log_turn_end(), and log_turn_start().
|
static |
Definition at line 40 of file testing.cpp.
References log_turn().
|
static |
Definition at line 35 of file testing.cpp.
References log_turn().
|
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().