1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
#pragma once #include "h-basic.h" #include <string> /** * Message */ struct message { /** * Message color. */ byte color = 0; /** * Repetation count for this message. */ u32b count = 0; /** * Message text. */ std::string text; /** * Get message text with count */ std::string text_with_count() const; };