mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-03 18:27:59 +03:00
23 lines
No EOL
410 B
C++
23 lines
No EOL
410 B
C++
#pragma once
|
|
|
|
#include "GameScriptColor.h"
|
|
|
|
namespace sol {
|
|
class state;
|
|
}
|
|
|
|
struct GameScriptFog
|
|
{
|
|
bool Enabled{ false };
|
|
byte R{ 0 };
|
|
byte G{ 0 };
|
|
byte B{ 0 };
|
|
short MinDistance{ 0 };
|
|
short MaxDistance{ 0 };
|
|
|
|
GameScriptFog() = default;
|
|
GameScriptFog(GameScriptColor const& col, short minDistance, short maxDistance);
|
|
void SetColor(GameScriptColor const& col);
|
|
|
|
static void Register(sol::state*);
|
|
}; |