4#include <aegis2d/ecs/waves.hpp>
23[[nodiscard]] std::vector<std::string>
waves_names(
const std::filesystem::path& directory);
32[[nodiscard]] aegis2d::ecs::WaveSchedule
34 const std::vector<std::string>& types =
enemy_types());
Enemy types written in Lua: their values and their behavior, run by the server.
R-Type game code, built on the Aegis2D engine.
Definition enemy_scripts.hpp:16
std::filesystem::path default_waves_file()
Waves file played by the server when none is given.
aegis2d::ecs::WaveSchedule load_waves(const std::filesystem::path &path, const std::vector< std::string > &types=enemy_types())
Reads a waves file, accepting only the enemy types it is given.
std::vector< std::string > waves_names(const std::filesystem::path &directory)
The waves files of a directory, as a room names them (RFC section 3.6).
std::vector< std::string > enemy_types(const std::filesystem::path &directory=default_enemies_directory())
The enemy types of a directory, as waves files name them.