| 684 | const GRFFile *grffile = nullptr; |
| 685 | |
| 686 | TextRefStack(const GRFFile *grffile, std::span<const int32_t> textstack) : grffile(grffile) |
| 687 | { |
| 688 | this->stack.reserve(textstack.size() * 4 + 6); // for translations it is reasonable to push 3 word and rotate them |
| 689 | for (int32_t value : std::ranges::reverse_view(textstack)) { |
| 690 | this->PushDWord(value); |
| 691 | } |
| 692 | } |
| 693 | |
| 694 | uint8_t PopUnsignedByte() |
| 695 | { |