I am trying to find the code/functionality that replaced some old code in Angband's util.c.
One part of the codebase I rarely touch is the util.c stuff, that receives and processed input from the keyboard & mouse. The old util.c used to have a bunch of functions and variables centered around macro handling with the theme of "repeat__" (repeat_pull, repeat_clear, repeat__idx, repeat__key, etc).
What I am can't seem to find is the equivalent Angband codebase of what handles this. For example, the simple macro for low-level mage detection "mabmah" (wth 'b' and 'h' being the two detection spells in the first book).
The reason I ask is, NPP now has ui-menus for things like spell casting and studying (like the current Angband), but how is the menu display bypassed and macro input received when a macro is running?
Thanks in advance to anyone who can steer me in the right direction.
One part of the codebase I rarely touch is the util.c stuff, that receives and processed input from the keyboard & mouse. The old util.c used to have a bunch of functions and variables centered around macro handling with the theme of "repeat__" (repeat_pull, repeat_clear, repeat__idx, repeat__key, etc).
What I am can't seem to find is the equivalent Angband codebase of what handles this. For example, the simple macro for low-level mage detection "mabmah" (wth 'b' and 'h' being the two detection spells in the first book).
The reason I ask is, NPP now has ui-menus for things like spell casting and studying (like the current Angband), but how is the menu display bypassed and macro input received when a macro is running?
Thanks in advance to anyone who can steer me in the right direction.
Comment