DEADSOFTWARE

update copyrights
[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 "my.h"
37 #include "render.h"
39 int sky_type=1;
40 dword walf[256];
41 byte fldb[FLDH][FLDW];
42 byte fldf[FLDH][FLDW];
43 byte fld[FLDH][FLDW];
45 void W_init (void) {
46 DOT_init();
47 SMK_init();
48 FX_init();
49 WP_init();
50 IT_init();
51 SW_init();
52 PL_init();
53 MN_init();
54 R_loadsky(1);
55 }