Add -game command line argument.
This commit is contained in:
@@ -151,6 +151,7 @@ bool CommandLine::Parse(const Char* cmdLine)
|
||||
PARSE_ARG_SWITCH("-build ", Build);
|
||||
PARSE_BOOL_SWITCH("-skipcompile ", SkipCompile);
|
||||
PARSE_BOOL_SWITCH("-shaderdebug ", ShaderDebug);
|
||||
PARSE_ARG_OPT_SWITCH("-game ", Game);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -155,6 +155,11 @@ public:
|
||||
/// </summary>
|
||||
Nullable<bool> ShaderDebug;
|
||||
|
||||
/// <summary>
|
||||
/// -game !scene! ( Scene to play, can be null to use default )
|
||||
/// </summary>
|
||||
Nullable<String> Game;
|
||||
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user