X-Git-Url: https://eleni.mutantstargoat.com/git/?p=winnie;a=blobdiff_plain;f=src%2Fwinnie.cc;h=a2c61eed1303e5069756978435aa90db6d548580;hp=0f5b10e911270f533b2a46136f51db1dd28d9215;hb=e4076629a736e957739c31cd20bbbbb70327023b;hpb=12274901ac01898b01b93e15b5b87dec3348afae diff --git a/src/winnie.cc b/src/winnie.cc index 0f5b10e..a2c61ee 100644 --- a/src/winnie.cc +++ b/src/winnie.cc @@ -1,9 +1,14 @@ -#include "winnie.h" #include "keyboard.h" #include "mouse.h" +#include "shalloc.h" +#include "winnie.h" bool winnie_init() { + if(!init_shared_memory()) { + return false; + } + if(!init_gfx()) { return false; } @@ -33,4 +38,7 @@ void winnie_shutdown() destroy_gfx(); destroy_keyboard(); destroy_mouse(); + destroy_text(); + + destroy_shared_memory(); }