mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-15 01:22:59 -07:00
Added an extra helper function and removed instant text control code from ITEM_OBTAINED
This commit is contained in:
parent
9c57ed6642
commit
46df17e29f
2 changed files with 7 additions and 2 deletions
|
@ -28,7 +28,7 @@ std::string MESSAGE_END() {
|
|||
}
|
||||
|
||||
std::string ITEM_OBTAINED(uint8_t x) {
|
||||
return "\x08\x13"s + char(x);
|
||||
return "\x13"s + char(x);
|
||||
}
|
||||
|
||||
std::string NEWLINE() {
|
||||
|
@ -37,4 +37,8 @@ std::string NEWLINE() {
|
|||
|
||||
std::string COLOR(uint8_t x) {
|
||||
return "\x05"s + char(x);
|
||||
}
|
||||
|
||||
std::string WAIT_FOR_INPUT() {
|
||||
return "\x04"s;
|
||||
}
|
|
@ -15,4 +15,5 @@
|
|||
std::string MESSAGE_END();
|
||||
std::string ITEM_OBTAINED(uint8_t x);
|
||||
std::string NEWLINE();
|
||||
std::string COLOR(uint8_t x);
|
||||
std::string COLOR(uint8_t x);
|
||||
std::string WAIT_FOR_INPUT();
|
Loading…
Add table
Add a link
Reference in a new issue