--- Log opened Sun Aug 12 00:00:46 2012 20120812 00:05:08-!- zookeeper2 [~lmsnie@87-100-211-108.bb.dnainternet.fi] has joined #wesnoth-dev 20120812 00:05:25-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Disconnected by services] 20120812 00:05:28-!- zookeeper2 is now known as zookeeper 20120812 00:05:34-!- zookeeper [~lmsnie@87-100-211-108.bb.dnainternet.fi] has quit [Changing host] 20120812 00:05:34-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20120812 00:20:48-!- Elvish_Pillager [~eli@71-10-229-241.dhcp.oxfr.ma.charter.com] has quit [Ping timeout: 246 seconds] 20120812 00:23:46-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 252 seconds] 20120812 00:38:31< mattsc> Hey all. I wonder if somebody has written a find_opposite_hex function in Lua. 20120812 00:38:55< mattsc> As in, find the hex that is opposite to a certain hex, with respect to a center hex. 20120812 00:39:28< mattsc> There are approximately a gazillion ways of doing this, and I'm curious what people have done. Here's my version: 20120812 00:39:59< mattsc> http://pastebin.com/cRrvLeqy 20120812 01:05:48-!- Zus [~Mishinih@195.177.74.50] has quit [Ping timeout: 256 seconds] 20120812 01:09:12-!- loonycyborg [~loonycybo@wesnoth/developer/loonycyborg] has quit [Ping timeout: 245 seconds] 20120812 01:10:38-!- loonycyborg [~loonycybo@wesnoth/developer/loonycyborg] has joined #wesnoth-dev 20120812 01:11:09< CIA-87> jamit * r54959 /trunk/src/ (7 files in 2 dirs): Eliminate a parameter that is always *resources::teams. 20120812 01:11:32-!- Zus [~Mishinih@195.177.74.50] has joined #wesnoth-dev 20120812 01:15:55< CIA-87> jamit * r54960 /trunk/src/ (unit_display.cpp unit_display.hpp): 20120812 01:15:55< CIA-87> Move a long Doxygen comment from header to source (leaving a short one), 20120812 01:15:55< CIA-87> and pulling the part about implementation out into its own comment (out 20120812 01:15:55< CIA-87> of the interface-documenting Doxygen comment). 20120812 01:19:15< jamit> mattsc: I would be inclined to try a formula so you're not restricted to adjacent hexes, but it looks like the formula gets messy without some intermediate functions (like some that exist in the C++ source). 20120812 01:21:07< mattsc> jamit: yeah... I think there's a way to do this relatively easily by "squaring" the hex grid (by adding intermediate "dead" coordinates) 20120812 01:21:55< mattsc> But I had that function in my code already in WML from a couple years ago (using it in Grnk), so I just ported it to Lua rather than stressing my brain by trying to make it think 20120812 01:29:55< jamit> mattsc: Hmm... squaring the grid? Does Lua consider the top-left corner of the board to be (1,1) or (0,0)? 20120812 01:31:11< mattsc> jamit: the first hex a unit can occupy is (1,1). The first border hex is (0,0). 20120812 01:31:32< jamit> Convert to "square": y -> 2y - { 1 if x is odd; 0 if x is even }. 20120812 01:32:15< jamit> Convert back: y -> (y+1)/2 {rounded down} 20120812 01:33:30< jamit> Then you can calculate the opposite like you did for x's. 20120812 01:34:04< mattsc> jamit: cool! You did the thinking for me. :) 20120812 01:34:44< mattsc> Thanks! 20120812 01:35:14< jamit> It's been in the back of my head for a while. I've been wondering -- in general -- if a hex board is better represented as in Wesnoth, or as a square grid with "intermediate dead coordinates". 20120812 01:35:17< mattsc> So is it more efficient to do the "do this if odd, something else if even" by using an 'if', or by using modulo? 20120812 01:36:35< mattsc> Actually, you have to use modulo for the if statement, don't you? Duh... 20120812 01:36:42< jamit> Probably modulo. When working in pseudocode, I tend to write things differently than when coding. 20120812 01:37:30< mattsc> Ok. 20120812 01:37:35< jamit> Not to mention that '%' is not exactly a standard mathematical symbol for modulus..... ;) 20120812 01:37:58< mattsc> Right 20120812 01:39:58< mattsc> Thanks much again, I'll put that into the next iteration of that function. Now back to trapping units ... 20120812 02:04:23< CIA-87> jamit * r54961 /trunk/src/actions.cpp: Update the minimap mid-move so it looks better if an event fires. 20120812 02:16:52< CIA-87> jamit * r54962 /trunk/src/unit_display.cpp: Cleaning up some comments. 20120812 02:18:54-!- Zus [~Mishinih@195.177.74.50] has quit [Ping timeout: 248 seconds] 20120812 02:25:49-!- Zus [~Mishinih@195.177.74.50] has joined #wesnoth-dev 20120812 02:27:52-!- negusnyul [~negusnyul@1F2E9C63.dsl.pool.telekom.hu] has quit [Quit: Konversation terminated!] 20120812 02:42:34-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20120812 02:51:51-!- vultraz_laptop [~chatzilla@124.109.10.221] has joined #wesnoth-dev 20120812 03:26:29-!- Jetrel [~Jetrel@wesnoth/artist/jetrel] has joined #wesnoth-dev 20120812 03:51:29-!- Zus [~Mishinih@195.177.74.50] has quit [Ping timeout: 260 seconds] 20120812 03:55:11-!- Zus [~Mishinih@195.177.74.50] has joined #wesnoth-dev 20120812 04:03:12-!- matthiaskrgr_ [matthiaskr@64.250.122.35] has quit [Quit: GeekBouncer - http://geekbouncer.co.uk] 20120812 04:05:17< mattsc> jamit: your maths skills are impeccable. Here's the implementation: http://pastebin.com/h4vErwsY 20120812 04:05:43< mattsc> This now works for an arbitrary distance between the two hexes 20120812 04:06:16< mattsc> Note though that it can return hexes that are off the map. I (intentionally) did not build in a check for that. It's easy to do, of course, if desired. 20120812 04:06:46< jamit> Yes, arbitrary distance is one advantage to using a formula. ;) 20120812 04:08:18< mattsc> Yep. For my purpose I specifically do require them to be adjacent to the center hex though. 20120812 04:08:28< jamit> So this is for the AI to trap opponents? 20120812 04:08:37< mattsc> Exactly. 20120812 04:20:01-!- matthiaskrgr [matthiaskr@64.250.122.35] has joined #wesnoth-dev 20120812 04:25:53-!- vultraz_laptop [~chatzilla@124.109.10.221] has quit [Ping timeout: 272 seconds] 20120812 04:36:04-!- PolarPanda [~quassel@unaffiliated/peterporty] has quit [Read error: Connection reset by peer] 20120812 04:36:34-!- PolarPanda [~quassel@unaffiliated/peterporty] has joined #wesnoth-dev 20120812 04:50:50-!- Ivanovic_ [~ivanovic@dtmd-4db2a6c2.pool.mediaWays.net] has joined #wesnoth-dev 20120812 04:50:50-!- Ivanovic_ [~ivanovic@dtmd-4db2a6c2.pool.mediaWays.net] has quit [Changing host] 20120812 04:50:50-!- Ivanovic_ [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20120812 04:55:03-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 265 seconds] 20120812 04:56:44-!- Ivanovic_ is now known as Ivanovic 20120812 05:08:43-!- vultraz [~chatzilla@124.109.10.221] has quit [Read error: No route to host] 20120812 05:21:22-!- vultraz_laptop [~chatzilla@124.109.10.221] has joined #wesnoth-dev 20120812 05:30:49-!- mattsc [~mattsc@d50-92-196-35.bchsia.telus.net] has quit [Quit: bye] 20120812 05:53:03-!- fendrin_ [~fabi@88-134-15-153-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 20120812 05:55:17< CIA-87> ai0867 * r54964 /trunk/data/tools/wesnoth/wescamp.py: Log init-build-sys errors now that msgmerge has been redirected 20120812 05:55:19< CIA-87> ai0867 * r54965 /trunk/data/tools/wesnoth/libgithub.py: Simplify a test 20120812 05:55:20< CIA-87> ai0867 * r54963 /trunk/data/tools/wesnoth/wescamp.py: Add automatic pot-update after an update from the add-on server 20120812 05:55:21< CIA-87> ai0867 * r54966 /trunk/data/tools/wesnoth/libgithub.py: Do some error checking on pulls 20120812 05:55:23< CIA-87> ai0867 * r54967 /trunk/data/tools/wesnoth/libgithub.py: Add error checking to the git-push call 20120812 05:55:25< CIA-87> ai0867 * r54968 /trunk/data/tools/wesnoth/wescamp.py: Remove some unused variables 20120812 06:04:50-!- fendrin [~fabi@88-134-15-153-dynip.superkabel.de] has joined #wesnoth-dev 20120812 06:04:50-!- fendrin [~fabi@88-134-15-153-dynip.superkabel.de] has quit [Changing host] 20120812 06:04:50-!- fendrin [~fabi@wesnoth/developer/fendrin] has joined #wesnoth-dev 20120812 06:06:41< CIA-87> ai0867 * r54969 /trunk/data/tools/wesnoth/libgithub.py: Simplify an expression and remove a TODO 20120812 06:10:38-!- Zus [~Mishinih@195.177.74.50] has quit [Ping timeout: 252 seconds] 20120812 06:12:02-!- vultraz [~chatzilla@124.109.10.221] has joined #wesnoth-dev 20120812 06:17:59-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has joined #wesnoth-dev 20120812 06:35:25< CIA-87> ai0867 * r54970 /trunk/data/tools/wesnoth/wescamp.py: Decapitalize pot-update commit message 20120812 06:36:40-!- Zus [~Mishinih@195.177.74.50] has joined #wesnoth-dev 20120812 06:47:38< CIA-87> ai0867 * r54971 /trunk/data/tools/wesnoth/libgithub.py: Convert some old-style raises to the new style 20120812 06:50:19-!- horon [~horon@nttkyo331099.tkyo.nt.ngn2.ppp.infoweb.ne.jp] has joined #wesnoth-dev 20120812 07:00:15-!- Gambit [~gambit@wesnoth/developer/grickit] has quit [Remote host closed the connection] 20120812 07:21:05-!- oldtopman [~oldtopman@unaffiliated/oldtopman] has quit [Quit: *pouf*] 20120812 07:32:50-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Quit: Read error: Clogged tubes] 20120812 07:33:12-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has quit [Quit: Leaving] 20120812 08:21:59-!- molgrum [~molgrum@h-234-143.a189.priv.bahnhof.se] has quit [Quit: Lämnar] 20120812 08:30:22-!- ancestral [~ancestral@108-249-32-209.lightspeed.mdsnwi.sbcglobal.net] has joined #wesnoth-dev 20120812 08:39:39-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has quit [Remote host closed the connection] 20120812 09:30:54-!- PolarPanda [~quassel@unaffiliated/peterporty] has quit [Remote host closed the connection] 20120812 10:14:50-!- ancestral [~ancestral@108-249-32-209.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: i go sleeps kthxbai] 20120812 10:15:17-!- Zus [~Mishinih@195.177.74.50] has quit [Ping timeout: 268 seconds] 20120812 10:20:38< Ivanovic> AI0867, Akihara, bloodycoin, Espreon, fendrin, happygrue, Jetrel, loonycyborg, Rhonda, shadowm, Soliton, mordante, Crab_, boucman, zookeeper, everyone else who cares: what is the current status of trunk? 20120812 10:20:46< Ivanovic> is it in shape for a release in say 2 weeks? 20120812 10:21:51< shadowm> No idea. 20120812 10:22:05< Jetrel> Ivanovic: far as art is concerned, yeah. 20120812 10:22:06< Ivanovic> and maybe next weekend (if there were no string changes) another stable release 20120812 10:22:25< Ivanovic> since there were at least some tiny bug fixes as well as some translation updates 20120812 10:25:14< Espreon> Not sure... 20120812 10:26:30< Ivanovic> okay, there were string changes in 1.10 20120812 10:26:39< Ivanovic> so no release of that one next weekend but possibly the one after 20120812 10:26:57< Ivanovic> this is independent of the question "what about trunk and 1.11.0?" 20120812 10:27:57< Ivanovic> main focus of my question is the status of the larger refactorings 20120812 10:27:59< AI0867> I believe there's a blocker regarding the new map format. Certain tags that take maps/masks as an argument still have to be updated 20120812 10:28:32< shadowm> Honestly I can't find the motivation to deal with my stuff anymore since nobody appears to care anymore and the stupid add-ons server situation killed my patience. I'll just deal with bug fixes from now on until I finish my more worthwhile non-mainline projects. 20120812 10:28:41-!- negusnyul [~negusnyul@h41-124.pool95-168.dyn.tolna.net] has joined #wesnoth-dev 20120812 10:29:55< Ivanovic> AI0867: okay, thanks for the info 20120812 10:30:24< shadowm> Meaning bug fixes filed and assigned to me. I won't go hunting for bugs myself until 1.10 reaches EOL. 20120812 10:30:51< Ivanovic> shadowm: the idea is that this release hopefully will be EOL 20120812 10:31:13< shadowm> No, you don't say that until there's a release candidate for the next stable. 20120812 10:31:21< shadowm> Meanwhile anything can happen. 20120812 10:31:50< Espreon> Indeed. 20120812 10:32:10-!- Zus [~Mishinih@195.177.74.50] has joined #wesnoth-dev 20120812 10:33:17< CIA-87> ivanovic * r54972 /branches/1.10/ (1282 files in 28 dirs): 20120812 10:33:19< CIA-87> pot-update (string changes in utbs) 20120812 10:33:23< CIA-87> regenerated doc files 20120812 10:33:23< CIA-87> plan for 1.10.4: August 24th 2012 20120812 10:42:43-!- Ivanovic changed the topic of #wesnoth-dev to: 1.10.4 planned for 24th August | 188 bugs, 338 feature requests, 18 patches | Logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://pastebin.com | http://imagebin.org 20120812 10:43:03-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20120812 10:47:16< CIA-87> ivanovic * r54973 /branches/1.10/ (changelog players_changelog po/wesnoth-utbs/de.po): updated German translation 20120812 10:47:27< CIA-87> ivanovic * r54974 /trunk/po/wesnoth-utbs/de.po: updated German translation 20120812 10:50:24-!- Jetrel [~Jetrel@wesnoth/artist/jetrel] has quit [Quit: NO! FOR THE LOVE OF GOD, KATO - NOT NOW!!] 20120812 10:50:37< CIA-87> espreon * r54975 /branches/1.10/po/wesnoth-utbs/es.po: Updated the Spanish translation. 20120812 11:00:35< zookeeper> Ivanovic, hmh... i've been meaning to get the major EI text revisions into trunk before 1.11.0. i needed a deadline to motivate me to actually get it done. :p 20120812 11:05:10-!- Jetrel [~Jetrel@mn-10k-dhcp1-437.dsl.hickorytech.net] has joined #wesnoth-dev 20120812 11:05:10-!- Jetrel [~Jetrel@mn-10k-dhcp1-437.dsl.hickorytech.net] has quit [Changing host] 20120812 11:05:10-!- Jetrel [~Jetrel@wesnoth/artist/jetrel] has joined #wesnoth-dev 20120812 11:05:31-!- vultraz_laptop [~chatzilla@124.109.10.221] has quit [Ping timeout: 272 seconds] 20120812 11:08:09< Ivanovic> zookeeper: two weeks! 20120812 11:08:11< Ivanovic> ^^ 20120812 11:08:20< Ivanovic> sounds like enough motivation? 20120812 11:10:04< zookeeper> maybe 20120812 11:10:07< vultraz> o__o 20120812 11:11:01-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20120812 11:14:27< lipkab> Release in two weeks? Means that my stuff won't make it in :( 20120812 11:15:08< shadowm> Potentially. 20120812 11:16:41< Espreon> Probably. 20120812 11:17:30< lipkab> Perhaps. 20120812 11:21:47-!- neXyon [~neXyon@84-119-52-199.dynamic.xdsl-line.inode.at] has joined #wesnoth-dev 20120812 11:27:14-!- Ayne [~Ayne@HSI-KBW-078-042-132-056.hsi3.kabel-badenwuerttemberg.de] has joined #wesnoth-dev 20120812 11:44:04-!- Elvish_Pillager [~eli@71-10-229-241.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20120812 11:49:46-!- negusnyul [~negusnyul@h41-124.pool95-168.dyn.tolna.net] has quit [Quit: Konversation terminated!] 20120812 11:50:50-!- loonybot [~loonybot@46.138.73.123] has joined #wesnoth-dev 20120812 11:50:50-!- loonybot [~loonybot@46.138.73.123] has quit [Changing host] 20120812 11:50:50-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20120812 12:03:19-!- vultraz_laptop [~chatzilla@124.109.10.221] has joined #wesnoth-dev 20120812 12:25:01-!- timotei [~timotei@188.24.6.55] has joined #wesnoth-dev 20120812 12:25:01-!- timotei [~timotei@188.24.6.55] has quit [Changing host] 20120812 12:25:01-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20120812 12:27:17-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has quit [Remote host closed the connection] 20120812 12:29:26-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20120812 12:45:49-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has quit [Ping timeout: 260 seconds] 20120812 12:47:53-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20120812 12:51:30-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has quit [Read error: Connection reset by peer] 20120812 12:51:43-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20120812 12:55:07-!- Zus [~Mishinih@195.177.74.50] has quit [Ping timeout: 240 seconds] 20120812 12:57:00-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has quit [Read error: Connection reset by peer] 20120812 12:57:09-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20120812 12:58:25-!- Ingeniumed [u5855@gateway/web/irccloud.com/x-xztpaoxhdgmqfbbl] has quit [Remote host closed the connection] 20120812 13:06:38< fendrin> Ivanovic: 2 weeks is no problem from my side. 20120812 13:06:41-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has quit [Ping timeout: 252 seconds] 20120812 13:07:58-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20120812 13:09:20-!- Zus [~Mishinih@195.177.74.50] has joined #wesnoth-dev 20120812 13:12:43-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has quit [Ping timeout: 244 seconds] 20120812 13:13:20-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20120812 13:26:25-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has quit [Quit: And away we go] 20120812 13:42:59-!- neXyon [~neXyon@84-119-52-199.dynamic.xdsl-line.inode.at] has quit [Quit: bye] 20120812 14:01:20< Rhonda> Ivanovic: For me, the only "concerned" reason is translation status, and you can see that yourself on gettext anyway. ;) 20120812 14:01:40 * Rhonda . o O ( \o/ - we are still at 100% ) 20120812 14:02:06< Rhonda> Oh, one string missing in the manual in trunk. 20120812 14:02:20< Ivanovic> Rhonda: ignore trunk status! 20120812 14:02:29< Rhonda> You said trunk. :) 20120812 14:02:29< Ivanovic> Rhonda: that one is 100% based on the po files from 1.10.0 20120812 14:02:40< Rhonda> "what is the current status of trunk?" was your question 20120812 14:02:41< Ivanovic> and there i will run the pot-update after the release of 1.10.4 20120812 14:02:47< Ivanovic> as written in my mail 20120812 14:02:56< Ivanovic> afterwards those branches will start to really differ 20120812 14:03:03< Rhonda> mails. pah. 20120812 14:16:50-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Ping timeout: 252 seconds] 20120812 14:27:55-!- Ingeniumed [u5855@gateway/web/irccloud.com/x-pyirjzvrglqlybdx] has joined #wesnoth-dev 20120812 14:31:18-!- Zus [~Mishinih@195.177.74.50] has quit [Ping timeout: 240 seconds] 20120812 14:35:38-!- negusnyul [~negusnyul@1F2E9C63.dsl.pool.telekom.hu] has joined #wesnoth-dev 20120812 14:42:06-!- Gambit [~gambit@wesnoth/developer/grickit] has joined #wesnoth-dev 20120812 14:47:21-!- Zus [~Mishinih@195.177.74.50] has joined #wesnoth-dev 20120812 15:01:47-!- timotei [~timotei@188.24.6.55] has joined #wesnoth-dev 20120812 15:01:47-!- timotei [~timotei@188.24.6.55] has quit [Changing host] 20120812 15:01:47-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20120812 15:57:40-!- Zus [~Mishinih@195.177.74.50] has quit [Ping timeout: 252 seconds] 20120812 16:11:34-!- Zus [~Mishinih@195.177.74.50] has joined #wesnoth-dev 20120812 16:20:53-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20120812 16:32:21-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has joined #wesnoth-dev 20120812 16:37:46-!- horon [~horon@nttkyo331099.tkyo.nt.ngn2.ppp.infoweb.ne.jp] has quit [Quit: Leaving...] 20120812 16:38:51-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has quit [Ping timeout: 244 seconds] 20120812 16:40:34-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20120812 17:02:06-!- mattsc [~mattsc@d50-92-196-35.bchsia.telus.net] has joined #wesnoth-dev 20120812 17:26:42-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has quit [Remote host closed the connection] 20120812 17:35:54-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20120812 17:46:45-!- mattsc [~mattsc@d50-92-196-35.bchsia.telus.net] has quit [Quit: bye] 20120812 18:06:39-!- ancestral [~ancestral@108-249-32-209.lightspeed.mdsnwi.sbcglobal.net] has joined #wesnoth-dev 20120812 18:23:55-!- neXyon [~neXyon@84-119-52-199.dynamic.xdsl-line.inode.at] has joined #wesnoth-dev 20120812 18:28:37-!- vultraz_laptop [~chatzilla@124.109.10.221] has quit [Ping timeout: 240 seconds] 20120812 18:33:24-!- Gambit_ [~gambit@wesnoth/developer/grickit] has joined #wesnoth-dev 20120812 18:33:49-!- Gambit [~gambit@wesnoth/developer/grickit] has quit [Ping timeout: 265 seconds] 20120812 18:39:19-!- Zus [~Mishinih@195.177.74.50] has quit [Ping timeout: 260 seconds] 20120812 18:45:20-!- ancestral [~ancestral@108-249-32-209.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: i go sleeps kthxbai] 20120812 18:46:29-!- Zus [~Mishinih@195.177.74.50] has joined #wesnoth-dev 20120812 18:51:16-!- Ayne [~Ayne@HSI-KBW-078-042-132-056.hsi3.kabel-badenwuerttemberg.de] has quit [Quit: Leaving] 20120812 19:10:20-!- mordante [~mordante@roadie.xs4all.nl] has joined #wesnoth-dev 20120812 19:10:20-!- mordante [~mordante@roadie.xs4all.nl] has quit [Changing host] 20120812 19:10:20-!- mordante [~mordante@wesnoth/developer/mordante] has joined #wesnoth-dev 20120812 19:10:35< mordante> servus 20120812 19:10:56< lipkab> hi mordante 20120812 19:11:13< mordante> hi lipkab 20120812 19:12:02-!- ancestral [~ancestral@108-249-32-209.lightspeed.mdsnwi.sbcglobal.net] has joined #wesnoth-dev 20120812 19:15:59< mordante> Ivanovic, AI0867 IIRC fendrin toyed with the idea to revert his mapformat changes 20120812 19:16:32 * Espreon hopes something reasonable will be done 20120812 19:16:52< mordante> Ivanovic, I've no problem within two weeks, I've not much time at the moment 20120812 19:19:12< mordante> Ivanovic, also no 1.10.x updates pending for me 20120812 19:36:41-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has quit [Quit: And away we go] 20120812 19:49:51-!- wesbot changed the topic of #wesnoth-dev to: 1.10.4 planned for 24th August | 187 bugs, 338 feature requests, 18 patches | Logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://pastebin.com | http://imagebin.org 20120812 19:52:13-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has joined #wesnoth-dev 20120812 20:03:06-!- Zus [~Mishinih@195.177.74.50] has quit [Ping timeout: 276 seconds] 20120812 20:15:58-!- Zus [~Mishinih@195.177.74.50] has joined #wesnoth-dev 20120812 20:17:13-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20120812 20:17:19< happygrue> Ivanovic: ugh, I've been off in my own little world for the past... months? But thanks for the ping. Just moved accross the country and had a crazy RL time but I things are settling down again now. As for release: https://gna.org/bugs/?19353 20120812 20:17:45< happygrue> I dropped the ball on that (minor) one, I'll try to take a look tonight and see if it's already been fixed but it seems not 20120812 20:38:07-!- Crab_ [Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20120812 21:07:05< fendrin> mordante: Yes, I think I found a good solution that comes with minimal impact and no change to the format at all. 20120812 21:09:52< mordante> fendrin, no change to the current format or to the 1.10 format? 20120812 21:11:23< fendrin> mordante: The new concept will save the map files in the same format as ever since we introduced the the multiterrain. 20120812 21:11:47< mordante> ok so the 1.10 format 20120812 21:11:52< fendrin> yepp 20120812 21:11:54< mordante> sounds interesting 20120812 21:12:06< mordante> will you be able to implement it in the next two weeks? 20120812 21:12:48< fendrin> Yes, it's mostly reverting and only a little coding for saving the extra information in an additional file. 20120812 21:12:56< mordante> ok cool 20120812 21:13:49< fendrin> I am still planning the stuff, don't want to rush it and be forced to redo it a third time. 20120812 21:14:15< jamit> mordante: In the twindow constructor (gui/widgets/window.cpp), what would be the impact of binding the click-dismiss to mouse button up events instead of mouse button down events? 20120812 21:14:49< fendrin> The more I think about it the fewer the changes need to be. 20120812 21:15:09< jamit> I tried it, and it makes the beginning of the tutorial work nicer. (Click to dismiss a message no longer causes movement with that same click.) 20120812 21:22:07< shadowm> jamit: I think it makes more sense to fix the underlying problem with event handling rather than changing how dialog dismissing works. 20120812 21:23:09< shadowm> I don't have any system toolkit examples, but dismissing a popup with half a click would feel rather odd. 20120812 21:23:48< jamit> shadowm: This might be part of the underlying problem. I haven't traced the exact execution, but it looks like the twindow is confusing the event handlers by handling the button down but not the button up. 20120812 21:24:42< shadowm> When the window is closed there all events should disappear instead of being caught by other game UI elements. 20120812 21:24:48< jamit> "Half a click" seems like a better description for current behavior. If you click and hold a mouse button, the window goes away. 20120812 21:25:17< shadowm> Uhm, indeed. 20120812 21:25:29< shadowm> So you propose to invert that? 20120812 21:25:51< jamit> Unless there's a way to bring up a twindow while the mouse button is down, yes. 20120812 21:26:28< jamit> A better solution would be to require both a down and up event, but that might not be necessary for Wesnoth's windows. 20120812 21:26:52< shadowm> Incidentally, list box selection is also wonky. On Windows and X11 with Qt 4 the selection changes on mouse up, not mouse down; Wesnoth does it on mouse down. 20120812 21:27:23< shadowm> But that's only one of the endless problems with list boxes that will supposedly be fixed any time now. 20120812 21:40:45-!- Zus [~Mishinih@195.177.74.50] has quit [Ping timeout: 272 seconds] 20120812 21:41:43< Ivanovic> re 20120812 21:41:48< Ivanovic> fendrin: good to hear this 20120812 21:42:10< Ivanovic> mordante: do you know about the code your student works on? is that in a releasable state, too? 20120812 21:45:19< mordante> jamit, not sure why I bound it to the mouse down, but might be that GUI1 also has it on down 20120812 21:45:47< mordante> binding to up sounds like a bad idea, if you want to bind it to a click, bind it to a click 20120812 21:46:18< mordante> not 100% sure when they are generated when not on a child widget 20120812 21:46:45< jamit> I could give it a quick try. 20120812 21:46:56< mordante> would be nice 20120812 21:47:05< jamit> (Assuming I just need to change "UP" to "CLICK" in the code.) 20120812 21:48:04-!- mjs-de [~mjs-de@f053189115.adsl.alicedsl.de] has joined #wesnoth-dev 20120812 21:48:08< mordante> the event is called LEFT_BUTTON_CLICK 20120812 21:48:43< jamit> With the SDL_ prefix? 20120812 21:48:56< mordante> no without the SDL 20120812 21:49:11< mordante> I use the SDL prefix when the event is directly mapped to an SDL event 20120812 21:49:34< mordante> Ivanovic, it's stand-alone so its state doesn't impact the general game 20120812 21:54:23< jamit> mordante: Nope, none of LEFT_BUTTON_CLICK, MIDDLE_BUTTON_CLICK, nor RIGHT_BUTTON_CLICK are working to dismiss [message]s. :( 20120812 21:54:47< jamit> I guess the event is not being synthesized for them? 20120812 21:55:08< mordante> already kind of expected/feared that 20120812 21:56:03< mordante> up will have its own issues, when the mouse is down and moved in the window it will also dismiss the window 20120812 21:56:26< mordante> so not sure whether changing the behaviour is a good idea 20120812 21:57:17< jamit> I suspect that up would be a better overall experience than down, even if it is not perfect. But of course I defer to someone working with the GUI. 20120812 21:58:10< mordante> I'll think about it, there might be some other issues lurking around the corner when changing it 20120812 21:58:20< jamit> The reason I looked at this is in the tutorial, you get a message saying basically "click to dismiss this message, then click 'here'", but if you click to dismisss, Konrad/Lisar move to that click's location. 20120812 21:58:52< shadowm> Click-dismissable windows already care little about whether the mouse-down location is within or outside the window extents. 20120812 21:59:33< jamit> (And I have a tendency to use the tutorial for some tests.) 20120812 22:00:00< mordante> I'll need to have a look later, but not today 20120812 22:00:02< mordante> about to leave 20120812 22:00:25< jamit> Sure, no rush. Just wanted to bring it up since I looked at it. 20120812 22:00:53< mordante> ok thanks 20120812 22:01:02< mordante> I'm off now night 20120812 22:01:26-!- mordante [~mordante@wesnoth/developer/mordante] has quit [Quit: Leaving] 20120812 22:03:26-!- Zus [~Mishinih@195.177.74.50] has joined #wesnoth-dev 20120812 22:12:43-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Read error: Connection reset by peer] 20120812 22:38:18-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has quit [Remote host closed the connection] 20120812 22:38:42-!- PolarPanda [~quassel@unaffiliated/peterporty] has joined #wesnoth-dev 20120812 23:20:07< CIA-87> jamit * r54976 /trunk/src/ (game_display.cpp game_display.hpp unit.cpp unit.hpp): Fix: a fake_unit would lose its exception safety if operator= was used. 20120812 23:28:48-!- ancestral [~ancestral@108-249-32-209.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: i go sleeps kthxbai] 20120812 23:41:17< jamit> Is anyone aware of any places where game_display::fake_unit::operator= is used? (Gabba, maybe the whiteboard? That seems to be what makes the most use of fake_unit.) 20120812 23:42:03< jamit> Hmm... maybe I should kill its declaration and see where compilation fails... 20120812 23:46:09-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 244 seconds] 20120812 23:53:02-!- mjs-de [~mjs-de@f053189115.adsl.alicedsl.de] has quit [Remote host closed the connection] 20120812 23:56:02-!- ancestral [~ancestral@108-249-32-209.lightspeed.mdsnwi.sbcglobal.net] has joined #wesnoth-dev --- Log closed Mon Aug 13 00:00:53 2012