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

Function DeltaExportMonster

Source/msg.cpp:237–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235}
236
237BYTE *DeltaExportMonster(BYTE *dst, DMonsterStr *src)
238{
239 int i;
240
241 for (i = 0; i < MAXMONSTERS; i++) {
242 if (*(BYTE *)src == 0xFF) {
243 *dst = 0xFF;
244 dst++;
245 } else {
246 memcpy(dst, src, sizeof(DMonsterStr));
247 dst += sizeof(DMonsterStr);
248 }
249 src++;
250 }
251
252 return dst;
253}
254
255BYTE *DeltaExportJunk(BYTE *dst)
256{

Callers 1

DeltaExportDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected