Freeciv-3.1
Loading...
Searching...
No Matches
dialogs.c
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#ifdef HAVE_CONFIG_H
15#include <fc_config.h>
16#endif
17
18/* common */
19#include "game.h"
20#include "government.h"
21
22/* gui main header */
23#include "gui_stub.h"
24
25#include "dialogs.h"
26
27/**********************************************************************/
32void popup_notify_goto_dialog(const char *headline, const char *lines,
33 const struct text_tag_list *tags,
34 struct tile *ptile)
35{
36 /* PORTME */
37}
38
39/**********************************************************************/
42void popup_connect_msg(const char *headline, const char *message)
43{
44 /* PORTME */
45}
46
47/**********************************************************************/
50void popup_notify_dialog(const char *caption, const char *headline,
51 const char *lines)
52{
53 /* PORTME */
54}
55
56/**********************************************************************/
59void popup_races_dialog(struct player *pplayer)
60{
61 /* PORTME */
62}
63
64/**********************************************************************/
69{
70 /* PORTME */
71}
72
73/**********************************************************************/
76void unit_select_dialog_popup(struct tile *ptile)
77{
78 /* PORTME */
79}
80
81/**********************************************************************/
85{
86 /* PORTME */
87}
88
89/**********************************************************************/
92void races_update_pickable(bool nationset_change)
93{
94 /* PORTME */
95}
96
97/**********************************************************************/
102{
103 /* PORTME */
104}
105
106/**********************************************************************/
110{
111 /* PORTME */
112}
113
114/**********************************************************************/
119 struct city *target_city,
120 struct unit *target_unit,
121 struct tile *target_tile,
122 struct extra_type *target_extra,
123 const struct act_prob *act_probs)
124{
125 /* PORTME */
126}
127
128/**********************************************************************/
132void popup_incite_dialog(struct unit *actor, struct city *pcity, int cost,
133 const struct action *paction)
134{
135 /* PORTME */
136}
137
138/**********************************************************************/
142void popup_bribe_dialog(struct unit *actor, struct unit *punit, int cost,
143 const struct action *paction)
144{
145 /* PORTME */
146}
147
148/**********************************************************************/
152void popup_sabotage_dialog(struct unit *actor, struct city *pcity,
153 const struct action *paction)
154{
155 /* PORTME */
156}
157
158/***********************************************************************/
161void popup_upgrade_dialog(struct unit_list *punits)
162{
163 /* PORTME */
164}
165
166/**********************************************************************/
170void popup_pillage_dialog(struct unit *punit, bv_extras may_pillage)
171{
172 /* PORTME */
173}
174
175/**********************************************************************/
178void popup_disband_dialog(struct unit_list *punits)
179{
180 /* PORTME */
181}
182
183/**********************************************************************/
188{
189 /* PORTME */
190}
191
192/**********************************************************************/
197{
198 /* PORTME */
199}
200
201/**********************************************************************/
206{
207 /* PORTME */
208}
209
210/**********************************************************************/
214bool popup_theme_suggestion_dialog(const char *theme_name)
215{
216 /* PORTME */
217 return FALSE;
218}
219
220/**********************************************************************/
225{
226 /* PORTME */
227}
228
229/**********************************************************************/
235{
236 /* PORTME */
238}
239
240/**********************************************************************/
247{
248 /* PORTME */
250}
251
252/**********************************************************************/
259{
260 /* PORTME */
262}
263
264/**********************************************************************/
271{
272 /* PORTME */
273 return TILE_INDEX_NONE;
274}
275
276/**********************************************************************/
283{
284 /* PORTME */
285 return EXTRA_NONE;
286}
287
288/**********************************************************************/
292 struct city *target_city,
293 struct unit *target_unit,
294 struct tile *target_tile,
295 struct extra_type *target_extra,
296 const struct act_prob *act_probs)
297{
298 /* TODO: port me. */
299}
300
301/**********************************************************************/
305{
306 /* PORTME */
307}
308
309/**********************************************************************/
316{
317 /* PORTME */
318}
319
320/**********************************************************************/
324{
325 /* PORTME */
326}
327
328/**********************************************************************/
331void show_tileset_error(bool fatal, const char *tset_name, const char *msg)
332{
333 /* PORTME */
334}
335
336/**********************************************************************/
341{
342 /* Just tell the client common code to handle this. */
343 return FALSE;
344}
345
346/**********************************************************************/
349bool gui_request_transport(struct unit *pcargo, struct tile *ptile)
350{
351 return FALSE; /* Unit was not handled here. */
352}
353
354/**********************************************************************/
358void gui_popup_combat_info(int attacker_unit_id, int defender_unit_id,
359 int attacker_hp, int defender_hp,
360 bool make_att_veteran, bool make_def_veteran)
361{
362}
struct unit struct city struct unit * target_unit
Definition dialogs_g.h:55
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 int const struct action *paction show_tileset_error
Definition dialogs_g.h:84
popup_action_selection
Definition dialogs_g.h:54
struct unit * actor_unit
Definition dialogs_g.h:54
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id popup_bribe_dialog
Definition dialogs_g.h:72
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit * actor
Definition dialogs_g.h:72
const char * caption
Definition dialogs_g.h:36
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs action_selection_no_longer_in_progress_gui_specific
Definition dialogs_g.h:68
const char const char * headline
Definition dialogs_g.h:37
popup_notify_dialog
Definition dialogs_g.h:36
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 int const struct action *paction bool fatal
Definition dialogs_g.h:85
struct unit struct city struct unit struct tile * target_tile
Definition dialogs_g.h:56
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:73
struct unit struct city * target_city
Definition dialogs_g.h:55
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 int cost
Definition dialogs_g.h:73
struct unit struct city struct unit struct tile struct extra_type * target_extra
Definition dialogs_g.h:56
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 int const struct action *paction bool const char * tset_name
Definition dialogs_g.h:85
#define EXTRA_NONE
Definition extras.h:82
int Tech_type_id
Definition fc_types.h:347
#define IDENTITY_NUMBER_ZERO
Definition fc_types.h:82
void unit_select_dialog_popup(struct tile *ptile)
Definition dialogs.c:382
void popup_upgrade_dialog(struct unit_list *punits)
Definition dialogs.c:1444
void races_update_pickable(bool nationset_change)
Definition dialogs.c:737
void popup_notify_goto_dialog(const char *headline, const char *lines, const struct text_tag_list *tags, struct tile *ptile)
Definition dialogs.c:194
void show_tech_gained_dialog(Tech_type_id tech)
Definition dialogs.c:1533
void popup_races_dialog(struct player *pplayer)
Definition dialogs.c:1223
void popup_disband_dialog(struct unit_list *punits)
Definition dialogs.c:1482
void popdown_races_dialog(void)
Definition dialogs.c:1238
void popup_pillage_dialog(struct unit *punit, bv_extras extras)
Definition dialogs.c:343
void popup_connect_msg(const char *headline, const char *message)
Definition dialogs.c:243
void unit_select_dialog_update_real(void *unused)
Definition dialogs.c:391
void races_toggles_set_sensitive(void)
Definition dialogs.c:1253
void popdown_all_game_dialogs(void)
Definition dialogs.c:1523
void popup_musicset_suggestion_dialog(void)
Definition dialogs.c:3635
void popup_soundset_suggestion_dialog(void)
Definition dialogs.c:3627
void popup_tileset_suggestion_dialog(void)
Definition dialogs.c:3619
bool popup_theme_suggestion_dialog(const char *theme_name)
Definition dialogs.c:3643
int action_selection_target_extra(void)
Definition dialogs.c:282
int action_selection_target_tile(void)
Definition dialogs.c:270
int action_selection_actor_unit(void)
Definition dialogs.c:234
void popup_revolution_dialog(void)
Definition dialogs.c:109
void action_selection_close(void)
Definition dialogs.c:304
int action_selection_target_city(void)
Definition dialogs.c:246
bool gui_request_transport(struct unit *pcargo, struct tile *ptile)
Definition dialogs.c:349
bool gui_handmade_scenario_warning(void)
Definition dialogs.c:340
void action_selection_refresh(struct unit *actor_unit, struct city *target_city, struct unit *target_unit, struct tile *target_tile, struct extra_type *target_extra, const struct act_prob *act_probs)
Definition dialogs.c:291
void gui_popup_combat_info(int attacker_unit_id, int defender_unit_id, int attacker_hp, int defender_hp, bool make_att_veteran, bool make_def_veteran)
Definition dialogs.c:358
void popup_sabotage_dialog(struct unit *actor, struct city *pcity, const struct action *paction)
Definition dialogs.c:152
int action_selection_target_unit(void)
Definition dialogs.c:258
void popup_incite_dialog(struct unit *actor, struct city *pcity, int cost, const struct action *paction)
Definition dialogs.c:132
char * lines
Definition packhand.c:129
Definition city.h:309
Definition tile.h:49
Definition unit.h:138
#define FALSE
Definition support.h:47
#define TILE_INDEX_NONE
Definition tile.h:47