mirror of
https://github.com/edubart/otclient.git
synced 2025-12-21 07:57:12 +01:00
ui skinning
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include "menustate.h"
|
||||
#include "teststate.h"
|
||||
#include "framework/dispatcher.h"
|
||||
#include "framework/ui/uiskins.h"
|
||||
|
||||
/// Catches signals so we can exit nicely
|
||||
void signal_handler(int sig)
|
||||
@@ -108,6 +109,9 @@ int main(int argc, const char *argv[])
|
||||
// init engine
|
||||
g_engine.init();
|
||||
|
||||
// load UI skin
|
||||
g_uiSkins.load("skins/tibiaskin.yml");
|
||||
|
||||
// state scope
|
||||
{
|
||||
std::shared_ptr<MenuState> initialState(new MenuState);
|
||||
|
||||
Reference in New Issue
Block a user