Freeciv-3.3
Loading...
Searching...
No Matches
report.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12***********************************************************************/
13#ifndef FC__REPORT_H
14#define FC__REPORT_H
15
16/* uility */
17#include "support.h" /* bool type */
18
19struct connection;
20struct conn_list;
21
22#define REPORT_TITLESIZE 1024
23#define REPORT_BODYSIZE (128 * MAX_NUM_PLAYER_SLOTS)
24
31
32void log_civ_score_init(void);
33void log_civ_score_free(void);
34void log_civ_score_now(void);
35
36void make_history_report(void);
37void send_current_history_report(struct conn_list *dest);
38void report_wonders_of_the_world(struct conn_list *dest);
40void report_top_cities(struct conn_list *dest);
41bool is_valid_demography(const char *demography, int *error);
44void report_final_scores(struct conn_list *dest);
45int get_tag_score(const char *tag, const struct player *pplayer);
46
48
49#endif /* FC__REPORT_H */
char * incite_cost
Definition comments.c:76
void report_final_scores(struct conn_list *dest)
Definition report.c:1724
#define REPORT_BODYSIZE
Definition report.h:23
void send_current_history_report(struct conn_list *dest)
Definition report.c:381
void report_wonders_of_the_world(struct conn_list *dest)
Definition report.c:604
void report_demographics(struct connection *pconn)
Definition report.c:1205
void report_wonders_of_the_world_long(struct conn_list *dest)
Definition report.c:493
int get_tag_score(const char *tag, const struct player *pplayer)
Definition report.c:1867
struct history_report * history_report_get(void)
Definition report.c:1859
void make_history_report(void)
Definition report.c:1702
void log_civ_score_free(void)
Definition report.c:1514
bool is_valid_demography(const char *demography, int *error)
Definition report.c:1158
void report_top_cities(struct conn_list *dest)
Definition report.c:410
void log_civ_score_init(void)
Definition report.c:1491
void report_achievements(struct connection *pconn)
Definition report.c:1269
#define REPORT_TITLESIZE
Definition report.h:22
void log_civ_score_now(void)
Definition report.c:1544
char title[REPORT_TITLESIZE]
Definition report.h:28
char body[REPORT_BODYSIZE]
Definition report.h:29