Debian Codegraph @

src/borg/borg4.h

raw symbols SCIP
1
2 /* File: borg4.h */
3
4 /* Purpose: Header file for "borg4.c" -BEN- */
5
6 #ifndef INCLUDED_BORG4_H
7 #define INCLUDED_BORG4_H
8
9 #include "angband.h"
10 #include "obj-tval.h"
11 #include "cave.h"
12
13 #ifdef ALLOW_BORG
14
15 /*
16 * This file provides support for "borg4.c".
17 */
18
19 #include "borg1.h"
20 #include "borg2.h"
21 #include "borg3.h"
22
23
24
25 /*
26 * Extract various bonuses
27 */
28 extern void borg_notice(bool notice_swap);
29
30 /*
31 * Extract the bonuses for items in the home.
32 *
33 * in_item is passed in if you want to pretent that in_item is
34 * the only item in the home.
35 * no_items is passed in as true if you want to pretend that the
36 * home is empty.
37 */
38 extern void borg_notice_home(borg_item* in_item, bool no_items);
39
40 extern int borg_mon_blow_effect(const char* name);
41
42
43 /*
44 * Calculate the basic "power"
45 */
46 extern int32_t borg_power(void);
47
48 /*
49 * Calculate the basic "power" of the home
50 */
51 extern int32_t borg_power_home(void);
52
53
54
55 /*
56 * Calculate danger to a grid from a monster
57 */
58 extern int borg_danger_aux(int y, int x, int c, int i, bool average, bool full_damage);
59
60 /*
61 * Hack -- Calculate the "danger" of the given grid.
62 */
63 extern int borg_danger(int y, int x, int c, bool average, bool full_damage);
64
65
66 /*
67 * Determine if the Borg is out of "crucial" supplies.
68 */
69 extern const char* borg_restock(int depth);
70
71 /*
72 * Determine if the Borg is "prepared" for the given level
73 */
74 extern const char* borg_prepared(int depth);
75
76
77 /*
78 * Initialize this file
79 */
80 extern void borg_init_4(void);
81
82
83 #endif
84
85 #endif
86