• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revisionab484e7c3993ee621a2496bb205db98aca648850 (tree)
Time2019-01-10 22:36:32
AuthorDeskull <deskull@user...>
CommiterDeskull

Log Message

[Refactor] #37353 コメント整理。 / Refactor comments.

Change Summary

Incremental Difference

--- a/src/bldg.c
+++ b/src/bldg.c
@@ -3345,12 +3345,8 @@ static void building_recharge(void)
33453345 get_check(_("$50で鑑定しますか? ", "Identify for 50 gold? ")))
33463346
33473347 {
3348- /* Pay the price */
33493348 p_ptr->au -= 50;
3350-
33513349 identify_item(o_ptr);
3352-
3353- /* Description */
33543350 object_desc(tmp_str, o_ptr, 0);
33553351 msg_format(_("%s です。", "You have: %s."), tmp_str);
33563352
--- a/src/cmd-item.c
+++ b/src/cmd-item.c
@@ -882,10 +882,8 @@ void do_cmd_observe(void)
882882 return;
883883 }
884884
885- /* Description */
886885 object_desc(o_name, o_ptr, 0);
887886 msg_format(_("%sを調べている...", "Examining %s..."), o_name);
888- /* Describe it fully */
889887 if (!screen_object(o_ptr, SCROBJ_FORCE_DETAIL)) msg_print(_("特に変わったところはないようだ。", "You see nothing special."));
890888 }
891889
--- a/src/cmd2.c
+++ b/src/cmd2.c
@@ -3327,7 +3327,6 @@ bool do_cmd_throw(int mult, bool boomerang, OBJECT_IDX shuriken)
33273327 /* Single object */
33283328 q_ptr->number = 1;
33293329
3330- /* Description */
33313330 object_desc(o_name, q_ptr, OD_OMIT_PREFIX);
33323331
33333332 if (p_ptr->mighty_throw) mult += 3;
--- a/src/object1.c
+++ b/src/object1.c
@@ -2301,7 +2301,6 @@ COMMAND_CODE show_equip(int target_item, BIT_FLAGS mode)
23012301 (!((((i == INVEN_RARM) && p_ptr->hidarite) || ((i == INVEN_LARM) && p_ptr->migite)) && p_ptr->ryoute) ||
23022302 (mode & IGNORE_BOTHHAND_SLOT))) continue;
23032303
2304- /* Description */
23052304 object_desc(o_name, o_ptr, 0);
23062305
23072306 if ((((i == INVEN_RARM) && p_ptr->hidarite) || ((i == INVEN_LARM) && p_ptr->migite)) && p_ptr->ryoute)
--- a/src/object2.c
+++ b/src/object2.c
@@ -2120,8 +2120,6 @@ static void object_mention(object_type *o_ptr)
21202120
21212121 /* Mark the item as fully known */
21222122 o_ptr->ident |= (IDENT_MENTAL);
2123-
2124- /* Description */
21252123 object_desc(o_name, o_ptr, 0);
21262124 msg_format_wizard(CHEAT_OBJECT, _("%sを生成しました。", "%s was generated."), o_name);
21272125 }
--- a/src/types.h
+++ b/src/types.h
@@ -1607,8 +1607,9 @@ feat_prob;
16071607 /* A structure for the != dungeon types */
16081608 typedef struct dungeon_info_type dungeon_info_type;
16091609 struct dungeon_info_type {
1610- STR_OFFSET name; /* Name */
1611- STR_OFFSET text; /* Description */
1610+
1611+ STR_OFFSET name; /* Name */
1612+ STR_OFFSET text; /* Description */
16121613
16131614 POSITION dy;
16141615 POSITION dx;
--- a/src/xtra2.c
+++ b/src/xtra2.c
@@ -2656,15 +2656,12 @@ static char target_set_aux(POSITION y, POSITION x, BIT_FLAGS mode, cptr info)
26562656 /* Hack -- under the player */
26572657 if (player_bold(y, x))
26582658 {
2659- /* Description */
26602659 #ifdef JP
26612660 s1 = "あなたは";
26622661 s2 = "の上";
26632662 s3 = "にいる";
26642663 #else
26652664 s1 = "You are ";
2666-
2667- /* Preposition */
26682665 s2 = "on ";
26692666 #endif
26702667 }
Show on old repository browser