OpenTTD Source: src/texteff.cpp File Reference

OpenTTD Source 1.11.0-RC1

Data Structures | Functions | Variables
texteff.cpp File Reference
`#include "stdafx.h"`
`#include "texteff.hpp"`
`#include "transparency.h"`
`#include "strings_func.h"`
`#include "core/smallvec_type.hpp"`
`#include "viewport_func.h"`
`#include "settings_type.h"`
`#include "guitimer_func.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 duration, TextEffectMode mode)
void | UpdateTextEffect (TextEffectID te_id, StringID msg)
void | RemoveTextEffect (TextEffectID te_id)
void | MoveAllTextEffects (uint delta_ms)
void | InitTextEffects ()
void | DrawTextEffects (DrawPixelInfo *dpi)

## Variables
static std::vector< struct TextEffect > | _text_effects
| Text effects are stored there.

## Detailed Description

Handling of text effects.

Definition in file texteff.cpp.