DEADSOFTWARE

update copyrights
[flatwaifu.git] / src / game.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 GAME_H_INLUDED
19 #define GAME_H_INLUDED
21 #include "glob.h"
22 #include "view.h" // pos_t
23 #include "player.h" // player_t
25 extern byte transdraw;
26 extern byte _2pl;
27 extern byte g_dm;
28 extern byte g_st;
29 extern byte g_exit;
30 extern byte g_map;
31 extern char g_music[8];
32 extern dword g_time;
33 extern int dm_pnum;
34 extern int dm_pl1p;
35 extern int dm_pl2p;
36 extern pos_t dm_pos[100];
37 extern byte cheat;
39 extern int lt_time;
40 extern int lt_type;
41 extern int lt_side;
42 extern int lt_ypos;
44 extern int g_trans;
46 void load_game (int n);
47 void G_start (void);
48 void G_init (void);
49 void G_act (void);
50 void G_respawn_player (player_t *p);
52 #endif /* GAME_H_INLUDED */