Go Back   Angband Forums > Angband > Development

Thread Tools Display Modes
Old June 10, 2011, 10:40   #1
PowerWyrm's Avatar
Join Date: Apr 2008
Posts: 2,938
PowerWyrm is on a distinguished road
Spell browser lost its header

Due to this commit:

In menu_refresh(), the menu header is now displayed before browse hook is called. With the "browse spell" menu, here's what happens:
- browsing is initiated by spell_menu_browse()
- screen_save() is called, which makes a copy of the display
- menu_select() is called
- menu_refresh() is called
- menu header is displayed
- browser hook is called: spell_menu_browser()
- screen_load() is called, which reloads the saved copy of the display... without the menu header!
- spell description is displayed
- spell list is displayed (spell_menu_display)

spell_menu_browser() should probably only partially erase the display...
PWMAngband variant maintainer - check (or to learn more about this new variant!
PowerWyrm 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
lost inscriptions bug? will_asher Vanilla 8 June 5, 2010 06:17
HELP! Upgraded & lost my character! rjtucke Development 2 February 16, 2010 07:12
Have you ever lost your light source in the dungeon? Nemesis Vanilla 15 September 29, 2009 11:01
Lost intelligence while sustained. Sergio Vanilla 9 August 7, 2009 18:12
Advice for a lost newbie Big McStrongmuscle Vanilla 7 October 9, 2007 23:30

All times are GMT +1. The time now is 15:51.

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