Angband.oook.cz
Angband.oook.cz
AboutDownloadVariantsLadderForumCompetitionSpoilersComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old August 3, 2011, 11:36   #1
kaypy
Adept
 
Join Date: May 2009
Posts: 210
kaypy is on a distinguished road
[3.30] Strangely coloured darkness

If you set darkness to have a visible tile[1] then the colors are not initialized properly- you will get a scattering of tiles in the unexplored area turning up in a different colour. This might also effect transparent critters detect while out of lit areas.
---
[1] Because that way you get a nicer detect traps border.
kaypy is offline   Reply With Quote
Old August 4, 2011, 17:07   #2
kaypy
Adept
 
Join Date: May 2009
Posts: 210
kaypy is on a distinguished road
Bit more information here:

The oddly coloured tiles all seem to be floor tiles rather than being buried in the walls. So it is leaking some dungeon layout information.

Also the tiles do affect the colour of transparent critters. So there is a chance of stumbing over this with default graphics and a clear critter while out of sight.

Finally, the colour seems to be the detect traps colour, so it may be something there not being initialized properly.

...

OK, something seems to be going wrong in dtrap_edge. I cant figure out why though.

...

OK, I seem to be seeing CAVE2_FEEL tiles...

...

Hmm. I think the logic in dtrap_edge is misplacing the not operators
kaypy is offline   Reply With Quote
Old August 4, 2011, 17:19   #3
kaypy
Adept
 
Join Date: May 2009
Posts: 210
kaypy is on a distinguished road
BINGO

OK, heres a fix

feeling-trapdet-fix.txt
kaypy is offline   Reply With Quote
Old August 5, 2011, 15:09   #4
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 4,992
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate Send a message via Skype™ to Magnate
Superb - thank you. This one's for fizzix, I think, since CAVE2_FEEL is his. Noted as #1506.
__________________
"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
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


All times are GMT +1. The time now is 19:21.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.