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

Function DeltaExportItem

Source/msg.cpp:213–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213BYTE *DeltaExportItem(BYTE *dst, TCmdPItem *src)
214{
215 int i;
216
217 for (i = 0; i < MAXITEMS; i++) {
218 if (src->bCmd == 0xFF) {
219 *dst = 0xFF;
220 dst++;
221 } else {
222 memcpy(dst, src, sizeof(TCmdPItem));
223 dst += sizeof(TCmdPItem);
224 }
225 src++;
226 }
227
228 return dst;
229}
230
231BYTE *DeltaExportObject(BYTE *dst, DObjectStr *src)
232{

Callers 1

DeltaExportDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected