mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-13 14:07:04 +03:00
Partially integrate ScriptInterfaceFlow and replace instances of direct access to Animations members.
This commit is contained in:
parent
4429bd8aa2
commit
2a9175f5fb
9 changed files with 37 additions and 22 deletions
|
@ -16,7 +16,7 @@ using std::string;
|
|||
using std::vector;
|
||||
using std::unordered_map;
|
||||
|
||||
GameFlow* g_GameFlow;
|
||||
ScriptInterfaceFlow* g_GameFlow;
|
||||
ScriptInterfaceGame* g_GameScript;
|
||||
|
||||
GameFlow::GameFlow(sol::state* lua) : LuaHandler{ lua }
|
||||
|
@ -231,6 +231,11 @@ int GameFlow::GetNumLevels() const
|
|||
return Levels.size();
|
||||
}
|
||||
|
||||
bool GameFlow::IsFlyCheatEnabled() const
|
||||
{
|
||||
return FlyCheat;
|
||||
}
|
||||
|
||||
bool GameFlow::DoGameflow()
|
||||
{
|
||||
// We start with the title level
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue