#ifndef WH_DIGDOORS_H_3abf74a2_ #define WH_DIGDOORS_H_3abf74a2_ /* * APIs exported by digdoors.c. These are, of course, door creation. */ #include "structs.h" /* * Called during dungeon digging to create doors. */ extern void makedoors(void); /* * digdoor(lv,x,y,s,o) digs a door on level lv at location (x,y). If s * is true, the door will be secret; if s is false, the door will be * open if o is true and closed if o is false. If the location is not * of type LOC_CAVE, it will be dug with digcell() first. * * It is up to the caller to check that the location is a sensible one * for a door. */ extern void digdoor(LEVEL *, int, int, int, int); #endif