diff --git a/src/SB/Game/zHud.cpp b/src/SB/Game/zHud.cpp index d0da277f..f79eb749 100644 --- a/src/SB/Game/zHud.cpp +++ b/src/SB/Game/zHud.cpp @@ -2,8 +2,30 @@ #include "zHud.h" #include +#include + +namespace +{ + widget widgets[]; + bool inited; + bool last_paused; +} void zhud::render() { xhud::render(); +} + +void zhud::init() +{ + inited = true; + xhud::init(); +} + +void zhud::destroy() +{ + inited = false; + memset(widgets, 0x0, 0x24); + xhud::destroy(); + last_paused = true; } \ No newline at end of file