Debian Codegraph @

src/borg/borg5.h

raw symbols SCIP
1 /* File: borg5.h */
2 /* Purpose: Header file for "borg5.c" -BEN- */
3
4 #ifndef INCLUDED_BORG5_H
5 #define INCLUDED_BORG5_H
6
7 #include "angband.h"
8 #include "obj-tval.h"
9 #include "cave.h"
10
11 #ifdef ALLOW_BORG
12
13 /*
14 * This file provides support for "borg5.c".
15 */
16
17 #include "borg1.h"
18 #include "borg2.h"
19 #include "borg3.h"
20
21 /*
22 * Possible values of "goal"
23 */
24 #define GOAL_KILL 1 /* Monsters */
25 #define GOAL_TAKE 2 /* Objects */
26 #define GOAL_MISC 3 /* Stores */
27 #define GOAL_DARK 4 /* Exploring */
28 #define GOAL_XTRA 5 /* Searching */
29 #define GOAL_BORE 6 /* Leaving */
30 #define GOAL_FLEE 7 /* Fleeing */
31 #define GOAL_VAULT 8 /* Vaults */
32 #define GOAL_RECOVER 9 /* Resting safely */
33 #define GOAL_DIGGING 10 /* Anti-summon Corridor */
34
35
36 /*
37 * Update state based on current "map"
38 */
39 extern void borg_update(void);
40
41
42 /*
43 * React to various "important" messages
44 */
45 extern void borg_react(const char* msg, const char* buf);
46 extern void borg_delete_kill(int i);
47 extern void borg_delete_take(int i);
48 extern void borg_clear_reactions(void);
49
50
51
52 /*
53 * Initialize this file
54 */
55 extern void borg_init_5(void);
56
57 /* forward declare from borg6.c */
58 extern bool borg_target_unknown_wall(int g_y, int g_x);
59
60 extern int borg_panel_hgt(void);
61 extern int borg_panel_wid(void);
62
63 #endif
64
65 #endif
66