Freeciv-3.2
Loading...
Searching...
No Matches
common
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
17
extern
"C"
{
18
#endif
/* __cplusplus */
19
20
#define FIRST_TURN 1
21
22
struct
packet_game_info
;
23
24
void
game_next_year
(
struct
packet_game_info
*info);
25
void
game_advance_year
(
void
);
26
27
const
char
*
textcalfrag
(
int
frag
);
28
const
char
*
textyear
(
int
year
);
29
const
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:75
packet_game_info
Definition
packets_gen.h:113
packet_game_info::year
int year
Definition
packets_gen.h:241
Generated on Sun Dec 22 2024 23:00:33 for Freeciv-3.2 by
1.9.8