thunderbrew/src/sound/SI2.hpp

27 lines
684 B
C++
Raw Normal View History

2023-01-02 13:17:18 -06:00
#ifndef SOUND_SI2_HPP
#define SOUND_SI2_HPP
#include "ui/Types.hpp"
2024-02-25 17:15:29 +04:00
#include <storm/Log.hpp>
2023-01-02 13:17:18 -06:00
#include <cstdint>
2024-02-25 17:15:29 +04:00
#include <cstdarg>
#include <fmod.h>
#include <fmod_errors.h>
2023-01-02 13:17:18 -06:00
class SI2 {
public:
// Static variables
2024-02-25 17:15:29 +04:00
static FrameScript_Method s_ScriptFunctions[];
static uint32_t sm_logFlags;
static HSLOG sm_log;
2023-01-02 13:17:18 -06:00
// Static functions
static void RegisterScriptFunctions();
2024-02-25 17:15:29 +04:00
static int32_t Log_Init();
static void Log_Write(const char* format, ...);
static void Log_Write(uint32_t line, const char* filename, FMOD_RESULT errcode, const char* format, ...);
static int32_t Init(int32_t flag);
2023-01-02 13:17:18 -06:00
};
#endif