Define gSineTable in trig.h

This commit is contained in:
Marijn van der Werf 2017-05-21 13:31:26 +02:00
parent 6f2cd1e2da
commit 3f7d0a195a
4 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,8 @@
#ifndef GUARD_TRIG_H
#define GUARD_TRIG_H
extern s16 gSineTable[];
s16 Sin(s16 index, s16 amplitude);
s16 Cos(s16 index, s16 amplitude);
s16 Sin2(u16 angle);

View File

@ -44,7 +44,6 @@ extern const u16 gIntroCopyright_Pal[];
extern const u16 gIntroCopyright_Tilemap[];
extern const u16 gUnknown_08393E64[];
extern void *const gUnknown_0840B5A0[];
extern const s16 gSineTable[];
//--------------------------------------------------
// Graphics Data

View File

@ -14,6 +14,7 @@
#include "string_util.h"
#include "strings.h"
#include "task.h"
#include "trig.h"
// I'm #define-ing these just for now so I can keep using the old unkXXX member names
#define unk60E selectedPokemon
@ -78,7 +79,6 @@ extern struct SpriteTemplate gSpriteTemplate_83A056C;
extern struct SpriteTemplate gSpriteTemplate_83A0584;
extern struct SpriteTemplate gSpriteTemplate_83A059C;
extern struct SpriteTemplate gSpriteTemplate_83A05B4;
extern s16 gSineTable[];
extern struct PokedexListItem *gUnknown_0202FFBC;
extern IntrCallback gUnknown_03005CEC;
extern u8 gUnknown_08E96BD4[];

View File

@ -1,7 +1,6 @@
#include "global.h"
#include "trig.h"
extern s16 gSineTable[];
extern s16 gSineDegreeTable[];
// amplitude * sin(index*(π/128))