変愚蛮怒のメインリポジトリです
Revision | d6ec93225ef0e160db3db848787c132153f743d5 (tree) |
---|---|
Time | 2018-10-07 22:11:41 |
Author | Deskull <deskull@user...> |
Commiter | Deskull |
@@ -437,9 +437,10 @@ static bool check_local_illumination(int y, int x) | ||
437 | 437 | * @param x x座標 |
438 | 438 | * @return なし |
439 | 439 | */ |
440 | -void update_local_illumination(int y, int x) | |
440 | +void update_local_illumination(POSITION y, POSITION x) | |
441 | 441 | { |
442 | - int i, yy, xx; | |
442 | + int i; | |
443 | + POSITION yy, xx; | |
443 | 444 | |
444 | 445 | if (!in_bounds(y, x)) return; |
445 | 446 |
@@ -654,7 +654,7 @@ extern bool is_known_trap(cave_type *c_ptr); | ||
654 | 654 | extern bool is_closed_door(IDX feat); |
655 | 655 | extern bool is_hidden_door(cave_type *c_ptr); |
656 | 656 | extern bool los(POSITION y1, POSITION x1, POSITION y2, POSITION x2); |
657 | -extern void update_local_illumination(int y, int x); | |
657 | +extern void update_local_illumination(POSITION y, POSITION x); | |
658 | 658 | extern bool player_can_see_bold(int y, int x); |
659 | 659 | extern bool cave_valid_bold(int y, int x); |
660 | 660 | extern bool no_lite(void); |
@@ -713,12 +713,7 @@ void curse_equipment(int chance, int heavy_chance) | ||
713 | 713 | |
714 | 714 | if (changed) |
715 | 715 | { |
716 | -#ifdef JP | |
717 | -msg_format("悪意に満ちた黒いオーラが%sをとりまいた...", o_name); | |
718 | -#else | |
719 | - msg_format("There is a malignant black aura surrounding %s...", o_name); | |
720 | -#endif | |
721 | - | |
716 | + msg_format(_("悪意に満ちた黒いオーラが%sをとりまいた...", "There is a malignant black aura surrounding %s..."), o_name); | |
722 | 717 | o_ptr->feeling = FEEL_NONE; |
723 | 718 | } |
724 | 719 | p_ptr->update |= (PU_BONUS); |
@@ -1447,11 +1442,11 @@ bool make_attack_spell(MONSTER_IDX m_idx) | ||
1447 | 1442 | PERCENTAGE failrate; |
1448 | 1443 | byte spell[96], num = 0; |
1449 | 1444 | BIT_FLAGS f4, f5, f6; |
1450 | - monster_type *m_ptr = &m_list[m_idx]; | |
1451 | - monster_race *r_ptr = &r_info[m_ptr->r_idx]; | |
1452 | - char m_name[80]; | |
1445 | + monster_type *m_ptr = &m_list[m_idx]; | |
1446 | + monster_race *r_ptr = &r_info[m_ptr->r_idx]; | |
1447 | + char m_name[80]; | |
1453 | 1448 | #ifndef JP |
1454 | - char m_poss[80]; | |
1449 | + char m_poss[80]; | |
1455 | 1450 | #endif |
1456 | 1451 | bool no_inate = FALSE; |
1457 | 1452 | bool do_spell = DO_SPELL_NONE; |