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/* SDL3 */
26#include <SDL3/SDL.h>
27
28/* client */
29#include "dialogs_g.h"
30
31struct widget;
32
33void popup_advanced_terrain_dialog(struct tile *ptile, Uint16 pos_x,
34 Uint16 pos_y);
36
37const char *sdl_get_tile_defense_info_text(struct tile *ptile);
38void put_window_near_map_tile(struct widget *pwindow,
40 struct tile *ptile);
41void popup_unit_upgrade_dlg(struct unit *punit, bool city);
42void popup_unit_disband_dlg(struct unit *punit, bool city);
45
46void nationset_changed(void);
47
48#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