2023-06-20 04:33:09 +00:00
|
|
|
#include "StarApplication.hpp"
|
|
|
|
#include "StarTime.hpp"
|
|
|
|
#include "StarLogging.hpp"
|
|
|
|
|
|
|
|
namespace Star {
|
|
|
|
|
|
|
|
void Application::startup(StringList const&) {}
|
|
|
|
|
|
|
|
void Application::applicationInit(ApplicationControllerPtr appController) {
|
2024-02-19 15:55:19 +00:00
|
|
|
m_appController = std::move(appController);
|
2023-06-20 04:33:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void Application::renderInit(RendererPtr renderer) {
|
2024-02-19 15:55:19 +00:00
|
|
|
m_renderer = std::move(renderer);
|
2023-06-20 04:33:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void Application::windowChanged(WindowMode, Vec2U) {}
|
|
|
|
|
|
|
|
void Application::processInput(InputEvent const&) {}
|
|
|
|
|
|
|
|
void Application::update() {}
|
|
|
|
|
|
|
|
void Application::render() {}
|
|
|
|
|
|
|
|
void Application::getAudioData(int16_t* samples, size_t sampleCount) {
|
|
|
|
for (size_t i = 0; i < sampleCount; ++i)
|
|
|
|
samples[i] = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
void Application::shutdown() {}
|
|
|
|
}
|