| 457 | } |
| 458 | |
| 459 | void PBAddTextEffect(TCTEXTDESC* desc, char *text, char *description, int id) { |
| 460 | if (IsMissionMaskOK(desc->mission_mask_set, desc->mission_mask_unset) && ok_to_parse_screen) { |
| 461 | char *new_text = NULL; |
| 462 | const bool new_stuff = ParseForHotTags(text, &new_text); |
| 463 | |
| 464 | CreateTextEffect(desc, new_stuff ? new_text : text, MONITOR_MAIN, current_screen, id); |
| 465 | |
| 466 | if (new_text) { |
| 467 | mem_free(new_text); |
| 468 | } |
| 469 | } |
| 470 | } |
| 471 | |
| 472 | void PBAddBmpEffect(TCBMPDESC* desc, char *description) { |
| 473 | if (IsMissionMaskOK(desc->mission_mask_set, desc->mission_mask_unset) && ok_to_parse_screen) |
nothing calls this directly
no test coverage detected