This file contains the data for the Sabot enemy type. More...
Go to the source code of this file.
Classes | |
| struct | SabotConfig |
Functions | |
| void | Sabot_Start (EnemyData *data) |
| [Start] Initializes a Sabot enemy instance | |
| void | Sabot_Update (EnemyData *data) |
| [PostUpdate] Updates the Sabot enemy's state and behavior | |
| void | Sabot_Render (EnemyData *data) |
| [Render] Renders the Sabot enemy | |
| void | Sabot_UpdateParticles () |
| Updates all particle emitters related to the Sabot enemy. | |
| void | Sabot_RenderParticles () |
Variables | |
| ParticleEmitter * | SabotBulletEmitter |
| ParticleEmitter * | SabotBulletFragmentsEmitter |
| ParticleEmitter * | SabotMuzzleFlashEmitter |
| ParticleEmitter * | SabotCasingEmitter |
| ParticleEmitter * | SabotExplosionEmitter |
| SDL_Texture * | SabotExplosionIndicator |
| SabotConfig | SabotConfigData |
| EnemyData | SabotData |
| [Data] Sabot enemy default data | |
This file contains the data for the Sabot enemy type.
| void Sabot_Render | ( | EnemyData * | data | ) |
[Render] Renders the Sabot enemy
This function handles the rendering of the Sabot enemy type.
| data | Pointer to the enemy data structure |
| void Sabot_RenderParticles | ( | ) |
| void Sabot_Start | ( | EnemyData * | data | ) |
[Start] Initializes a Sabot enemy instance
Sets up the Sabot enemy's resources including animations, particle effects, and timers.
| data | Pointer to the enemy data structure to initialize |
| void Sabot_Update | ( | EnemyData * | data | ) |
[PostUpdate] Updates the Sabot enemy's state and behavior
The Sabot enemy fires tracking projectiles that explode on impact. This function handles movement, targeting, and shooting mechanics.
| data | Pointer to the enemy data structure |
| void Sabot_UpdateParticles | ( | ) |
Updates all particle emitters related to the Sabot enemy.
Handles the physics and tracking behavior of Sabot projectiles, including homing behavior, explosion effects, and damage calculation. The Sabot's projectiles are unique in that they track the player for a short time after being fired.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
[Data] Sabot enemy default data
This structure defines the default properties, stats and settings for the Sabot enemy type.
|
extern |
|
extern |
|
extern |