306
306
oid = ntohl(*((uint32_t *)cptr));
308
308
toid = ntohl(*((uint32_t *)cptr));
310
310
x = ntohs(*((uint16_t *)cptr));
312
312
y = ntohs(*((uint16_t *)cptr));
314
314
w = ntohs(*((uint16_t *)cptr));
316
316
h = ntohs(*((uint16_t *)cptr));
318
318
s3dprintf(VLOW, "UPDATE_TEX[%d]: oid %d, texture %d, [%d x %d] data at [%d x %d] ", length, oid, toid, w, h, x, y);
319
319
obj_update_tex(p, oid, toid, x, y, w, h, NULL);