mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-01 09:18:00 +03:00
Add documentation comments in GameFlowScript.cpp.
Move windowTitle from GameScriptSettings to GameFlowScript and rename it to SetWindowTitleKey.
This commit is contained in:
parent
769e36702a
commit
813b8bb42a
3 changed files with 60 additions and 24 deletions
|
@ -35,6 +35,7 @@ public:
|
|||
TITLE_TYPE TitleType{ TITLE_TYPE::FLYBY };
|
||||
std::string IntroImagePath{};
|
||||
std::string TitleScreenImagePath{};
|
||||
std::string WindowTitleKey{};
|
||||
|
||||
// Selected language set
|
||||
std::vector<GameScriptLevel*> Levels;
|
||||
|
@ -42,17 +43,18 @@ public:
|
|||
GameFlow(sol::state* lua);
|
||||
~GameFlow();
|
||||
|
||||
void AddLevel(GameScriptLevel const& level);
|
||||
void SetAudioTracks(sol::as_table_t<std::vector<GameScriptAudioTrack>>&& src);
|
||||
void LoadGameFlowScript();
|
||||
char const * GetString(const char* id);
|
||||
void SetStrings(sol::nested<std::unordered_map<std::string, std::vector<std::string>>> && src);
|
||||
void SetLanguageNames(sol::as_table_t<std::vector<std::string>> && src);
|
||||
void SetSettings(GameScriptSettings const & src);
|
||||
GameScriptSettings* GetSettings();
|
||||
GameScriptLevel* GetLevel(int id);
|
||||
int GetNumLevels();
|
||||
bool DoGameflow();
|
||||
void SetIntroImagePath(std::string const& path);
|
||||
void SetTitleScreenImagePath(std::string const& path);
|
||||
void AddLevel(GameScriptLevel const& level);
|
||||
void SetAudioTracks(sol::as_table_t<std::vector<GameScriptAudioTrack>>&& src);
|
||||
void LoadGameFlowScript();
|
||||
char const * GetString(const char* id);
|
||||
void SetStrings(sol::nested<std::unordered_map<std::string, std::vector<std::string>>> && src);
|
||||
void SetLanguageNames(sol::as_table_t<std::vector<std::string>> && src);
|
||||
void SetSettings(GameScriptSettings const & src);
|
||||
GameScriptSettings* GetSettings();
|
||||
GameScriptLevel* GetLevel(int id);
|
||||
int GetNumLevels();
|
||||
bool DoGameflow();
|
||||
void SetIntroImagePath(std::string const& path);
|
||||
void SetTitleScreenImagePath(std::string const& path);
|
||||
void SetWindowTitleKey(std::string const& key);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue