Debian Codegraph @

src/borg/borg2.h

raw symbols SCIP
1 /* File: borg2.h */
2 /* Purpose: Header file for "borg2.c" -BEN- */
3
4 #ifndef INCLUDED_BORG2_H
5 #define INCLUDED_BORG2_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 "borg2.c".
15 */
16
17 #include "borg1.h"
18
19
20 /*
21 * Determine if a grid is a floor grid and only a floor grid
22 */
23 extern bool borg_cave_floor_bold(int Y, int X);
24
25
26 /*
27 * Grid based version of "borg_cave_floor_bold()"
28 */
29 extern bool borg_cave_floor_grid(borg_grid* ag);
30
31
32
33 /*
34 * Check a path for line of sight
35 */
36 extern bool borg_los(int y1, int x1, int y2, int x2);
37
38
39 /*
40 * Check the projection from (x1,y1) to (x2,y2)
41 */
42 extern bool borg_projectable(int y1, int x1, int y2, int x2);
43 extern bool borg_offset_projectable(int y1, int x1, int y2, int x2);
44
45 /*
46 * Check the projection from (x1,y1) to (x2,y2).
47 */
48 extern bool borg_projectable_pure(int y1, int x1, int y2, int x2);
49 extern bool borg_projectable_dark(int y1, int x1, int y2, int x2);
50
51
52 /*
53 * Forget the "lite"
54 */
55 extern void borg_forget_LIGHT(void);
56
57 /*
58 * Update the "lite"
59 */
60 extern void borg_update_LIGHT(void);
61
62 /*
63 * Forget the "view"
64 */
65 extern void borg_forget_view(void);
66
67 /*
68 * Update the "view"
69 */
70 extern void borg_update_view(void);
71
72
73 /*
74 * Initialize this file
75 */
76 extern void borg_init_2(void);
77
78
79 #endif
80
81
82 #endif
83