added fonts - works with sdl version
[winnie] / src / winnie.cc
index 37b6222..25d2ae3 100644 (file)
@@ -1,5 +1,6 @@
 #include "winnie.h"
 #include "keyboard.h"
+#include "mouse.h"
 
 bool winnie_init()
 {
@@ -11,6 +12,14 @@ bool winnie_init()
                return false;
        }
 
+       if(!init_mouse()) {
+               return false;
+       }
+
+       if(!init_text()) {
+               return false;
+       }
+
        wm->invalidate_region(get_screen_size());
        return true;
 }
@@ -19,4 +28,5 @@ void winnie_shutdown()
 {
        destroy_gfx();
        destroy_keyboard();
+       destroy_mouse();
 }