mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-30 08:47:58 +03:00
31 lines
561 B
C++
31 lines
561 B
C++
#pragma once
|
|
|
|
#include "ScriptAssert.h"
|
|
#include <string>
|
|
|
|
static const std::unordered_map<std::string, ERROR_MODE> kErrorModes {
|
|
{"SILENT", ERROR_MODE::SILENT},
|
|
{"WARN", ERROR_MODE::WARN},
|
|
{"TERMINATE", ERROR_MODE::TERMINATE}
|
|
};
|
|
|
|
namespace sol {
|
|
class state;
|
|
}
|
|
|
|
struct GameScriptSettings
|
|
{
|
|
int ScreenWidth;
|
|
int ScreenHeight;
|
|
bool EnableLoadSave;
|
|
bool EnableDynamicShadows;
|
|
bool EnableWaterCaustics;
|
|
bool Windowed;
|
|
int DrawingDistance;
|
|
bool ShowRendererSteps;
|
|
bool ShowDebugInfo;
|
|
ERROR_MODE ErrorMode;
|
|
|
|
static void Register(sol::state* lua);
|
|
};
|
|
|