MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / WriteFacingChanges

Method WriteFacingChanges

src/Misc/SyncLogging.cpp:172–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172void SyncLogger::WriteFacingChanges(FILE* const pLogFile, int frameDigits)
173{
174 fprintf(pLogFile, "Facing changes:\n");
175
176 for (size_t i = 0; i < SyncLogger::FacingChanges.Size(); i++)
177 {
178 auto const& facingChange = SyncLogger::FacingChanges.Get();
179
180 if (!facingChange.Initialized)
181 continue;
182
183 fprintf(pLogFile, "#%05d: Facing: %5d | Caller: %08x | Frame: %*d\n",
184 i, facingChange.Facing, facingChange.Caller, frameDigits, facingChange.Frame);
185 }
186
187 fprintf(pLogFile, "\n");
188}
189
190void SyncLogger::WriteTargetChanges(FILE* const pLogFile, int frameDigits)
191{

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected