You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw-tes3mp/apps/openmw-mp/Settings.hpp

39 lines
608 B
C++

//
// Created by koncord on 12.08.17.
//
#pragma once
#include "BaseMgr.hpp"
class LuaState;
class Player;
class GameSettings final: public BaseMgr
{
public:
static void Init(LuaState &lua);
public:
explicit GameSettings(Player *player);
void setConsoleAllowed(bool state);
void setDifficulty(int difficulty);
void setEnforcedLogLevel(int logLevel);
void setPhysicsFramerate(double physicsFramerate);
void setBedRestAllowed(bool state);
void setWildernessRestAllowed(bool state);
void setWaitAllowed(bool state);
private:
void processUpdate() final;
};