From e51e1b9e23a7483b7c8b1c25cfb963c97133180b Mon Sep 17 00:00:00 2001 From: mogami Date: Tue, 30 Apr 2002 13:15:52 +0000 Subject: [PATCH] =?utf8?q?easy=5Ffloor=E3=81=A7=E3=82=A2=E3=82=A4=E3=83=86?= =?utf8?q?=E3=83=A0=E3=82=92=E5=BA=8A=E3=81=8B=E3=82=89=E9=81=B8=E6=8A=9E?= =?utf8?q?=E3=81=99=E3=82=8B=E3=81=A8=E3=81=8D=E3=83=AA=E3=82=BF=E3=83=BC?= =?utf8?q?=E3=83=B3=E3=82=AD=E3=83=BC=E3=81=A7=E3=82=B9=E3=82=AF=E3=83=AD?= =?utf8?q?=E3=83=BC=E3=83=AB=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?utf8?q?=E3=81=97=E3=81=9F=E3=80=82=2023=E5=80=8B=E3=82=92=E8=B6=8A?= =?utf8?q?=E3=81=88=E3=82=8B=E3=82=A2=E3=82=A4=E3=83=86=E3=83=A0=E3=81=8C?= =?utf8?q?=E3=81=82=E3=82=8B=E3=81=A8=E3=81=8D=E3=81=AB=E4=BD=BF=E3=81=86?= =?utf8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/object1.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 54 insertions(+), 2 deletions(-) diff --git a/src/object1.c b/src/object1.c index de8f47c08..53596b436 100644 --- a/src/object1.c +++ b/src/object1.c @@ -6626,6 +6626,16 @@ strcat(out_val, " '/' #endif } + + /* Append */ + if (command_see && !use_menu) + { +#ifdef JP + strcat(out_val, " RET ¼¡,"); +#else + strcat(out_val, " Enter for scroll down,"); +#endif + } } /* Finish the prompt */ @@ -6869,6 +6879,48 @@ strcat(out_val, " '/' break; } + case '\n': + case '\r': + case '+': + { + int i, o_idx; + cave_type *c_ptr = &cave[py][px]; + + if (command_wrk != (USE_FLOOR)) break; + + /* Get the object being moved. */ + o_idx = c_ptr->o_idx; + + /* Only rotate a pile of two or more objects. */ + if (!(o_idx && o_list[o_idx].next_o_idx)) break; + + /* Remove the first object from the list. */ + excise_object_idx(o_idx); + + /* Find end of the list. */ + i = c_ptr->o_idx; + while (o_list[i].next_o_idx) + i = o_list[i].next_o_idx; + + /* Add after the last object. */ + o_list[i].next_o_idx = o_idx; + + /* Re-scan floor list */ + scan_floor(floor_list, &floor_num, py, px, 0x01); + + /* Hack -- Fix screen */ + if (command_see) + { + /* Load screen */ + screen_load(); + + /* Save screen */ + screen_save(); + } + + break; + } + case '/': { if (command_wrk == (USE_INVEN)) @@ -7013,10 +7065,9 @@ strcat(out_val, " '/' break; } - case '\n': #if 0 + case '\n': case '\r': -#endif { /* Choose "default" inventory item */ if (command_wrk == (USE_INVEN)) @@ -7073,6 +7124,7 @@ strcat(out_val, " '/' done = TRUE; break; } +#endif case 'w': { -- 2.11.0