mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
playJournal fix and removed depcrecated command line options
This commit is contained in:
parent
4db84b34d0
commit
bba604a043
6 changed files with 2 additions and 34 deletions
|
|
@ -160,7 +160,7 @@ function defaultParseArgs()
|
||||||
$argUsed[$i]++;
|
$argUsed[$i]++;
|
||||||
if ($hasNextArg)
|
if ($hasNextArg)
|
||||||
{
|
{
|
||||||
playJournal($nextArg,false);
|
playJournal($nextArg);
|
||||||
$argUsed[$i+1]++;
|
$argUsed[$i+1]++;
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|
@ -240,18 +240,6 @@ function defaultParseArgs()
|
||||||
else
|
else
|
||||||
error("Error: Missing Command Line argument. Usage: -vidCapHeight <ouput_video_height>");
|
error("Error: Missing Command Line argument. Usage: -vidCapHeight <ouput_video_height>");
|
||||||
|
|
||||||
//--------------------
|
|
||||||
case "-jDebug":
|
|
||||||
$argUsed[$i]++;
|
|
||||||
if ($hasNextArg)
|
|
||||||
{
|
|
||||||
playJournal($nextArg,true);
|
|
||||||
$argUsed[$i+1]++;
|
|
||||||
$i++;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
error("Error: Missing Command Line argument. Usage: -jDebug <journal_name>");
|
|
||||||
|
|
||||||
//--------------------
|
//--------------------
|
||||||
case "-level":
|
case "-level":
|
||||||
$argUsed[$i]++;
|
$argUsed[$i]++;
|
||||||
|
|
|
||||||
|
|
@ -186,10 +186,8 @@ function displayHelp() {
|
||||||
" <game_name> Works like the -game argument\n"@
|
" <game_name> Works like the -game argument\n"@
|
||||||
" -dir <dir_name> Add <dir_name> to list of directories\n"@
|
" -dir <dir_name> Add <dir_name> to list of directories\n"@
|
||||||
" -console Open a separate console\n"@
|
" -console Open a separate console\n"@
|
||||||
" -show <shape> Deprecated\n"@
|
|
||||||
" -jSave <file_name> Record a journal\n"@
|
" -jSave <file_name> Record a journal\n"@
|
||||||
" -jPlay <file_name> Play back a journal\n"@
|
" -jPlay <file_name> Play back a journal\n"@
|
||||||
" -jDebug <file_name> Play back a journal and issue an int3 at the end\n"@
|
|
||||||
" -help Display this help message\n"
|
" -help Display this help message\n"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -186,10 +186,8 @@ function displayHelp() {
|
||||||
" <game_name> Works like the -game argument\n"@
|
" <game_name> Works like the -game argument\n"@
|
||||||
" -dir <dir_name> Add <dir_name> to list of directories\n"@
|
" -dir <dir_name> Add <dir_name> to list of directories\n"@
|
||||||
" -console Open a separate console\n"@
|
" -console Open a separate console\n"@
|
||||||
" -show <shape> Deprecated\n"@
|
|
||||||
" -jSave <file_name> Record a journal\n"@
|
" -jSave <file_name> Record a journal\n"@
|
||||||
" -jPlay <file_name> Play back a journal\n"@
|
" -jPlay <file_name> Play back a journal\n"@
|
||||||
" -jDebug <file_name> Play back a journal and issue an int3 at the end\n"@
|
|
||||||
" -help Display this help message\n"
|
" -help Display this help message\n"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -160,7 +160,7 @@ function defaultParseArgs()
|
||||||
$argUsed[$i]++;
|
$argUsed[$i]++;
|
||||||
if ($hasNextArg)
|
if ($hasNextArg)
|
||||||
{
|
{
|
||||||
playJournal($nextArg,false);
|
playJournal($nextArg);
|
||||||
$argUsed[$i+1]++;
|
$argUsed[$i+1]++;
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|
@ -240,18 +240,6 @@ function defaultParseArgs()
|
||||||
else
|
else
|
||||||
error("Error: Missing Command Line argument. Usage: -vidCapHeight <ouput_video_height>");
|
error("Error: Missing Command Line argument. Usage: -vidCapHeight <ouput_video_height>");
|
||||||
|
|
||||||
//--------------------
|
|
||||||
case "-jDebug":
|
|
||||||
$argUsed[$i]++;
|
|
||||||
if ($hasNextArg)
|
|
||||||
{
|
|
||||||
playJournal($nextArg,true);
|
|
||||||
$argUsed[$i+1]++;
|
|
||||||
$i++;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
error("Error: Missing Command Line argument. Usage: -jDebug <journal_name>");
|
|
||||||
|
|
||||||
//--------------------
|
//--------------------
|
||||||
case "-level":
|
case "-level":
|
||||||
$argUsed[$i]++;
|
$argUsed[$i]++;
|
||||||
|
|
|
||||||
|
|
@ -186,10 +186,8 @@ function displayHelp() {
|
||||||
" <game_name> Works like the -game argument\n"@
|
" <game_name> Works like the -game argument\n"@
|
||||||
" -dir <dir_name> Add <dir_name> to list of directories\n"@
|
" -dir <dir_name> Add <dir_name> to list of directories\n"@
|
||||||
" -console Open a separate console\n"@
|
" -console Open a separate console\n"@
|
||||||
" -show <shape> Deprecated\n"@
|
|
||||||
" -jSave <file_name> Record a journal\n"@
|
" -jSave <file_name> Record a journal\n"@
|
||||||
" -jPlay <file_name> Play back a journal\n"@
|
" -jPlay <file_name> Play back a journal\n"@
|
||||||
" -jDebug <file_name> Play back a journal and issue an int3 at the end\n"@
|
|
||||||
" -help Display this help message\n"
|
" -help Display this help message\n"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -186,10 +186,8 @@ function displayHelp() {
|
||||||
" <game_name> Works like the -game argument\n"@
|
" <game_name> Works like the -game argument\n"@
|
||||||
" -dir <dir_name> Add <dir_name> to list of directories\n"@
|
" -dir <dir_name> Add <dir_name> to list of directories\n"@
|
||||||
" -console Open a separate console\n"@
|
" -console Open a separate console\n"@
|
||||||
" -show <shape> Deprecated\n"@
|
|
||||||
" -jSave <file_name> Record a journal\n"@
|
" -jSave <file_name> Record a journal\n"@
|
||||||
" -jPlay <file_name> Play back a journal\n"@
|
" -jPlay <file_name> Play back a journal\n"@
|
||||||
" -jDebug <file_name> Play back a journal and issue an int3 at the end\n"@
|
|
||||||
" -help Display this help message\n"
|
" -help Display this help message\n"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue