Alchemy
Loading...
Searching...
No Matches

game.h

Go to the documentation of this file.
1#ifndef GAME_H
2#define GAME_H
3
4/// @file
5/// The item and summon tables and the game bank's routines.
6
7#include "types.h"
8#include "edition.h"
9#include "battle_summon.h"
10#include "battle_unit.h"
11#include "item.h"
12#include "character_ids.h"
13#include "character.h"
14#include "preset_table.h"
15#include "farcall.h"
16
17struct ItemDefinition;
18struct SummonDefinition;
19
21extern const struct SummonDefinition gSummon_DefinitionTable[];
22
23struct BattleAct;
24struct EnemyDefinition;
25struct PresetValues;
26
28extern const u8 gCharacter_ElementGroupTable[];
32extern const struct DjinnDefinition gDjinn_DefinitionTable[];
33extern const s16 gElement_PowerResistCurve[5][2];
34extern const struct EnemyDefinition gEnemy_Definitions[];
36extern u8 gGameFlagBytes[];
37extern u16 gInventorySnapshot[];
38extern u8 gItemCounters[128];
39extern u8 gSaveStamp[];
43extern u8 gSummon_OrderList[16];
45
46#endif
Summons and the battle sprite definitions of the enemy classes.
BattleUnit, a party member's or enemy's battle state, with the elements, abilities and actions it use...
The definitions of characters, classes, Djinn and enemies, and a level up's result.
Character numbers, with each character's Japanese name.
The edition's language, for C to compare (LANGUAGE == LANGUAGE_GERMAN).
Public interfaces to the engine's code banks.
const struct SummonDefinition gSummon_DefinitionTable[]
s16 gDjinn_ElementSprites[]
u8 gSummon_OrderList[16]
u8 gSaveStamp[]
const struct EnemyDefinition gEnemy_Definitions[]
s16 gCharacter_SpriteTable[]
const struct DjinnDefinition gDjinn_DefinitionTable[]
struct BattleAct gBattleAction_DefinitionTable[]
s32 Audio_Check(void)
u16 gInventorySnapshot[]
const u8 gCharacter_ElementGroupTable[]
s16 gCharacter_ChildSpriteTable[]
s32 gOwner_FourColumnValues[]
u8 gItem_ArtifactSlotTable[]
u8 gGameFlagBytes[]
const s16 gElement_PowerResistCurve[5][2]
struct PresetValues gEnemy_ElementPresetTable[]
struct ItemDefinition gItem_DefinitionTable[]
u8 gItemCounters[128]
u32 gCharacter_LevelExpTable[]
Items: their definitions, types, flags and effects.
PresetValues, a row of preset values.
An ability's definition, a row of gBattleAction_DefinitionTable: its targeting, kind,...
A Djinni: its ability and the stat bonuses it gives while set.
Definition character.h:71
An enemy's definition: its level and stats, items, element preset, the actions it chooses from and it...
Definition character.h:89
An item's definition: its price, type, who can equip it, its bonuses and unleash, its effects and the...
Definition item.h:104
An enemy's element preset in gEnemy_ElementPresetTable: the element it attacks with,...
A summon: its name's message and the Djinn of each element it needs.
The integer types, TRUE, UNUSED and the fixed-address macros.
signed int s32
Definition types.h:14
unsigned int u32
Definition types.h:15
signed short s16
Definition types.h:12
unsigned short u16
Definition types.h:13
unsigned char u8
Definition types.h:11