--- Log opened Sat May 09 00:00:32 2015 20150509 00:18:14-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 246 seconds] 20150509 02:00:34-!- pydsigner [~pydsigner@unaffiliated/pydsigner] has joined #wesnoth-umc-dev 20150509 02:08:10-!- pydsigner [~pydsigner@unaffiliated/pydsigner] has quit [Ping timeout: 252 seconds] 20150509 03:04:37-!- Crendgrim [~crend@wesnoth/forum-moderator/crendgrim] has quit [Ping timeout: 264 seconds] 20150509 03:07:28-!- Crendgrim [~crend@wesnoth/forum-moderator/crendgrim] has joined #wesnoth-umc-dev 20150509 08:15:33-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20150509 08:15:47-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20150509 09:26:13-!- irker814 [~irker@uruz.ai0867.net] has joined #wesnoth-umc-dev 20150509 09:26:13< irker814> Vultraz: Charles Dang Shadows_of_Deception:master a9e7b14b4390 / lua/gui/inventory.lua: Refactored use_item for stability http://git.io/vUYt7 20150509 09:26:17< irker814> Vultraz: Charles Dang Shadows_of_Deception:master a4b1bfa81086 / lua/gui/inventory.lua: Moved active overlay blitting to its own function http://git.io/vUYt5 20150509 10:01:17-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-umc-dev 20150509 10:29:23< vultraz> zookeeper: any idea if this suf can be simplified? http://pastebin.com/P0M01hkD 20150509 10:31:05< zookeeper> depends on the plain english description of what it's supposed to do :p 20150509 10:35:50< vultraz> If there's a unit next to x,y or next to any of the hexes of foo terrain next to x,y 20150509 10:36:14< vultraz> radius wouldn't be more than 3 or 4 in any usecase 20150509 10:36:30< vultraz> actually, 1 or 2 20150509 10:36:31< vultraz> since x,y is the middle 20150509 10:38:44< zookeeper> isn't the innermost [filter_adjacent_location] redundant? 20150509 10:38:52< zookeeper> (not the contents, of course) 20150509 10:39:37< zookeeper> you have two [filter_adjacent_location] nested there, shouldn't it just be one? 20150509 10:43:46< vultraz> I think the double is to say... 20150509 10:44:17< vultraz> adjacent type of terrain foo that is adjacent to adjacent to hexes x y 20150509 10:47:08< vultraz> I was wondering if maybe it could be said... 20150509 10:47:30< vultraz> adjacent to any hexes of foo terrain along bar radius from x y 20150509 10:49:17< zookeeper> "adjacent type of terrain foo that is adjacent to adjacent to hexes x y" is different from "next to any of the hexes of foo terrain next to x,y" 20150509 10:49:39< zookeeper> anyway, yes, my gut feeling would say that it's be slightly more clear using radius 20150509 10:50:49< zookeeper> specify all locations you want to check adjacent-ness for, then add radius=1 20150509 11:14:39< vultraz> that....partially works 20150509 11:14:57< vultraz> for some reason it excludes some of the locs 20150509 11:16:44< vultraz> http://pastebin.com/P0M01hkD edited ... it matches on the hex adjacent to the one SW of x,y, but not the one adjacent to the one NE of x,y, for some reason.. 20150509 11:31:33< zookeeper> well, for one it only matches locations adjacent to _TARGET_X,_TARGET_Y 20150509 11:31:57< zookeeper> err, i mean... well, you read it, hard to explain 20150509 11:32:15< vultraz> oh, I see 20150509 11:32:51< vultraz> that explains why adjacent to one adjacent to SW matches bc it's adjacent to x y to the north 20150509 11:35:51< vultraz> hm... 20150509 11:40:35< vultraz> i guess i need an [or] 20150509 11:55:26< vultraz> maybe [or] radius 1 20150509 11:55:28< vultraz> hm 20150509 11:55:30< vultraz> no... 20150509 12:26:28-!- irker814 [~irker@uruz.ai0867.net] has quit [Quit: transmission timeout] 20150509 18:00:30-!- irker877 [~irker@uruz.ai0867.net] has joined #wesnoth-umc-dev 20150509 18:00:30< irker877> Vultraz: Charles Dang Shadows_of_Deception:master 5a491ae25b5b / lua/gui/inventory.lua: Simplified a4b1bfa81086 http://git.io/vU3wd 20150509 22:58:17-!- irker877 [~irker@uruz.ai0867.net] has quit [Quit: transmission timeout] 20150509 23:56:20-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 272 seconds] --- Log closed Sun May 10 00:00:06 2015