mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-23 02:00:58 +00:00
Added Zoomap categories railing, pipe and ladder and changed it to look for .bobj and .bdae files
This commit is contained in:
parent
f1668b7db8
commit
e3101a6b05
1 changed files with 10 additions and 1 deletions
|
@ -3417,7 +3417,7 @@ void idDeclManagerLocal::MakeZooMapForModels_f( const idCmdArgs& args )
|
|||
int totalModelsCount = 0;
|
||||
int totalEntitiesCount = 0;
|
||||
|
||||
idFileList* files = fileSystem->ListFilesTree( "generated", ".blwo|.base|.bmd5mesh", true, true );
|
||||
idFileList* files = fileSystem->ListFilesTree( "generated", ".blwo|.base|.bdae|.bobj|.bmd5mesh", true, true );
|
||||
|
||||
idStr mapName( "maps/zoomaps/zoo_models.map" );
|
||||
idMapFile mapFile;
|
||||
|
@ -3544,6 +3544,10 @@ void idDeclManagerLocal::MakeZooMapForModels_f( const idCmdArgs& args )
|
|||
auto liftCat = new Category_t( "elevator" );
|
||||
liftCat->tagNames.AddUnique( "lift" );
|
||||
categories.Append( liftCat );
|
||||
|
||||
categories.Append( new Category_t( "railing" ) );
|
||||
categories.Append( new Category_t( "pipe" ) );
|
||||
categories.Append( new Category_t( "ladder" ) );
|
||||
|
||||
|
||||
|
||||
|
@ -3578,6 +3582,11 @@ void idDeclManagerLocal::MakeZooMapForModels_f( const idCmdArgs& args )
|
|||
modelName.SetFileExtension( "dae" );
|
||||
}
|
||||
|
||||
if( ext.Icmp( "bobj" ) == 0 )
|
||||
{
|
||||
modelName.SetFileExtension( "obj" );
|
||||
}
|
||||
|
||||
if( ext.Icmp( "bmd5mesh" ) == 0 )
|
||||
{
|
||||
modelName.SetFileExtension( "md5mesh" );
|
||||
|
|
Loading…
Reference in a new issue