augment Qt Info menu
Add ^X (as "Attributes (extended status)") to the "Info" drop down menu, also Overview, and Annotate. Attributes and Overview work, Annotate results in running southeast. Existing entries Conduct, Adjust, and Skills execute nethack's '?' command so I didn't bother holding back on adding Annotate. Other existing entries (Inventory, Discoveries, Spells, and Name) work. If there's any sort of pattern involved, I'm not seeing it. The Game menu has "Save", which shows up and works, but that's supposed to be followed by "Quit" which doesn't show up when the menu is used. This doesn't attempt to deal with that. Command+q keystroke, which should close the application, behaves the same as previously mentioned "quit nethack" in nethack menu: runs nethack's '?' command and then resumes play.
This commit is contained in:
@@ -631,12 +631,15 @@ NetHackQtMainWindow::NetHackQtMainWindow(NetHackQtKeyBuffer& ks) :
|
||||
{ help, 0, 1},
|
||||
|
||||
{ info, "Inventory", 3, ddoinv},
|
||||
{ info, "Attributes (extended status)", 3, doattributes },
|
||||
{ info, "Overview", 3, dooverview },
|
||||
{ info, "Conduct", 3, doconduct},
|
||||
{ info, "Discoveries", 3, dodiscovered},
|
||||
{ info, "List/reorder spells", 3, dovspell},
|
||||
{ info, "Adjust letters", 2, doorganize},
|
||||
{ info, "Adjust inventory letters", 2, doorganize },
|
||||
{ info, 0, 3},
|
||||
{ info, "Name object or creature", 3, docallcmd},
|
||||
{ info, "Annotate level", 2, donamelevel },
|
||||
{ info, 0, 3},
|
||||
{ info, "Skills", 3, enhance_weapon_skill},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user