| 2908 | } |
| 2909 | |
| 2910 | staticfn void |
| 2911 | explain_container_prompt(boolean more_containers) |
| 2912 | { |
| 2913 | static const char *const explaintext[] = { |
| 2914 | "Container actions:", |
| 2915 | "", |
| 2916 | " : -- Look: examine contents", |
| 2917 | " o -- Out: take things out", |
| 2918 | " i -- In: put things in", |
| 2919 | " b -- Both: first take things out, then put things in", |
| 2920 | " r -- Reversed: put things in, then take things out", |
| 2921 | " s -- Stash: put one item in", "", |
| 2922 | " n -- Next: loot next selected container", |
| 2923 | " q -- Quit: finished", |
| 2924 | " ? -- Help: display this text.", |
| 2925 | "", 0 |
| 2926 | }; |
| 2927 | const char *const *txtpp; |
| 2928 | winid win; |
| 2929 | |
| 2930 | /* "Do what with <container>? [:oibrsq or ?] (q)" */ |
| 2931 | if ((win = create_nhwindow(NHW_TEXT)) != WIN_ERR) { |
| 2932 | for (txtpp = explaintext; *txtpp; ++txtpp) { |
| 2933 | if (!more_containers && !strncmp(*txtpp, " n ", 3)) |
| 2934 | continue; |
| 2935 | putstr(win, 0, *txtpp); |
| 2936 | } |
| 2937 | display_nhwindow(win, FALSE); |
| 2938 | destroy_nhwindow(win); |
| 2939 | } |
| 2940 | } |
| 2941 | |
| 2942 | boolean |
| 2943 | u_handsy(void) |