Freeciv-3.1: /fast/freeciv/nightly/S3_1/common/clientutils.h Source File

Freeciv-3.1

Loading...
Searching...
No Matches
clientutils.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__CLIENTUTILS_H
14#define FC__CLIENTUTILS_H
15
16#ifdef __cplusplus
17extern "C" {
18#endif /* __cplusplus */
19
20/* common */
21#include "fc_types.h"
22
23struct extra_type;
24struct tile;
25struct unit;
26
27int turns_to_activity_done(const struct tile *ptile,
28 Activity_type_id act,
29 const struct extra_type *tgt,
30 const struct unit *pnewunit);
31const char *concat_tile_activity_text(struct tile *ptile);
32
33#ifdef __cplusplus
34}
35#endif /* __cplusplus */
36
37#endif /* FC__CLIENTUTILS_H */
concat_tile_activity_text
const char * concat_tile_activity_text(struct tile *ptile)
Definition clientutils.c:236
turns_to_activity_done
int turns_to_activity_done(const struct tile *ptile, Activity_type_id act, const struct extra_type *tgt, const struct unit *pnewunit)
Definition clientutils.c:203
fc_types.h
Activity_type_id
enum unit_activity Activity_type_id
Definition fc_types.h:349
extra_type
Definition extras.h:85
tile
Definition tile.h:49
unit
Definition unit.h:138