|
|
@ -25,12 +25,14 @@ namespace Inferno { |
|
|
|
s_instance = this; |
|
|
|
s_instance = this; |
|
|
|
|
|
|
|
|
|
|
|
// Initialize
|
|
|
|
// Initialize
|
|
|
|
|
|
|
|
|
|
|
|
Settings::initialize(); |
|
|
|
Settings::initialize(); |
|
|
|
Input::initialize(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
m_window = std::make_unique<Window>(); |
|
|
|
m_window = std::make_unique<Window>(); |
|
|
|
m_window->setEventCallback(NF_BIND_EVENT(Application::onEvent)); |
|
|
|
m_window->setEventCallback(NF_BIND_EVENT(Application::onEvent)); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Input::initialize(); |
|
|
|
|
|
|
|
|
|
|
|
TextureManager textureManager; |
|
|
|
TextureManager textureManager; |
|
|
|
m_texture = textureManager.load("assets/gfx/test.png"); |
|
|
|
m_texture = textureManager.load("assets/gfx/test.png"); |
|
|
|
|
|
|
|
|
|
|
|