(String skin, String pcxfiles[],
int npcxfiles)
| 3564 | } |
| 3565 | |
| 3566 | private static boolean IconOfSkinExists(String skin, String pcxfiles[], |
| 3567 | int npcxfiles) { |
| 3568 | |
| 3569 | String scratch; |
| 3570 | |
| 3571 | //strcpy(scratch, skin); |
| 3572 | scratch = skin; |
| 3573 | int pos = scratch.lastIndexOf('.'); |
| 3574 | if (pos != -1) |
| 3575 | scratch = scratch.substring(0, pos) + "_i.pcx"; |
| 3576 | |
| 3577 | else |
| 3578 | scratch += "_i.pcx"; |
| 3579 | |
| 3580 | for (int i = 0; i < npcxfiles; i++) { |
| 3581 | if (pcxfiles[i].equals(scratch)) |
| 3582 | return true; |
| 3583 | } |
| 3584 | |
| 3585 | return false; |
| 3586 | } |
| 3587 | |
| 3588 | private static boolean PlayerConfig_ScanDirectories() { |
| 3589 | //char findname[1024]; |
no test coverage detected