Freeciv-3.2
|
#include <stdarg.h>
#include "astring.h"
#include "log.h"
#include "shared.h"
#include "support.h"
#include "timing.h"
#include "ai.h"
#include "city.h"
#include "game.h"
#include "map.h"
#include "nation.h"
#include "unit.h"
#include "notify.h"
#include "srv_main.h"
#include "advdata.h"
#include "srv_log.h"
Go to the source code of this file.
Macros | |
#define | AILOG_OUT(text, which) |
Functions | |
void | real_city_log (const char *file, const char *function, int line, enum log_level level, bool notify, const struct city *pcity, const char *msg,...) |
void | real_unit_log (const char *file, const char *function, int line, enum log_level level, bool notify, const struct unit *punit, const char *msg,...) |
void | timing_log_real (enum ai_timer timer, enum ai_timer_activity activity) |
void | timing_results_real (void) |
void | timing_log_init (void) |
void | timing_log_free (void) |
Variables | |
static struct timer * | aitimer [AIT_LAST][2] |
static int | recursion [AIT_LAST] |
void real_city_log | ( | const char * | file, |
const char * | function, | ||
int | line, | ||
enum log_level | level, | ||
bool | notify, | ||
const struct city * | pcity, | ||
const char * | msg, | ||
... | |||
) |
Log city messages, they will appear like this 2: Polish Romenna(5,35) [s1 d106 u11 g1] must have Archers ...
Free AI timing system resources
Definition at line 236 of file srv_log.c.
Referenced by server_quit().
void timing_log_real | ( | enum ai_timer | timer, |
enum ai_timer_activity | activity | ||
) |
Definition at line 44 of file srv_log.c.
Referenced by timing_log_free(), timing_log_init(), and timing_log_real().
Definition at line 45 of file srv_log.c.
Referenced by auto_settler_findwork(), auto_settler_setup_work(), calculate_overview_dimensions(), CONV_FUNC_STATIC(), download_modpack_recursive(), package_city(), timing_log_init(), and timing_log_real().