- #ifndef _BLOCKBSP_
- #define _BLOCKBSP_
- #include "ray.h"
- #define BLOCK_BSP_SIZE 64
- #define BLOCK_BSP_SHIFT 6
- void Generate_BSP_Block();
- void Clear_BSP_Block();
- BOOL Block_BSP_Is_Loaded();
- long Block_BSP_X_Start();
- long Block_BSP_Y_Start();
- USHORT Block_BSP_Max_X();
- USHORT Block_BSP_Max_Y();
- long Get_Block_Node(USHORT block_x, USHORT block_y);
- long Get_Closest_Node(long x, long y);
- #endif