Alchemy
Loading...
Searching...
No Matches

character.h File Reference

The definitions of characters, classes, Djinn and enemies, and a level up's result. More...

Go to the source code of this file.

Data Structures

struct  CharacterDefinition
 A character's definition: the growth curves of its stats, its element bonus, starting level and starting equipment. More...
struct  ClassAbility
 An ability a class teaches, and the level it is learned at. More...
struct  ClassDefinition
 A class: its series, the element levels it needs, its stat multipliers and the abilities it teaches. More...
struct  DjinnDefinition
 A Djinni: its ability and the stat bonuses it gives while set. More...
struct  EnemyDefinition
 An enemy's definition: its level and stats, items, element preset, the actions it chooses from and its rewards. More...
struct  LevelUpResult
 A level up's result: the level reached, an ability learned and the gain in each stat. More...

Functions

 STATIC_ASSERT (sizeof(struct CharacterDefinition)==0xb4)
 STATIC_ASSERT (offsetof(struct CharacterDefinition, hp)==0x50)
 STATIC_ASSERT (offsetof(struct CharacterDefinition, startingLevel)==0x96)
 STATIC_ASSERT (offsetof(struct CharacterDefinition, items)==0x98)
 STATIC_ASSERT (sizeof(struct ClassDefinition)==0x54)
 STATIC_ASSERT (offsetof(struct ClassDefinition, hp)==8)
 STATIC_ASSERT (sizeof(struct ClassAbility)==4)
 STATIC_ASSERT (offsetof(struct ClassDefinition, abilities)==0x10)
 STATIC_ASSERT (sizeof(struct DjinnDefinition)==0xc)
 STATIC_ASSERT (offsetof(struct DjinnDefinition, abilityId)==0)
 STATIC_ASSERT (offsetof(struct DjinnDefinition, unk02)==2)
 STATIC_ASSERT (offsetof(struct DjinnDefinition, hp)==4)
 STATIC_ASSERT (sizeof(struct EnemyDefinition)==0x54)
 STATIC_ASSERT (offsetof(struct EnemyDefinition, rewards)==0x20)
 STATIC_ASSERT (offsetof(struct EnemyDefinition, actionStrategy)==0x36)
 STATIC_ASSERT (offsetof(struct EnemyDefinition, itemActions)==0x37)
 STATIC_ASSERT (offsetof(struct EnemyDefinition, actions)==0x38)
 STATIC_ASSERT (offsetof(struct EnemyDefinition, coins)==0x4c)
 STATIC_ASSERT (offsetof(struct EnemyDefinition, experience)==0x52)
 STATIC_ASSERT (sizeof(struct LevelUpResult)==0x10)

Variables

struct CharacterDefinition gCharacter_DefinitionTable []
struct ClassDefinition gClass_DefinitionTable []

Detailed Description

The definitions of characters, classes, Djinn and enemies, and a level up's result.

Definition in file character.h.

Function Documentation

◆ STATIC_ASSERT() [1/20]

STATIC_ASSERT ( sizeof(struct CharacterDefinition) = =0xb4)

◆ STATIC_ASSERT() [2/20]

STATIC_ASSERT ( offsetof(struct CharacterDefinition, hp) = =0x50)

◆ STATIC_ASSERT() [3/20]

STATIC_ASSERT ( offsetof(struct CharacterDefinition, startingLevel) = =0x96)

◆ STATIC_ASSERT() [4/20]

STATIC_ASSERT ( offsetof(struct CharacterDefinition, items) = =0x98)

◆ STATIC_ASSERT() [5/20]

STATIC_ASSERT ( sizeof(struct ClassDefinition) = =0x54)

◆ STATIC_ASSERT() [6/20]

STATIC_ASSERT ( offsetof(struct ClassDefinition, hp) = =8)

◆ STATIC_ASSERT() [7/20]

STATIC_ASSERT ( sizeof(struct ClassAbility) = =4)

◆ STATIC_ASSERT() [8/20]

STATIC_ASSERT ( offsetof(struct ClassDefinition, abilities) = =0x10)

◆ STATIC_ASSERT() [9/20]

STATIC_ASSERT ( sizeof(struct DjinnDefinition) = =0xc)

◆ STATIC_ASSERT() [10/20]

STATIC_ASSERT ( offsetof(struct DjinnDefinition, abilityId) = =0)

◆ STATIC_ASSERT() [11/20]

STATIC_ASSERT ( offsetof(struct DjinnDefinition, unk02) = =2)

◆ STATIC_ASSERT() [12/20]

STATIC_ASSERT ( offsetof(struct DjinnDefinition, hp) = =4)

◆ STATIC_ASSERT() [13/20]

STATIC_ASSERT ( sizeof(struct EnemyDefinition) = =0x54)

◆ STATIC_ASSERT() [14/20]

STATIC_ASSERT ( offsetof(struct EnemyDefinition, rewards) = =0x20)

◆ STATIC_ASSERT() [15/20]

STATIC_ASSERT ( offsetof(struct EnemyDefinition, actionStrategy) = =0x36)

◆ STATIC_ASSERT() [16/20]

STATIC_ASSERT ( offsetof(struct EnemyDefinition, itemActions) = =0x37)

◆ STATIC_ASSERT() [17/20]

STATIC_ASSERT ( offsetof(struct EnemyDefinition, actions) = =0x38)

◆ STATIC_ASSERT() [18/20]

STATIC_ASSERT ( offsetof(struct EnemyDefinition, coins) = =0x4c)

◆ STATIC_ASSERT() [19/20]

STATIC_ASSERT ( offsetof(struct EnemyDefinition, experience) = =0x52)

◆ STATIC_ASSERT() [20/20]

STATIC_ASSERT ( sizeof(struct LevelUpResult) = =0x10)

Variable Documentation

◆ gCharacter_DefinitionTable

struct CharacterDefinition gCharacter_DefinitionTable[]
extern

◆ gClass_DefinitionTable

struct ClassDefinition gClass_DefinitionTable[]
extern