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

Command line of r-type_bot: server, name, bots, inputs, play time, seed, help and version. More...

#include <rtype/bot.hpp>
#include <cstdint>
#include <filesystem>
#include <optional>
#include <span>
#include <string>
#include <string_view>
#include <variant>

Go to the source code of this file.

Classes

struct  rtype::BotOptions
 Settings of a bot run, read from the command line. More...
 

Namespaces

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

Enumerations

enum class  rtype::BotCommand : std::uint8_t { rtype::Run , rtype::Help , rtype::Version }
 What the bot was asked to do. More...
 

Functions

std::variant< BotOptions, std::string > rtype::parse_bot_options (std::span< const std::string_view > args)
 Reads the command line of r-type_bot.
 

Variables

constexpr std::string_view rtype::bot_usage
 Usage line printed by --help and after a command line error.
 
constexpr std::uint32_t rtype::max_bots = 64
 Most bots --count runs in one process.
 

Detailed Description

Command line of r-type_bot: server, name, bots, inputs, play time, seed, help and version.