Bug #2506 » 0001-Add-update_diplomacy_gold-client-GUI-hook-main.patch
| client/gui-gtk-3.22/diplodlg.c | ||
|---|---|---|
|
}
|
||
|
}
|
||
|
/************************************************************************//**
|
||
|
Player's gold may have changed
|
||
|
****************************************************************************/
|
||
|
void update_diplomacy_gold(struct player *pplayer)
|
||
|
{
|
||
|
/* PORTME */
|
||
|
}
|
||
|
/************************************************************************//**
|
||
|
Close all dialogs, for when client disconnects from game.
|
||
|
****************************************************************************/
|
||
| client/gui-gtk-4.0/diplodlg.c | ||
|---|---|---|
|
}
|
||
|
}
|
||
|
/************************************************************************//**
|
||
|
Player's gold may have changed
|
||
|
****************************************************************************/
|
||
|
void update_diplomacy_gold(struct player *pplayer)
|
||
|
{
|
||
|
/* PORTME */
|
||
|
}
|
||
|
/************************************************************************//**
|
||
|
Close all dialogs, for when client disconnects from game.
|
||
|
****************************************************************************/
|
||
| client/gui-gtk-5.0/diplodlg.c | ||
|---|---|---|
|
}
|
||
|
}
|
||
|
/************************************************************************//**
|
||
|
Player's gold may have changed
|
||
|
****************************************************************************/
|
||
|
void update_diplomacy_gold(struct player *pplayer)
|
||
|
{
|
||
|
/* PORTME */
|
||
|
}
|
||
|
/************************************************************************//**
|
||
|
Close all dialogs, for when client disconnects from game.
|
||
|
****************************************************************************/
|
||
| client/gui-qt/diplodlg.cpp | ||
|---|---|---|
|
dd->close();
|
||
|
delete dd;
|
||
|
}
|
||
|
/************************************************************************//**
|
||
|
Player's gold may have changed.
|
||
|
****************************************************************************/
|
||
|
void update_diplomacy_gold(struct player *pplayer)
|
||
|
{
|
||
|
/* PORTME */
|
||
|
}
|
||
| client/gui-sdl2/diplodlg.c | ||
|---|---|---|
|
flush_dirty();
|
||
|
}
|
||
|
}
|
||
|
/**********************************************************************//**
|
||
|
Player's gold may have changed.
|
||
|
**************************************************************************/
|
||
|
void update_diplomacy_gold(struct player *pplayer)
|
||
|
{
|
||
|
/* PORTME */
|
||
|
}
|
||
| client/gui-sdl3/diplodlg.c | ||
|---|---|---|
|
flush_dirty();
|
||
|
}
|
||
|
}
|
||
|
/**********************************************************************//**
|
||
|
Player's gold may have changed.
|
||
|
**************************************************************************/
|
||
|
void update_diplomacy_gold(struct player *pplayer)
|
||
|
{
|
||
|
/* PORTME */
|
||
|
}
|
||
| client/gui-stub/diplodlg.c | ||
|---|---|---|
|
{
|
||
|
/* PORTME */
|
||
|
}
|
||
|
/**********************************************************************//**
|
||
|
Player's gold may have changed.
|
||
|
**************************************************************************/
|
||
|
void update_diplomacy_gold(struct player *pplayer)
|
||
|
{
|
||
|
/* PORTME */
|
||
|
}
|
||
| client/include/diplodlg_g.h | ||
|---|---|---|
|
struct player *they)
|
||
|
GUI_FUNC_PROTO(void, close_all_diplomacy_dialogs, void)
|
||
|
GUI_FUNC_PROTO(void, update_diplomacy_gold, struct player *pplayer)
|
||
|
#endif /* FC__DIPLODLG_G_H */
|
||
| client/packhand.c | ||
|---|---|---|
|
#include "cityrep_g.h"
|
||
|
#include "connectdlg_g.h"
|
||
|
#include "dialogs_g.h"
|
||
|
#include "diplodlg_g.h"
|
||
|
#include "editgui_g.h"
|
||
|
#include "gui_main_g.h"
|
||
|
#include "inteldlg_g.h"
|
||
| ... | ... | |
|
/* Just about any changes above require an update to the intelligence
|
||
|
* dialog. */
|
||
|
update_intel_dialog(pplayer);
|
||
|
update_diplomacy_gold(pplayer);
|
||
|
}
|
||
|
editgui_refresh();
|
||
- « Previous
- 1
- 2
- Next »