projects
/
winnie
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added memory allocator
[winnie]
/
src
/
winnie.cc
diff --git
a/src/winnie.cc
b/src/winnie.cc
index
0f5b10e
..
a2c61ee
100644
(file)
--- a/
src/winnie.cc
+++ b/
src/winnie.cc
@@
-1,9
+1,14
@@
-#include "winnie.h"
#include "keyboard.h"
#include "mouse.h"
#include "keyboard.h"
#include "mouse.h"
+#include "shalloc.h"
+#include "winnie.h"
bool winnie_init()
{
bool winnie_init()
{
+ if(!init_shared_memory()) {
+ return false;
+ }
+
if(!init_gfx()) {
return false;
}
if(!init_gfx()) {
return false;
}
@@
-33,4
+38,7
@@
void winnie_shutdown()
destroy_gfx();
destroy_keyboard();
destroy_mouse();
destroy_gfx();
destroy_keyboard();
destroy_mouse();
+ destroy_text();
+
+ destroy_shared_memory();
}
}