MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / SwapBSPFile

Function SwapBSPFile

src/utils/common/bsplib.cpp:4768–4982  ·  view source on GitHub ↗

----------------------------------------------------------------------------- For all lumps in a bsp: Loads the lump from file A, swaps it, writes it to file B. This limits the memory used for the swap process which helps the Xbox 360. NOTE: These lumps will be written to the file in exactly the order they appear here, so they can be shifted around if desired for file access optimization. -------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

WarningFunction · 0.85
SafeOpenWriteFunction · 0.85
OpenBSPFileFunction · 0.85
CRC32_InitFunction · 0.85
CRC_MapFileFunction · 0.85
BuildStaticPropNameTableFunction · 0.85
SafeWriteFunction · 0.85
SwapLeafLumpToDiskFunction · 0.85
SwapOcclusionLumpToDiskFunction · 0.85
SwapGameLumpsToDiskFunction · 0.85
SwapPakfileLumpToDiskFunction · 0.85
AlignFilePositionFunction · 0.85

Tested by

no test coverage detected