| 235 | } |
| 236 | |
| 237 | bool IsFileInTexturePage(char *filename) { |
| 238 | mngs_texture_page texpage; |
| 239 | int i; |
| 240 | |
| 241 | for (i = 0; i < MAX_TEXTURES; i++) { |
| 242 | if (GameTextures[i].used) { |
| 243 | mng_AssignTextureToTexPage(i, &texpage); |
| 244 | |
| 245 | if (!stricmp(filename, texpage.bitmap_name)) |
| 246 | return true; |
| 247 | |
| 248 | if (!stricmp(filename, texpage.destroy_name)) |
| 249 | return true; |
| 250 | |
| 251 | if (!stricmp(filename, texpage.sound_name)) |
| 252 | return true; |
| 253 | } |
| 254 | } |
| 255 | return false; |
| 256 | } |
| 257 | |
| 258 | bool IsFileInWeaponPage(char *filename) { |
| 259 | mngs_weapon_page weappage; |
no test coverage detected