summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2021-08-08 20:08:01 -0700
committerGitHub <noreply@github.com>2021-08-08 23:08:01 -0400
commit3bac4232fdd448288b7c25eb2fdced324da1e986 (patch)
treeb7b5a2f7582b6a56d35783be197a7a5c3371a2e0 /include
parent823281291bf046a9c10159d8e2c72de38fa4643c (diff)
Matched last function in Ovl_en_encount2 (#252)
* Matched last function * Format * Fix Gfx arrays
Diffstat (limited to 'include')
-rw-r--r--include/math.h2
-rw-r--r--include/variables.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/include/math.h b/include/math.h
index a50d4178c..316bc5710 100644
--- a/include/math.h
+++ b/include/math.h
@@ -9,7 +9,7 @@
#define FLT_MAX 340282346638528859811704183484516925440.0f
#define SHT_MAX 32767.0f
#define SHT_MINV (1.0f / SHT_MAX)
-#define DEGTORAD(x) (x * M_PI / 180.0f)
+#define DEGTORAD(x) ((x) * (M_PI / 180.0f))
typedef union {
struct {
diff --git a/include/variables.h b/include/variables.h
index 531ab0eaf..31443e6a8 100644
--- a/include/variables.h
+++ b/include/variables.h
@@ -4061,7 +4061,8 @@ extern Gfx D_04075B30[];
extern Gfx D_04076BC0[];
extern Gfx D_04077480[];
extern UNK_TYPE D_04079B10;
-extern UNK_TYPE D_0407AB10;
+extern Gfx D_0407AB10[];
+extern Gfx D_0407AB58[];
extern UNK_TYPE D_0407AFB0;
extern Gfx D_0407D590[];
extern UNK_TYPE D_0407D650;