Replace the savelightmap and deletelightmap ccmds with vktool

This commit is contained in:
Magnus Norddahl 2025-01-12 20:03:19 +01:00
commit 6ba2cff8cb
2 changed files with 30 additions and 16 deletions

View file

@ -127,20 +127,6 @@ CCMD(invalidatelightmap)
Printf("Marked %d out of %d tiles for update.\n", count, level.levelMesh->Lightmap.Tiles.Size());
}
CCMD(savelightmap)
{
if (!RequireLightmap()) return;
level.levelMesh->SaveLightmapLump(level);
}
CCMD(deletelightmap)
{
if (!RequireLightmap()) return;
level.levelMesh->DeleteLightmapLump(level);
}
CCMD(cpublasinfo)
{
if (!level.levelMesh || !level.levelMesh->Collision)