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

Method BuildCaseMap

src/game/server/logicentities.cpp:1917–1932  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Count the number of valid cases, building a packed array that maps 0..NumCases to the actual CaseX values. This allows our zany mappers to set up cases sparsely if they desire. NOTE: assumes pnMap points to an array of MAX_LOGIC_CASES -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

NumberOfElementsMethod · 0.80

Tested by

no test coverage detected