tga_uint16
mapspec.firstentry = tga_uint16(reinterpret_cast<char *>(buf), 3);
mapspec.length = tga_uint16(reinterpret_cast<char *>(buf), 5);
imagespec.xorigin = tga_uint16(reinterpret_cast<char *>(buf), 8);
imagespec.yorigin = tga_uint16(reinterpret_cast<char *>(buf), 10);
imagespec.width = tga_uint16(reinterpret_cast<char *>(buf), 12);
imagespec.height = tga_uint16(reinterpret_cast<char *>(buf), 14);
uint16 extsize = tga_uint16(extbuf, 0);
tga_uint16(extbuf, 367), tga_uint16(extbuf, 369),
tga_uint16(extbuf, 371), tga_uint16(extbuf, 373),
tga_uint16(extbuf, 375), tga_uint16(extbuf, 377));
"%.2d:%.2d:%.2d\n"), tga_uint16(extbuf, 420),
tga_uint16(extbuf, 422), tga_uint16(extbuf, 424));
"%s\n"), tga_uint16(extbuf, 467), strver);
tga_uint16(extbuf, 474), tga_uint16(extbuf, 476));
tga_uint16(extbuf, 478), tga_uint16(extbuf, 480));