| 4087 | */ |
| 4088 | |
| 4089 | BOOL IsTextureNameInList (char *name, TextureInfo **list, SHORT numelems) |
| 4090 | { |
| 4091 | SHORT n; |
| 4092 | |
| 4093 | if (name[0] == 0) |
| 4094 | return TRUE; |
| 4095 | |
| 4096 | for (n = 0; n < numelems; n++) |
| 4097 | if (strnicmp (name, list[n]->Name, MAX_BITMAPNAME) == 0) |
| 4098 | return TRUE; |
| 4099 | return FALSE; |
| 4100 | } |
| 4101 | |
| 4102 | |
| 4103 |