MCPcopy Create free account
hub / github.com/diasurgical/devilution / CopyInt

Function CopyInt

Source/loadsave.cpp:241–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241void CopyInt(const void *src, void *dst)
242{
243 unsigned int buf;
244 memcpy(&buf, src, 4);
245 tbuff += 4;
246 buf = SwapLE32(buf);
247 memcpy(dst, &buf, 4);
248}
249
250void CopyInts(const void *src, const int n, void *dst)
251{

Callers 15

CopyIntsFunction · 0.85
LoadPlayerFunction · 0.85
LoadMonsterFunction · 0.85
LoadMissileFunction · 0.85
LoadObjectFunction · 0.85
LoadItemDataFunction · 0.85
LoadQuestFunction · 0.85
LoadLightingFunction · 0.85
LoadVisionFunction · 0.85
LoadPortalFunction · 0.85
SavePlayerFunction · 0.85
SaveMonsterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected