Bug #1999 ยป 1999_Main.patch
| client/gui-gtk-5.0/menu.c | ||
|---|---|---|
|
static void help_policies_callback(GSimpleAction *action,
|
||
|
GVariant *parameter,
|
||
|
gpointer data);
|
||
|
static void help_counters_callback(GSimpleAction *action,
|
||
|
GVariant *parameter,
|
||
|
gpointer data);
|
||
|
static void help_terrain_callback(GSimpleAction *action,
|
||
|
GVariant *parameter,
|
||
|
gpointer data);
|
||
| ... | ... | |
|
{ "HELP_COMBAT", N_("Combat"),
|
||
|
"help_combat", NULL, MGROUP_SAFE,
|
||
|
NULL, FALSE },
|
||
|
{ "HELP_COUNTERS", N_("Counters"),
|
||
|
"help_counters", NULL, MGROUP_SAFE,
|
||
|
NULL, FALSE },
|
||
|
{ "HELP_ZOC", N_("Zones of Control"),
|
||
|
"help_zoc", NULL, MGROUP_SAFE,
|
||
|
NULL, FALSE },
|
||
| ... | ... | |
|
{ "help_overview", help_overview_callback },
|
||
|
{ "help_playing", help_playing_callback },
|
||
|
{ "help_policies", help_policies_callback },
|
||
|
{ "help_counters", help_counters_callback },
|
||
|
{ "help_terrains", help_terrain_callback },
|
||
|
{ "help_economy", help_economy_callback },
|
||
|
{ "help_cities", help_cities_callback },
|
||
| ... | ... | |
|
/************************************************************************//**
|
||
|
Item "HELP_POLICIES" callback.
|
||
|
Multipliers (aka policies)
|
||
|
****************************************************************************/
|
||
|
static void help_policies_callback(GSimpleAction *action,
|
||
|
GVariant *parameter,
|
||
| ... | ... | |
|
popup_help_dialog_string(HELP_MULTIPLIER_ITEM);
|
||
|
}
|
||
|
/************************************************************************//**
|
||
|
Item "HELP_COUNTERS" callback.
|
||
|
****************************************************************************/
|
||
|
static void help_counters_callback(GSimpleAction *action,
|
||
|
GVariant *parameter,
|
||
|
gpointer data)
|
||
|
{
|
||
|
popup_help_dialog_string(HELP_COUNTER_ITEM);
|
||
|
}
|
||
|
/************************************************************************//**
|
||
|
Item "HELP_TERRAIN" callback.
|
||
|
****************************************************************************/
|
||
| ... | ... | |
|
menu_entry_init(topmenu, "HELP_WONDERS");
|
||
|
menu_entry_init(topmenu, "HELP_UNITS");
|
||
|
menu_entry_init(topmenu, "HELP_COMBAT");
|
||
|
menu_entry_init(topmenu, "HELP_COUNTERS");
|
||
|
menu_entry_init(topmenu, "HELP_ZOC");
|
||
|
menu_entry_init(topmenu, "HELP_GOVERNMENT");
|
||
|
menu_entry_init(topmenu, "HELP_DIPLOMACY");
|
||