TrueReality  v0.1.1912
trUtil::DefaultSettings Namespace Reference

Functions

void TR_UTIL_EXPORT ParseMapNameArgument (int argc, char **argv, std::string &mapName)
 Finds and returns the name of the map to be loaded from the command line. More...
 
void TR_UTIL_EXPORT SetupLoggingOptions (const std::string &logFileName, const std::string &logLevel)
 Sets up all the default logging options for the software. More...
 

Function Documentation

◆ ParseMapNameArgument()

void trUtil::DefaultSettings::ParseMapNameArgument ( int  argc,
char **  argv,
std::string &  mapName 
)

Finds and returns the name of the map to be loaded from the command line.

Parameters
argcThe argc.
[in,out]argvIf non-null, the argv.
[in,out]mapNameName of the map.

Definition at line 47 of file DefaultSettings.cpp.

◆ SetupLoggingOptions()

void trUtil::DefaultSettings::SetupLoggingOptions ( const std::string &  logFileName,
const std::string &  logLevel 
)