Web2D_Games
Web2D_Games copied to clipboard
Request support for FTEX format 44
function switnvt( &$file, $base, $pfx, $id )
{
printf("== switnvt( %x , %s , %d )\n", $base, $pfx, $id);
...
$list_fmt = array(
44 => ? ,
0x49 => 'im_bc4',
0x4d => 'im_bc7',
);
if ( ! isset($list_fmt[$fmt]) )
return php_error('UNKNOWN im fmt %x', $fmt);
printf("DETECT fmt %s , %x x %x \n", $list_fmt[$fmt], $w, $h);
...
}