Replaced typo that caused unnecessary regeneration of fc_gitrev_gen.h
[freeciv.git] / client / text.h
blobc48ea2598ab26f4f6f39f0051b7e47d2c765d60f
1 /**********************************************************************
2 Freeciv - Copyright (C) 2004 - The Freeciv Project
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.
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 ***********************************************************************/
14 #ifndef FC__TEXT_H
15 #define FC__TEXT_H
17 #ifdef __cplusplus
18 extern "C" {
19 #endif /* __cplusplus */
21 #include "fc_types.h"
22 #include "unitlist.h"
24 struct player_spaceship;
26 /****************************************************************************
27 These functions return static strings with generally useful text.
28 ****************************************************************************/
29 const char *get_tile_output_text(const struct tile *ptile);
30 const char *popup_info_text(struct tile *ptile);
31 const char *get_nearest_city_text(struct city *pcity, int sq_dist);
32 const char *unit_description(struct unit *punit);
33 const char *get_airlift_text(const struct unit_list *punits,
34 const struct city *pdest);
35 const char *science_dialog_text(void);
36 const char *get_science_target_text(double *percent);
37 const char *get_science_goal_text(Tech_type_id goal);
38 const char *get_info_label_text(bool moreinfo);
39 const char *get_info_label_text_popup(void);
40 const char *get_bulb_tooltip(void);
41 const char *get_global_warming_tooltip(void);
42 const char *get_nuclear_winter_tooltip(void);
43 const char *get_government_tooltip(void);
44 const char *get_unit_info_label_text1(struct unit_list *punits);
45 const char *get_unit_info_label_text2(struct unit_list *punits, int linebreaks);
46 bool get_units_upgrade_info(char *buf, size_t bufsz,
47 struct unit_list *punits);
48 bool get_units_disband_info(char *buf, size_t bufsz,
49 struct unit_list *punits);
50 const char *get_spaceship_descr(struct player_spaceship *pship);
51 const char *get_timeout_label_text(void);
52 const char *format_duration(int duration);
53 const char *get_ping_time_text(const struct player *pplayer);
54 const char *get_score_text(const struct player *pplayer);
55 const char *get_report_title(const char *report_name);
57 const char *text_happiness_buildings(const struct city *pcity);
58 const char *text_happiness_nationality(const struct city *pcity);
59 const char *text_happiness_cities(const struct city *pcity);
60 const char *text_happiness_luxuries(const struct city *pcity);
61 const char *text_happiness_units(const struct city *pcity);
62 const char *text_happiness_wonders(const struct city *pcity);
64 #ifdef __cplusplus
66 #endif /* __cplusplus */
68 #endif /* FC__TEXT_H */