| 62 | } |
| 63 | |
| 64 | void Window_BattleMessage::PushWithSubject(std::string_view message, std::string_view subject) { |
| 65 | if (Feature::HasPlaceholders()) { |
| 66 | Push(Utils::ReplacePlaceholders( |
| 67 | message, |
| 68 | Utils::MakeArray('S'), |
| 69 | Utils::MakeSvArray(subject) |
| 70 | )); |
| 71 | } |
| 72 | else { |
| 73 | Push(std::string(subject) + std::string(message)); |
| 74 | } |
| 75 | needs_refresh = true; |
| 76 | } |
| 77 | |
| 78 | void Window_BattleMessage::Pop() { |
| 79 | #ifdef EP_DEBUG_BATTLE2K_MESSAGE |
no test coverage detected