Operation Null Mind 0.4.1
A 2D roguelike top down shooter game made with SDL2
 
Loading...
Searching...
No Matches
enemy_start.c File Reference

Initializes the enemy system. More...

#include <enemy.h>
#include <enemy_types.h>
#include <app.h>
#include <circle.h>

Functions

void Enemy_Init ()
 [Start] Initializes the enemy system
 

Variables

EnemyData enemies [ENEMY_MAX]
 [Data] Global arrays for enemy storage and spawn indicator texture
 
EnemyData * enemyList [ENEMY_TYPE_COUNT]
 
SDL_Texture * Enemy_spawnIndicator = NULL
 Texture for enemy spawn indicator.
 

Detailed Description

Initializes the enemy system.

Sets up the enemy management system, prepares enemy slots and loads shared enemy resources.

Author
Mango
Date
2025-03-04

Function Documentation

◆ Enemy_Init()

void Enemy_Init ( )

[Start] Initializes the enemy system

Prepares all enemy slots as inactive and loads necessary textures.

Variable Documentation

◆ enemies

EnemyData enemies[ENEMY_MAX]

[Data] Global arrays for enemy storage and spawn indicator texture

Array of enemies.

◆ Enemy_spawnIndicator

SDL_Texture* Enemy_spawnIndicator = NULL

Texture for enemy spawn indicator.

◆ enemyList