DEADSOFTWARE

update copyrights
[flatwaifu.git] / src / bmap.h
1 /* Copyright (C) 1996-1997 Aleksey Volynskov
2 * Copyright (C) 2011 Rambo
3 * Copyright (C) 2020 SovietPony
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, version 3 of the License ONLY.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
18 #ifndef BMAP_H_INCLUDED
19 #define BMAP_H_INCLUDED
21 #include "glob.h"
22 #include "view.h" // obj_t
24 #define BM_WALL 1
25 #define BM_PLR1 2
26 #define BM_PLR2 4
27 #define BM_MONSTER 8
29 extern byte fld_need_remap;
30 extern byte bmap[FLDH/4][FLDW/4];
32 void BM_clear (byte f);
33 void BM_mark (obj_t *o, byte f);
34 void BM_remapfld (void);
36 #endif /* BMAP_H_INCLUDED */