================== idAsyncClient::Clear ================== */
| 57 | ================== |
| 58 | */ |
| 59 | void idAsyncClient::Clear( void ) { |
| 60 | active = false; |
| 61 | realTime = 0; |
| 62 | clientTime = 0; |
| 63 | clientId = 0; |
| 64 | clientDataChecksum = 0; |
| 65 | clientNum = 0; |
| 66 | clientState = CS_DISCONNECTED; |
| 67 | clientPrediction = 0; |
| 68 | clientPredictTime = 0; |
| 69 | serverId = 0; |
| 70 | serverChallenge = 0; |
| 71 | serverMessageSequence = 0; |
| 72 | lastConnectTime = -9999; |
| 73 | lastEmptyTime = -9999; |
| 74 | lastPacketTime = -9999; |
| 75 | lastSnapshotTime = -9999; |
| 76 | snapshotGameFrame = 0; |
| 77 | snapshotGameTime = 0; |
| 78 | snapshotSequence = 0; |
| 79 | gameInitId = GAME_INIT_ID_INVALID; |
| 80 | gameFrame = 0; |
| 81 | gameTimeResidual = 0; |
| 82 | gameTime = 0; |
| 83 | memset( userCmds, 0, sizeof( userCmds ) ); |
| 84 | backgroundDownload.completed = true; |
| 85 | lastRconTime = 0; |
| 86 | showUpdateMessage = false; |
| 87 | lastFrameDelta = 0; |
| 88 | |
| 89 | dlRequest = -1; |
| 90 | dlCount = -1; |
| 91 | memset( dlChecksums, 0, sizeof( int ) * MAX_PURE_PAKS ); |
| 92 | currentDlSize = 0; |
| 93 | totalDlSize = 0; |
| 94 | } |
| 95 | |
| 96 | /* |
| 97 | ================== |
no outgoing calls
no test coverage detected