|
|
@ -85,6 +85,7 @@ void UpdateTextEffect(TextEffectID te_id, StringID msg)
|
|
|
|
void UpdateAllTextEffectVirtCoords()
|
|
|
|
void UpdateAllTextEffectVirtCoords()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
for (auto &te : _text_effects) {
|
|
|
|
for (auto &te : _text_effects) {
|
|
|
|
|
|
|
|
if (te.string_id == INVALID_STRING_ID) continue;
|
|
|
|
SetDParam(0, te.params_1);
|
|
|
|
SetDParam(0, te.params_1);
|
|
|
|
SetDParam(1, te.params_2);
|
|
|
|
SetDParam(1, te.params_2);
|
|
|
|
te.UpdatePosition(ZOOM_LVL_OUT_8X, te.center, te.top, te.string_id, te.string_id - 1);
|
|
|
|
te.UpdatePosition(ZOOM_LVL_OUT_8X, te.center, te.top, te.string_id, te.string_id - 1);
|
|
|
|