OSDN Git Service

Merge remote-tracking branch 'remotes/hengbandosx/english-knowledge-edits' into featu...
[hengband/hengband.git] / src / view / display-fruit.c
1 #include "display-fruit.h"
2 #include "system/angband.h"
3 #include "term/screen-processor.h"
4 #include "term/term-color-types.h"
5
6 /*!
7  * @brief カジノのスロットシンボルを表示する / display fruit for dice slots
8  * @param row シンボルを表示する行の上端
9  * @param col シンボルを表示する行の左端
10  * @param fruit 表示するシンボルID
11  * @return なし
12  */
13 void display_fruit(int row, int col, int fruit)
14 {
15         switch (fruit)
16         {
17         case 0:
18                 c_put_str(TERM_YELLOW, "   ####.", row, col);
19                 c_put_str(TERM_YELLOW, "  #    #", row + 1, col);
20                 c_put_str(TERM_YELLOW, " #     #", row + 2, col);
21                 c_put_str(TERM_YELLOW, "#      #", row + 3, col);
22                 c_put_str(TERM_YELLOW, "#      #", row + 4, col);
23                 c_put_str(TERM_YELLOW, "#     # ", row + 5, col);
24                 c_put_str(TERM_YELLOW, "#    #  ", row + 6, col);
25                 c_put_str(TERM_YELLOW, ".####   ", row + 7, col);
26                 prt(_(" レモン ", " Lemon  "), row + 8, col);
27                 break;
28         case 1:
29                 c_put_str(TERM_ORANGE, "   ##   ", row, col);
30                 c_put_str(TERM_ORANGE, "  #..#  ", row + 1, col);
31                 c_put_str(TERM_ORANGE, " #....# ", row + 2, col);
32                 c_put_str(TERM_ORANGE, "#......#", row + 3, col);
33                 c_put_str(TERM_ORANGE, "#......#", row + 4, col);
34                 c_put_str(TERM_ORANGE, " #....# ", row + 5, col);
35                 c_put_str(TERM_ORANGE, "  #..#  ", row + 6, col);
36                 c_put_str(TERM_ORANGE, "   ##   ", row + 7, col);
37                 prt(_("オレンジ", " Orange "), row + 8, col);
38                 break;
39         case 2:
40                 c_put_str(TERM_SLATE, _("   Λ   ", "   /\\   "), row, col);
41                 c_put_str(TERM_SLATE, _("   ||   ", "   ##   "), row + 1, col);
42                 c_put_str(TERM_SLATE, _("   ||   ", "   ##   "), row + 2, col);
43                 c_put_str(TERM_SLATE, _("   ||   ", "   ##   "), row + 3, col);
44                 c_put_str(TERM_SLATE, _("   ||   ", "   ##   "), row + 4, col);
45                 c_put_str(TERM_SLATE, _("   ||   ", "   ##   "), row + 5, col);
46                 c_put_str(TERM_UMBER, _(" |=亜=| ", " ###### "), row + 6, col);
47                 c_put_str(TERM_UMBER, _("   目   ", "   ##   "), row + 7, col);
48                 prt(_("   剣   ", " Sword  "), row + 8, col);
49                 break;
50         case 3:
51                 c_put_str(TERM_SLATE, " ###### ", row, col);
52                 c_put_str(TERM_SLATE, "#      #", row + 1, col);
53                 c_put_str(TERM_SLATE, "# ++++ #", row + 2, col);
54                 c_put_str(TERM_SLATE, "# +==+ #", row + 3, col);
55                 c_put_str(TERM_SLATE, "#  ++  #", row + 4, col);
56                 c_put_str(TERM_SLATE, " #    # ", row + 5, col);
57                 c_put_str(TERM_SLATE, "  #  #  ", row + 6, col);
58                 c_put_str(TERM_SLATE, "   ##   ", row + 7, col);
59                 prt(_("   盾   ", " Shield "), row + 8, col);
60                 break;
61         case 4:
62                 c_put_str(TERM_VIOLET, "   ##   ", row, col);
63                 c_put_str(TERM_VIOLET, " ###### ", row + 1, col);
64                 c_put_str(TERM_VIOLET, "########", row + 2, col);
65                 c_put_str(TERM_VIOLET, "########", row + 3, col);
66                 c_put_str(TERM_VIOLET, "########", row + 4, col);
67                 c_put_str(TERM_VIOLET, " ###### ", row + 5, col);
68                 c_put_str(TERM_VIOLET, "  ####  ", row + 6, col);
69                 c_put_str(TERM_VIOLET, "   ##   ", row + 7, col);
70                 prt(_(" プラム ", "  Plum  "), row + 8, col);
71                 break;
72         case 5:
73                 c_put_str(TERM_RED, "      ##", row, col);
74                 c_put_str(TERM_RED, "   ###  ", row + 1, col);
75                 c_put_str(TERM_RED, "  #..#  ", row + 2, col);
76                 c_put_str(TERM_RED, "  #..#  ", row + 3, col);
77                 c_put_str(TERM_RED, " ###### ", row + 4, col);
78                 c_put_str(TERM_RED, "#..##..#", row + 5, col);
79                 c_put_str(TERM_RED, "#..##..#", row + 6, col);
80                 c_put_str(TERM_RED, " ##  ## ", row + 7, col);
81                 prt(_("チェリー", " Cherry "), row + 8, col);
82                 break;
83         }
84 }