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,
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 */
const char * concat_tile_activity_text(struct tile *ptile)
int turns_to_activity_done(const struct tile *ptile, Activity_type_id act, const struct extra_type *tgt, const struct unit *pnewunit)
enum unit_activity Activity_type_id
Definition fc_types.h:349
Definition tile.h:49
Definition unit.h:138