- Build texture work. Currently broken.
This commit is contained in:
parent
f4d9ad1123
commit
04b8a12ca4
7 changed files with 155 additions and 135 deletions
|
|
@ -1255,6 +1255,19 @@ int FWadCollection::GetLumpFile (int lump) const
|
|||
return LumpInfo[lump].wadnum;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// W_GetLumpFile
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
FResourceLump *FWadCollection::GetLumpRecord(int lump) const
|
||||
{
|
||||
if ((size_t)lump >= LumpInfo.Size())
|
||||
return nullptr;
|
||||
return LumpInfo[lump].lump;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// W_ReadLump
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue