mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-04-23 07:28:11 -05:00
51 lines
1.2 KiB
C
51 lines
1.2 KiB
C
#ifndef POKEPLATINUM_STRUCT_BATTLER_DATA_H
|
|
#define POKEPLATINUM_STRUCT_BATTLER_DATA_H
|
|
|
|
#include "battle/healthbar.h"
|
|
#include "battle/struct_ov16_0226C378.h"
|
|
#include "battle_anim/struct_ball_rotation_decl.h"
|
|
#include "battle_anim/struct_ov12_02223764.h"
|
|
|
|
#include "bg_window.h"
|
|
#include "narc.h"
|
|
#include "pokemon_sprite.h"
|
|
#include "sprite.h"
|
|
#include "sys_task_manager.h"
|
|
|
|
typedef struct BattlerDataSysTaskFuncs {
|
|
SysTaskFunc func_00;
|
|
SysTaskFunc func_04;
|
|
SysTaskFunc func_08;
|
|
SysTaskFunc func_0C;
|
|
SysTaskFunc func_10;
|
|
SysTaskFunc func_14;
|
|
} BattlerDataSysTaskFuncs;
|
|
|
|
#define DATA_BUF_SIZE 256
|
|
|
|
typedef struct BattlerData {
|
|
BattlerDataSysTaskFuncs taskFuncs;
|
|
ManagedSprite *managedSprite;
|
|
PokemonSprite *monSpriteBackup;
|
|
PokemonSprite *monSprite;
|
|
Window *unused_24;
|
|
Healthbar healthbar;
|
|
UnkStruct_ov16_0226C378 unk_7B;
|
|
BallRotation *ballRotation;
|
|
UnkStruct_ov12_02223764 *unk_88;
|
|
void *unused_8C;
|
|
u8 data[DATA_BUF_SIZE];
|
|
u8 battler;
|
|
u8 battlerType;
|
|
u8 bootState;
|
|
u8 unk_193;
|
|
SysTask *sysTask;
|
|
u16 degrees;
|
|
int unk_19C;
|
|
NARC *narc;
|
|
u8 unk_1A4;
|
|
u8 unused_1A5[3];
|
|
} BattlerData;
|
|
|
|
#endif // POKEPLATINUM_STRUCT_BATTLER_DATA_H
|