mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
feat(sound): Small script related improvements
* chore(build): rename src/util/Log.* to SysMessage.* * chore(ui): implement SetNonSpaceWrap() for error messages * chore(ui): move Video Script methods into CGVideoOptions class * chore(script): temporary fix GetNumOutputDrivers to eliminate loading errors * feat(sound): add SI2 Log methods * chore(sound): add SI2 CVars * chore(ui): implement Script_PlayGlueMusic * chore(sound): update SI2::Init() * fix: resolve compilation errors in variadic macros SI2_ERR and SI2_LOG --------- Co-authored-by: Tristan Cormier <cormiert2@outlook.com>
This commit is contained in:
parent
8596860120
commit
32cfe08d0b
21 changed files with 366 additions and 73 deletions
|
|
@ -19,6 +19,7 @@
|
|||
#include <bc/Debug.hpp>
|
||||
#include <common/Prop.hpp>
|
||||
#include <storm/Error.hpp>
|
||||
#include <storm/Log.hpp>
|
||||
#include <bc/os/Path.hpp>
|
||||
|
||||
CVar* Client::g_accountListVar;
|
||||
|
|
@ -150,6 +151,7 @@ void SetPaths() {
|
|||
datadir = buffer;
|
||||
}
|
||||
|
||||
SLogSetDefaultDirectory(datadir);
|
||||
SFile::SetBasePath(datadir);
|
||||
SFile::SetDataPath("Data\\");
|
||||
|
||||
|
|
@ -368,7 +370,7 @@ void StormInitialize() {
|
|||
// TODO
|
||||
// SStrInitialize();
|
||||
// SErrInitialize();
|
||||
// SLogInitialize();
|
||||
SLogInitialize();
|
||||
// SFile::Initialize();
|
||||
|
||||
Blizzard::Debug::SetAssertHandler(BlizzardAssertCallback);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue