Freeciv-3.1
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
void
game_next_year
(
struct
packet_game_info
*info);
24
void
game_advance_year
(
void
);
25
26
const
char
*
textcalfrag
(
int
frag);
27
const
char
*
textyear
(
int
year
);
28
const
char
*
calendar_text
(
void
);
29
30
#ifdef __cplusplus
31
}
32
#endif
/* __cplusplus */
33
34
#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
packet_game_info
Definition
packets_gen.h:119
packet_game_info::year
int year
Definition
packets_gen.h:243
Generated on Sun Jan 5 2025 22:00:34 for Freeciv-3.1 by
1.9.8