summaryrefslogtreecommitdiff
path: root/include/event.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2011-03-12 23:17:12 +0100
committerTreeki <treeki@gmail.com>2011-03-12 23:17:12 +0100
commit7d4e4c0b34a613dd3c0220475ae4e448197522c1 (patch)
tree4f5cee367de3fdef4f9a7c84af59ffe76a2bb1c3 /include/event.h
downloadkamek-7d4e4c0b34a613dd3c0220475ae4e448197522c1.tar.gz
kamek-7d4e4c0b34a613dd3c0220475ae4e448197522c1.zip
initial commit. now I can start playing with stuff!
Diffstat (limited to 'include/event.h')
-rwxr-xr-xinclude/event.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/event.h b/include/event.h
new file mode 100755
index 0000000..c0c1c99
--- /dev/null
+++ b/include/event.h
@@ -0,0 +1,16 @@
+#ifndef __KAMEK_EVENT_H
+#define __KAMEK_EVENT_H
+
+#include <common.h>
+
+#ifdef REGION_PAL
+ #define EVENT_TABLE (*((void**)0x8042A358))
+#endif
+
+#ifdef REGION_NTSC
+ // ...
+#endif
+
+void TriggerEventFlag(void *eventstruct, u8 event, u8 delay, u8 method, s32 unk3, u8 expiry, s32 unk5);
+
+#endif