Skip to content

Commit

Permalink
More zhud matches
Browse files Browse the repository at this point in the history
  • Loading branch information
escape209 committed Jul 14, 2024
1 parent 9f2cad4 commit e0a2928
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/SB/Game/zHud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,30 @@
#include "zHud.h"

#include <types.h>
#include <string.h>

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;
}

1 comment on commit e0a2928

@escape209
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Also reorder definitions to align with declaration order)

Please sign in to comment.