1 //-------------------------------------------------------------------------
2 /*
3 Copyright (C) 2010-2019 EDuke32 developers and contributors
4 Copyright (C) 2019 Nuke.YKT
5 
6 This file is part of NBlood.
7 
8 NBlood is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License version 2
10 as published by the Free Software Foundation.
11 
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 
16 See the GNU General Public License for more details.
17 
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
21 */
22 //-------------------------------------------------------------------------
23 #pragma once
24 #include "compat.h"
25 #include "build.h"
26 #include "resource.h"
27 
28 typedef struct {
29     int32_t usejoystick;
30     int32_t usemouse;
31     int32_t fullscreen;
32     int32_t xdim;
33     int32_t ydim;
34     int32_t bpp;
35     int32_t forcesetup;
36     int32_t noautoload;
37 } ud_setup_t;
38 
39 extern ud_setup_t gSetup;
40 extern ClockTicks gFrameClock;
41 extern ClockTicks gFrameTicks;
42 extern int gFrame;
43 //extern ClockTicks gGameClock;
44 extern int gFrameRate;
45 extern int gGamma;
46 extern bool bVanilla;
47 
48 extern Resource gSysRes;
49 const char *GetVersionString(void);
50