| 206 | } |
| 207 | |
| 208 | void SyncLogger::WriteDestinationChanges(FILE* const pLogFile, int frameDigits) |
| 209 | { |
| 210 | fprintf(pLogFile, "Destination changes:\n"); |
| 211 | |
| 212 | for (size_t i = 0; i < SyncLogger::DestinationChanges.Size(); i++) |
| 213 | { |
| 214 | auto const& destChange = SyncLogger::DestinationChanges.Get(); |
| 215 | |
| 216 | if (!destChange.Initialized) |
| 217 | continue; |
| 218 | |
| 219 | fprintf(pLogFile, "#%05d: RTTI: %02d | ID: %08d | TargetRTTI: %02d | TargetID: %08d | Caller: %08x | Frame: %*d\n", |
| 220 | i, destChange.Type, destChange.ID, destChange.TargetType, destChange.TargetID, destChange.Caller, frameDigits, destChange.Frame); |
| 221 | } |
| 222 | |
| 223 | fprintf(pLogFile, "\n"); |
| 224 | } |
| 225 | |
| 226 | void SyncLogger::WriteMissionOverrides(FILE* const pLogFile, int frameDigits) |
| 227 | { |