diff options
author | Stijn Buys <ingar@osirion.org> | 2008-10-05 19:05:50 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-10-05 19:05:50 +0000 |
commit | 9c3baab33a0fa48e7379f0485116452779a1cd37 (patch) | |
tree | 12f76da066d4fe7e062ff9cf33dd75fd80e0154e /src/client/client.cc | |
parent | a8c367416c28edb47c8f8c447b515cca4080adc2 (diff) |
interface with ui library
Diffstat (limited to 'src/client/client.cc')
-rw-r--r-- | src/client/client.cc | 6 |
1 files changed, 6 insertions, 0 deletions
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); |