struct FORMATION
An enemy formation: its battle type and up to five kinds of enemy, each with the fewest and most of it that appear. More…
Declared in formations.h.
Fields
| Name | Description | |
|---|---|---|
Uint8 | layout | a FORMATION_LAYOUT_ |
Uint8 | memberIds [FORMATION_MEMBERS] | rows of enemy_table.c (enemy id less ENEMY_ID_FIRST) |
Uint8 | minCounts [FORMATION_MEMBERS] | each always appears this often |
Uint8 | maxCounts [FORMATION_MEMBERS] | max per kind while 6 sprite slots fit them; 0 if absent |
Description
An enemy formation: its battle type and up to five kinds of enemy, each with
the fewest and most of it that appear. btFormationBuildEnemyList draws a
battle's enemies from it.
struct FORMATION
Referenced by btFormationAverageLevel(), btFormationBuildEnemyList(), btFormationGetRandomMember() and Formations.
Definition at line 30 of file formations.h.
Fields in detail
layout
Uint8 layout
a FORMATION_LAYOUT_
memberIds
Uint8 memberIds[FORMATION_MEMBERS]
rows of enemy_table.c (enemy id less
ENEMY_ID_FIRST)
minCounts
Uint8 minCounts[FORMATION_MEMBERS]
each always appears this often
maxCounts
Uint8 maxCounts[FORMATION_MEMBERS]
max per kind while 6 sprite slots fit them; 0 if absent