/* File: borg2.h */ /* Purpose: Header file for "borg2.c" -BEN- */ #ifndef INCLUDED_BORG2_H #define INCLUDED_BORG2_H #include "angband.h" #include "obj-tval.h" #include "cave.h" #ifdef ALLOW_BORG /* * This file provides support for "borg2.c". */ #include "borg1.h" /* * Determine if a grid is a floor grid and only a floor grid */ extern bool borg_cave_floor_bold(int Y, int X); /* * Grid based version of "borg_cave_floor_bold()" */ extern bool borg_cave_floor_grid(borg_grid* ag); /* * Check a path for line of sight */ extern bool borg_los(int y1, int x1, int y2, int x2); /* * Check the projection from (x1,y1) to (x2,y2) */ extern bool borg_projectable(int y1, int x1, int y2, int x2); extern bool borg_offset_projectable(int y1, int x1, int y2, int x2); /* * Check the projection from (x1,y1) to (x2,y2). */ extern bool borg_projectable_pure(int y1, int x1, int y2, int x2); extern bool borg_projectable_dark(int y1, int x1, int y2, int x2); /* * Forget the "lite" */ extern void borg_forget_LIGHT(void); /* * Update the "lite" */ extern void borg_update_LIGHT(void); /* * Forget the "view" */ extern void borg_forget_view(void); /* * Update the "view" */ extern void borg_update_view(void); /* * Initialize this file */ extern void borg_init_2(void); #endif #endif