Framework for context independent sounffont management

Not tested yet!
This commit is contained in:
Christoph Oelckers 2018-02-22 12:51:45 +01:00
commit a6fa906764
9 changed files with 612 additions and 52 deletions

View file

@ -1423,6 +1423,22 @@ int FWadCollection::GetLastLump (int wadnum) const
return Files[wadnum]->GetFirstLump() + Files[wadnum]->LumpCount() - 1;
}
//==========================================================================
//
//
//==========================================================================
int FWadCollection::GetLumpCount (int wadnum) const
{
if ((uint32_t)wadnum >= Files.Size())
{
return 0;
}
return Files[wadnum]->LumpCount();
}
//==========================================================================
//
// W_GetWadFullName