OpenTTD Source
20241109-master-g5e4f8db7d6
|
Handling of text effects. More...
#include "stdafx.h"
#include "texteff.hpp"
#include "transparency.h"
#include "strings_func.h"
#include "viewport_func.h"
#include "settings_type.h"
#include "command_type.h"
#include "timer/timer.h"
#include "timer/timer_window.h"
#include "safeguards.h"
Go to the source code of this file.
Data Structures | |
struct | TextEffect |
Container for all information about a text effect. More... | |
Functions | |
TextEffectID | AddTextEffect (StringID msg, int center, int y, uint8_t duration, TextEffectMode mode) |
void | UpdateTextEffect (TextEffectID te_id, StringID msg) |
void | UpdateAllTextEffectVirtCoords () |
void | RemoveTextEffect (TextEffectID te_id) |
void | InitTextEffects () |
void | DrawTextEffects (DrawPixelInfo *dpi) |
Variables | |
static std::vector< struct TextEffect > | _text_effects |
Text effects are stored there. | |
IntervalTimer< TimerWindow > | move_all_text_effects_interval |
Slowly move text effects upwards. More... | |
Handling of text effects.
Definition in file texteff.cpp.
IntervalTimer<TimerWindow> move_all_text_effects_interval |
Slowly move text effects upwards.
Definition at line 93 of file texteff.cpp.