Changeset 364

Show
Ignore:
Timestamp:
07/19/07 18:00:35 (1 year ago)
Author:
ajps
Message:

Added <click> or 'g' to some prompts where they are now acceptable inputs. Should close #257

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/angband-3.0.8/src/h-basic.h

    r245 r364  
    147147# include <pwd.h> 
    148148# include <sys/stat.h> 
     149#define __USE_GNU 
    149150# include <unistd.h> 
    150151#endif 
  • branches/angband-3.0.8/src/xtra2.c

    r263 r364  
    28662866                        if ((cave_m_idx[y][x] > 0) && target_able(cave_m_idx[y][x])) 
    28672867                        { 
    2868                                 my_strcpy(info, "q,t,p,o,+,-,<dir>", sizeof(info)); 
     2868                                my_strcpy(info, "g,q,t,p,o,+,-,<dir>, <click>", sizeof(info)); 
    28692869                        } 
    28702870 
     
    28722872                        else 
    28732873                        { 
    2874                                 my_strcpy(info, "q,p,o,+,-,<dir>", sizeof(info)); 
     2874                                my_strcpy(info, "g,q,p,o,+,-,<dir>, <click>", sizeof(info)); 
    28752875                        } 
    28762876 
     
    30343034                { 
    30353035                        /* Default prompt */ 
    3036                         my_strcpy(info, "q,t,p,m,+,-,<dir>", sizeof(info)); 
     3036                        my_strcpy(info, "g,q,t,p,m,+,-,<dir>, <click>", sizeof(info)); 
    30373037 
    30383038                        /* Describe and Prompt (enable "TARGET_LOOK") */ 
     
    32443244                if (!target_okay()) 
    32453245                { 
    3246                         p = "Direction ('*' to choose a target, Escape to cancel)? "; 
     3246                        p = "Direction ('*' or <click> to choose a target, Escape to cancel)? "; 
    32473247                } 
    32483248                else 
    32493249                { 
    3250                         p = "Direction ('5' for target, '*' to re-target, Escape to cancel)? "; 
     3250                        p = "Direction ('5' or <click>for target, '*' to re-target, Escape to cancel)? "; 
    32513251                } 
    32523252 
     
    33633363        { 
    33643364                /* Choose a prompt */ 
    3365                 p = "Direction (Escape to cancel)? "; 
     3365                p = "Direction or <click> (Escape to cancel)? "; 
    33663366 
    33673367                /* Get a command (or Cancel) */