- Build texture work. Currently broken.

This commit is contained in:
Christoph Oelckers 2018-03-19 20:02:38 +01:00
commit 04b8a12ca4
7 changed files with 155 additions and 135 deletions

View file

@ -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