struct FORMATION
An enemy formation: up to five kinds of enemy, each with the fewest and most of it that appear. More…
Declared in formations.h.
Fields
| Name | Description | |
|---|---|---|
Uint16 | memberIds [FORMATION_MEMBERS] | enemy ids less 8 |
Uint8 | minCounts [FORMATION_MEMBERS] | each always appears this often |
Uint8 | maxCounts [FORMATION_MEMBERS] | at most this many (within 6 sprite slots); 0 if absent |
Uint8 | layout | a FORMATION_LAYOUT_ |
Uint8 | reserved [3] | 0 in every row |
Description
An enemy formation: up to five kinds of enemy, each with the fewest and most
of it that appear. A formation's number is a battle's, and a Djinni battle's
is DJINNI_BATTLE_SCRIPT_FIRST plus the Djinni's.
struct FORMATION
Referenced by btFormationAverageLevel(), btFormationBuildEnemyList(), btFormationGetRandomMember() and Formations.
Definition at line 31 of file formations.h.
Fields in detail
memberIds
Uint16 memberIds[FORMATION_MEMBERS]
enemy ids less 8
minCounts
Uint8 minCounts[FORMATION_MEMBERS]
each always appears this often
maxCounts
Uint8 maxCounts[FORMATION_MEMBERS]
at most this many (within 6 sprite slots); 0 if absent
layout
Uint8 layout
a FORMATION_LAYOUT_
reserved
Uint8 reserved[3]
0 in every row