26using TextEffectID = uint16_t;
28static const TextEffectID INVALID_TE_ID = UINT16_MAX;
31void InitTextEffects();
33void UpdateTextEffect(TextEffectID effect_id,
EncodedString &&msg);
34void RemoveTextEffect(TextEffectID effect_id);
35void UpdateAllTextEffectVirtCoords();
Container for an encoded string, created by GetEncodedString.
Types related to the economy.
Types related to the graphics and/or input devices.
Types related to strings.
uint32_t StringID
Numeric value that represents a string, independent of the selected language.
Data about how and where to blit pixels.
TextEffectID ShowFillingPercent(int x, int y, int z, uint8_t percent, StringID colour)
Display vehicle loading indicators.
void HideFillingPercent(TextEffectID *te_id)
Hide vehicle loading indicators.
void ShowCostOrIncomeAnimation(int x, int y, int z, Money cost)
Display animated income or costs on the map.
TextEffectMode
Text effect modes.
@ TE_STATIC
Keep the text effect static.
@ TE_RISING
Make the text effect slowly go upwards.
@ TE_INVALID
Text effect is invalid.
void UpdateFillingPercent(TextEffectID te_id, uint8_t percent, StringID colour)
Update vehicle loading indicators.
void ShowFeederIncomeAnimation(int x, int y, int z, Money transfer, Money income)
Display animated feeder income.