MCPcopy Create free account
hub / github.com/ddnet/ddnet / DiffItem

Function DiffItem

src/engine/client/ghost.cpp:87–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87static void DiffItem(const uint32_t *pPast, const uint32_t *pCurrent, uint32_t *pOut, size_t Size)
88{
89 while(Size)
90 {
91 *pOut = *pCurrent - *pPast;
92 pOut++;
93 pPast++;
94 pCurrent++;
95 Size--;
96 }
97}
98
99void CGhostRecorder::WriteData(int Type, const void *pData, size_t Size)
100{

Callers 3

RecordPlayerInputMethod · 0.85
WriteDataMethod · 0.85
CreateDeltaMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected