]> git.jsancho.org Git - lugaru.git/blob - Source/User/Settings.hpp
d9b8886cd1b7156456dcf6628aac5b81878a4cca
[lugaru.git] / Source / User / Settings.hpp
1 /*
2 Copyright (C) 2003, 2010 - Wolfire Games
3 Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file)
4
5 This file is part of Lugaru.
6
7 Lugaru is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
11
12 Lugaru 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.  See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 #ifndef _SETTINGS_HPP_
22 #define _SETTINGS_HPP_
23
24 #include "Game.hpp"
25
26 extern float usermousesensitivity;
27 extern bool ismotionblur;
28 extern bool floatjump;
29 extern bool mousejump;
30 extern bool ambientsound;
31 extern int bloodtoggle;
32 extern bool autoslomo;
33 extern bool foliage;
34 extern bool musictoggle;
35 extern bool trilinear;
36 extern bool decalstoggle;
37 extern bool invertmouse;
38 extern float gamespeed;
39 extern float oldgamespeed;
40 extern bool damageeffects;
41 extern bool texttoggle;
42 extern bool devtools;
43 extern bool showpoints;
44 extern bool showdamagebar;
45 extern bool alwaysblur;
46 extern bool immediate;
47 extern bool velocityblur;
48 extern float volume;
49 extern int detail;
50 extern int kContextWidth;
51 extern int kContextHeight;
52 extern float screenwidth, screenheight;
53 extern bool fullscreen;
54
55 void DefaultSettings();
56 void SaveSettings();
57 bool LoadSettings();
58
59
60 #endif