blob: 81203affe3f4be54aca85569f844a175b1053205 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#pragma once
#include <heap/seadDisposer.h>
#include <heap/seadHeap.h>
#include "KingSystem/Utils/Types.h"
namespace ksys {
class SystemTimers {
SEAD_SINGLETON_DISPOSER(SystemTimers);
SystemTimers() = default;
virtual ~SystemTimers();
public:
void init();
void init2();
void prepareStageUnload();
void incrementCountersAndUpdate();
void incrementCounters();
unsigned int mFrameCounter = 0;
int mFrameCounter2 = 0;
float mVfrTimer = 0;
int mFrameCounterB = 0;
float mVfrTimer2 = 0;
int mFrameCounterB2 = 0;
};
KSYS_CHECK_SIZE_NX150(SystemTimers, 0x40);
} // namespace ksys
|