Freeciv-3.2: /fast/freeciv/nightly/S3_2/client/include/mapctrl_g.h Source File

Freeciv-3.2

Loading...
Searching...
No Matches
mapctrl_g.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__MAPCTRL_G_H
14#define FC__MAPCTRL_G_H
15
16/* utility */
17#include "support.h" /* bool type */
18
19/* common */
20#include "fc_types.h"
21
22/* client */
23#include "mapctrl_common.h"
24
25#include "gui_proto_constructor.h"
26
27 GUI_FUNC_PROTO(void, popup_newcity_dialog, struct unit *punit,
28 const char *suggestname)
29
30 GUI_FUNC_PROTO(void, set_turn_done_button_state, bool state)
31
32 GUI_FUNC_PROTO(void, create_line_at_mouse_pos, void)
33 GUI_FUNC_PROTO(void, update_rect_at_mouse_pos, void)
34
35#endif /* FC__MAPCTRL_G_H */
incite_cost
char * incite_cost
Definition comments.c:74
punit
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit * punit
Definition dialogs_g.h:74
fc_types.h
popup_newcity_dialog
void popup_newcity_dialog(struct unit *punit, const char *suggestname)
Definition mapctrl.c:197
create_line_at_mouse_pos
void create_line_at_mouse_pos(void)
Definition mapctrl.c:355
set_turn_done_button_state
void set_turn_done_button_state(bool state)
Definition mapctrl.c:210
update_rect_at_mouse_pos
void update_rect_at_mouse_pos(void)
Definition mapctrl.c:380
gui_proto_constructor.h
GUI_FUNC_PROTO
#define GUI_FUNC_PROTO(_type, _func,...)
Definition gui_proto_constructor.h:22
mapctrl_common.h
unit
Definition unit.h:138
support.h