mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-10 04:26:42 +03:00
Move scripting source files into new filder. Obviously, these won't work yet or even compile.
This commit is contained in:
parent
a9d8b78c96
commit
69de6e4502
24 changed files with 3 additions and 3 deletions
23
Scripting/Source/GameScriptFog.h
Normal file
23
Scripting/Source/GameScriptFog.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
#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*);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue