File: help.h

package info (click to toggle)
tworld 2.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 8,648 kB
  • sloc: ansic: 13,347; cpp: 3,175; perl: 2,465; makefile: 10
file content (49 lines) | stat: -rw-r--r-- 939 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/* help.h: Displaying online help screens.
 *
 * Copyright (C) 2001-2006 by Brian Raiter, under the GNU General Public
 * License. No warranty. See COPYING for details.
 */

#ifndef	HEADER_help_h_
#define	HEADER_help_h_

#ifdef __cplusplus
extern "C" {
#endif

/* The available help topics.
 */
enum {
    Help_None = 0,
    Help_First,
    Help_KeysDuringGame,
    Help_KeysBetweenGames,
    Help_FileListKeys,
    Help_ScoreListKeys,
    Help_ObjectsOfGame,
    Help_CmdlineOptions,
    Help_AboutGame
};

/* Help for the command-line options.
 */
extern tablespec const *yowzitch;

/* Version and license information.
 */
extern tablespec const *vourzhon;

/* Display online help screens for the game, using the given topic as
 * the default topic.
 */
extern void onlinemainhelp(int topic);

/* Display a single online help screen for the given topic.
 */
extern void onlinecontexthelp(int topic);

#ifdef __cplusplus
}
#endif

#endif