Framework for context independent sounffont management
Not tested yet!
This commit is contained in:
parent
3d08c1fbc7
commit
a6fa906764
9 changed files with 612 additions and 52 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue