mirror of
https://github.com/pret/pokeheartgold.git
synced 2026-05-24 05:07:18 -05:00
22 lines
828 B
C
22 lines
828 B
C
#ifndef POKEHEARTGOLD_GAME_STATS_H
|
|
#define POKEHEARTGOLD_GAME_STATS_H
|
|
|
|
#include "constants/game_stats.h"
|
|
#include "pokedex.h"
|
|
#include "save.h"
|
|
|
|
typedef struct GAME_STATS GAME_STATS;
|
|
|
|
u32 Save_GameStats_sizeof(void);
|
|
void Save_GameStats_Init(GAME_STATS *gameStats);
|
|
GAME_STATS *Save_GameStats_Get(SaveData *saveData);
|
|
void GameStats_Inc(GAME_STATS *gameStats, int which);
|
|
u32 GameStats_GetCapped(GAME_STATS *gameStats, int which);
|
|
u32 GameStats_Add(GAME_STATS *gameStats, int which, u32 value);
|
|
u32 GameStats_AddSpecial(GAME_STATS *gameStats, int which);
|
|
u32 GameStats_IncSpeciesCaught(GAME_STATS *gameStats, const Pokedex *pokedex, u16 species);
|
|
u32 GameStats_SetCapped(GAME_STATS *gameStats, int which, u32 value);
|
|
u32 GameStats_UpdateBounded(GAME_STATS *gameStats, int which, u32 value);
|
|
|
|
#endif //POKEHEARTGOLD_GAME_STATS_H
|