Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old February 26, 2020, 05:48   #1
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,271
wobbly is on a distinguished road
Heatmap and resources

How expensive is the heatmap used for pathing? Obviously, not to bad, but I'm interested in what happens if you use 2, 3 or 4 etc.
wobbly is offline   Reply With Quote
Old February 26, 2020, 15:50   #2
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,667
Donated: $40
Pete Mack is on a distinguished road
It'll be very expensive if you make one for PASS_WALL/KILL_WALL, when every single square needs to be included. (Maybe you can make one that only has computed values when adjacent to perma-wall. Maybe.)
Pete Mack is online now   Reply With Quote
Old March 2, 2020, 07:55   #3
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,271
wobbly is on a distinguished road
Thanks. I was considering passwall so I can weigh rock differently to open space. Perhaps I can bubble it? Only compute 15 wall squares round the player? 30*30 or 900 squares?
wobbly is offline   Reply With Quote
Old March 2, 2020, 09:44   #4
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,667
Donated: $40
Pete Mack is on a distinguished road
I was thinking of one only on squares adjacent to PERMA_WALL. Otherwise go straight towards the player.
Pete Mack is online now   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
[FrogComPosBand] Are there any newb resources for this game? Also some newb questions Roshlev Variants 12 October 10, 2018 07:42
Spoily resources Talharim Vanilla 12 November 26, 2017 02:58
Missing Resources error on startup on Mac sooheon Sil 1 July 18, 2017 00:34


All times are GMT +1. The time now is 16:22.


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