Merge pull request #1018 from GriffinRichards/sync-util
Sync link game util files
This commit is contained in:
26
include/digit_obj_util.h
Normal file
26
include/digit_obj_util.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef GUARD_DIGIT_OBJ_UTIL_H
|
||||
#define GUARD_DIGIT_OBJ_UTIL_H
|
||||
|
||||
struct DigitObjUtilTemplate
|
||||
{
|
||||
u8 strConvMode:2;
|
||||
u8 shape:2;
|
||||
u8 size:2;
|
||||
u8 priority:2;
|
||||
u8 oamCount;
|
||||
u8 xDelta;
|
||||
s16 x;
|
||||
s16 y;
|
||||
const struct SpriteSheet *spriteSheet;
|
||||
const struct SpritePalette *spritePal;
|
||||
};
|
||||
|
||||
bool32 DigitObjUtil_Init(u32 count);
|
||||
void DigitObjUtil_Free(void);
|
||||
bool32 DigitObjUtil_CreatePrinter(u32 id, s32 num, const struct DigitObjUtilTemplate *template);
|
||||
void DigitObjUtil_PrintNumOn(u32 id, s32 arg1);
|
||||
void DigitObjUtil_DeletePrinter(u32 id);
|
||||
void DigitObjUtil_HideOrShow(u32 id, bool32 arg1);
|
||||
u8 GetTilesPerImage(u32 shape, u32 size);
|
||||
|
||||
#endif // GUARD_DIGIT_OBJ_UTIL_H
|
||||
7
include/minigame_countdown.h
Normal file
7
include/minigame_countdown.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#ifndef GUARD_MINIGAME_COUNTDOWN_H
|
||||
#define GUARD_MINIGAME_COUNTDOWN_H
|
||||
|
||||
void StartMinigameCountdown(u16 tilesTag, u16 palTag, s16 x, s16 y, u8 subpriority);
|
||||
bool32 IsMinigameCountdownRunning(void);
|
||||
|
||||
#endif //GUARD_MINIGAME_COUNTDOWN_H
|
||||
@@ -8,7 +8,5 @@ bool32 IsSpeciesAllowedInPokemonJump(u16 species);
|
||||
void IsPokemonJumpSpeciesInParty(void);
|
||||
void ResetPokeJumpResults(void);
|
||||
void ShowPokemonJumpRecords(void);
|
||||
void sub_802EB24(s16 tileTag, s16 palTag, s16 x, s16 y, u8 subpriority);
|
||||
bool32 sub_802EB84(void);
|
||||
|
||||
#endif // GUARD_POKEMON_JUMP_H
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
#ifndef GUARD_ROM_8034C54_H
|
||||
#define GUARD_ROM_8034C54_H
|
||||
|
||||
struct UnkStruct3
|
||||
{
|
||||
u8 field_0_0:2;
|
||||
u8 shape:2;
|
||||
u8 size:2;
|
||||
u8 priority:2;
|
||||
u8 field_1;
|
||||
u8 xDelta;
|
||||
s16 x;
|
||||
s16 y;
|
||||
const struct SpriteSheet *spriteSheet;
|
||||
const struct SpritePalette *spritePal;
|
||||
};
|
||||
|
||||
bool32 sub_8034C54(u32 count);
|
||||
void sub_8034CC8(void);
|
||||
bool32 sub_8034D14(u32 id, s32 arg1, const struct UnkStruct3 *arg2);
|
||||
void sub_8035044(u32 id, s32 arg1);
|
||||
void sub_80353DC(u32 id);
|
||||
void sub_803547C(u32 id, bool32 arg1);
|
||||
u8 sub_80355F8(u32 shape, u32 size);
|
||||
|
||||
#endif // GUARD_ROM_8034C54_H
|
||||
Reference in New Issue
Block a user