mirror of
https://github.com/pret/pokeruby.git
synced 2025-01-07 13:11:04 +00:00
Define gSineTable in trig.h
This commit is contained in:
parent
6f2cd1e2da
commit
3f7d0a195a
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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[];
|
||||
|
@ -1,7 +1,6 @@
|
||||
#include "global.h"
|
||||
#include "trig.h"
|
||||
|
||||
extern s16 gSineTable[];
|
||||
extern s16 gSineDegreeTable[];
|
||||
|
||||
// amplitude * sin(index*(π/128))
|
||||
|
Loading…
Reference in New Issue
Block a user