|
resonance 1.0.1
|
One plain text message of the head-up display. More...
#include <hudgenmessage.h>

Public Member Functions | |
| HudGenMessage (const HxStr &name) | |
| Resolve the text and hide it. | |
| void | Show (const HxStr &text) |
| Show one text. | |
| void | Hide () |
| Hide the text. | |
Public Attributes | |
| Rnd::Text * | mText |
| The text. | |
One plain text message of the head-up display.
The class is not polymorphic and emits no RTTI. No descriptor, tag, or file path identifies it, and its name is inferred from HUD genmsg.txt, the object both of its instances resolve. The head-up display panel embeds one at +0x54, and HudWinMessage embeds one at +0x28.
Unlike HudTextMessage, the message has no animation and no timing. It shows a text until it is hidden.
| HudGenMessage::HudGenMessage | ( | const HxStr & | name | ) |
Resolve the text and hide it.
The panel and HudWinMessage both inline the body, and this copy has no caller.
| name | The object name of the text. |
| void HudGenMessage::Show | ( | const HxStr & | text | ) |
Show one text.
The out-of-line copy has no caller. The title is inferred.
| text | The text. |
| void HudGenMessage::Hide | ( | ) |
Hide the text.
The out-of-line copy has no caller. The title is inferred.
| Rnd::Text* HudGenMessage::mText |
The text.
+0x00
Public because HudWinMessage's draw at 0x0042a830 draws it directly, and the image has no accessor for it.