-/* File: load.c */
+/* File: load.c */
/*
* Copyright (c) 1997 Ben Harrison, and others
case 0:
{
- /* ÉÔÌÀ¤Î´Á»ú¥³¡¼¥É¤«¤é¥·¥¹¥Æ¥à¤Î´Á»ú¥³¡¼¥É¤ËÊÑ´¹ */
+ /* 不明の漢字コードからシステムの漢字コードに変換 */
byte code = codeconv(str);
- /* ´Á»ú¥³¡¼¥É¤¬È½ÌÀ¤·¤¿¤é¡¢¤½¤ì¤òµÏ¿ */
+ /* 漢字コードが判明したら、それを記録 */
if (code) kanji_code = code;
break;
case 4: add_flag(o_ptr->art_flags, TR_SLOW_DIGEST); break;
case 5: add_flag(o_ptr->art_flags, TR_REGEN); break;
case 6: add_flag(o_ptr->art_flags, TR_FREE_ACT); break;
- case 7: add_flag(o_ptr->art_flags, TR_HOLD_LIFE); break;
+ case 7: add_flag(o_ptr->art_flags, TR_HOLD_EXP); break;
}
o_ptr->xtra2 = 0;
}
{
/* Oops */
#ifdef JP
-note("»ý¤Áʪ¤ÎÃæ¤Î¥¢¥¤¥Æ¥à¤¬Â¿¤¹¤®¤ë¡ª");
+note("持ち物の中のアイテムが多すぎる!");
#else
note("Too many items in the inventory!");
#endif
rd_s16b(&tmp16s); /* max_panel_cols */
#if 0
- if (!py || !px) {py = 10;px = 10;}/* ¥À¥ó¥¸¥ç¥óÀ¸À®¤Ë¼ºÇÔ¤·¤Æ¥»¥°¥á¥ó¥Æ¤Ã¤¿¤È¤¤ÎÉüµìÍÑ */
+ if (!py || !px) {py = 10;px = 10;}/* ダンジョン生成に失敗してセグメンテったときの復旧用 */
#endif
/* Maximal size */
if (limit > max_o_idx)
{
#ifdef JP
-note(format("¥¢¥¤¥Æ¥à¤ÎÇÛÎó¤¬Â礤¹¤®¤ë(%d)¡ª", limit));
+note(format("アイテムの配列が大きすぎる(%d)!", limit));
#else
note(format("Too many (%d) object entries!", limit));
#endif
if (i != o_idx)
{
#ifdef JP
-note(format("¥¢¥¤¥Æ¥àÇÛÃÖ¥¨¥é¡¼ (%d <> %d)", i, o_idx));
+note(format("ã\82¢ã\82¤ã\83\86ã\83 é\85\8dç½®ã\82¨ã\83©ã\83¼ (%d <> %d)", i, o_idx));
#else
note(format("Object allocation error (%d <> %d)", i, o_idx));
#endif
if (limit > max_m_idx)
{
#ifdef JP
-note(format("¥â¥ó¥¹¥¿¡¼¤ÎÇÛÎó¤¬Â礤¹¤®¤ë(%d)¡ª", limit));
+note(format("モンスターの配列が大きすぎる(%d)!", limit));
#else
note(format("Too many (%d) monster entries!", limit));
#endif
if (i != m_idx)
{
#ifdef JP
-note(format("¥â¥ó¥¹¥¿¡¼ÇÛÃÖ¥¨¥é¡¼ (%d <> %d)", i, m_idx));
+note(format("ã\83¢ã\83³ã\82¹ã\82¿ã\83¼é\85\8dç½®ã\82¨ã\83©ã\83¼ (%d <> %d)", i, m_idx));
#else
note(format("Monster allocation error (%d <> %d)", i, m_idx));
#endif
{
case 151:
#ifdef JP
- note("¥¢¥¤¥Æ¥à¤ÎÇÛÎó¤¬Â礤¹¤®¤ë¡ª");
+ note("アイテムの配列が大きすぎる!");
#else
note("Too many object entries!");
#endif
case 152:
#ifdef JP
- note("¥¢¥¤¥Æ¥àÇÛÃÖ¥¨¥é¡¼");
+ note("ã\82¢ã\82¤ã\83\86ã\83 é\85\8dç½®ã\82¨ã\83©ã\83¼");
#else
note("Object allocation error");
#endif
case 161:
#ifdef JP
- note("¥â¥ó¥¹¥¿¡¼¤ÎÇÛÎó¤¬Â礤¹¤®¤ë¡ª");
+ note("モンスターの配列が大きすぎる!");
#else
note("Too many monster entries!");
#endif
case 162:
#ifdef JP
- note("¥â¥ó¥¹¥¿¡¼ÇÛÃÖ¥¨¥é¡¼");
+ note("ã\83¢ã\83³ã\82¹ã\82¿ã\83¼é\85\8dç½®ã\82¨ã\83©ã\83¼");
#else
note("Monster allocation error");
#endif
case 171:
#ifdef JP
- note("Êݸ¤µ¤ì¤¿¥Õ¥í¥¢¤Î¥À¥ó¥¸¥ç¥ó¥Ç¡¼¥¿¤¬²õ¤ì¤Æ¤¤¤Þ¤¹¡ª");
+ note("保存されたフロアのダンジョンデータが壊れています!");
#else
note("Dungeon data of saved floors are broken!");
#endif
case 182:
#ifdef JP
- note("¥Æ¥ó¥Ý¥é¥ê¡¦¥Õ¥¡¥¤¥ë¤òºîÀ®¤Ç¤¤Þ¤»¤ó¡ª");
+ note("テンポラリ・ファイルを作成できません!");
#else
note("Failed to make temporal files!");
#endif
/* Mention the savefile version */
note(format(
#ifdef JP
- "¥Ð¡¼¥¸¥ç¥ó %d.%d.%d ¤Î¥»¡¼¥Ö¡¦¥Õ¥¡¥¤¥ë¤ò¥í¡¼¥ÉÃæ...",
+ "バージョン %d.%d.%d のセーブ・ファイルをロード中...",
#else
"Loading a %d.%d.%d savefile...",
#endif
/* Read RNG state */
rd_randomizer();
#ifdef JP
-if (arg_fiddle) note("Íð¿ô¾ðÊó¤ò¥í¡¼¥É¤·¤Þ¤·¤¿");
+if (arg_fiddle) note("乱数情報をロードしました");
#else
if (arg_fiddle) note("Loaded Randomizer Info");
#endif
/* Then the options */
rd_options();
#ifdef JP
-if (arg_fiddle) note("¥ª¥×¥·¥ç¥ó¤ò¥í¡¼¥É¤·¤Þ¤·¤¿");
+if (arg_fiddle) note("オプションをロードしました");
#else
if (arg_fiddle) note("Loaded Option Flags");
#endif
/* Then the "messages" */
rd_messages();
#ifdef JP
-if (arg_fiddle) note("¥á¥Ã¥»¡¼¥¸¤ò¥í¡¼¥É¤·¤Þ¤·¤¿");
+if (arg_fiddle) note("メッセージをロードしました");
#else
if (arg_fiddle) note("Loaded Messages");
#endif
if (tmp16u > max_r_idx)
{
#ifdef JP
-note(format("¥â¥ó¥¹¥¿¡¼¤Î¼ï²¤¬Â¿¤¹¤®¤ë(%u)¡ª", tmp16u));
+note(format("モンスターの種族が多すぎる(%u)!", tmp16u));
#else
note(format("Too many (%u) monster races!", tmp16u));
#endif
}
#ifdef JP
-if (arg_fiddle) note("¥â¥ó¥¹¥¿¡¼¤Î»×¤¤½Ð¤ò¥í¡¼¥É¤·¤Þ¤·¤¿");
+if (arg_fiddle) note("モンスターの思い出をロードしました");
#else
if (arg_fiddle) note("Loaded Monster Memory");
#endif
if (tmp16u > max_k_idx)
{
#ifdef JP
-note(format("¥¢¥¤¥Æ¥à¤Î¼ïÎब¿¤¹¤®¤ë(%u)¡ª", tmp16u));
+note(format("アイテムの種類が多すぎる(%u)!", tmp16u));
#else
note(format("Too many (%u) object kinds!", tmp16u));
#endif
k_ptr->tried = (tmp8u & 0x02) ? TRUE: FALSE;
}
#ifdef JP
-if (arg_fiddle) note("¥¢¥¤¥Æ¥à¤ÎµÏ¿¤ò¥í¡¼¥É¤·¤Þ¤·¤¿");
+if (arg_fiddle) note("アイテムの記録をロードしました");
#else
if (arg_fiddle) note("Loaded Object Memory");
#endif
-
- /* Init the wilderness seeds */
- for (i = 0; i < max_wild_x; i++)
- {
- for (j = 0; j < max_wild_y; j++)
- {
- wilderness[j][i].seed = randint0(0x10000000);
- }
- }
-
/* 2.1.3 or newer version */
{
u16b max_towns_load;
if (max_towns_load > max_towns)
{
#ifdef JP
-note(format("Ä®¤¬Â¿¤¹¤®¤ë(%u)¡ª", max_towns_load));
+note(format("町が多すぎる(%u)!", max_towns_load));
#else
note(format("Too many (%u) towns!", max_towns_load));
#endif
if (max_quests_load > max_quests)
{
#ifdef JP
-note(format("¥¯¥¨¥¹¥È¤¬Â¿¤¹¤®¤ë(%u)¡ª", max_quests_load));
+note(format("クエストが多すぎる(%u)!", max_quests_load));
#else
note(format("Too many (%u) quests!", max_quests_load));
#endif
if ((wild_x_size > max_wild_x) || (wild_y_size > max_wild_y))
{
#ifdef JP
-note(format("¹ÓÌÂ礤¹¤®¤ë(%u/%u)¡ª", wild_x_size, wild_y_size));
+note(format("荒野が大きすぎる(%u/%u)!", wild_x_size, wild_y_size));
#else
note(format("Wilderness is too big (%u/%u)!", wild_x_size, wild_y_size));
#endif
}
#ifdef JP
-if (arg_fiddle) note("¥¯¥¨¥¹¥È¾ðÊó¤ò¥í¡¼¥É¤·¤Þ¤·¤¿");
+if (arg_fiddle) note("クエスト情報をロードしました");
#else
if (arg_fiddle) note("Loaded Quests");
#endif
if (tmp16u > max_a_idx)
{
#ifdef JP
-note(format("ÅÁÀâ¤Î¥¢¥¤¥Æ¥à¤¬Â¿¤¹¤®¤ë(%u)¡ª", tmp16u));
+note(format("伝説のアイテムが多すぎる(%u)!", tmp16u));
#else
note(format("Too many (%u) artifacts!", tmp16u));
#endif
}
}
#ifdef JP
-if (arg_fiddle) note("ÅÁÀâ¤Î¥¢¥¤¥Æ¥à¤ò¥í¡¼¥É¤·¤Þ¤·¤¿");
+if (arg_fiddle) note("伝説のアイテムをロードしました");
#else
if (arg_fiddle) note("Loaded Artifacts");
#endif
if (p_ptr->energy_need < -999) world_player = TRUE;
#ifdef JP
-if (arg_fiddle) note("ÆÃÊ̾ðÊó¤ò¥í¡¼¥É¤·¤Þ¤·¤¿");
+if (arg_fiddle) note("特別情報をロードしました");
#else
if (arg_fiddle) note("Loaded extra information");
#endif
if (tmp16u > PY_MAX_LEVEL)
{
#ifdef JP
-note(format("¥Ò¥Ã¥È¥Ý¥¤¥ó¥ÈÇÛÎó¤¬Â礤¹¤®¤ë(%u)¡ª", tmp16u));
+note(format("ヒットポイント配列が大きすぎる(%u)!", tmp16u));
#else
note(format("Too many (%u) hitpoint entries!", tmp16u));
#endif
if (rd_inventory())
{
#ifdef JP
-note("»ý¤Áʪ¾ðÊó¤òÆɤ߹þ¤à¤³¤È¤¬¤Ç¤¤Þ¤»¤ó");
+note("持ち物情報を読み込むことができません");
#else
note("Unable to read inventory");
#endif
{
/* Dead players have no dungeon */
#ifdef JP
-note("¥À¥ó¥¸¥ç¥óÉü¸µÃæ...");
+note("ダンジョン復元中...");
#else
note("Restoring Dungeon...");
#endif
if (rd_dungeon())
{
#ifdef JP
-note("¥À¥ó¥¸¥ç¥ó¥Ç¡¼¥¿Æɤ߹þ¤ß¼ºÇÔ");
+note("ダンジョンデータ読み込み失敗");
#else
note("Error reading dungeon data");
#endif
if (o_v_check != n_v_check)
{
#ifdef JP
-note("¥Á¥§¥Ã¥¯¥µ¥à¤¬¤ª¤«¤·¤¤");
+note("チェックサムがおかしい");
#else
note("Invalid checksum");
#endif
if (o_x_check != n_x_check)
{
#ifdef JP
-note("¥¨¥ó¥³¡¼¥É¤µ¤ì¤¿¥Á¥§¥Ã¥¯¥µ¥à¤¬¤ª¤«¤·¤¤");
+note("エンコードされたチェックサムがおかしい");
#else
note("Invalid encoded checksum");
#endif