mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-17 02:58:46 +02:00
Removed legacy AAS from Doom, cleaned up naming.
This commit is contained in:
@@ -1458,20 +1458,20 @@ static void Cmd_ListAnims_f( const idCmdArgs &args ) {
|
||||
|
||||
/*
|
||||
==================
|
||||
Cmd_AASStats_f
|
||||
Cmd_NAVStats_f
|
||||
==================
|
||||
*/
|
||||
static void Cmd_AASStats_f( const idCmdArgs &args ) {
|
||||
static void Cmd_NAVStats_f( const idCmdArgs &args ) {
|
||||
int aasNum;
|
||||
|
||||
if ( !gameLocal.CheatsOk() ) {
|
||||
return;
|
||||
}
|
||||
|
||||
aasNum = aas_test.GetInteger();
|
||||
idAAS *aas = gameLocal.GetAAS( aasNum );
|
||||
aasNum = nav_test.GetInteger();
|
||||
idNAV *aas = gameLocal.GetNAV( aasNum );
|
||||
if ( !aas ) {
|
||||
gameLocal.Printf( "No aas #%d loaded\n", aasNum );
|
||||
gameLocal.Printf( "No nav #%d loaded\n", aasNum );
|
||||
} else {
|
||||
aas->Stats();
|
||||
}
|
||||
@@ -2411,7 +2411,7 @@ void idGameLocal::InitConsoleCommands( void ) {
|
||||
cmdSystem->AddCommand( "reexportmodels", Cmd_ReexportModels_f, CMD_FL_GAME|CMD_FL_CHEAT, "reexports models", ArgCompletion_DefFile );
|
||||
cmdSystem->AddCommand( "reloadanims", Cmd_ReloadAnims_f, CMD_FL_GAME|CMD_FL_CHEAT, "reloads animations" );
|
||||
cmdSystem->AddCommand( "listAnims", Cmd_ListAnims_f, CMD_FL_GAME, "lists all animations" );
|
||||
cmdSystem->AddCommand( "aasStats", Cmd_AASStats_f, CMD_FL_GAME, "shows AAS stats" );
|
||||
cmdSystem->AddCommand( "navStats", Cmd_NAVStats_f, CMD_FL_GAME, "shows NAV stats" );
|
||||
cmdSystem->AddCommand( "recastNavBuild", Cmd_RecastNavBuild_f, CMD_FL_GAME|CMD_FL_CHEAT, "builds Recast navmesh data for a map" );
|
||||
cmdSystem->AddCommand( "testDamage", Cmd_TestDamage_f, CMD_FL_GAME|CMD_FL_CHEAT, "tests a damage def", idCmdSystem::ArgCompletion_Decl<DECL_ENTITYDEF> );
|
||||
cmdSystem->AddCommand( "weaponSplat", Cmd_WeaponSplat_f, CMD_FL_GAME|CMD_FL_CHEAT, "projects a blood splat on the player weapon" );
|
||||
|
||||
Reference in New Issue
Block a user