clicklook (main trunk only)

This allows the use of the right mouse button to
look at things on the screen when the
'clicklook' option is set.

Concept came from a patch for 3.4.0
that I saw referenced on r.g.r.n
[see http://www.steelskies.com/nethack.php]
but the implementation is different.
This commit is contained in:
nethack.allison
2003-06-30 02:09:04 +00:00
parent 00addd7eea
commit cec8e1ee31
8 changed files with 93 additions and 54 deletions

View File

@@ -1405,6 +1405,7 @@ E int NDECL(dowhatdoes);
E char *FDECL(dowhatdoes_core,(CHAR_P, char *));
E int NDECL(dohelp);
E int NDECL(dohistory);
E int FDECL(do_look, (int, coord *));
/* ### pcmain.c ### */

View File

@@ -262,6 +262,7 @@ struct instance_flags {
boolean wc_mouse_support; /* allow mouse support */
boolean cmdassist; /* provide detailed assistance for some commands */
boolean clicklook; /* allow right-clicking for look */
boolean obsolete; /* obsolete options can point at this, it isn't used */
#ifdef WIN32CON
#define MAX_ALTKEYHANDLER 25