This file contains the data for the Tactician enemy type. More...
Go to the source code of this file.
Classes | |
| struct | TacticianConfig |
Enumerations | |
| enum | TacticianState { TACTICIAN_STATE_WALKING = 0 , TACTICIAN_STATE_SHOOTING = 1 << 0 , TACTICIAN_STATE_COMMANDING = 1 << 1 } |
Functions | |
| void | Tactician_Start (EnemyData *data) |
| [Start] Initializes a Tactician enemy instance | |
| void | Tactician_Update (EnemyData *data) |
| [PostUpdate] Updates the Tactician enemy's state and behavior | |
| void | Tactician_Render (EnemyData *data) |
| void | Tactician_UpdateParticles () |
| Updates all particle emitters related to the Tactician enemy. | |
| void | Tactician_RenderParticles () |
Variables | |
| ParticleEmitter * | TacticianBulletEmitter |
| ParticleEmitter * | TacticianBulletFragmentsEmitter |
| ParticleEmitter * | TacticianMuzzleFlashEmitter |
| ParticleEmitter * | TacticianCasingEmitter |
| SDL_Texture * | TacticianBuffCircleTexture |
| TacticianConfig | TacticianConfigData |
| EnemyData | TacticianData |
| [Data] Tactician enemy default data | |
This file contains the data for the Tactician enemy type.
| enum TacticianState |
| void Tactician_Render | ( | EnemyData * | data | ) |
| void Tactician_RenderParticles | ( | ) |
| void Tactician_Start | ( | EnemyData * | data | ) |
[Start] Initializes a Tactician enemy instance
Sets up the Tactician enemy's resources including animations, particle effects, and timers.
| data | Pointer to the enemy data structure to initialize |
| void Tactician_Update | ( | EnemyData * | data | ) |
[PostUpdate] Updates the Tactician enemy's state and behavior
Handles the state machine for the Tactician enemy, which can buff nearby enemies and fire bursts of shots at the player. The Tactician is designed to maintain distance from the player while supporting other enemies.
| data | Pointer to the enemy data structure |
| void Tactician_UpdateParticles | ( | ) |
Updates all particle emitters related to the Tactician enemy.
Processes particle physics, collision detection, and damage calculation for bullets fired by the Tactician enemy. Also handles special visual effects for the buff ability and bullet impacts.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
[Data] Tactician enemy default data
This structure defines the default properties, stats and settings for the Tactician enemy type.
|
extern |