From 9c3baab33a0fa48e7379f0485116452779a1cd37 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 5 Oct 2008 19:05:50 +0000 Subject: interface with ui library --- src/client/client.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/client/client.cc') diff --git a/src/client/client.cc b/src/client/client.cc index ca88f88..b218166 100644 --- a/src/client/client.cc +++ b/src/client/client.cc @@ -21,6 +21,7 @@ #include "core/core.h" #include "core/zone.h" #include "render/render.h" +#include "ui/ui.h" namespace client { @@ -105,6 +106,9 @@ void Client::init(int count, char **arguments) // initialize SDL, but do not initialize any subsystems SDL_Init(0); + // initialize user interface + ui::init(); + // Initialize the video subsystem if (!video::init()) { quit(1); @@ -199,6 +203,8 @@ void Client::shutdown() video::shutdown(); + ui::shutdown(); + core::Application::shutdown(); quit(0); -- cgit v1.2.3