forked from teamnwah/openmw-tes3coop
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.
34 lines
506 B
C++
34 lines
506 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 setBedRestAllowed(bool state);
|
|
|
|
void setWildernessRestAllowed(bool state);
|
|
|
|
void setWaitAllowed(bool state);
|
|
|
|
|
|
private:
|
|
void processUpdate() final;
|
|
}; |