DEADSOFTWARE

portability: avoid errors on some compilers
[flatwaifu.git] / src / view.c
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 #include "glob.h"
19 #include <string.h>
20 #include <stdlib.h>
21 #include "memory.h"
22 #include "files.h"
23 #include "error.h"
24 #include "view.h"
25 #include "dots.h"
26 #include "smoke.h"
27 #include "weapons.h"
28 #include "items.h"
29 #include "switch.h"
30 #include "fx.h"
31 #include "player.h"
32 #include "monster.h"
33 #include "misc.h"
34 #include "map.h"
35 #include "sound.h"
36 #include "render.h"
38 int sky_type=1;
39 dword walf[256];
40 byte fldb[FLDH][FLDW];
41 byte fldf[FLDH][FLDW];
42 byte fld[FLDH][FLDW];
44 void W_init (void) {
45 DOT_init();
46 SMK_init();
47 FX_init();
48 WP_init();
49 IT_init();
50 SW_init();
51 PL_init();
52 MN_init();
53 R_loadsky(1);
54 }