Which units are in a battle, and the Djinn recovery list. More...
Go to the source code of this file.
Data Structures | |
| struct | DjinnRecoveryEntry |
| A Djinni on standby or recovering: its element and index, its owner, and the turns until it is set again. More... | |
| struct | DjinnRecoveryList |
| One side's Djinn recovery list: up to 64 entries and their count. More... | |
| struct | DjinnRecoveryTable |
| One side's Djinn recovery table, as Djinn_GetRecoveryTable returns it. More... | |
Enumerations | |
| enum | BattleUnitPresence { BATTLE_UNIT_ABSENT = 0 , BATTLE_UNIT_ENEMY = 1 , BATTLE_UNIT_PARTY = 2 } |
| BattleUnit.side: which side a unit fights on, if it is in the battle. More... | |
| enum | BattleUnitListMark { BATTLE_UNIT_REMOVED = 0xfe , BATTLE_UNIT_LIST_END = 0xff } |
| Marks in a list of unit ids, such as BattleWork.partyUnits and enemyIds. More... | |
| enum | BattleSideMask { BATTLE_SIDE_PARTY = 1 , BATTLE_SIDE_ENEMIES = 2 , BATTLE_SIDE_BOTH = BATTLE_SIDE_PARTY | BATTLE_SIDE_ENEMIES } |
| Which sides a unit list takes, as BattleParty_ListLivingUnits reads it. More... | |
Functions | |
| STATIC_ASSERT (sizeof(struct DjinnRecoveryEntry)==4) | |
Which units are in a battle, and the Djinn recovery list.
Definition in file battle_party.h.
| enum BattleUnitPresence |
BattleUnit.side: which side a unit fights on, if it is in the battle.
| Enumerator | |
|---|---|
| BATTLE_UNIT_ABSENT | |
| BATTLE_UNIT_ENEMY | |
| BATTLE_UNIT_PARTY | |
Definition at line 11 of file battle_party.h.
| enum BattleUnitListMark |
Marks in a list of unit ids, such as BattleWork.partyUnits and enemyIds.
| Enumerator | |
|---|---|
| BATTLE_UNIT_REMOVED | a place whose unit has left the battle |
| BATTLE_UNIT_LIST_END | ends the list |
Definition at line 18 of file battle_party.h.
| enum BattleSideMask |
Which sides a unit list takes, as BattleParty_ListLivingUnits reads it.
| Enumerator | |
|---|---|
| BATTLE_SIDE_PARTY | |
| BATTLE_SIDE_ENEMIES | |
| BATTLE_SIDE_BOTH | |
Definition at line 24 of file battle_party.h.
| STATIC_ASSERT | ( | sizeof(struct DjinnRecoveryEntry) | = =4 | ) |