| 97 | } |
| 98 | |
| 99 | void SyncLogger::AddAnimCreationSyncLogEvent(const CoordStruct& coords, unsigned int callerAddress) |
| 100 | { |
| 101 | if (coords.X > SyncLogger::AnimCreations_HighestX) |
| 102 | SyncLogger::AnimCreations_HighestX = coords.X; |
| 103 | |
| 104 | if (coords.Y > SyncLogger::AnimCreations_HighestY) |
| 105 | SyncLogger::AnimCreations_HighestY = coords.Y; |
| 106 | |
| 107 | if (coords.Z > SyncLogger::AnimCreations_HighestZ) |
| 108 | SyncLogger::AnimCreations_HighestZ = coords.Z; |
| 109 | |
| 110 | MakeCallerRelative(callerAddress); |
| 111 | if (SyncLogger::AnimCreations.Add(AnimCreationSyncLogEvent(coords, callerAddress, Unsorted::CurrentFrame))) |
| 112 | { |
| 113 | SyncLogger::AnimCreations_HighestX = 0; |
| 114 | SyncLogger::AnimCreations_HighestY = 0; |
| 115 | SyncLogger::AnimCreations_HighestZ = 0; |
| 116 | } |
| 117 | } |
| 118 | |
| 119 | void SyncLogger::WriteSyncLog(const char* logFilename) |
| 120 | { |
nothing calls this directly
no test coverage detected