mirror of
https://github.com/edubart/otclient.git
synced 2025-12-21 07:57:12 +01:00
init particles, still not working
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include <framework/ui/uimanager.h>
|
||||
#include <framework/ui/uiwidget.h>
|
||||
#include <framework/graphics/graphics.h>
|
||||
#include <framework/graphics/particlesmanager.h>
|
||||
#include <framework/luascript/luainterface.h>
|
||||
|
||||
Application *g_app = nullptr;
|
||||
@@ -207,12 +208,16 @@ void Application::poll()
|
||||
|
||||
// poll application genareted events
|
||||
g_dispatcher.poll();
|
||||
|
||||
g_particlesManager.update();
|
||||
}
|
||||
|
||||
void Application::render()
|
||||
{
|
||||
// everything is rendered by UI components
|
||||
g_ui.render();
|
||||
|
||||
g_particlesManager.render();
|
||||
}
|
||||
|
||||
void Application::resize(const Size& size)
|
||||
|
||||
Reference in New Issue
Block a user