33 lines
836 B
C
33 lines
836 B
C
#ifndef __CHARACTER_H__
|
|
#define __CHARACTER_H__
|
|
|
|
#include <ultra64.h>
|
|
|
|
typedef struct {
|
|
// Possible data still undiscovered:
|
|
// - Element
|
|
// - Gender
|
|
// - Alignment
|
|
// - Held items (four u16's)
|
|
|
|
/* 0x00 */ s8 name[0x10];
|
|
/* 0x10 */ u8 field_0x10;
|
|
/* 0x11 */ u8 portrait;
|
|
/* 0x12 */ u8 class;
|
|
/* 0x13 */ u8 level;
|
|
/* 0x14 */ u8 field_0x14[0x2];
|
|
/* 0x16 */ u16 max_hp;
|
|
/* 0x18 */ u16 cur_hp;
|
|
/* 0x1A */ u8 field_0x1a[0x2];
|
|
/* 0x1C */ u16 strength;
|
|
/* 0x1E */ u16 vitality;
|
|
/* 0x20 */ u16 intelligence;
|
|
/* 0x22 */ u16 mem;
|
|
/* 0x24 */ u16 agility;
|
|
/* 0x26 */ u16 dexterity;
|
|
/* 0x28 */ u8 field_0x28[0x10];
|
|
} CharacterSlot; // size:0x38
|
|
|
|
// const int __size = sizeof(CharacterSlot);
|
|
|
|
#endif // __CHARACTER_H__
|