added audio stuff

This commit is contained in:
2026-01-18 19:42:25 +01:00
parent 5fdcb6989f
commit f9185e7b26
13 changed files with 471 additions and 1 deletions

View File

@@ -4,6 +4,7 @@
#include "utils/Time.hpp"
#include "version.h"
#include "IInputManager.hpp"
#include "elements/AudioEngine.hpp"
TSE::IWindow* TSE::IWindow::lastWindow = nullptr;
@@ -12,6 +13,7 @@ bool TSE::IWindow::BaseInit() const
LuaStateHandler::InitLuaState();
Debug::Init();
Debug::Log("TSE:" + TSE_VERSION_STRING);
AudioEngine::Init();
return true;
}
@@ -22,6 +24,7 @@ void TSE::IWindow::BaseUpdate() const
TSE::IWindow::~IWindow()
{
AudioEngine::Destroy();
IInputManager::instance()->Delete();
Time::Destroy();
Debug::Close();