added audio stuff
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user