MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / writeToManager

Method writeToManager

src/bzfs/CustomTextureMatrix.cpp:124–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122
123
124void CustomTextureMatrix::writeToManager() const {
125 texmat->setName(name);
126 if ((name.size() > 0) && (TEXMATRIXMGR.findMatrix(name) >= 0)) {
127 std::cout << "WARNING: duplicate texture matrix"
128 << " (" << name << ")" << std::endl;
129 }
130 texmat->finalize();
131 TEXMATRIXMGR.addMatrix(texmat);
132 texmat = NULL;
133 return;
134}
135
136
137// Local Variables: ***

Callers

nothing calls this directly

Calls 5

findMatrixMethod · 0.80
addMatrixMethod · 0.80
setNameMethod · 0.45
sizeMethod · 0.45
finalizeMethod · 0.45

Tested by

no test coverage detected