/* ##################### Spans ##################### */ #define span(class, str) ("" + str + "") #define SPAN_NOTICE(str) ("" + str + "") #define SPAN_WARNING(str) ("" + str + "") #define SPAN_DANGER(str) ("" + str + "") #define SPAN_CULT(str) ("" + str + "") #define SPAN_GOOD(str) ("" + str + "") #define SPAN_BAD(str) ("" + str + "") #define SPAN_ALIEN(X) ("" + X + "") #define SPAN_ALERT(str) ("" + str + "") #define SPAN_INFO(str) ("" + str + "") #define SPAN_ITALIC(str) ("" + str + "") #define SPAN_BOLD(str) ("" + str + "") #define SPAN_SUBTLE(str) ("" + str + "") #define SPAN_SOGHUN(str) ("" + str + "") #define SPAN_VOTE(str) ("" + str + "") #define SPAN_HEAR(str) ("" + str + "") #define SPAN_STYLE(style, str) "[str]" #define SPAN_COLOR(color, str) SPAN_STYLE("color: [color]", "[str]") #define SPAN_CAUTION(str) ("" + str + "") #define SPAN_STORYTELLER(str) ("" + str + "") #define SPAN_BOLDANNOUNCE(str) ("" + str + "") #define SPAN_MACHINE_WARNING(str) ("" + str + "") #define SPAN_MACHINE_DANGER(str) ("" + str + "") #define SPAN_MACHINE_VISION(str) ("" + str + "") #define SPAN_RED(str) "[str]" #define SPAN_YELLOW(str) "[str]" #define SPAN_GREEN(str) "[str]" #define SPAN_SIZE(size, text) ("" + text + "") #define SPAN_HIGHDANGER(str) (FONT_LARGE(SPAN_DANGER(str))) #define SPAN_LANGCHAT(X) "[X]" #define SPAN_BOLDNOTICE(str) ("" + str + "") #define SPAN_BOLDWARNING(X) "[X]" // Spans that use embedded tgui components: #define SPAN_TOOLTIP(tip, main_text) ("" + main_text + "") /* ##################### Font sizes ##################### */ #define FONT_SIZE_SMALL "2" #define FONT_SIZE_NORMAL "3" #define FONT_SIZE_LARGE "4" #define FONT_SIZE_HUGE "5" #define FONT_SIZE_GIANT "6" #define FONT_SMALL(str) SPAN_SIZE(FONT_SIZE_SMALL, str) #define FONT_NORMAL(str) SPAN_SIZE(FONT_SIZE_NORMAL, str) #define FONT_LARGE(str) SPAN_SIZE(FONT_SIZE_LARGE, str) #define FONT_HUGE(str) SPAN_SIZE(FONT_SIZE_HUGE, str) #define FONT_GIANT(str) SPAN_SIZE(FONT_SIZE_GIANT, str)