summaryrefslogtreecommitdiff
path: root/src/code/sys_math3d.c
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2024-07-28 16:53:28 -0400
committerGitHub <noreply@github.com>2024-07-28 13:53:28 -0700
commitcd087d85113291740357f9e7caaef916575a2775 (patch)
tree509ddb8333644a32d737b9101ceae0187ed466e6 /src/code/sys_math3d.c
parent43cac345667dee5568434c1cd54f432322dde1a1 (diff)
Introduce a bunch of small new headers (#1649)
* regs.h * gfxalloc.h * z64inventory.h * gfx.h * graph.h * z64olib.h * z64elf_message.h * fix missing include * Include z64inventory.h on z64save.h * fix bss * Move PosRot to z64math.h * So dumb * Update src/overlays/actors/ovl_En_Kusa/z_en_kusa.c Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * review * Remove graph.h * bss --------- Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
Diffstat (limited to 'src/code/sys_math3d.c')
-rw-r--r--src/code/sys_math3d.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/code/sys_math3d.c b/src/code/sys_math3d.c
index 4e9bcdc05..d770a0d73 100644
--- a/src/code/sys_math3d.c
+++ b/src/code/sys_math3d.c
@@ -1,6 +1,6 @@
#include "prevent_bss_reordering2.h" // bumps the bss index by 65
// clang-format off
-// Partial structs taken from "prevent_bss_reordering.h", bumps the bss index by 56
+// Partial structs taken from "prevent_bss_reordering.h", bumps the bss index by 59
struct Dummy200 { int x; };
struct Dummy201 { int x; };
struct Dummy202 { int x; };
@@ -29,12 +29,15 @@ struct Dummy224 { int x; };
struct Dummy225 { int x; };
struct Dummy226 { int x; };
struct Dummy227 { int x; };
+struct Dummy228 { int x; };
+typedef int Dummy229;
+
// clang-format on
-// Headers are currently valued at 63 mod 256 (./tools/calc_bss.sh <headers>)
+// Headers are currently valued at 60 mod 256 (./tools/calc_bss.sh <headers>)
#include "z64math.h"
-#include "libc/stdbool.h"
+#include "stdbool.h"
#include "PR/gu.h"
// The bss index at this point should be 184