NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
d_warning_manager.hpp
1#pragma once
2
3#include <types.h>
4
6public:
7 void AllWarningEnd(bool);
8 void setError(int errorID) { m_b8f = true; mErrorID = errorID; }
9 static void CreateWarningManager();
10 static void addWarningForbid() NOINLINE { m_WarningForbid++; }
11 static void subWarningForbid() NOINLINE { if (m_WarningForbid > 0) m_WarningForbid--; }
12 static bool isError() { return m_Created && m_WarningCheck; }
13
14 u8 mPad1[0xb00];
15 int m_b00;
16 u8 mPad2[0x5];
17 bool m_b09;
18 u8 mPad3[0x46];
19 int mErrorID;
20 u8 mPad4[0x3b];
21 bool m_b8f;
22
23 static bool m_Created;
24 static bool m_WarningCheck;
25 static int m_WarningForbid;
26 static dWarningManager_c *m_instance;
27};