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:
@@ -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 ### */
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user