Move levelmeshhelper completely out of the Common folder

Connect the level updates to the level mesh
This commit is contained in:
Magnus Norddahl 2024-08-11 18:34:03 +02:00
commit e0cba77646
7 changed files with 78 additions and 23 deletions

View file

@ -3203,6 +3203,8 @@ bool MapLoader::LoadLightmap(MapData* map)
void MapLoader::LoadLevel(MapData *map, const char *lumpname, int position)
{
SetNullLevelMeshUpdater();
const int *oldvertextable = nullptr;
// Reset defaults for lightmapping
@ -3544,4 +3546,6 @@ void MapLoader::LoadLevel(MapData *map, const char *lumpname, int position)
seg++;
}
}
LevelMeshUpdater = Level->levelMesh; // Start tracking level changes
}