MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / Reset

Method Reset

src/texteff.cpp:29–34  ·  view source on GitHub ↗

Reset the text effect */

Source from the content-addressed store, hash-verified

27
28 /** Reset the text effect */
29 void Reset()
30 {
31 this->MarkDirty();
32 this->width_normal = 0;
33 this->mode = TE_INVALID;
34 }
35
36 inline bool IsValid() const { return this->mode != TE_INVALID; }
37};

Callers 2

RemoveTextEffectFunction · 0.45
texteff.cppFile · 0.45

Calls 1

MarkDirtyMethod · 0.45

Tested by

no test coverage detected