diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-09 11:19:22 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-09 11:19:22 -0500 |
commit | c85f91cc5e0f9e94717fbc36ebef3b2637986121 (patch) | |
tree | 0bd1c5555d6395c5fc77540202296c93fc0b98f0 /src/message_system.h | |
parent | 3f6a071f6728b4d08553220d4174018a4080b176 (diff) | |
download | tanetane-c85f91cc5e0f9e94717fbc36ebef3b2637986121.tar.gz tanetane-c85f91cc5e0f9e94717fbc36ebef3b2637986121.tar.bz2 tanetane-c85f91cc5e0f9e94717fbc36ebef3b2637986121.zip |
Added newlines that don't require A presses
\n in a text message just indicates a newline. \n\f is a newline with an A press.
Diffstat (limited to 'src/message_system.h')
-rw-r--r-- | src/message_system.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/message_system.h b/src/message_system.h index 85ecd65..155f9c6 100644 --- a/src/message_system.h +++ b/src/message_system.h | |||
@@ -33,6 +33,9 @@ public: | |||
33 | 33 | ||
34 | void hideCutsceneBars(); | 34 | void hideCutsceneBars(); |
35 | 35 | ||
36 | // Adds text to the message queue. Separate lines with \n. | ||
37 | // \f is a special character -- put it after a \n to indicate that a button | ||
38 | // press is required to advance text. | ||
36 | void displayMessage( | 39 | void displayMessage( |
37 | std::string_view msg, | 40 | std::string_view msg, |
38 | std::string speakerName = "", | 41 | std::string speakerName = "", |