Freeciv-3.3: /fast/freeciv/nightly/main/client/gui-sdl2/dialogs.h Source File

Freeciv-3.3

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);
38void popdown_advanced_terrain_dialog(void);
39
40const char *sdl_get_tile_defense_info_text(struct tile *ptile);
41void put_window_near_map_tile(struct widget *pwindow,
42 int window_width, int window_height,
43 struct tile *ptile);
44void popup_unit_upgrade_dlg(struct unit *punit, bool city);
45void popup_unit_disband_dlg(struct unit *punit, bool city);
46void popup_government_dialog(void);
47void popdown_notify_goto_dialog(void);
48
49void nationset_changed(void);
50
51#endif /* FC__DIALOGS_H */
incite_cost
char * incite_cost
Definition comments.c:74
dialogs_g.h
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
put_window_near_map_tile
void put_window_near_map_tile(struct widget *pwindow, int window_width, int window_height, struct tile *ptile)
Definition dialogs.c:109
popup_government_dialog
void popup_government_dialog(void)
Definition dialogs.c:2452
popup_unit_disband_dlg
void popup_unit_disband_dlg(struct unit *punit, bool city)
Definition dialogs.c:878
popdown_advanced_terrain_dialog
void popdown_advanced_terrain_dialog(void)
Definition dialogs.c:1417
popdown_notify_goto_dialog
void popdown_notify_goto_dialog(void)
Definition dialogs.c:459
nationset_changed
void nationset_changed(void)
Definition dialogs.c:3565
popup_unit_upgrade_dlg
void popup_unit_upgrade_dlg(struct unit *punit, bool city)
Definition dialogs.c:683
sdl_get_tile_defense_info_text
const char * sdl_get_tile_defense_info_text(struct tile *ptile)
Definition dialogs.c:1306
popup_advanced_terrain_dialog
void popup_advanced_terrain_dialog(struct tile *ptile, Uint16 pos_x, Uint16 pos_y)
Definition dialogs.c:1697
city
Definition city.h:320
tile
Definition tile.h:50
unit
Definition unit.h:140
widget
Definition widget.h:112