Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

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

Due to this commit:
https://github.com/angband/angband/c...423140ad9913a3

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 http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Reply


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 05:17
HELP! Upgraded & lost my character! rjtucke Development 2 February 16, 2010 06:12
Have you ever lost your light source in the dungeon? Nemesis Vanilla 15 September 29, 2009 10:01
Lost intelligence while sustained. Sergio Vanilla 9 August 7, 2009 17:12
Advice for a lost newbie Big McStrongmuscle Vanilla 7 October 9, 2007 22:30


All times are GMT +1. The time now is 03:07.


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