{
char buf[80];
concptr t;
-#ifndef JP
+#ifdef JP
+#else
bool quote = FALSE;
#endif
}
-#ifndef JP
-
+#ifdef JP
+#else
/*!
* @brief Return suffix of ordinal number
* @param num number
/* cmd4.c */
-#ifndef JP
+#ifdef JP
+#else
extern concptr get_ordinal_number_suffix(int num);
#endif
extern errr exe_write_diary(player_type *creature_ptr, int type, int num, concptr note);
center_string(buf, dead_ptr->name);
put_str(buf, 6, 11);
-#ifndef JP
+#ifdef JP
+#else
center_string(buf, "the");
put_str(buf, 7, 11);
#endif
MF_BYCOMMAND | MF_DISABLED | MF_GRAYED);
EnableMenuItem(hm, IDM_OPTIONS_SOUND,
MF_BYCOMMAND | MF_DISABLED | MF_GRAYED);
-#ifndef JP
+#ifdef JP
+#else
+
EnableMenuItem(hm, IDM_OPTIONS_SAVER,
MF_BYCOMMAND | MF_DISABLED | MF_GRAYED);
#endif
(arg_sound ? MF_CHECKED : MF_UNCHECKED));
CheckMenuItem(hm, IDM_OPTIONS_BG,
(use_bg ? MF_CHECKED : MF_UNCHECKED));
-#ifndef JP
+#ifdef JP
+#else
+
CheckMenuItem(hm, IDM_OPTIONS_SAVER,
(hwndSaver ? MF_CHECKED : MF_UNCHECKED));
#endif
if (is_seen(m_ptr))
{
GAME_TEXT m_name[MAX_NLEN];
-#ifndef JP
+#ifdef JP
+#else
+
char m_poss[80];
/* Acquire the monster possessive */
hooked_roff(format(_("%^sは", "%^s "), wd_he[msex]));
old = TRUE;
}
-#ifndef JP
+#ifdef JP
+#else
hooked_roff("moves");
#endif
{
hooked_roff(_("少なくとも", " at the least"));
}
-#ifndef JP
+#ifdef JP
+#else
hooked_roff(" contain ");
#endif
for(n = 0; n < A_MAX; n++)
/* Intro */
hooked_roff(format(
_("%^sは", "%^s may carry"), wd_he[msex]));
-#ifndef JP
+#ifdef JP
+#else
/* No "n" needed */
sin = FALSE;
#endif
if (n == 1)
{
hooked_roff(_("一つの", " a"));
-#ifndef JP
+#ifdef JP
+#else
sin = TRUE;
#endif
}
else if (flags1 & RF1_DROP_GOOD)
{
p = _("上質な", " good");
-#ifndef JP
+#ifdef JP
+#else
sin = FALSE;
#endif
}
if (drop_item)
{
/* Handle singular "an" */
-#ifndef JP
+#ifdef JP
+#else
if (sin) hooked_roff("n");
sin = FALSE;
#endif
hooked_roff(
_("アイテム", " object"));
-#ifndef JP
+#ifdef JP
+#else
if (n != 1) hooked_roff("s");
#endif
/* Treasures */
if (drop_gold)
{
-#ifndef JP
+#ifdef JP
+#else
/* Cancel prefix */
if (!p) sin = FALSE;
/* Dump "treasure(s)" */
if (p) hooked_roff(p);
hooked_roff(_("財宝", " treasure"));
-#ifndef JP
+#ifdef JP
+#else
if (n != 1) hooked_roff("s");
#endif
/* Reset the cursor */
Term_gotoxy(0, 0);
-#ifndef JP
+#ifdef JP
+#else
+
/* A title (use "The" for non-uniques) */
if (!(r_ptr->flags1 & RF1_UNIQUE))
{
*/
bool make_attack_spell(MONSTER_IDX m_idx, player_type *target_ptr)
{
-#ifndef JP
+#ifdef JP
+#else
+
char m_poss[80];
#endif
/* Extract the "see-able-ness" */
GAME_TEXT m_name[MAX_NLEN];
monster_desc(m_name, m_ptr, 0x00);
-#ifndef JP
+#ifdef JP
+#else
+
/* Get the monster possessive ("his"/"her"/"its") */
monster_desc(m_poss, m_ptr, MD_PRON_VISIBLE | MD_POSSESSIVE);
#endif
GAME_TEXT m_name[160];
GAME_TEXT t_name[160];
-#ifndef JP
+#ifdef JP
+#else
+
char m_poss[160];
#endif
/* Get the monster name (or "it") */
monster_desc(m_name, m_ptr, 0x00);
-#ifndef JP
+#ifdef JP
+#else
+
/* Get the monster possessive ("his"/"her"/"its") */
monster_desc(m_poss, m_ptr, MD_PRON_VISIBLE | MD_POSSESSIVE);
#endif
*/
static char *inscribe_flags_aux(flag_insc_table *fi_ptr, BIT_FLAGS flgs[TR_FLAG_SIZE], bool kanji, char *ptr)
{
-#ifndef JP
+#ifdef JP
+#else
+
(void)kanji;
#endif
kindname = "";
}
-#ifndef JP
+#ifdef JP
+#else
+
/* Pluralizer */
else if (*s == '~')
{
else if (have_flag(flgs, TR_BLOWS))
{
t = object_desc_str(t, _("攻撃", " attack"));
-#ifndef JP
+#ifdef JP
+#else
+
if (ABS(o_ptr->pval) != 1) t = object_desc_chr(t, 's');
#endif
}
bool flag = FALSE;
bool done = FALSE;
-#ifndef JP
+#ifdef JP
+#else
+
/* Extract plural */
bool plural = (j_ptr->number != 1);
#endif
get_mon_num_prep(NULL, NULL);
-#ifndef JP
+#ifdef JP
+#else
+
if (!(r_ptr->flags1 & RF1_UNIQUE))
sprintf(m_name, "%s %s", (is_a_vowel(desc[0]) ? "an" : "a"), desc);
else
if (q_num != 1)
{
-#ifndef JP
+#ifdef JP
+#else
plural_aux(name);
#endif
msg_format(_("注意しろ!この階は%d体の%sによって守られている!", "Be warned, this level is guarded by %d %s!"), q_num, name);
concptr note_kill = NULL;
-#ifndef JP
+#ifdef JP
+#else
+
/* Get the "plural"-ness */
bool plural = (o_ptr->number > 1);
#endif
{
s2 = _("の入口", "");
}
-#ifndef JP
+#ifdef JP
+#else
else if (have_flag(f_ptr->flags, FF_FLOOR) ||
have_flag(f_ptr->flags, FF_TOWN) ||
have_flag(f_ptr->flags, FF_SHALLOW) ||
}
else
{
-#ifndef JP
+#ifdef JP
+#else
spoil_out("The ");
#endif
}