Go Back   Angband Forums > Angband > Development

Thread Tools Display Modes
Old October 9, 2011, 05:32   #1
NPPAngband Maintainer
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
nppangband is on a distinguished road
What happened to repeat__ stuff in util.c?

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.
NPPAngband current home page:
Source code repository:
nppangband is offline   Reply With Quote
Old October 9, 2011, 06:55   #2
Vanilla maintainer
Nick's Avatar
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,644
Donated: $60
Nick is on a distinguished road
Repeating got absorbed into the command code - see mainly game-cmd.c.
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What happened to Angband? Nightmarjoo Vanilla 17 June 18, 2011 08:04
What happened September 4, 2008? Timo Pietilš Oook! 1 September 19, 2010 06:45
WTF just happened? Or rather what did I do wrong? Fendell Orcbane AAR 14 September 3, 2010 19:11
Rename /src/player/util.c ? PaulBlay Development 10 August 6, 2009 22:11
Whatever happened to Narya? Pete Mack Vanilla 12 May 12, 2009 19:35

All times are GMT +1. The time now is 13:52.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.