mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-10 04:26:42 +03:00
Cleanup. Add file references, clean up some todos, register GameScriptSkyLayer::GetColor, remove an unused function, change some includes that for some reason didn't stop it from compiling beforehand.
This commit is contained in:
parent
7c380d12a2
commit
dc11d354b2
14 changed files with 135 additions and 15 deletions
|
@ -15,7 +15,7 @@ void GameScriptSkyLayer::Register(sol::state* lua)
|
|||
|
||||
/// (@{Color}) RGB sky color
|
||||
//@mem color
|
||||
"color", sol::property(&GameScriptSkyLayer::SetColor),
|
||||
"color", sol::property(&GameScriptSkyLayer::GetColor, &GameScriptSkyLayer::SetColor),
|
||||
|
||||
/*** (int) cloud speed.
|
||||
|
||||
|
@ -51,7 +51,6 @@ void GameScriptSkyLayer::SetColor(GameScriptColor const & col)
|
|||
B = col.GetB();
|
||||
}
|
||||
|
||||
//todo can this return an RGBAColor8Byte instead?
|
||||
GameScriptColor GameScriptSkyLayer::GetColor() const {
|
||||
return GameScriptColor{ R, G, B };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue