mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-10 20:46:47 +03:00
Change ExecuteScript and ExecuteString to return void and throw a TENScriptException on error. Remove my old comments which didn't really add info. Implement SetSettings.
This commit is contained in:
parent
efc91a8e34
commit
58a424e52f
4 changed files with 26 additions and 39 deletions
|
@ -50,10 +50,11 @@ public:
|
|||
|
||||
void AddLevel(GameScriptLevel const& level);
|
||||
void SetAudioTracks(sol::as_table_t<std::vector<GameScriptAudioTrack>>&& src);
|
||||
bool LoadGameFlowScript();
|
||||
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);
|
||||
void SetHorizon(bool horizon, bool colAddHorizon);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue