R-Type
Networked shoot'em up built on Aegis2D
Loading...
Searching...
No Matches
waves.hpp File Reference

Enemy waves of R-Type: where the files are and how they are read. More...

#include <aegis2d/ecs/waves.hpp>
#include <rtype/enemy_scripts.hpp>
#include <filesystem>
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  rtype
 R-Type game code, built on the Aegis2D engine.
 

Functions

std::filesystem::path rtype::default_waves_file ()
 Waves file played by the server when none is given.
 
std::vector< std::string > rtype::waves_names (const std::filesystem::path &directory)
 The waves files of a directory, as a room names them (RFC section 3.6).
 
aegis2d::ecs::WaveSchedule rtype::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.
 

Detailed Description

Enemy waves of R-Type: where the files are and how they are read.