mirror of
https://github.com/pret/pokeruby.git
synced 2025-02-26 08:05:33 +00:00
RNG header
This commit is contained in:
parent
8459f924d1
commit
74957cfce6
9
include/rng.h
Normal file
9
include/rng.h
Normal file
@ -0,0 +1,9 @@
|
||||
#ifndef GUARD_RNG_H
|
||||
#define GUARD_RNG_H
|
||||
|
||||
extern u32 gRngValue;
|
||||
|
||||
u16 Random(void);
|
||||
void SeedRng(u16 seed);
|
||||
|
||||
#endif // GUARD_RNG_H
|
@ -6,6 +6,7 @@
|
||||
#include "songs.h"
|
||||
#include "link.h"
|
||||
#include "palette.h"
|
||||
#include "rng.h"
|
||||
|
||||
#define SIO_MULTI_CNT ((struct SioMultiCnt *)REG_ADDR_SIOCNT)
|
||||
|
||||
@ -27,8 +28,6 @@ struct LinkTestBGInfo
|
||||
};
|
||||
|
||||
extern void sub_8071C4C(const struct WindowConfig *);
|
||||
extern u16 Random(void);
|
||||
extern void SeedRng(u16);
|
||||
extern void sub_80516C4(u8, u16);
|
||||
|
||||
extern u8 unk_2000000[];
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include "main.h"
|
||||
#include "rtc.h"
|
||||
#include "link.h"
|
||||
#include "rng.h"
|
||||
|
||||
extern struct SoundInfo gSoundInfo;
|
||||
extern u32 gUnknown_3004820;
|
||||
@ -56,8 +57,6 @@ COMM_2(u8 gPcmDmaCounter)
|
||||
EWRAM_DATA void (*gFlashTimerIntrFunc)(void) = NULL;
|
||||
|
||||
extern void sub_800C35C(void);
|
||||
extern u16 Random(void);
|
||||
extern void SeedRng(u16);
|
||||
extern void remove_some_task(void);
|
||||
extern void c2_copyright_1();
|
||||
extern u32 sub_80558AC(void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user