| 1515 | } |
| 1516 | |
| 1517 | static int osCheck3DGtype(int pIntGtype) |
| 1518 | { |
| 1519 | if (pIntGtype > 3000 && pIntGtype < 3308) |
| 1520 | { |
| 1521 | if (pIntGtype > 3007) |
| 1522 | pIntGtype-= 300; |
| 1523 | |
| 1524 | if (pIntGtype <= 3007 && pIntGtype != 3004) |
| 1525 | return MS_TRUE; |
| 1526 | } |
| 1527 | /* |
| 1528 | * Future version, untested |
| 1529 | * return (pIntGtype & 2208 && (pIntGtype & 3000 || pIntGtype & 3296) && pIntGtype & 3); |
| 1530 | */ |
| 1531 | return MS_FALSE; |
| 1532 | } |
| 1533 | |
| 1534 | static int osCheck4DGtype(int pIntGtype) |
| 1535 | { |