MCPcopy Create free account
hub / github.com/ZDoom/Raze / loadMapBackup

Function loadMapBackup

source/core/maploader.cpp:734–749  ·  view source on GitHub ↗

loads a map into the backup buffer.

Source from the content-addressed store, hash-verified

732
733// loads a map into the backup buffer.
734void loadMapBackup(const char* filename)
735{
736 DVector3 fpos;
737 int16_t scratch;
738 sectortype* scratch2;
739 SpawnSpriteDef scratch3;
740
741 if (isBlood())
742 {
743 qloadboard(filename, 0, &fpos, &scratch);
744 }
745 else
746 {
747 loadMap(filename, 0, &fpos, &scratch, &scratch2, scratch3);
748 }
749}
750
751// Sets the sector reference for each wall. We need this for the triangulation cache.
752void setWallSectors()

Callers 1

ReadSavegameFunction · 0.85

Calls 3

isBloodFunction · 0.85
qloadboardFunction · 0.85
loadMapFunction · 0.85

Tested by

no test coverage detected