X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FSettings.h;h=e5f983ae83aac80169035505c51125f430c482ae;hb=bdabd9d4a53be2fa9d90f900f7e5949d2f0ef75c;hp=bae99106a56940d1b5cf3cb60c148e1819a77315;hpb=f250ee8330a466b35a7ba2975d3d3fed508068c2;p=lugaru.git diff --git a/Source/Settings.h b/Source/Settings.h index bae9910..e5f983a 100644 --- a/Source/Settings.h +++ b/Source/Settings.h @@ -1,3 +1,23 @@ +/* +Copyright (C) 2003, 2010 - Wolfire Games +Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file) + +This file is part of Lugaru. + +Lugaru is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +Lugaru is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with Lugaru. If not, see . +*/ + #ifndef SETTINGS_H_ #define SETTINGS_H_ @@ -17,11 +37,9 @@ extern bool decals; extern bool invertmouse; extern float gamespeed; extern float oldgamespeed; -extern int difficulty; extern bool damageeffects; extern bool texttoggle; -extern bool debugmode; -extern bool vblsync; +extern bool devtools; extern bool showpoints; extern bool showdamagebar; extern bool alwaysblur; @@ -29,14 +47,14 @@ extern bool immediate; extern bool velocityblur; extern float volume; extern int detail; -extern int kBitsPerPixel; extern int kContextWidth; extern int kContextHeight; -extern float screenwidth,screenheight; +extern float screenwidth, screenheight; +extern bool fullscreen; -void DefaultSettings(Game &game); -void SaveSettings(Game &game); -bool LoadSettings(Game &game); +void DefaultSettings(); +void SaveSettings(); +bool LoadSettings(); #endif