};
/*! スナイパー技能の解説メッセージ */
-static const char *snipe_tips[MAX_SNIPE_POWERS] =
+static cptr const snipe_tips[MAX_SNIPE_POWERS] =
{
#ifdef JP
"精神を集中する。射撃の威力、精度が上がり、高度な射撃術が使用できるようになる。",
};
/*! スナイパー技能テーブル */
-snipe_power snipe_powers[MAX_SNIPE_POWERS] =
+static snipe_power const snipe_powers[MAX_SNIPE_POWERS] =
{
/* Level gained, cost, name */
#ifdef JP
* when you run it. It's probably easy to fix but I haven't tried,\n
* sorry.\n
*/
-static int get_snipe_power(int *sn, bool only_browse)
+static int get_snipe_power(COMMAND_CODE *sn, bool only_browse)
{
- int i;
+ COMMAND_CODE i;
int num = 0;
int y = 1;
int x = 20;
{
case 0: /* Concentration */
if (!snipe_concentrate()) return (FALSE);
- energy_use = 100;
+ p_ptr->energy_use = 100;
return (TRUE);
case 1: snipe_type = SP_LITE; break;
case 2: snipe_type = SP_AWAY; break;
*/
void do_cmd_snipe(void)
{
- int n = 0;
+ COMMAND_CODE n = 0;
bool cast;
if (!cast) return;
#if 0
/* Take a turn */
- energy_use = 100;
+ p_ptr->energy_use = 100;
#endif
/* Redraw mana */
p_ptr->redraw |= (PR_HP | PR_MANA);
*/
void do_cmd_snipe_browse(void)
{
- int n = 0;
+ COMMAND_CODE n = 0;
int j, line;
char temp[62 * 4];