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:
VDm 2024-03-06 00:53:07 +04:00 committed by GitHub
parent 8596860120
commit 32cfe08d0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 366 additions and 73 deletions

16
src/gx/CGVideoOptions.hpp Normal file
View file

@ -0,0 +1,16 @@
#ifndef GX_C_GX_VIDEO_OPTIONS_HPP
#define GX_C_GX_VIDEO_OPTIONS_HPP
#include "ui/Types.hpp"
#include <cstdint>
class CGVideoOptions {
public:
// Static variables
static FrameScript_Method s_ScriptFunctions[];
// Static functions
static void RegisterScriptFunctions();
};
#endif