2018-07-06 11:58:34 +02:00
|
|
|
/*
|
|
|
|
* =====================================================================================
|
|
|
|
*
|
2020-02-08 18:34:26 +09:00
|
|
|
* OpenMiner
|
|
|
|
* Copyright (C) 2018-2020 Unarelith, Quentin Bazin <openminer@unarelith.net>
|
2018-07-06 11:58:34 +02:00
|
|
|
*
|
2020-02-08 18:34:26 +09:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2018-07-06 11:58:34 +02:00
|
|
|
*
|
2020-02-08 18:34:26 +09:00
|
|
|
* This program 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
|
|
|
|
* Lesser General Public License for more details.
|
2018-07-06 11:58:34 +02:00
|
|
|
*
|
2020-02-08 18:34:26 +09:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* along with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
2018-07-06 11:58:34 +02:00
|
|
|
*
|
|
|
|
* =====================================================================================
|
|
|
|
*/
|
|
|
|
#include "Config.hpp"
|
|
|
|
|
2019-01-12 19:49:41 +01:00
|
|
|
// Gameplay
|
|
|
|
bool Config::isFlyModeEnabled = false;
|
2019-01-19 15:21:49 +01:00
|
|
|
bool Config::isNoClipEnabled = false;
|
2019-01-12 19:49:41 +01:00
|
|
|
|
|
|
|
// Graphics
|
2020-01-27 15:33:06 +09:00
|
|
|
u16 Config::renderDistance = 8;
|
2019-01-27 21:37:53 +01:00
|
|
|
bool Config::isTorchSmoothLightingEnabled = true;
|
2019-12-30 18:09:22 +09:00
|
|
|
bool Config::isSunSmoothLightingEnabled = true;
|
2019-12-30 06:59:10 +09:00
|
|
|
bool Config::isAmbientOcclusionEnabled = false;
|
2018-12-31 07:45:11 +01:00
|
|
|
bool Config::isWireframeModeEnabled = false;
|
2020-01-27 15:33:06 +09:00
|
|
|
bool Config::isFullscreenModeEnabled = false;
|
2020-01-25 15:29:14 +09:00
|
|
|
float Config::cameraFOV = 70.0f;
|
2020-02-15 22:48:56 +09:00
|
|
|
u16 Config::screenWidth = 1600;
|
|
|
|
u16 Config::screenHeight = 1050;
|
|
|
|
u8 Config::guiScale = 3;
|
2020-01-27 15:33:06 +09:00
|
|
|
|
|
|
|
// Input
|
2020-01-26 16:03:43 +09:00
|
|
|
u8 Config::mouseSensitivity = 8;
|
2018-07-06 11:58:34 +02:00
|
|
|
|