Go Back   Angband Forums > Angband > Development

Thread Tools Display Modes
Old June 26, 2011, 01:19   #1
Join Date: Apr 2011
Location: Göteborg, Sweden
Posts: 348
jens is on a distinguished road
Solved #1265

I have a solution for the old bug for windows players; where the overhead map flickers, and the game slows down, if a multi-colored monster is visible. Described in ticket #1265.

Problem is I do not understand this code. I have basically been turning of things at random, until I finally found that this works. But since it's there, it might be there for a reason, so I don't want to commit this. It would be great if someone could use this as a start to find a good solution.

in file: src/xtra3.c
in method: update_minimap_subwindow
in code section:

if (type == EVENT_MAP)
	/* Set flag if whole-map redraw. */
	if (data->point.x == -1 && data->point.y == -1)
		flags->needs_redraw = TRUE;
change: flags->needs_redraw = TRUE;
to: flags->needs_redraw = FALSE;

Or just remove the whole section. I have tested it and it works perfectly for me, I have closed the window, opened it, resized it, set, and reset the option, played with it, all works.

Included 2 save files if you would happen to want to test it and don't have a flickering monster available ;-)
Attached Files
File Type: zip (13.3 KB, 66 views)
jens is offline   Reply With Quote
Old June 26, 2011, 09:17   #2
Angband Devteam member
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Thanks Jens. I'm going to commit this and put it in the next RC and see if it works for people. Timo will be in your debt forever.
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate 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

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

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