}
/* Build a prompt (accept all spells) */
- (void) strnfmt(out_val, 78,
- _("(%^s %c-%c, '*'で一覧, ESC) どの%sを使いますか?", "(%^ss %c-%c, *=List, ESC=exit) Use which %s? "),
- p, I2A(0), "abcdefghijklmnopqrstuvwxyz012345"[num-1], p);
+ (void)strnfmt(out_val, 78,
+ _("(%^s %c-%c, '*'で一覧, ESC) どの%sを使いますか?", "(%^ss %c-%c, *=List, ESC=exit) Use which %s? "),
+ p, I2A(0), "abcdefghijklmnopqrstuvwxyz012345"[num - 1], p);
if (use_menu) screen_save();
+ choice = always_show_list ? ESCAPE : 1;
- /* Get a spell from the user */
-
- choice= always_show_list ? ESCAPE:1 ;
while (!flag)
{
if(choice==ESCAPE) choice = ' ';
"(*=List, ESC=exit) Browse which power? "));
else strnfmt(out_val, 78, _("('*'で一覧, ESCで中断) どの魔力を使いますか?",
"(*=List, ESC=exit) Use which power? "));
- screen_save();
+ screen_save();
request_list = always_show_list;
- /* Get a spell from the user */
while (!flag)
{
/* Show the list */
(void)strnfmt(out_val, 78, _("('*'で一覧, ESCで中断) どの能力を付加しますか?", "(*=List, ESC=exit) Add which ability? "));
if (use_menu) screen_save();
- /* Get a spell from the user */
-
choice = (always_show_list || use_menu) ? ESCAPE : 1;
while (!flag)
{
p, I2A(0), I2A(num - 1), prompt, p);
#endif
- /* Get a spell from the user */
-
choice = (always_show_list || use_menu) ? ESCAPE : 1;
while (!flag)
{
num = p_ptr->mane_num;
/* Build a prompt (accept all spells) */
- (void)strnfmt(out_val, 78,
- _("(%c-%c, '*'で一覧, ESC) どの%sをまねますか?", "(%c-%c, *=List, ESC=exit) Use which %s? "),
- I2A(0), I2A(num - 1), p);
-
- /* Get a spell from the user */
+ (void)strnfmt(out_val, 78,
+ _("(%c-%c, '*'で一覧, ESC) どの%sをまねますか?", "(%c-%c, *=List, ESC=exit) Use which %s? "),
+ I2A(0), I2A(num - 1), p);
choice= always_show_list ? ESCAPE:1 ;
while (!flag)
/* No redraw yet */
redraw = FALSE;
- for (i = 0; i < MAX_MIND_POWERS; i++)
+ for (i = 0; i < MAX_MIND_POWERS; i++)
{
- if (mind_ptr->info[i].min_lev <= plev)
- {
- num++;
- }
+ if (mind_ptr->info[i].min_lev <= plev)
+ {
+ num++;
+ }
}
- /* Build a prompt (accept all spells) */
- if (only_browse)
+ /* Build a prompt (accept all spells) */
+ if (only_browse)
{
- (void) strnfmt(out_val, 78,
- _("(%^s %c-%c, '*'で一覧, ESC) どの%sについて知りますか?", "(%^ss %c-%c, *=List, ESC=exit) Use which %s? "),
- p, I2A(0), I2A(num - 1), p);
+ (void)strnfmt(out_val, 78,
+ _("(%^s %c-%c, '*'で一覧, ESC) どの%sについて知りますか?", "(%^ss %c-%c, *=List, ESC=exit) Use which %s? "),
+ p, I2A(0), I2A(num - 1), p);
}
else
{
- (void) strnfmt(out_val, 78,
- _("(%^s %c-%c, '*'で一覧, ESC) どの%sを使いますか?", "(%^ss %c-%c, *=List, ESC=exit) Use which %s? "),
- p, I2A(0), I2A(num - 1), p);
+ (void)strnfmt(out_val, 78,
+ _("(%^s %c-%c, '*'で一覧, ESC) どの%sを使いますか?", "(%^ss %c-%c, *=List, ESC=exit) Use which %s? "),
+ p, I2A(0), I2A(num - 1), p);
}
if (use_menu && !only_browse) screen_save();
- /* Get a spell from the user */
- choice= (always_show_list || use_menu) ? ESCAPE:1 ;
+ choice = (always_show_list || use_menu) ? ESCAPE : 1;
+
while (!flag)
{
if(choice==ESCAPE) choice = ' ';
if (use_menu) screen_save();
- /* Get a spell from the user */
-
choice= (always_show_list || use_menu) ? ESCAPE:1 ;
while (!flag)
{
if (!repeat_pull(&i) || i<0 || i>=num) {
if (use_menu) screen_save();
- /* Get a spell from the user */
choice = (always_show_list || use_menu) ? ESCAPE:1;
while (!flag)
p, I2A(0), I2A(num), p);
}
- /* Get a spell from the user */
choice = always_show_list ? ESCAPE : 1;
while (!flag)
{