summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRémi Calixte <remicalixte.rmc@gmail.com>2021-03-21 17:14:16 +0100
committerRémi Calixte <remicalixte.rmc@gmail.com>2021-03-21 17:14:16 +0100
commit7f951b36a4cdac81b9e7da235b73c79e84d51053 (patch)
treec04d53068d6ec34c3175f770f7d729a4809f1e14 /include
parent8f469065b93a2b26024eb77e2531b1b158f20d9f (diff)
parent00ecc6db377847f7199cb3f1c443497ef3581bfe (diff)
Merge branch 'master' into unk_0208A998
Diffstat (limited to 'include')
-rw-r--r--include/timer3.h21
-rw-r--r--include/unk_02015E30.h1
2 files changed, 22 insertions, 0 deletions
diff --git a/include/timer3.h b/include/timer3.h
new file mode 100644
index 00000000..be6e1da8
--- /dev/null
+++ b/include/timer3.h
@@ -0,0 +1,21 @@
+#ifndef POKEDIAMOND_TIMER3_H
+#define POKEDIAMOND_TIMER3_H
+
+
+#include "global.h"
+
+struct Timer3Data
+{
+ BOOL NeedReset;
+ vu64 Timer3Counter;
+};
+
+THUMB_FUNC void Init_Timer3();
+THUMB_FUNC void CountUpTimer3();
+THUMB_FUNC u64 internal_GetTimer3Count();
+THUMB_FUNC u64 GetTimer3Count();
+THUMB_FUNC u64 Timer3CountToMilliSeconds(u64 count);
+THUMB_FUNC u64 Timer3CountToSeconds(u64 count);
+
+
+#endif //POKEDIAMOND_TIMER3_H
diff --git a/include/unk_02015E30.h b/include/unk_02015E30.h
index 32a46d39..6a4d6c15 100644
--- a/include/unk_02015E30.h
+++ b/include/unk_02015E30.h
@@ -3,6 +3,7 @@
#include "global.h"
#include "igt.h"
+#include "timer3.h"
struct UnkStruct_02015E30
{