From f92773041808697bcdfd0a8f0743b0f863c66ee8 Mon Sep 17 00:00:00 2001 From: fullgrowngaming <42490167+fullgrowngaming@users.noreply.github.com> Date: Sun, 11 Oct 2020 16:30:22 -0700 Subject: Arms_Hook OK (#33) * All but 2 functions matched * More work on hookshot * hookshot work * 2 functions left (and one is almost done) * sp issues with draw, but matching otherwise * hookshot matching * Changed rodata inclusion for armshook * Hookshot OK * Resolve script conflicts * Rename unk variables to match MM standard * Made requested changes --- src/code/z_eff_footmark.c | 2 -- src/code/z_lib.c | 4 ---- src/code/z_lights.c | 4 ---- 3 files changed, 10 deletions(-) (limited to 'src/code') diff --git a/src/code/z_eff_footmark.c b/src/code/z_eff_footmark.c index bb7c83813..2405e39fd 100644 --- a/src/code/z_eff_footmark.c +++ b/src/code/z_eff_footmark.c @@ -1,7 +1,5 @@ #include #include -extern float fabsf(float); -#pragma intrinsic (fabsf) void EffFootmark_Init(GlobalContext* ctxt) { EffFootmark* footmark; diff --git a/src/code/z_lib.c b/src/code/z_lib.c index f1e0051bb..09f75f2ce 100644 --- a/src/code/z_lib.c +++ b/src/code/z_lib.c @@ -1,10 +1,6 @@ #include #include -#pragma intrinsic (sqrtf) -extern float fabsf(float); -#pragma intrinsic (fabsf) - void* Lib_bcopy(void* dest, void* src, size_t n) { _bcopy(src, dest, n); diff --git a/src/code/z_lights.c b/src/code/z_lights.c index 57bc3b0a8..1f3a52a94 100644 --- a/src/code/z_lights.c +++ b/src/code/z_lights.c @@ -1,10 +1,6 @@ #include #include -#pragma intrinsic (sqrtf) -extern float fabsf(float); -#pragma intrinsic (fabsf) - void Lights_InitPositionalLight(LightInfoPositional* info, s16 posX, s16 posY, s16 posZ, u8 red, u8 green, u8 blue, s16 radius, u32 type) { info->type = type; info->params.posX = posX; -- cgit v1.2.3