--- Log opened Tue May 21 00:00:18 2013 20130521 00:28:36-!- mjs-de [~mjs-de@d190138.adsl.hansenet.de] has joined #wesnoth-dev 20130521 00:30:54-!- prkc_ [~negusnyul@BC069D1D.dsl.pool.telekom.hu] has quit [Quit: Konversation terminated!] 20130521 00:32:51-!- nurupo_ [~nurupo.ga@unaffiliated/nurupo] has joined #wesnoth-dev 20130521 00:33:02-!- nurupo [~nurupo.ga@unaffiliated/nurupo] has quit [Read error: Connection reset by peer] 20130521 00:33:02-!- nurupo_ is now known as nurupo 20130521 00:37:04-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20130521 00:46:50< anonymissimus> nurupo: do you have a trunk checkout ? I'm trying to get it to link after the added dependency 20130521 00:47:50< anonymissimus> using sources and compiling the stuff from http://xiph.org/downloads/ I could resolve most of the linkler errors but a few new ones remain, I posted them somewhen above 20130521 00:48:24< anonymissimus> perhaps it's got smething to do with unicode or how I build the those libs 20130521 00:49:21< anonymissimus> it looks as if the MSVC linker is no consistent about whether UNICODE is defined upon compiling and linking 20130521 00:49:27< anonymissimus> *sigh* 20130521 00:49:51< anonymissimus> time to surrender 20130521 00:49:56-!- anonymissimus [~chatzilla@HSI-KBW-149-172-228-192.hsi13.kabel-badenwuerttemberg.de] has quit [Quit: ChatZilla 0.9.90 [Firefox 11.0/20120312181643]] 20130521 01:00:54-!- nphro_ [~nphro@80.233.231.12] has quit [Ping timeout: 245 seconds] 20130521 01:03:24-!- jetrel_laptop [~jetrel_la@64.208.23.76] has quit [Ping timeout: 256 seconds] 20130521 01:07:59-!- vinipsmaker [~vinipsmak@email.lccv.ufal.br] has joined #wesnoth-dev 20130521 01:40:01-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20130521 02:03:34-!- stikonas__ [~gentoo@as932.girton.cam.ac.uk] has quit [Quit: Konversation terminated!] 20130521 02:12:58-!- irker028 [~irker@ai0867.net] has quit [Quit: transmission timeout] 20130521 02:22:57-!- Blueblaze [~Blueblaze@adsl-99-158-45-47.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20130521 02:34:24-!- irker246 [~irker@ai0867.net] has joined #wesnoth-dev 20130521 02:34:24< irker246> wesnoth: Espreon wesnoth-old:master 6278b6 / data/ai/micro_ais/scenarios/ (13 files): Eliminated double spaces. http://git.io/3AcRpQ 20130521 02:53:29-!- vinipsmaker [~vinipsmak@email.lccv.ufal.br] has quit [Quit: Leaving] 20130521 03:01:31< vultraz> fabi: around? 20130521 03:02:02< fabi> vultraz: hi vultraz 20130521 03:03:55< vultraz> fabi: where does the editor store/read it's schedules in/from? 20130521 03:04:38< fabi> vultraz: data/core/editor/time-of-day.cfg 20130521 03:08:02-!- Yukiria [~chatzilla@124.109.10.167] has joined #wesnoth-dev 20130521 03:08:07-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 246 seconds] 20130521 03:08:24-!- Yukiria is now known as vultraz 20130521 03:08:48< fabi> vultraz: new ones are better saved to wesnoth's config file. 20130521 03:09:40< vultraz> fabi: so in order to modify the schedules, that file would have to be edited with the new values from within the editor? 20130521 03:09:42-!- vultraz [~chatzilla@124.109.10.167] has quit [Changing host] 20130521 03:09:42-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130521 03:10:15< fabi> vultraz: the config file, not the one in the data dir. 20130521 03:11:13< vultraz> So any time a user modifies a core schedule, a copy would be saved to config? 20130521 03:11:22< fabi> yes 20130521 03:14:39< vultraz> hm... 20130521 03:14:45< vultraz> I see a usage conflict here 20130521 03:15:06< vultraz> the NEW and DELETE buttons 20130521 03:15:20< vultraz> should they delete the entire schedule or just the current tod? 20130521 03:17:51< vultraz> (er, that's DELETE) 20130521 03:18:08< vultraz> should NEW create a new schedule or new ToD? 20130521 03:18:31< vultraz> and SAVE, should the user be able to save it as a new schedule or just a modified existing one? 20130521 03:20:14< fabi> new and delete shall work on ToD 20130521 03:20:26< fabi> save shall save a new schedule 20130521 03:20:51< vultraz> maybe I should label the buttons accordingly, then? 20130521 03:20:56< vultraz> "New ToD" 20130521 03:20:59< vultraz> "Delete ToD" 20130521 03:21:06< fabi> yes 20130521 03:21:07< vultraz> "Save Schedule" 20130521 03:21:48< fabi> yes 20130521 03:24:41< vultraz> hm... 20130521 03:25:23< vultraz> should NEW save the currently shown ToD as a new one? Like say, you were on number 2/6, and clicked NEW, should it just become 2/7? 20130521 03:36:39< vultraz> I;m just kinda confused as to how it would work internally 20130521 03:36:47< fabi> vultraz: hmmm, new an 2/6 should create 3/7. 20130521 03:37:06< vultraz> if modifying the tod changes the vector element, and you clicked NEW 20130521 03:38:41< vultraz> how would you get the previous state of "2/6" in order to make it 2/7 while the new one was 3/7? 20130521 03:39:58< fabi> ? 20130521 03:41:55< vultraz> ok, say you set a new name, and sound and everything on tod 2/6. That would change the 2nd element in the TOD vector. Then you click NEW, saying you want this modified TOD to become tod 3/7. Now, Since this ToD is a modified version of the old 2/6, how do we get the state pf the old 2/6 in order to make it 2/7? 20130521 03:42:45< fabi> You always edit the current selected one. 20130521 03:43:06< vultraz> Yes 20130521 03:43:35< vultraz> but the problem is that the vector would have no 2end element after clicking NEW 20130521 03:43:39< fabi> Thus if you want to have a new 3/7 from a 6 base. You select 2, press new. 3 gets a now one, the old 3 is shifted to 4 and so on. 20130521 03:43:42< vultraz> it would be 1,3,4,5,6,7 20130521 03:44:07< vultraz> ok, then what gets put in slot 1 20130521 03:44:39< fabi> slot1 stays the same 20130521 03:44:54< Espreon> Hmmm... it seems the "Back to Turn X" and "Back to Start" menu items have disappeared... 20130521 03:45:37< vultraz> so if you edit number 2 and click it NEW, all the other elements after that just get shifted up one index? 20130521 03:46:04< fabi> Espreon: I can't reproduce this. 20130521 03:46:14< fabi> vultraz: Yes 20130521 03:46:52< vultraz> hm... 20130521 03:46:57< vultraz> I think I still see a problem.. 20130521 03:47:22< vultraz> * * * * * * say that's the vector before any modifications 20130521 03:47:37< vultraz> * o * * * * you modify #2 20130521 03:48:10< Espreon> fabi: Try with Liberty. 20130521 03:48:15< vultraz> * _ o * * * * you click new 20130521 03:48:17< Espreon> ... with AoI, they're still there. 20130521 03:48:23< vultraz> what goes in the second slot? 20130521 03:48:34< fabi> vultraz: the new one? 20130521 03:49:09< fabi> Espreon: Is there a difference between Liberty and AoI? 20130521 03:49:28< vultraz> 7 is the old 6, 6 is the old 5, 5 is the old 4, 4 is the old 3, 3 is the old MODIFIED 2, 2 SHOULD be the ORIGINAL 2, 1 stays the same 20130521 03:50:05< vultraz> But my question is, how do we get the original state of 2 to stick it in the second slot? 20130521 03:50:11< Espreon> fabi: Yes. They're gone in Liberty but not in AoI. 20130521 03:50:14< Espreon> LOL 20130521 03:51:25< fabi> Espreon: I changed how menus work, thus a bug like this is no surprise to me. Still It sounds strange that the campaign makes any difference. 20130521 03:51:54< Espreon> It weirdens me out too. 20130521 03:51:57< Espreon> ... but bugs are bugs. 20130521 03:52:37< fabi> Espreon: I tried with Liberty and can't reproduce it. 20130521 03:53:50< Espreon> Blegh. 20130521 03:54:33< vultraz> fabi: that;s the one thing bothering me 20130521 03:55:10< vultraz> you need to get the original state of the slot you modified if you're gonna make the modified one as a new tod 20130521 03:55:53< vultraz> and I'm not sure how... 20130521 03:56:13< Espreon> fabi: OK, and now, in AoI, it only shows "Back to Turn 1"... so I guess the game just fucking hates me. 20130521 03:56:15< vultraz> seeing as you can go back and forth and modify everything 20130521 03:56:21< Espreon> And I am indeed using HEAD. 20130521 03:57:16< vultraz> I'm guessing every NEW action should place the original state of the tod in the slot it previously was in 20130521 03:57:52< vultraz> fabi: maybe fetch it from the game itself? get all the info for tod [i]? 20130521 03:58:27< fabi> vultraz: Why not just inserting a new tod, with a default name, default image, default everything. 20130521 03:58:30< fabi> ? 20130521 03:58:46< vultraz> hm... 20130521 03:59:11< vultraz> so if you did NEW on modified 2/6, and would become 3/7, and 2/7 would be filled with default values? 20130521 04:00:19< fabi> Espreon: Well, liberty is doing well for me, up to turn 5. 20130521 04:00:36< vultraz> fabi: ok, that sounds reasonable 20130521 04:00:42< vultraz> but what should the defaults be? 20130521 04:01:43< fabi> vultraz: "slot x" 20130521 04:02:01< fabi> vultraz: lawful_bonus=0 20130521 04:02:22< fabi> vultraz: Image can be left blank, sounds as well. 20130521 04:02:44< vultraz> so only an id and some tint? 20130521 04:03:29< fabi> vultraz: Well, the colors should be at 0 as well. 20130521 04:04:12< vultraz> ah 20130521 04:05:12< fabi> vultraz: I can't think about any more reasonable default value. 20130521 04:05:17< vultraz> ok 20130521 04:05:22< vultraz> that sounds fine 20130521 04:05:49< vultraz> now, I just need to figure out how to manipulate vectors 20130521 04:05:54< vultraz> and how to write to config 20130521 04:06:11< fabi> vultraz: Why would you need to write to config? 20130521 04:06:32< Espreon> fabi: Well, something is wrong... 20130521 04:06:38< Espreon> vultraz: Does it work for you? 20130521 04:06:49< vultraz> [12:08:41] fabi vultraz: new ones are better saved to wesnoth's config file. 20130521 04:06:54< fabi> Espreon: I do not deny that, the question is: How can I reproduce it? 20130521 04:07:38< fabi> vultraz: Yes, but that is beyond the scope of the dialog. The dialog will get the current schedule in vector and return a new vector. 20130521 04:08:14< vultraz> so I don't need to deal with that/ 20130521 04:08:15< vultraz> ? 20130521 04:10:17< fabi> vultraz: Yes. 20130521 04:10:33< vultraz> ah, good 20130521 04:10:41< vultraz> ok, so I just need to learn to work with vectors 20130521 04:11:07< fabi> vultraz: Yes, and that is a good start for getting used to c++. 20130521 04:14:21-!- ancestral [~ancestral@17.24.116.186] has joined #wesnoth-dev 20130521 04:17:31< Espreon> fabi: I'm not doing anything special. I'm just starting games, playing, and seeing that it's not working. 20130521 04:17:47< Espreon> ... and yeah, I'm not fooling around with the menus. 20130521 04:19:37< fabi> Espreon: I have tried 3 different campaigns now, Liberty, AoI and HttT. Everything is fine here. 20130521 04:20:22< Espreon> Then I suppose it just hates me. 20130521 04:20:23< Espreon> Oh well. 20130521 04:20:58< fabi> Espreon: Maybe it is some preferences settings. You could send me your preferences file on the forum. 20130521 04:22:10< Espreon> Aha. 20130521 04:22:29< Espreon> The "compress with bzip" option seems to be a culprit. 20130521 04:22:33< Espreon> *be the 20130521 04:22:34< Espreon> LOL 20130521 04:22:49< Espreon> I disabled it... and it works fine. 20130521 04:33:51-!- vinipsmaker [~vinipsmak@187.65.56.247] has joined #wesnoth-dev 20130521 04:45:49-!- mattsc [~mattsc@d154-20-34-165.bchsia.telus.net] has quit [Quit: Traveling until June 2. Won't be able to be on IRC much, but will get forum PMs.] 20130521 04:56:46-!- Ivanovic_ [~ivanovic@x2f4a157.dyn.telefonica.de] has joined #wesnoth-dev 20130521 05:00:04-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 245 seconds] 20130521 05:00:29< Espreon> fabi: I guess this could be done, but I think the overall logic sucks: http://pastebin.com/Wge1mA2p 20130521 05:01:21-!- Ivanovic_ [~ivanovic@x2f4a157.dyn.telefonica.de] has quit [Ping timeout: 248 seconds] 20130521 05:02:08-!- mjs-de [~mjs-de@d190138.adsl.hansenet.de] has quit [Remote host closed the connection] 20130521 05:03:48< Espreon> fabi: What say you? 20130521 05:12:55< Espreon> I guess this would be better: http://pastebin.com/R2Lhx0Ve 20130521 05:13:03-!- Ivanovic [~ivanovic@x2f4a157.dyn.telefonica.de] has joined #wesnoth-dev 20130521 05:18:54-!- ancestral [~ancestral@17.24.116.186] has quit [Quit: ancestral] 20130521 05:29:01-!- Blueblaze [~Blueblaze@adsl-99-158-45-47.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 240 seconds] 20130521 05:59:19-!- nurupo is now known as nurupo_ 20130521 05:59:21-!- nurupo_ is now known as nurupo 20130521 06:04:48-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 260 seconds] 20130521 06:06:34-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20130521 06:14:00-!- Blueblaze [~Blueblaze@adsl-99-158-45-47.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20130521 06:16:37< fabi> Espreon: Ah yes, cool. The second one looks fine. 20130521 06:18:07< vultraz> since when did Espreon know C++ O_O 20130521 06:21:27< fabi> vultraz: Well, humans can learn their whole life long if they want. 20130521 06:22:17< vultraz> yeah, but I mean, I always thought he only knew WML and translation stuff 20130521 06:23:57-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has quit [Quit: Leaving] 20130521 06:37:07-!- Gambit [~gambit@wesnoth/developer/grickit] has quit [Read error: Connection reset by peer] 20130521 06:38:27< fabi> vultraz: okay, I just look at a rough prototype of the item place tool. 20130521 06:43:05< vultraz> ? 20130521 06:43:09< vultraz> you just look at? 20130521 06:44:20< fabi> vultraz: Yes, It was some work. The support for item overlays was in game_display, it needed to be lifted to display thus editor_display could inherit it. 20130521 06:52:17< vultraz> Will items be shown in the palette? 20130521 06:54:42< vultraz> fabi: also, all items, or just core? 20130521 06:55:48< fabi> vultraz: Sure, where else? Like music and tods, I introduced a tag [item_group] that defines them in the editor. Addon designers can use it. 20130521 06:56:41< vultraz> oh, cool 20130521 07:11:19-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 245 seconds] 20130521 07:12:49< fabi> vultraz: still around? 20130521 07:13:03< vultraz> yes, but I'm leaving in a minute 20130521 07:14:29< fabi> vultraz: Would you do some low level stuff for me? 20130521 07:15:06< fabi> vultraz: Every possible item needs his own tag and I would rather spend my time with the c++ coding. 20130521 07:15:56< vultraz> what do you mean by "needs his own tag"? 20130521 07:16:43< fabi> vultraz: There needs to be an [item] for every image to be usable. 20130521 07:17:34< vultraz> where do they need to be? 20130521 07:18:37< vultraz> anyway, just leave the details, I'll do it when I return 20130521 07:18:53< fabi> vultraz: Okay 20130521 07:18:55< fabi> vultraz: tx 20130521 07:31:02-!- nphro_ [~nphro@80.233.231.12] has joined #wesnoth-dev 20130521 07:44:16-!- Ivanovic [~ivanovic@x2f4a157.dyn.telefonica.de] has quit [Quit: Caught sigterm, terminating...] 20130521 07:44:38-!- Ivanovic [~ivanovic@x2f4a157.dyn.telefonica.de] has joined #wesnoth-dev 20130521 07:49:16-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20130521 07:51:30-!- jleldridge [~jleldridg@cpe-098-026-227-236.triad.res.rr.com] has quit [Quit: Leaving] 20130521 08:01:08< zookeeper> vultraz, well, what did _you_ know two years ago? :P 20130521 08:05:23-!- jetrel_laptop [~jetrel_la@c-75-73-182-0.hsd1.mn.comcast.net] has joined #wesnoth-dev 20130521 08:06:31< zookeeper> i've occasionally been wondering when exactly you went from a complete newbie to doing lua and c++ and all that fancy stuff :> 20130521 08:10:55-!- trademark [~ptalbot@mne69-1-82-67-17-201.fbx.proxad.net] has joined #wesnoth-dev 20130521 08:32:37-!- Blueblaze [~Blueblaze@adsl-99-158-45-47.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20130521 08:33:49< vultraz> zookeeper: I discovered wesnoth around 3 PM on November 20th 2010. I started my campaign sometime in...december or janurary. registered on the forums in february 2011. kept developing my addon and helping shadowm with AtS throughout 2011. Began learning lua around October 2011. Playtested AtS E2S8 and 9 around 8 PM on Decemper 31st 2011. Continued working on my addon. Throughout 2012.... 20130521 08:33:51< vultraz> ...Started C++ coding for wesnoth days sgo :_ 20130521 08:34:03< vultraz> :) 20130521 08:34:08< vultraz> 3 days* 20130521 08:34:51< vultraz> if you recall, in the beginning I thought _main.cfg was a folder :P 20130521 08:36:20< vultraz> before I found wesnoth, I had taken a stab at coding for maybe a day or two on a couple occations 20130521 08:36:38< vultraz> mostly python 20130521 08:36:56< vultraz> but I never learned more than print and some basic arithmetic :P 20130521 08:41:03< zookeeper> right 20130521 08:43:14-!- flix [~flix@178.77.175.34] has joined #wesnoth-dev 20130521 09:01:58-!- Blueblaze [~Blueblaze@adsl-99-158-45-47.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20130521 09:02:58-!- thunderstruck [~thunderst@cpc5-sgyl29-2-0-cust174.sgyl.cable.virginmedia.com] has joined #wesnoth-dev 20130521 09:25:55-!- jetrel_laptop [~jetrel_la@c-75-73-182-0.hsd1.mn.comcast.net] has quit [Read error: Connection reset by peer] 20130521 09:26:14-!- jetrel_laptop [~jetrel_la@c-75-73-182-0.hsd1.mn.comcast.net] has joined #wesnoth-dev 20130521 09:40:30-!- Blueblaze [~Blueblaze@adsl-99-158-45-47.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20130521 09:44:45-!- knotwork [~markm@unaffiliated/knotwork] has quit [Ping timeout: 252 seconds] 20130521 09:50:00-!- leo42 [~leandros@176.92.56.10] has joined #wesnoth-dev 20130521 09:51:31-!- timotei_ [~timotei@wesnoth/developer/timotei] has quit [Ping timeout: 256 seconds] 20130521 10:02:03-!- knotwork [~markm@unaffiliated/knotwork] has joined #wesnoth-dev 20130521 10:06:45-!- vinipsmaker [~vinipsmak@187.65.56.247] has quit [Quit: Leaving] 20130521 10:14:28-!- knotwork [~markm@unaffiliated/knotwork] has quit [Remote host closed the connection] 20130521 10:24:03-!- knotwork [~markm@142.68.210.209] has joined #wesnoth-dev 20130521 10:24:03-!- knotwork [~markm@142.68.210.209] has quit [Changing host] 20130521 10:24:03-!- knotwork [~markm@unaffiliated/knotwork] has joined #wesnoth-dev 20130521 10:28:28-!- jetrel_laptop [~jetrel_la@c-75-73-182-0.hsd1.mn.comcast.net] has quit [Quit: jetrel_laptop] 20130521 10:45:55-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Ping timeout: 246 seconds] 20130521 11:02:17-!- PL_kolek [~PL_kolek@78.8.136.129] has joined #wesnoth-dev 20130521 11:06:02-!- Crendgrim [~quassel@f050094188.adsl.alicedsl.de] has quit [Ping timeout: 256 seconds] 20130521 11:07:53-!- Crendgrim [~quassel@g224212008.adsl.alicedsl.de] has joined #wesnoth-dev 20130521 11:17:56-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 260 seconds] 20130521 11:18:14-!- prkc [~negusnyul@BC069D1D.dsl.pool.telekom.hu] has joined #wesnoth-dev 20130521 11:19:04-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 252 seconds] 20130521 11:26:33-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130521 11:26:41-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130521 11:28:21-!- irker246 [~irker@ai0867.net] has quit [Quit: transmission timeout] 20130521 11:30:42-!- trademark [~ptalbot@mne69-1-82-67-17-201.fbx.proxad.net] has quit [Ping timeout: 256 seconds] 20130521 11:31:33-!- trademark [~ptalbot@mne69-1-82-67-17-201.fbx.proxad.net] has joined #wesnoth-dev 20130521 12:10:16-!- lipkab [~lipk@2001:738:5404:192:7039:976d:18df:cb80] has joined #wesnoth-dev 20130521 12:44:21-!- trademark [~ptalbot@mne69-1-82-67-17-201.fbx.proxad.net] has quit [Ping timeout: 256 seconds] 20130521 12:46:30-!- timotei [~timotei@79.119.99.247] has joined #wesnoth-dev 20130521 12:46:30-!- timotei [~timotei@79.119.99.247] has quit [Changing host] 20130521 12:46:30-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20130521 12:48:38-!- loonybot [~loonybot@ppp91-78-87-169.pppoe.mtu-net.ru] has joined #wesnoth-dev 20130521 12:48:39-!- loonybot [~loonybot@ppp91-78-87-169.pppoe.mtu-net.ru] has quit [Changing host] 20130521 12:48:39-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20130521 13:01:55-!- lipkab [~lipk@2001:738:5404:192:7039:976d:18df:cb80] has quit [Quit: Konversation terminated!] 20130521 14:06:59-!- nphro [~nphro@80.233.231.12] has joined #wesnoth-dev 20130521 14:07:34-!- nphro_ [~nphro@80.233.231.12] has quit [Ping timeout: 245 seconds] 20130521 14:11:45-!- nphro_ [~nphro@80.233.231.12] has joined #wesnoth-dev 20130521 14:13:19-!- nphro [~nphro@80.233.231.12] has quit [Ping timeout: 256 seconds] 20130521 14:16:43-!- nphro [~nphro@80.233.231.12] has joined #wesnoth-dev 20130521 14:17:06-!- nphro_ [~nphro@80.233.231.12] has quit [Ping timeout: 256 seconds] 20130521 14:26:10-!- nphro [~nphro@80.233.231.12] has quit [Ping timeout: 256 seconds] 20130521 14:27:38-!- nphro [~nphro@80.233.231.12] has joined #wesnoth-dev 20130521 14:28:58-!- mjs-de [~mjs-de@g224185125.adsl.alicedsl.de] has joined #wesnoth-dev 20130521 14:31:13-!- Blueblaze [~Blueblaze@99.158.45.47] has joined #wesnoth-dev 20130521 14:33:22-!- Crab_ [Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20130521 14:35:34-!- Blueblaze [~Blueblaze@99.158.45.47] has quit [Client Quit] 20130521 14:38:06-!- leo42 [~leandros@176.92.56.10] has quit [Remote host closed the connection] 20130521 14:47:30-!- nphro [~nphro@80.233.231.12] has quit [Ping timeout: 264 seconds] 20130521 14:48:19< flix> Crab_: Hi! I'm a bit confused about this aspect_recruitment_phase. It redirects via a ministage to the older recruitment algorithm in ai.cpp. And since this phase is used as default, this algorithm in ai.cpp is actually in use all over the place (it was kind of shocking for me when I figured this out, because I thought that the recruitment-CA in ca.cpp was the default one). Why is it designed like this? Why is this phase the only phase from the old default-a 20130521 14:51:32< Crab_> flix: hello! I guess that the 'aspect that redirects via a ministage to older recruitment algorithm' is some kind of a hack that was done to make some old things work. It would probably be better if that aspect and the old code and unfinished recruitment implementations are removed from the codebase. 20130521 14:54:51< flix> Crab_: very good, so if I'll "get the job", I could just ignore this indirection via this ministage and make everything work without it, right? 20130521 14:55:22< Crab_> flix: yes. you'll probably need it since you'll need a different evaluate() function in the recruitment CA. 20130521 14:55:31< Crab_> flix: I meant 'you'll need to ignore this indirection' 20130521 15:02:24< flix> Crab_: okay. Then this parametrization we talked about gets really easy. You confused me a bit what you said here (http://www.wesnoth.org/irclogs/2013/05/%23wesnoth-dev.2013-05-14.log) at logtime 12:24:44 . But it worked for me and should be totally fine for the future just to put the parameters inside [candidate_action], right? 20130521 15:04:19< Crab_> flix: yes. I meant 'if you'll want to pass parameters to the currently active recruitment (which uses the ca->aspect->ministage indirection hack) then you'll need some extra things. if you have just a candidate action, and are not using the indirection, just put the parameters inside the [candidate_action] tag 20130521 15:04:52-!- nphro [~nphro@80.233.231.12] has joined #wesnoth-dev 20130521 15:06:36< flix> Crab_: Ah, okay, now I understood your intentions :). Yes, it's very easy and very useful to do this :) (https://github.com/flixx/wesnoth-old/blob/game_theory/src/ai/flix/recruitment.cpp#L57) 20130521 15:07:41< Crab_> flix: just don't forget to make sure that default to_config() implementation suits your needs. 20130521 15:08:23< flix> Crab_: Yes, I saw that. 20130521 15:10:53< flix> Crab_: I cleaned up the ai-testing suite a bit, I could do more on it (like refactoring both scripts into one), but right now I have it in a ready to use state. https://github.com/flixx/wesnoth-old/tree/ai_test/utils/ai_test 20130521 15:16:02< PL_kolek> flix, I confirm, after your cleanup it works ;) 20130521 15:19:22< flix> PL_kolek: thats great! Thank you 20130521 15:20:38< PL_kolek> flix, Why did you say what I had to say? My turn now: That's great! Thank you :D 20130521 15:21:05< flix> PL_kolek: :P 20130521 15:24:08-!- exciton_ [chuck-the-@89.208.169.104] has joined #wesnoth-dev 20130521 15:27:56-!- exciton [chuck-the-@89.208.169.104] has quit [Ping timeout: 252 seconds] 20130521 15:52:33< thunderstruck> Crab_, Hi. I had created some GUI prototypes for mp create, but the problem is that they would interfere with lipkab's plans or I would end up doing what he already has implemented. 20130521 15:53:03< Crab_> thunderstruck: I've seen the chat logs 20130521 15:53:11< thunderstruck> Crab_, we sort of decided to have a button "Switch to" which would switch from campaigns to scenarios and vice-versa. 20130521 15:53:30< thunderstruck> Crab_, I've hacked a quick prototype for that and added to my demo. 20130521 15:54:28< Crab_> thunderstruck: it's ok, the main thing for you (if your project is accepted) is to do the engine part. if you find some compromise on how the GUI should look like, that'll be enough. 20130521 15:55:11< Crab_> thunderstruck: so, I'd try to not interfere with lipkab's plans but talk to fabi and him to make sure that the new dialog is good enough for MP campaigns, or has a place to plug-in the MP campaigns. 20130521 15:55:24< thunderstruck> Crab_, that's right. I'm not doing other prototypes since all other GUI changes are just more or less some buttons. 20130521 15:59:59< thunderstruck> Crab_, well, except for chapter/scenario selection for mp campaigns. 20130521 16:00:12< thunderstruck> Crab_, that might require a prototype, I guess. 20130521 16:05:21< Rhonda> AI0867: Erm, the regular depends are for the binary package, not the source package, i.e. building the package. You need to look into the Build-Depends of the source package, everything else is a cause for troubles. apt-get build-dep wesnoth-1.10 # and you are there 20130521 16:20:42< AI0867> so though it requires libboost-thread-dev to build, it doesn't need libboost-thread to run? That seems a bit off, though I guess it could work for header-only parts of the libraries 20130521 16:22:25-!- nurupo [~nurupo.ga@unaffiliated/nurupo] has quit [Ping timeout: 248 seconds] 20130521 16:25:29-!- trademark [~ptalbot@mne69-1-82-67-17-201.fbx.proxad.net] has joined #wesnoth-dev 20130521 16:32:12< Crab_> thunderstruck: also please note (I don't remember if I've mentioned it to you before or not), that I'm going on vacation tomorrow in the evening, I'll take a look at everything done before then. 20130521 16:46:56-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20130521 16:56:11< thunderstruck> Crab_, yes, you did. I think I've figured out all the major things and update my proposal today. 20130521 16:56:20< thunderstruck> and I've updated* 20130521 17:01:42< Crab_> thunderstruck: great, thanks. 20130521 17:06:31< PL_kolek> Crab_, I haven't heard about your vacation. Does it mean I must have my proposal updated and finished today? 20130521 17:33:22-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 256 seconds] 20130521 17:36:13< Crab_> PL_kolek: I'll also look at all the things done tomorrow 20130521 17:39:30< flix> Crab_: I marked the Refactoring of Combat analysis now as mandatory in my proposal. 20130521 17:41:38-!- jetrel_laptop [~jetrel_la@67-6-104-133.mpls.qwest.net] has joined #wesnoth-dev 20130521 17:42:42< Crab_> flix: I guess that it'll be possible to make it better, in a few tries 20130521 17:45:24-!- EdB [~edb@89-93-187-203.hfc.dyn.abo.bbox.fr] has joined #wesnoth-dev 20130521 17:46:09< flix> Crab_: Yes, i made it already a bit better. But I have more ideas, and additionally I want to clean up things, give some variables other names and maybe change the structure of the algorithm a bit... 20130521 17:47:41< Crab_> flix: ok, but note that there are two sides of the project - making configurable better and more fun, and making recruitment more configurable. So, don't spend all the time on 'make it better' part, having enough time to make it configurable enough is also necessary. 20130521 17:49:01-!- anonymissimus [~chatzilla@HSI-KBW-149-172-228-192.hsi13.kabel-badenwuerttemberg.de] has joined #wesnoth-dev 20130521 17:52:53< anonymissimus> Crab_: hi, perhaps you have some ideas based on your former MSVC experience; I'm trying to resolve the linker errors introduced by fabi's vorbis commit; I added headers/libs compiled with the MSVC solutions in the ogg and vorbisfile packages from http://xiph.org/downloads/; however I then get some new unrelated linker errors: http://pastebin.com/pkR9NQ9W 20130521 17:55:57-!- EdB [~edb@89-93-187-203.hfc.dyn.abo.bbox.fr] has quit [Quit: Konversation terminated!] 20130521 17:59:21< Crab_> anonymissimus: hello. weird, AddFontResource comes win32 api ( http://msdn.microsoft.com/en-us/library/dd183326(VS.85).aspx ) - In theory that might happen if the parameters used in ogg/vorbis packages are somehow incompatible with our settings used in wesnoth (or if any of the new includes hide the correct definition of those functions) 20130521 18:00:02< Crab_> anonymissimus: playing with the include/link order might help. 20130521 18:02:28< flix> Crab_: I have this in mind, I planed the biggest part of the last Milestone for Configuration things. I will define all configurations early so there is some time for discussing and I can build everything to work with this configurations from the beginning on. Implementing aspects then should be straight forward. 20130521 18:12:59-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130521 18:15:51< fabi> Crab_, anonymissimus: Is the compiling broken on Windows at all or just on anonymissimus installation? 20130521 18:20:59< anonymissimus> fabi: none other than me did try apparently, but I think that it should be broken at all, and I also expect that loonycyborg will have to add and/or compile some additional dependencies 20130521 18:21:28< fabi> loonycyborg: are you around? 20130521 18:21:45< loonycyborg> I already had to add vorbisfile when I was building SDL_mixer 20130521 18:22:00< anonymissimus> I don't understand why people are expecting that everyone with a working build should not have probs, fabi added a header that was nowhere and of course I have to add some lib at least then 20130521 18:22:29-!- boucman_work [~rosen@wesnoth/developer/boucman] has quit [Ping timeout: 248 seconds] 20130521 18:23:07< fabi> loonycyborg: Thus your setup works, with current master, right? 20130521 18:23:39< anonymissimus> Crab_: one idea I still have is to add the files from the libs directly into wesnoth; that shouldn't be the final solution, but if it succeeds, I would know that probably something about the project file settings when building the libs is not appropriate ? 20130521 18:23:45< loonycyborg> I didn't try yet, didn't expect any problems 20130521 18:24:04< fabi> loonycyborg: Would you please try, if you have the time? 20130521 18:24:05< Crab_> anonymissimus: you can try just to rebuild the libs yourself, if they have project files 20130521 18:24:17< anonymissimus> Crab_: and how do I change the link order ? 20130521 18:24:27< loonycyborg> kk 20130521 18:24:39< anonymissimus> Crab_: I'm already building them myself, with various settings 20130521 18:25:11< anonymissimus> I only managed to remove one of the new linker warnings so far 20130521 18:27:56< anonymissimus> as a last resort I would #ifdef out the feature :) 20130521 18:32:06-!- jleldridge [~jleldridg@cpe-098-026-227-236.triad.res.rr.com] has joined #wesnoth-dev 20130521 18:32:39< anonymissimus> here the errors are with some additional info: http://pastebin.com/BDN5pVFU (I reverted nurupo's commits to check whether htey have soemthing to do with it) 20130521 18:33:53-!- Crab_ [Crab_@wesnoth/developer/crab] has left #wesnoth-dev [] 20130521 18:42:11< loonycyborg> Try linking against gdi32 :P 20130521 18:42:41< anonymissimus> loonycyborg: explain pls 20130521 18:42:58< loonycyborg> That's the lib those symbols come from 20130521 18:43:06< anonymissimus> and is this MinGw info ? 20130521 18:43:12< loonycyborg> According to microsoft docs 20130521 18:43:41< anonymissimus> loonycyborg: yes, they come from the winGDI header 20130521 18:43:43-!- vinipsmaker [~vinipsmak@187.65.56.247] has joined #wesnoth-dev 20130521 18:44:17< loonycyborg> But linker doesn't find them due to link order issue or something 20130521 18:45:05< anonymissimus> hm so you suggest putting and additional #include into there, probably #ifdefed ? 20130521 18:45:46-!- ancestral [~ancestral@174-30-198-187.mpls.qwest.net] has joined #wesnoth-dev 20130521 18:48:05< timotei> anonymissimus: you need to add gdi32.lib in additional import libraries in MSVC 20130521 18:49:37-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20130521 18:51:16-!- Ivanovic [~ivanovic@x2f4a157.dyn.telefonica.de] has quit [Changing host] 20130521 18:51:16-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20130521 18:54:56< anonymissimus> timotei: okay, did you know that out of the top of your head or did you try yourself ? :P 20130521 18:55:05< anonymissimus> that actually worked 20130521 18:55:09< timotei> anonymissimus: out of the top of my head :) 20130521 18:55:22< timotei> Though gdi32.lib should have been there by default... hmm 20130521 18:55:34< timotei> It's one of the "core" windows libs... 20130521 18:55:38< anonymissimus> hm, but adding it there shouldn't be neccessary, right ? 20130521 18:55:57< timotei> Well, if you get linker errors like that you should. 20130521 18:56:24< anonymissimus> yes, but I shouldn't get them in the first place ? 20130521 18:56:34< timotei> No 20130521 18:56:41< timotei> They are already in the Windows install IIRC 20130521 18:56:45< timotei> I mean, MSVC install*& 20130521 18:56:54 * anonymissimus can no longer count the number of times you helped me like this 20130521 18:57:30< fabi> timotei: Hi :-) 20130521 18:57:37< timotei> hi there fabi 20130521 18:57:59-!- dragos [~quassel@5-15-217-9.residential.rdsnet.ro] has quit [Read error: Connection reset by peer] 20130521 18:58:37< fabi> timotei: At some point in the future, can we group together and connect the eclipse umc to the internal commandline? I want to do it for emacs first but it should also be possible with eclipse. 20130521 18:59:03< anonymissimus> I could have had that idea myself...remember the next time 20130521 18:59:14< timotei> Something like ... invoking the ide from command line? :P 20130521 18:59:39< fabi> timotei: Hmmm, have you ever used an interpreter from within emacs? 20130521 18:59:47< timotei> No :D 20130521 18:59:52< timotei> Never liked emacs, sorry. 20130521 19:00:36< fabi> timotei: Well, most interpreter are not really editors but only take input from stdin and spit the result out at stdout. 20130521 19:01:21< fabi> timotei: Wrapping them with emacs or another editor is a great relief. This is also true for Wesnoth's commandline. 20130521 19:01:45< fabi> timotei: Connecting the commandline to stdin and stdout would enable this kind of workflow. 20130521 19:02:14< timotei> Well, isn't a bit too much of a roundtrip? 20130521 19:02:21< timotei> I mean, you could invoke wesnoth directly from emacs... 20130521 19:03:06< fabi> timotei: Have you ever used the ingame commandline? 20130521 19:03:37< timotei> Hmmm, a bit. 20130521 19:03:44< fabi> It is a pain in the ass. 20130521 19:04:27< fabi> No file loading and pasting in the buffer, no history, no command completion, not even a cursor to correct wrong lines. 20130521 19:06:18< fabi> timotei: And yes, you usually invoke the wrapped applikation in emacs. But that won't help in Wesnoth's case because it does not connect the commandline to stdin/stdout. 20130521 19:07:27< timotei> And you mean something like hooking ingame's command line with the stdin? :P 20130521 19:07:41< timotei> So you could execute stuff you get from emacs' command line? 20130521 19:09:11< anonymissimus> fabi: copy/paste works, and command completion also sometimes 20130521 19:09:25< fabi> anonymissimus: That is new to me. 20130521 19:09:54< anonymissimus> fabi: ctrl-c/v out of/into teh command line ? 20130521 19:10:17< fabi> anonymissimus: When got that implemented? 20130521 19:10:20< anonymissimus> fabi: it didn't work in teh past for windows only, but it did always for me on Linuy 20130521 19:10:47< anonymissimus> fabi: perhaps it interferes with your system then somehow 20130521 19:11:41< fabi> timotei: yes 20130521 19:11:59< anonymissimus> I'm not sure about command completion; it seems that it doesn't work in an intelligent way 20130521 19:12:32< anonymissimus> I need to type a lot of :show_terrain_codes until pressing TAB works 20130521 19:12:47< fabi> anonymissimus: Well, it has to hide behind a commandline option anyway. 20130521 19:13:55< anonymissimus> fabi: hmm, you need to highlight the text to copy though 20130521 19:14:16< anonymissimus> and for that I need to continuously press the arrow keys 20130521 19:14:33< anonymissimus> while pressing shift 20130521 19:15:17< anonymissimus> but that's only for copying out; pasting into the command line should work anyway 20130521 19:16:26< fabi> anonymissimus: The emacs way (or eclipse) or any editor that supports embedded execution would allow to edit your lua file (for example) in the external editor and send it into wesnoth with a shortcut. 20130521 19:20:33< anonymissimus> timotei: I solved the other linker error by also manually adding Shell32.lib, but it's not over yet 20130521 19:20:55< anonymissimus> timotei: the debugger crashes now when analyzing som adio track 20130521 19:23:30< anonymissimus> hm, it looks as if it somehow fails to open main_menu.ogg 20130521 19:27:23< vultraz> fabi: do you have any idea what this would mean? http://pastebin.com/XXteJMs8 20130521 19:28:28< fabi> vultraz: Hmmm, maybe a method is declared in a header but there is no matching defintion in the cpp file? 20130521 19:30:58< vultraz_laptop> no, don't think so...I only added one function and one declaration 20130521 19:32:03-!- fabi [~fabi@wesnoth/developer/fendrin] has quit [Quit: Konversation terminated!] 20130521 19:41:44-!- ancestral [~ancestral@174-30-198-187.mpls.qwest.net] has quit [Ping timeout: 245 seconds] 20130521 19:45:51-!- ancestral [~ancestral@174-30-198-187.mpls.qwest.net] has joined #wesnoth-dev 20130521 19:58:31-!- mordante [~mordante@roadie.xs4all.nl] has joined #wesnoth-dev 20130521 19:58:31-!- mordante [~mordante@roadie.xs4all.nl] has quit [Changing host] 20130521 19:58:31-!- mordante [~mordante@wesnoth/developer/mordante] has joined #wesnoth-dev 20130521 19:58:46< mordante> servus 20130521 19:59:01< Ivanovic> hi mordante 20130521 19:59:06< mordante> hi Ivanovic 20130521 20:00:13-!- Czarconius [~quassel@14.139.122.114] has joined #wesnoth-dev 20130521 20:02:57-!- Czarconius [~quassel@14.139.122.114] has quit [Read error: Connection reset by peer] 20130521 20:03:56-!- Czarconius [~quassel@14.139.122.114] has joined #wesnoth-dev 20130521 20:23:03-!- ancestral [~ancestral@174-30-198-187.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20130521 20:26:17-!- PL_kolek [~PL_kolek@78.8.136.129] has quit [Quit: Wychodzi] 20130521 20:26:40< Rhonda> AI0867: 20130521 20:30:28-!- jetrel_laptop [~jetrel_la@67-6-104-133.mpls.qwest.net] has quit [Ping timeout: 260 seconds] 20130521 20:33:05-!- jetrel_laptop [~jetrel_la@184-100-86-78.mpls.qwest.net] has joined #wesnoth-dev 20130521 20:40:57< AI0867> Rhonda: ? 20130521 20:41:39< Rhonda> Wesnoth doesn't seem to use boost thread library for running. 20130521 20:41:55< AI0867> then why do we need it for compiling? 20130521 20:42:02< Rhonda> It doesn't link it in. It seems like it should get removed from the things checking for compiling. 20130521 20:42:07< Rhonda> Hysterical Raisins. 20130521 20:42:44< AI0867> well, we do include it in various iles 20130521 20:42:48< AI0867> s/iles/files 20130521 20:42:52< Rhonda> Do we? 20130521 20:42:55< AI0867> entirely ANA though 20130521 20:43:16< AI0867> we should decide on whether we want to salvage that or get rid of it 20130521 20:43:32 * AI0867 checks who the GSOC mentor was 20130521 20:43:36< Rhonda> Ah 20130521 20:43:39< Rhonda> Then that makes sense. 20130521 20:43:49< Rhonda> -DUSE_ANA_NETWORK=off 20130521 20:44:13< Rhonda> I was told to disable ana because it was giving troubles. 20130521 20:44:24-!- ancestral [~ancestral@174-30-198-187.mpls.qwest.net] has joined #wesnoth-dev 20130521 20:44:30< Rhonda> * Switch off USE_ANA_NETWORK, it makes the server segfault. 20130521 20:44:42< Rhonda> That was at 1.9.5 times. 20130521 20:44:50< Rhonda> Stayed off since then. :) 20130521 20:45:08< AI0867> well, it was written by billynux, but I don't see who the mentor was 20130521 20:45:19< Rhonda> But I think I never removed boost from the Build-Depends since then. 20130521 20:46:18< Soliton> i think maybe boucman was the mentor. 20130521 20:46:39< Rhonda> It doesn't hurt that much. Maybe I should try to switch it on again and see how the server behaves now. 20130521 20:47:12-!- nurupo [~nurupo.ga@unaffiliated/nurupo] has joined #wesnoth-dev 20130521 20:48:22< AI0867> the current network layer has an unimplemented feature regarding connection resuming 20130521 20:48:45< Rhonda> Which is "current"? 20130521 20:48:46< AI0867> that is, when you connect, you send a 32-bit int specifying the connection you want to resume (or zero, if you want a new connection) 20130521 20:48:52< Rhonda> ana, or not-ana? 20130521 20:48:58< AI0867> the server then proceeds to ignore that and gives you a new connection 20130521 20:49:00< AI0867> not-ana 20130521 20:49:19< AI0867> ANA instead checks if the number is zero or not 20130521 20:49:26< AI0867> if it's zero, it gives you a new connection 20130521 20:49:31< AI0867> if it's not zero, it crashes 20130521 20:49:33< AI0867> THE SERVER 20130521 20:50:14< Rhonda> I unfortunately don't have any bugnumber in the changelog to refresh my memory about the server segfault with ana. 20130521 20:50:31< Rhonda> Ah, wait. 20130521 20:50:42< Rhonda> ANA makes the server crash if it gets a non-zero value? 20130521 20:50:50< AI0867> the whole of ANA seems (from what I've seen) to be an asynchronous wrapper around boost::asio 20130521 20:50:55< AI0867> yes 20130521 20:51:07< AI0867> which makes me wonder what the point of ANA is 20130521 20:51:12< Rhonda> Then you confirm that the issue is still there and I shouldn't enable ANA, thanks. :) 20130521 20:51:17< AI0867> as asio is already asynchronous 20130521 20:51:41< AI0867> gambit figured that one out when he tried to write an IRC bot that could pull wesnothd info 20130521 20:51:45< mordante> I'm off bye 20130521 20:52:04-!- Czarconius [~quassel@14.139.122.114] has quit [Remote host closed the connection] 20130521 20:52:14< AI0867> unrelated, shikadibot can now pull commit info off github 20130521 20:52:19-!- mordante [~mordante@wesnoth/developer/mordante] has quit [Quit: Leaving] 20130521 20:52:37< AI0867> this is a github API feature, as git would require an updated clone 20130521 20:55:04-!- stikonas [~gentoo@128.232.240.234] has joined #wesnoth-dev 20130521 20:55:04-!- stikonas [~gentoo@128.232.240.234] has quit [Changing host] 20130521 20:55:04-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20130521 20:57:05< anonymissimus> fabi: okay, so it seems that your code using fopen etc isn't written in a portable enough way 20130521 20:58:20< anonymissimus> fabi: firstly, you should probably use mode "rb" instead of just "r"; hopefully the b does nothing on Linux but will make it work correctly or better on windows (this is a frequent problem) 20130521 20:58:50< anonymissimus> fabi: secondly, there is likely some slash vs backslash problem 20130521 21:00:21< anonymissimus> fab: and third, it seems this fopen call doesn't work when passing the std__string::c_str (which is weird as it seems to expect that) 20130521 21:01:24< anonymissimus> fabi: I'm guessing the code is sort-of too low-lewel, I'l look at how wesnoth opens the .og files for playing them (on both Linux/windows as there are likely some #ifdefs) 20130521 21:01:39-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20130521 21:02:36< shadowm> Wesnoth doesn't really do that directly. 20130521 21:03:17< shadowm> SDL_Mixer's implementation takes care of all the details of decoding and playing a sound file. 20130521 21:04:37< shadowm> And yes, the 'b' fopen() option doesn't do anything on Linux but it's necessary for compatibility with systems where line endings are normally automatically converted. 20130521 21:05:25< shadowm> Without it you might be corrupting the input on Windows in this case. 20130521 21:08:03< AI0867> mordante: https://api.travis-ci.org/jobs/7367841/log.txt?deansi=true 20130521 21:18:22-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20130521 21:18:29-!- stikonas_ [~gentoo@128.232.240.234] has joined #wesnoth-dev 20130521 21:18:29-!- stikonas_ [~gentoo@128.232.240.234] has quit [Changing host] 20130521 21:18:29-!- stikonas_ [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20130521 21:18:30< timotei> Rhonda, AI0867: mordante was mentor for the ANA project. boucman was for the whiteboard 20130521 21:18:49< anonymissimus> fabi: forget the third point; I got that to work in another project 20130521 21:20:11< timotei> AI0867: Does that CI slave checkout the full wesnoth code each time a commit is made? :D 20130521 21:20:16< anonymissimus> fabI anyway, it crashes once it reaches the ov_open call; it of course might be caused somehow by the way I got it build and link now 20130521 21:21:24 * anonymissimus feels like the whole thing being to troublesome for not just #ifdefing the feature out 20130521 21:21:34< AI0867> timotei: yes (well, for every push), which is why I haven't set it up for wesnoth yet 20130521 21:22:12< AI0867> it's really easy to do, but it's quite wasteful and has a 20+ minute lag because it makes a fresh clone and build every time 20130521 21:22:29< anonymissimus> aren't there some higher level functionalities (provided by SDL_mixer for instance) that could be used instead 20130521 21:22:47< timotei> Isn't it better just to do an update and reset --hard & clean -fd ? 20130521 21:23:03< timotei> Since clean clears all untracked/files 20130521 21:23:47< AI0867> I have no choice here, they use a fresh VM for each build 20130521 21:24:04< timotei> Ah. 20130521 21:24:24< AI0867> that makes sure no clutter survives, but for a project of our size it may not be the best idea 20130521 21:24:46< timotei> :( 20130521 21:25:05< timotei> Isn't our hosting server in condition to do some of the CI builds? 20130521 21:25:14< anonymissimus> AI0867: how can I git revert the changes done in a specific revision for a single file *only* (the revision included changes to other files as well) ? 20130521 21:25:19< AI0867> it is, but that does mean we have to self-host 20130521 21:25:33< AI0867> an travis-ci is REALLY easy 20130521 21:26:05< AI0867> 1) log in on travis-ci.org using your github account 20130521 21:26:13< AI0867> 2) flip the switch for the right repo 20130521 21:26:23< AI0867> 3) commit .travis.yml 20130521 21:26:28< AI0867> https://github.com/AI0867/wesnoth-old/blob/master/.travis.yml 20130521 21:26:46< timotei> I see 20130521 21:27:31< timotei> Well, maybe we could try using travis to do builds just twice (or X times a day and not after each push) 20130521 21:31:44-!- jetrel_laptop [~jetrel_la@184-100-86-78.mpls.qwest.net] has quit [Ping timeout: 252 seconds] 20130521 21:32:21-!- jetrel_laptop [~jetrel_la@67-6-99-103.mpls.qwest.net] has joined #wesnoth-dev 20130521 21:32:51-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20130521 21:41:04-!- nphro [~nphro@80.233.231.12] has quit [Ping timeout: 276 seconds] 20130521 21:44:18< Soliton> anonymissimus: git show -- | git apply -R 20130521 21:52:42-!- loonybot [~loonybot@ppp91-78-87-169.pppoe.mtu-net.ru] has joined #wesnoth-dev 20130521 21:52:42-!- loonybot [~loonybot@ppp91-78-87-169.pppoe.mtu-net.ru] has quit [Changing host] 20130521 21:52:42-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20130521 21:57:08< anonymissimus> Soliton: can you give an example ? (for the path especially) 20130521 21:57:27< loonycyborg> My mingw build setup still works with vorbisfile changes 20130521 21:57:52< AI0867> you can also do git revert --no-commit 20130521 21:58:04< AI0867> checkout/reset the stuff you don't want to revert 20130521 21:58:46-!- stikonas_ [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20130521 21:59:10-!- trademark [~ptalbot@mne69-1-82-67-17-201.fbx.proxad.net] has quit [Ping timeout: 240 seconds] 20130521 21:59:30< anonymissimus> loonycyborg: does the feature fabi implemented work as well ? and did you change something, add headers, libs etc ? 20130521 21:59:46< loonycyborg> I added headers 20130521 21:59:52< loonycyborg> I didn't test the feature 20130521 22:00:01< loonycyborg> I don't even know what it is 20130521 22:00:09< anonymissimus> I didn't yet try anything with CodeBlocks but will need to add headers at least as well 20130521 22:01:41< anonymissimus> loonycyborg: okay, so you only added hte headers from http://xiph.org/downloads/, nothing else, no extra lib compile etc ? 20130521 22:02:02< loonycyborg> Nope 20130521 22:02:44< loonycyborg> I already had to provide the import lib before because SDL_mixer depends on it 20130521 22:06:26< anonymissimus> okay, so it seems that I shouldn't have gotten linker errors in the first place then ? the ov_open call was unresolved for instance 20130521 22:09:56< timotei> anonymissimus: MSVC? Did you add the .lib as input library? :) 20130521 22:14:18-!- jetrel_laptop [~jetrel_la@67-6-99-103.mpls.qwest.net] has quit [Quit: jetrel_laptop] 20130521 22:18:42< anonymissimus> timotei: in what context now ? loony didn't add any lib so I also should not have needed to do that 20130521 22:19:14< anonymissimus> but yes, I did add the libs I compiled from the libogg and libvorbis source packages 20130521 22:19:37< anonymissimus> and it solved most of the linker errors, instead of those you helped me with 20130521 22:19:57< anonymissimus> *except* 20130521 22:20:04< anonymissimus> not instead 20130521 22:24:46-!- nphro [~nphro@78.84.201.222] has joined #wesnoth-dev 20130521 22:27:36< loonycyborg> Actually the scons script passes -lvorbisfile 20130521 22:27:58< loonycyborg> Because fendrin added the check for it 20130521 22:28:24-!- prkc [~negusnyul@BC069D1D.dsl.pool.telekom.hu] has quit [Quit: Konversation terminated!] 20130521 22:28:43< anonymissimus> meaning what you said above was wrong, you link the lib ? 20130521 22:28:58< anonymissimus> or dll ? 20130521 22:31:59< loonycyborg> I've passed -lvorbisfile and the import lib was in linker's search path 20130521 22:35:35< anonymissimus> okay, I will need this lib for CodeBlocks and getting it will probably be not as easy as for MSVC 20130521 22:35:49< anonymissimus> could you upload it pls 20130521 22:36:51< anonymissimus> linking the libs statically instead of dynamically worked now in MSVC, the feature is to show the track titles in the music drop down list in the eidtor 20130521 22:36:56-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Quit: SIGKILL] 20130521 22:39:33< anonymissimus> fabi: I'm not sure whether showing the title instead fo the id is a good idea; this could make it hard to know which file a track belongs to 20130521 22:39:48< anonymissimus> just show both 20130521 22:41:00-!- timotei_ [~timotei@79.119.99.247] has joined #wesnoth-dev 20130521 22:41:00-!- timotei_ [~timotei@79.119.99.247] has quit [Changing host] 20130521 22:41:00-!- timotei_ [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20130521 22:44:14< Espreon> vultraz: Well, it's not exactly rocket science. 20130521 22:44:40< Espreon> But it's close. Tee hee. 20130521 22:44:43< Espreon> ... nah. 20130521 22:48:03< anonymissimus> loonycyborg: btw I did not only have to add libvorbisfile but also libvorbis and libogg 20130521 22:48:19< anonymissimus> as the latter two were required by the former 20130521 22:48:32-!- exciton [chuck-the-@89.208.169.104] has joined #wesnoth-dev 20130521 22:52:20-!- exciton_ [chuck-the-@89.208.169.104] has quit [Ping timeout: 252 seconds] 20130521 22:54:02-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has quit [Quit: Konversation terminated!] 20130521 22:57:46-!- Gambit [~gambit@wesnoth/developer/grickit] has joined #wesnoth-dev 20130521 23:00:01-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-dev 20130521 23:05:09-!- Blueblaze [~Blueblaze@adsl-99-158-45-47.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20130521 23:19:43-!- yann [~dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has joined #wesnoth-dev 20130521 23:26:03-!- thunderstruck [~thunderst@cpc5-sgyl29-2-0-cust174.sgyl.cable.virginmedia.com] has quit [Quit: Leaving] 20130521 23:30:00-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has quit [Quit: system reboot in progress] 20130521 23:31:16-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20130521 23:35:55-!- fabi [~fabi@88-134-17-133-dynip.superkabel.de] has joined #wesnoth-dev 20130521 23:35:55-!- fabi [~fabi@88-134-17-133-dynip.superkabel.de] has quit [Changing host] 20130521 23:35:55-!- fabi [~fabi@wesnoth/developer/fendrin] has joined #wesnoth-dev 20130521 23:36:23-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 252 seconds] 20130521 23:36:27< Soliton> anonymissimus: git show -- | git apply -R 20130521 23:36:59< Soliton> anonymissimus: if you want a specific example, give me one. 20130521 23:37:32-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20130521 23:39:09< fabi> hello 20130521 23:39:51< fabi> anonymissimus: Still no success with the compiling? 20130521 23:42:37-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 276 seconds] 20130521 23:43:04< anonymissimus> fabi: well, read the log; MSVC is at a state that I could live with but not I'm not completely happy 20130521 23:43:23< anonymissimus> since adding those libs manually is a hack 20130521 23:43:49< anonymissimus> and I didn't yet try MinGw at all 20130521 23:44:27-!- irker025 [~irker@ai0867.net] has joined #wesnoth-dev 20130521 23:44:27< irker025> wesnoth: Espreon wesnoth-old:master a6cf1a / changelog players_changelog src/play_controller.cpp: Made it so that the 'Back to Turn X' and 'Back to Start' menu items work with .b http://git.io/0f6bug 20130521 23:46:19< shadowm> t20130521 17:46:05 error audio: No title for music track 'data/core/sounds/ambient/wardrums.ogg' 20130521 23:46:49< shadowm> Would be nice if I didn't have to stumble upon this in stderr whenever I start my campaign. 20130521 23:47:20< shadowm> And even though the file is used exactly once for a single story screen, the error appears thrice in stderr. 20130521 23:50:32-!- LordBob_ [~chatzilla@2a01:e34:ee82:47e0:21e:c2ff:fe01:261f] has joined #wesnoth-dev 20130521 23:53:52< fabi> shadowm: Why not just add a title to the ogg's metadata? 20130521 23:54:19-!- nphro [~nphro@78.84.201.222] has quit [Ping timeout: 276 seconds] 20130521 23:54:58< shadowm> Why should every file have a title? 20130521 23:55:12< LordBob_> hello people 20130521 23:55:16< fabi> hi LordBob_ 20130521 23:55:19< shadowm> Thinking about UMC here, not mainline. 20130521 23:55:32< fabi> shadowm: Because it is easy to do and doesn't hurt. 20130521 23:55:45< LordBob_> fabi: I see you have been hard at work, my mac compiler is all broken due to a "vorbis" file :p 20130521 23:55:48< shadowm> It's not always necessary either. 20130521 23:56:10< fabi> LordBob_: Yes, anonymissimus has also problems on Windows. 20130521 23:57:11< LordBob_> fabi: do you know if anyone has found a fix yet ? 20130521 23:57:26< LordBob_> (preferably, anyone using OSX) 20130521 23:57:45< shadowm> Alarantalara does the Mac OS X packages and he's currently missing. 20130521 23:59:01< fabi> LordBob_: Let's disable it for now. That will also please anonymissimus and we can continue working. --- Log closed Wed May 22 00:00:10 2013