ShapeID(unsigned char *& data) : has_trans(0), shapefile(SF_SHAPES_VGA), shape(0) { unsigned char l = *data++; unsigned char h = *data++; shapenum = l + 256*(h&0x3); framenum = h >> 2; }
ShapeID(int shnum, int frnum, ShapeFile shfile = SF_SHAPES_VGA) : shapenum(shnum), framenum(frnum), shapefile(shfile), shape(0), has_trans(0) {  }
	ShapeID(unsigned char *& data)		: has_trans(0), shapefile(SF_SHAPES_VGA), shape(0)		{		unsigned char l = *data++;		unsigned char h = *data++;		shapenum = l + 256*(h&0x3);		framenum = h >> 2;		}