Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/application/StarApplication.cpp
blob: 319b669fe5934f211851c6b4bc7869406d3473c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include "StarApplication.hpp"
#include "StarTime.hpp"
#include "StarLogging.hpp"

namespace Star {

void Application::startup(StringList const&) {}

void Application::applicationInit(ApplicationControllerPtr appController) {
  m_appController = std::move(appController);
}

void Application::renderInit(RendererPtr renderer) {
  m_renderer = std::move(renderer);
}

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() {}
}