summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2021-12-16 21:12:43 -0800
committertheo3 <arisstephenson2@gmail.com>2021-12-16 21:12:43 -0800
commit28bf8b929fa13f89ce0a555fbcbb5545e4e4a88a (patch)
tree95858e2f58fa2d8fae9db1d83f547b5e600ed780 /include
parentdc326a58d4aa675a4d968d4ea7a824ea33668298 (diff)
furniture ok
Diffstat (limited to 'include')
-rw-r--r--include/entity.h2
-rw-r--r--include/global.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/entity.h b/include/entity.h
index 778a3f8e..83c3a6c5 100644
--- a/include/entity.h
+++ b/include/entity.h
@@ -130,6 +130,7 @@ typedef struct Entity {
/*0x62*/ u8 spriteOffsetX;
/*0x63*/ s8 spriteOffsetY;
/*0x64*/ u32* myHeap;
+#ifndef NENT_DEPRECATED
/*0x68*/ union SplitHWord field_0x68;
/*0x6a*/ union SplitHWord field_0x6a;
/*0x6c*/ union SplitHWord field_0x6c;
@@ -144,6 +145,7 @@ typedef struct Entity {
/*0x82*/ union SplitHWord field_0x82;
/*0x84*/ union SplitHWord cutsceneBeh;
/*0x86*/ union SplitHWord field_0x86;
+#endif
} Entity;
typedef struct LinkedList {
diff --git a/include/global.h b/include/global.h
index 669d2557..e7eddd31 100644
--- a/include/global.h
+++ b/include/global.h
@@ -50,6 +50,8 @@
#define BOOLCAST(x) ((-(x) | (x)) >> 31)
#define static_assert(cond) extern char assertion[(cond) ? 1 : -1]
+#define super (&this->base)
+
#if NON_MATCHING
#define ASM_FUNC(path, decl)
#else