Freeciv-3.2: /fast/freeciv/nightly/S3_2/common/calendar.h Source File

Freeciv-3.2

Loading...
Searching...
No Matches
calendar.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__CALENDAR_H
14#define FC__CALENDAR_H
15
16#ifdef __cplusplus
17extern "C" {
18#endif /* __cplusplus */
19
20#define FIRST_TURN 1
21
22struct packet_game_info;
23
24void game_next_year(struct packet_game_info *info);
25void game_advance_year(void);
26
27const char *textcalfrag(int frag);
28const char *textyear(int year);
29const char *calendar_text(void);
30
31#ifdef __cplusplus
32}
33#endif /* __cplusplus */
34
35#endif /* FC__CALENDAR_H */
game_advance_year
void game_advance_year(void)
Definition calendar.c:91
textcalfrag
const char * textcalfrag(int frag)
Definition calendar.c:101
calendar_text
const char * calendar_text(void)
Definition calendar.c:141
game_next_year
void game_next_year(struct packet_game_info *info)
Definition calendar.c:30
textyear
const char * textyear(int year)
Definition calendar.c:120
incite_cost
char * incite_cost
Definition comments.c:74
packet_game_info
Definition packets_gen.h:115
packet_game_info::year
int year
Definition packets_gen.h:243