Freeciv-3.1: /fast/freeciv/nightly/S3_1/client/include/helpdlg_g.h Source File

Freeciv-3.1

Loading...
Searching...
No Matches
helpdlg_g.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#ifndef FC__HELPDLG_G_H
14#define FC__HELPDLG_G_H
15
16#include "gui_proto_constructor.h"
17
18/* This must be in same order as names in helpdata.c.
19 * Update also help_type_by_requirement() when adding new types. */
20 enum help_page_type { HELP_ANY, HELP_TEXT, HELP_UNIT, HELP_IMPROVEMENT,
21 HELP_WONDER, HELP_TECH, HELP_TERRAIN, HELP_EXTRA,
22 HELP_GOODS, HELP_SPECIALIST, HELP_GOVERNMENT,
23 HELP_RULESET, HELP_TILESET, HELP_NATIONS,
24 HELP_MULTIPLIER, HELP_LAST };
25
26 GUI_FUNC_PROTO(void, popup_help_dialog_string, const char *item)
27 GUI_FUNC_PROTO(void, popup_help_dialog_typed, const char *item,
28 enum help_page_type)
29 GUI_FUNC_PROTO(void, popdown_help_dialog, void)
30
31/* TRANS: "Overview" topic in built-in help */
32#define HELP_OVERVIEW_ITEM N_("?help:Overview")
33#define HELP_PLAYING_ITEM N_("Strategy and Tactics")
34#define HELP_LANGUAGES_ITEM N_("Languages")
35#define HELP_CONNECTING_ITEM N_("Connecting")
36#define HELP_CHATLINE_ITEM N_("Chatline")
37#define HELP_WORKLIST_EDITOR_ITEM N_("Worklist Editor")
38#define HELP_CMA_ITEM N_("Citizen Governor")
39#define HELP_CONTROLS_ITEM N_("Controls")
40#define HELP_RULESET_ITEM N_("About Current Ruleset")
41#define HELP_TILESET_ITEM N_("About Current Tileset")
42#define HELP_NATIONS_ITEM N_("About Nations")
43#define HELP_ECONOMY_ITEM N_("Economy")
44#define HELP_CITIES_ITEM N_("Cities")
45#define HELP_IMPROVEMENTS_ITEM N_("City Improvements")
46#define HELP_UNITS_ITEM N_("Units")
47#define HELP_COMBAT_ITEM N_("Combat")
48#define HELP_ZOC_ITEM N_("Zones of Control")
49#define HELP_TECHS_ITEM N_("Technology")
50#define HELP_EXTRAS_ITEM N_("Extras")
51#define HELP_TERRAIN_ITEM N_("Terrain")
52#define HELP_WONDERS_ITEM N_("Wonders of the World")
53#define HELP_GOVERNMENT_ITEM N_("Government")
54#define HELP_DIPLOMACY_ITEM N_("Diplomacy")
55#define HELP_SPACE_RACE_ITEM N_("Space Race")
56#define HELP_COPYING_ITEM N_("Copying")
57#define HELP_ABOUT_ITEM N_("About Freeciv")
58#define HELP_MULTIPLIER_ITEM N_("Policies")
59
60#endif /* FC__HELPDLG_G_H */
popdown_help_dialog
void popdown_help_dialog(void)
Definition helpdlg.c:185
popup_help_dialog_string
void popup_help_dialog_string(const char *item)
Definition helpdlg.c:211
popup_help_dialog_typed
void popup_help_dialog_typed(const char *item, enum help_page_type htype)
Definition helpdlg.c:195
gui_proto_constructor.h
GUI_FUNC_PROTO
#define GUI_FUNC_PROTO(_type, _func,...)
Definition gui_proto_constructor.h:22
help_page_type
help_page_type
Definition helpdlg_g.h:20
HELP_ANY
@ HELP_ANY
Definition helpdlg_g.h:20
HELP_MULTIPLIER
@ HELP_MULTIPLIER
Definition helpdlg_g.h:24
HELP_TERRAIN
@ HELP_TERRAIN
Definition helpdlg_g.h:21
HELP_EXTRA
@ HELP_EXTRA
Definition helpdlg_g.h:21
HELP_NATIONS
@ HELP_NATIONS
Definition helpdlg_g.h:23
HELP_LAST
@ HELP_LAST
Definition helpdlg_g.h:24
HELP_IMPROVEMENT
@ HELP_IMPROVEMENT
Definition helpdlg_g.h:20
HELP_UNIT
@ HELP_UNIT
Definition helpdlg_g.h:20
HELP_SPECIALIST
@ HELP_SPECIALIST
Definition helpdlg_g.h:22
HELP_GOVERNMENT
@ HELP_GOVERNMENT
Definition helpdlg_g.h:22
HELP_GOODS
@ HELP_GOODS
Definition helpdlg_g.h:22
HELP_WONDER
@ HELP_WONDER
Definition helpdlg_g.h:21
HELP_TECH
@ HELP_TECH
Definition helpdlg_g.h:21
HELP_RULESET
@ HELP_RULESET
Definition helpdlg_g.h:23
HELP_TEXT
@ HELP_TEXT
Definition helpdlg_g.h:20
HELP_TILESET
@ HELP_TILESET
Definition helpdlg_g.h:23
item
Definition climisc.h:80