Freeciv-3.2
Loading...
Searching...
No Matches
dialogs.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
14/***********************************************************************
15 dialogs.h - description
16 -------------------
17 begin : Wed Jul 24 2002
18 copyright : (C) 2002 by Rafał Bursig
19 email : Rafał Bursig <bursig@poczta.fm>
20***********************************************************************/
21
22#ifndef FC__DIALOGS_H
23#define FC__DIALOGS_H
24
25/* SDL2 */
26#ifdef SDL2_PLAIN_INCLUDE
27#include <SDL.h>
28#else /* SDL2_PLAIN_INCLUDE */
29#include <SDL2/SDL.h>
30#endif /* SDL2_PLAIN_INCLUDE */
31
32#include "dialogs_g.h"
33
34struct widget;
35
36void popup_advanced_terrain_dialog(struct tile *ptile, Uint16 pos_x,
37 Uint16 pos_y);
39
40const char *sdl_get_tile_defense_info_text(struct tile *ptile);
41void put_window_near_map_tile(struct widget *pwindow,
43 struct tile *ptile);
44void popup_unit_upgrade_dlg(struct unit *punit, bool city);
45void popup_unit_disband_dlg(struct unit *punit, bool city);
48
49void nationset_changed(void);
50
51#endif /* FC__DIALOGS_H */
char * incite_cost
Definition comments.c:75
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
void put_window_near_map_tile(struct widget *pwindow, int window_width, int window_height, struct tile *ptile)
Definition dialogs.c:109
void popup_government_dialog(void)
Definition dialogs.c:2452
void popup_unit_disband_dlg(struct unit *punit, bool city)
Definition dialogs.c:878
void popdown_advanced_terrain_dialog(void)
Definition dialogs.c:1417
void popdown_notify_goto_dialog(void)
Definition dialogs.c:459
void nationset_changed(void)
Definition dialogs.c:3565
void popup_unit_upgrade_dlg(struct unit *punit, bool city)
Definition dialogs.c:683
const char * sdl_get_tile_defense_info_text(struct tile *ptile)
Definition dialogs.c:1306
void popup_advanced_terrain_dialog(struct tile *ptile, Uint16 pos_x, Uint16 pos_y)
Definition dialogs.c:1697
Definition city.h:320
Definition tile.h:50
Definition unit.h:138