summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/superdom.c38
1 files changed, 26 insertions, 12 deletions
diff --git a/apps/plugins/superdom.c b/apps/plugins/superdom.c
index dfd8ccee1f..c0c808d512 100644
--- a/apps/plugins/superdom.c
+++ b/apps/plugins/superdom.c
@@ -613,23 +613,37 @@ static int settings_menu(void)
613 613
614static int superdom_help(void) 614static int superdom_help(void)
615{ 615{
616 static char* help_text[] = { 616 static char* help_text[] = {"Super Domination","",
617 "Super", "Domination", "is", "a", "turn-based", "strategy", "game,", 617 "Aim", "",
618 "where", "the", "aim", "is", "to", "overpower", "the", "computer", 618 "Super", "Domination", "is", "a", "turn-based",
619 "player", "by", "taking", "their", "territory.", "", 619 "strategy", "game", "where", "the", "aim", "is",
620 "Each", "year", "you", "are", "allocated", "an", "amount", "of", "cash", 620 "to", "overpower", "the", "computer.", "", "",
621 "and", "food,", "depending", "on", "how", "many", "farms", "and", 621 "How", "to", "Play", "",
622 "factories", "you", "control.", "", 622 "Each", "year", "you", "are", "allocated", "an", "amount", "of", "cash",
623 "Use", "this", "cash", "and", "food", "to", "build", "and", "feed", "your", 623 "and", "food,", "depending", "on", "how", "many", "farms", "and",
624 "army.", "Each", "tile", "has", "a", "strength,", "calculated", "by", 624 "factories", "you", "control.", "",
625 "the", "ownership", "of", "surrounding", "tiles,", "and", "the", "type", 625 "Use", "this", "cash", "and", "food", "to", "build", "and", "feed", "your",
626 "and", "number", "of", "troops", "on", "them.", 626 "army.", "Each", "tile", "has", "a", "strength,", "calculated", "by",
627 "the", "ownership", "of", "surrounding", "tiles,", "and", "the", "type",
628 "and", "number", "of", "troops", "on", "them."};
629 static const struct style_text style[]={
630 {0, TEXT_CENTER|TEXT_UNDERLINE},
631 {2, C_RED},
632 {21, C_RED},
633 {22, C_RED},
634 {23, C_RED},
635 LAST_STYLE_ITEM
627 }; 636 };
628#ifdef HAVE_LCD_COLOR 637#ifdef HAVE_LCD_COLOR
629 rb->lcd_set_foreground(LCD_WHITE); 638 rb->lcd_set_foreground(LCD_WHITE);
630 rb->lcd_set_background(LCD_BLACK); 639 rb->lcd_set_background(LCD_BLACK);
631#endif 640#endif
632 if (display_text(ARRAYLEN(help_text), help_text, NULL, NULL, true)) 641 int ret=display_text(ARRAYLEN(help_text), help_text, style, NULL, true);
642#ifdef HAVE_LCD_COLOR
643 rb->lcd_set_foreground(LCD_BLACK);
644 rb->lcd_set_background(LCD_WHITE);
645#endif
646 if(ret)
633 return RET_VAL_USB; 647 return RET_VAL_USB;
634 return RET_VAL_OK; 648 return RET_VAL_OK;
635} 649}