![]() |
Blamite Game Engine - blam!
00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
|
Structure representing a command-line switch. More...
#include <switches.h>
Public Attributes | |
std::string | name |
The name of the switch, excluding the - prefix. More... | |
std::vector< std::string > | options |
Any arguments passed to the switch. Will be empty if no arguments were provided. More... | |
Structure representing a command-line switch.
These are switches/flags passed to the engine via the command line. A switch can either be a switch on its own (ie, -console
) or it can include arguments (ie, -vidmode w,h,r
). Arguments must NOT contain any spaces. For multiple arguments, commas should be used. A switch MUST begin with a -
or else it will be treated as an argument for the previous switch, or be ignored if the previous switch already had arguments passed to it.
std::string Blam::Switches::CommandSwitch::name |
The name of the switch, excluding the -
prefix.
std::vector<std::string> Blam::Switches::CommandSwitch::options |
Any arguments passed to the switch. Will be empty if no arguments were provided.