summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/contest.h13
-rw-r--r--include/global.h1
2 files changed, 2 insertions, 12 deletions
diff --git a/include/contest.h b/include/contest.h
index 40a9ad099..8c3495920 100644
--- a/include/contest.h
+++ b/include/contest.h
@@ -297,16 +297,6 @@ struct ContestantStatus
/*0x1B*/ u8 unk1B;
};
-struct UnknownContestStruct3
-{
- u8 unk0;
- u8 unk1;
- //u8 unk2_0:1;
- //u8 unk2_1:1;
- u8 unk2; // maybe a bitfield
- u8 filler3;
-};
-
// possibly the same as UnknownContestStruct3?
struct UnknownContestStruct4
{
@@ -315,7 +305,6 @@ struct UnknownContestStruct4
u8 unk2_0:1;
u8 unk2_1:1;
u8 unk2_2:1;
- u8 filler3;
};
struct UnknownContestStruct5
@@ -331,7 +320,7 @@ struct UnknownContestStruct7
u8 turnOrder[4];
s16 jam;
s16 jam2;
- u8 unk8[5];
+ u8 jamQueue[5];
u8 unkD[4];
u8 contestant;
};
diff --git a/include/global.h b/include/global.h
index faa4ace68..0949c87cb 100644
--- a/include/global.h
+++ b/include/global.h
@@ -17,6 +17,7 @@
void *memcpy (void *, const void *, size_t);
void *memset (void *, int, size_t);
int strcmp (const char *, const char *);
+#define abs(a) ((a) >= 0 ? (a) : -(a))
#endif
// Prevent cross-jump optimization.