--- Log opened Mon May 23 00:00:08 2011 20110523 00:03:51< fendrin> yes 20110523 00:04:31< fendrin> Something that fits as part of an argument to fire another action wml tag. 20110523 00:11:39< anonymissimus> which takes a SLF as argument ? or a commas-separated list of ranges ? 20110523 00:12:11< fendrin> a comma separated list of ranges. 20110523 00:12:49< anonymissimus> can't you put the SLF argument to get_locations deirectly into that tag ? 20110523 00:13:05< fendrin> That was my suggestion as well. 20110523 00:13:43< fendrin> But that will delay any error reports on the SLF until the action_wml tag does it's black magic. 20110523 00:15:29< anonymissimus> anyway, you need something like local x,y = "",""; for i,v in ipairs(wesnoth.get_locations()) do x = x .. tostring(v[1] .. ","; y = y .. tostring(v[2] .. "," end 20110523 00:16:05-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Quit: Leaving.] 20110523 00:16:14< anonymissimus> tostring(v[1]) and tostring(v[2]) 20110523 00:16:25< anonymissimus> note that .. is string concatenation 20110523 00:16:50< anonymissimus> you could use string.format but it's bit more difficult 20110523 00:17:39< anonymissimus> and thats inefficient, since that tag will parse the strings back into numbers anyway 20110523 00:21:36< fendrin> fine, thank you. 20110523 00:24:50< fendrin> anonymissimus: Would you mind if I just add such a function to the location_set thing (is it a class)? 20110523 00:25:28< anonymissimus> location_set is sort of a class i think yes 20110523 00:29:51< anonymissimus> fendrin: I guess I wouldnt mind; maybe location_set:tostrings 20110523 00:30:00< fendrin> yepp 20110523 00:30:53< anonymissimus> to_strings 20110523 00:31:19< anonymissimus> (and location_set.of_strings if needed) 20110523 00:31:55< anonymissimus> returning x, y as two strings, or maybe a table with x and y fields or what you think is useful 20110523 00:33:55< anonymissimus> IIRC the : causes the instance to be passed as always a first hidden argument to those functions with the :, and it's accessible withint the functions via the self variable which is a special variable set by lua somehow 20110523 00:34:17< anonymissimus> so its like the this in C++ and java 20110523 00:37:01-!- Blueblaze [~Blueblaze@adsl-99-182-54-226.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20110523 00:43:31-!- fendrin [~fabi@88-134-62-217-dynip.superkabel.de] has quit [Remote host closed the connection] 20110523 00:50:30-!- fendrin [~fabi@88-134-62-217-dynip.superkabel.de] has joined #wesnoth-dev 20110523 00:53:14-!- Valkier [~Valkier@c-174-55-104-2.hsd1.pa.comcast.net] has quit [Quit: Valkier] 20110523 00:57:20-!- Vorpal [~AnMaster@unaffiliated/anmaster] has quit [Quit: ZNC - http://znc.sourceforge.net] 20110523 01:05:17-!- anonymissimus [~chatzilla@HSI-KBW-095-208-006-134.hsi5.kabel-badenwuerttemberg.de] has quit [Quit: ChatZilla 0.9.86.1 [Firefox 3.6.2/20100316074819]] 20110523 01:13:48-!- jiero [~jie@115-64-43-246.static.tpgi.com.au] has joined #wesnoth-dev 20110523 01:25:53-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has quit [Quit: Zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz] 20110523 01:26:11-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20110523 01:32:08-!- wesbot changed the topic of #wesnoth-dev to: 219 bugs, 316 feature requests, 28 patches | logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://pastebin.com | http://imagebin.org 20110523 01:32:34-!- zookeeper [~l@wesnoth/developer/zookeeper] has quit [] 20110523 01:36:57-!- Blueblaze [~Blueblaze@adsl-99-182-54-226.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20110523 01:37:47-!- un214 [~un214@adsl-75-45-20-64.dsl.scrm01.sbcglobal.net] has quit [Remote host closed the connection] 20110523 01:59:00-!- jiero [~jie@115-64-43-246.static.tpgi.com.au] has quit [Read error: Connection timed out] 20110523 02:02:25-!- jiero [~jie@115-64-43-246.static.tpgi.com.au] has joined #wesnoth-dev 20110523 02:12:01-!- Blueblaze [~Blueblaze@ppp-70-247-199-47.dsl.hstntx.swbell.net] has joined #wesnoth-dev 20110523 02:12:13-!- Blueblaze [~Blueblaze@ppp-70-247-199-47.dsl.hstntx.swbell.net] has quit [Client Quit] 20110523 02:17:31-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20110523 02:18:23-!- stikonas [~and@bcm-131-111-216-209.girton.cam.ac.uk] has joined #wesnoth-dev 20110523 02:18:23-!- stikonas [~and@bcm-131-111-216-209.girton.cam.ac.uk] has quit [Changing host] 20110523 02:18:23-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20110523 02:19:27-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20110523 02:20:10-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20110523 02:23:09-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20110523 02:23:48-!- stikonas [~and@bcm-131-111-216-209.girton.cam.ac.uk] has joined #wesnoth-dev 20110523 02:23:48-!- stikonas [~and@bcm-131-111-216-209.girton.cam.ac.uk] has quit [Changing host] 20110523 02:23:48-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20110523 02:36:34-!- Alarantalara [~alarantal@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has joined #wesnoth-dev 20110523 02:45:34-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20110523 03:00:34< CIA-94> espreon * r49633 /trunk/data/campaigns/ (13 files in 13 dirs): Ran umcpropfix. 20110523 03:15:28-!- happygrue_ [~George@wesnoth/developer/wintermute] has quit [Read error: Connection reset by peer] 20110523 03:18:35< CIA-94> espreon * r49634 /trunk/utils/java/ (7 files in 4 dirs): Set svn:eol-style. 20110523 03:29:12-!- happygrue [~George@wesnoth/developer/wintermute] has joined #wesnoth-dev 20110523 03:30:11-!- cjhopman [~chris@wesnoth/developer/cjhopman] has quit [Ping timeout: 240 seconds] 20110523 03:34:32-!- cjhopman [~chris@c-71-202-164-232.hsd1.ca.comcast.net] has joined #wesnoth-dev 20110523 03:34:32-!- cjhopman [~chris@c-71-202-164-232.hsd1.ca.comcast.net] has quit [Changing host] 20110523 03:34:32-!- cjhopman [~chris@wesnoth/developer/cjhopman] has joined #wesnoth-dev 20110523 03:34:59-!- Aethaeryn [~Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #wesnoth-dev 20110523 04:04:27-!- Ivanovic_ [~ivanovic@dtmd-4db233f6.pool.mediaWays.net] has joined #wesnoth-dev 20110523 04:04:32-!- Ivanovic_ [~ivanovic@dtmd-4db233f6.pool.mediaWays.net] has quit [Changing host] 20110523 04:04:32-!- Ivanovic_ [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20110523 04:08:22-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 248 seconds] 20110523 04:08:28-!- Ivanovic_ is now known as Ivanovic 20110523 04:19:25< Espreon> Oh noez... warnings: http://pastebin.com/cpR8Zf1z 20110523 04:19:38< Espreon> mordante: ^ perhaps you could deal with these? 20110523 04:23:11-!- Elvish_Pillager [~eli@71-10-224-192.dhcp.oxfr.ma.charter.com] has quit [Ping timeout: 240 seconds] 20110523 04:25:50< cjhopman> http://www.youtube.com/watch?v=Pl6Pkp2By8I 20110523 04:31:47< Espreon> Well, 'tis about time. 20110523 04:38:37< Espreon> cjhopman: Looks cool. 20110523 04:46:56-!- jiero [~jie@115-64-43-246.static.tpgi.com.au] has quit [Ping timeout: 240 seconds] 20110523 05:00:25-!- Valkier [~Valkier@c-174-55-104-2.hsd1.pa.comcast.net] has joined #wesnoth-dev 20110523 05:04:12-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110523 05:17:53-!- Alarantalara [~alarantal@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has left #wesnoth-dev [] 20110523 05:32:42-!- vcap [~vcap@AReims-551-1-126-148.w82-127.abo.wanadoo.fr] has quit [Ping timeout: 240 seconds] 20110523 05:43:48-!- jiero [~jie@115-64-43-246.static.tpgi.com.au] has joined #wesnoth-dev 20110523 05:46:46-!- monochromatic [~monochrom@pool-173-59-70-31.phlapa.east.verizon.net] has quit [Quit: I go sleeps byez.] 20110523 06:03:56-!- mjs-de [~mjs-de@e182039021.adsl.alicedsl.de] has quit [Remote host closed the connection] 20110523 06:05:37-!- mjs-de [~mjs-de@e182039021.adsl.alicedsl.de] has joined #wesnoth-dev 20110523 06:13:16-!- Gambit [~Gambit@wesnoth/developer/grickit] has quit [Remote host closed the connection] 20110523 06:29:41-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20110523 07:22:58-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Quit: Leaving.] 20110523 07:38:21-!- jiero [~jie@115-64-43-246.static.tpgi.com.au] has quit [Quit: Leaving.] 20110523 07:49:59-!- Octalot [~noct@host109-158-185-215.range109-158.btcentralplus.com] has quit [Remote host closed the connection] 20110523 07:57:35-!- Aethaeryn [~Michael@wesnoth/umc-dev/developer/aethaeryn] has quit [Quit: ...] 20110523 08:02:20-!- Cookiee [~quassel@unaffiliated/cookiee] has joined #wesnoth-dev 20110523 08:04:01-!- ancestral [~ancestral@71-34-10-19.mpls.qwest.net] has quit [Quit: i go sleeps kthxbai] 20110523 08:05:18-!- fendrin [~fabi@88-134-62-217-dynip.superkabel.de] has quit [Remote host closed the connection] 20110523 08:41:05-!- jiero [~jie@corner6.lnk.telstra.net] has joined #wesnoth-dev 20110523 08:41:40-!- zookeeper [~l@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20110523 08:44:37-!- Valkier [~Valkier@c-174-55-104-2.hsd1.pa.comcast.net] has quit [Quit: Valkier] 20110523 09:03:40-!- noy [~Noy@wesnoth/developer/noy] has quit [Read error: Operation timed out] 20110523 09:08:58-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110523 09:16:20-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has quit [Quit: crimson_penguin] 20110523 09:39:08-!- noy_ [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110523 09:41:19-!- noy [~Noy@wesnoth/developer/noy] has quit [Read error: Operation timed out] 20110523 09:41:19-!- noy_ is now known as noy 20110523 09:48:23< Ivanovic> moin 20110523 09:57:58-!- eleazzaar_ [~jbjerk@ppp-70-226-200-254.dsl.spfdil.ameritech.net] has joined #wesnoth-dev 20110523 09:57:58-!- eleazzaar [~jbjerk@ppp-70-226-200-254.dsl.spfdil.ameritech.net] has quit [Read error: Connection reset by peer] 20110523 09:57:58-!- eleazzaar_ is now known as eleazzaar 20110523 10:02:55-!- MeccaGod [~majs@h14n4fls31o279.telia.com] has joined #wesnoth-dev 20110523 10:29:08-!- markus__ [~mjs-de@e182035041.adsl.alicedsl.de] has joined #wesnoth-dev 20110523 10:32:43-!- mjs-de [~mjs-de@e182039021.adsl.alicedsl.de] has quit [Ping timeout: 246 seconds] 20110523 10:40:17-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20110523 10:55:54-!- markus__ is now known as mjs-de 20110523 10:58:56-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20110523 10:59:28-!- loonycyborg [~sergey@46.138.69.145] has joined #wesnoth-dev 20110523 10:59:30-!- loonycyborg [~sergey@46.138.69.145] has quit [Changing host] 20110523 10:59:30-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has joined #wesnoth-dev 20110523 11:13:44-!- Nephro [~Dmitry@80.233.231.12] has joined #wesnoth-dev 20110523 11:13:58-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20110523 11:55:48-!- Cookiee [~quassel@unaffiliated/cookiee] has quit [Ping timeout: 258 seconds] 20110523 12:05:24-!- Crendgrim [~crend@77-22-173-219-dynip.superkabel.de] has joined #wesnoth-dev 20110523 12:05:52-!- MeccaGod [~majs@h14n4fls31o279.telia.com] has quit [] 20110523 12:16:06-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110523 12:17:29< Nephro> hello, timotei 20110523 12:17:40< Nephro> have you received your welcome package already? 20110523 12:22:16< timotei> hi Nephro 20110523 12:22:25< timotei> no, and others from my country neither 20110523 12:22:26< timotei> why? 20110523 12:23:06< timotei> Nephro: 27May is the "deadline", so I'll wait 20110523 12:23:13< timotei> even if it will be a bit late, I'll wait 20110523 12:23:18< timotei> since nothing bad can happen :P 20110523 12:34:37-!- Cookiee [~quassel@unaffiliated/cookiee] has joined #wesnoth-dev 20110523 12:41:38-!- EdB [~edb@89.82.194.231] has joined #wesnoth-dev 20110523 12:49:10< Crendgrim> timotei: hi! how does your eclipse plugin call campaigns directly? 20110523 12:49:23< Crendgrim> I don't get wesnoth's command line help :/ 20110523 12:50:01< timotei> :P 20110523 12:50:03< timotei> well 20110523 12:50:06< timotei> let me think 20110523 12:50:14< timotei> I think the command line must be in the logs 20110523 12:50:23< timotei> (I log every external app I call) 20110523 12:50:29< timotei> but IIRC it's something like: 20110523 12:50:37< timotei> wesnoth -c 20110523 12:51:16-!- hopman- [~chris@c-71-202-164-232.hsd1.ca.comcast.net] has joined #wesnoth-dev 20110523 12:52:02< Crendgrim> "wesnoth1.9.6 -c Two_Brothers 01_Rooting_out_a_Mage" lets him select "01_Rooting_out_a_Mage" as datadir .. :( 20110523 12:52:11< timotei> oh 20110523 12:52:12< timotei> yes 20110523 12:52:12< timotei> :D 20110523 12:52:14-!- cjhopman [~chris@wesnoth/developer/cjhopman] has quit [Ping timeout: 276 seconds] 20110523 12:52:15< timotei> you need: 20110523 12:52:22< timotei> wesnoth1.9.6 -c Two_Brothers 01_Rooting_out_a_Mage . 20110523 12:52:25< Crendgrim> I also understood it this way from the comman line help 20110523 12:52:26< timotei> (note the . in the end) 20110523 12:52:36< timotei> hm 20110523 12:52:44< Crendgrim> no... 20110523 12:52:45< timotei> I should specify that you need to supply the data dir aswell 20110523 12:52:52< Crendgrim> I don't need the . but the path to my datadir 20110523 12:52:54< timotei> yes 20110523 12:52:55< timotei> :P 20110523 12:53:19< timotei> I assumed that wesnoth and data are in the same directory 20110523 12:54:07< Crendgrim> and that's not if you create a bash script which calls the proper version ... :x 20110523 12:55:05< timotei> >) 20110523 12:55:05< timotei> :) 20110523 12:55:10< Crendgrim> okay, thanks :) 20110523 12:55:11< timotei> did it work?:P 20110523 12:55:17< Crendgrim> yes 20110523 12:55:21< timotei> good 20110523 12:55:59-!- Johannes13 [~Johannes@p5DF74E0F.dip.t-dialin.net] has joined #wesnoth-dev 20110523 12:55:59-!- Johannes13 [~Johannes@p5DF74E0F.dip.t-dialin.net] has quit [Changing host] 20110523 12:55:59-!- Johannes13 [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20110523 12:56:00< Crendgrim> so Wesnoth takes the last argument which it cannot understand as datadir? 20110523 12:56:16< timotei> nope 20110523 12:56:19< timotei> I mean 20110523 12:56:45< timotei> from the source code: // we don't know if the next argument is from --campaign 20110523 12:56:45< timotei> // or for setting the data directory, so we assume is the latter 20110523 12:57:03< timotei> since you can start -c too 20110523 12:57:09< timotei> or -c 20110523 12:58:22< timotei> I'll update 20110523 12:58:30< timotei> the.. help:) 20110523 13:02:07-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Read error: Connection reset by peer] 20110523 13:04:05-!- timotei [~timotei@193.34.190.70] has joined #wesnoth-dev 20110523 13:04:05-!- timotei [~timotei@193.34.190.70] has quit [Changing host] 20110523 13:04:05-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110523 13:08:43-!- EdB [~edb@89.82.194.231] has quit [Remote host closed the connection] 20110523 13:09:59-!- hopman- [~chris@c-71-202-164-232.hsd1.ca.comcast.net] has quit [Ping timeout: 260 seconds] 20110523 13:12:28-!- vcap [~vcap@AReims-551-1-21-213.w90-58.abo.wanadoo.fr] has joined #wesnoth-dev 20110523 13:18:49< Nephro> timotei, just wondering. Still haven't got it yet. 20110523 13:47:44-!- jiero [~jie@corner6.lnk.telstra.net] has quit [Ping timeout: 244 seconds] 20110523 13:54:39-!- timotei21 [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110523 13:57:59-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Ping timeout: 240 seconds] 20110523 13:59:07< CIA-94> loonycyborg * r49635 /trunk/src/ (tod_manager.cpp tod_manager.hpp): Fixed compile warnings. 20110523 14:14:55-!- atomicbomb [7da7c492@gateway/web/freenode/ip.125.167.196.146] has joined #wesnoth-dev 20110523 14:18:07-!- MeccaGod [~majs@h14n4fls31o279.telia.com] has joined #wesnoth-dev 20110523 14:28:57-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110523 14:30:14-!- timotei-temp [~timotei@193.34.190.70] has joined #wesnoth-dev 20110523 14:32:32-!- timotei21 [~timotei@wesnoth/developer/timotei] has quit [Ping timeout: 276 seconds] 20110523 14:32:36-!- timotei21 [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110523 14:33:47-!- Gambit [~Gambit@wesnoth/developer/grickit] has joined #wesnoth-dev 20110523 14:33:59-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Ping timeout: 248 seconds] 20110523 14:35:36-!- timotei-temp [~timotei@193.34.190.70] has quit [Ping timeout: 255 seconds] 20110523 14:41:24-!- Cookiee [~quassel@unaffiliated/cookiee] has quit [Ping timeout: 258 seconds] 20110523 14:43:42-!- timotei21 [~timotei@wesnoth/developer/timotei] has quit [Read error: Connection reset by peer] 20110523 14:44:32-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110523 14:45:09-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Read error: Connection reset by peer] 20110523 14:46:14-!- Elvish_Pillager [~eli@71-10-224-192.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20110523 14:47:02-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110523 14:47:38-!- timotei21 [~timotei@193.34.190.70] has joined #wesnoth-dev 20110523 14:47:38-!- timotei21 [~timotei@193.34.190.70] has quit [Changing host] 20110523 14:47:38-!- timotei21 [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110523 14:48:43-!- timotei21 [~timotei@wesnoth/developer/timotei] has quit [Read error: Connection reset by peer] 20110523 14:49:13-!- timotei21 [~timotei@193.34.190.70] has joined #wesnoth-dev 20110523 14:49:13-!- timotei21 [~timotei@193.34.190.70] has quit [Changing host] 20110523 14:49:13-!- timotei21 [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110523 14:51:07-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Ping timeout: 240 seconds] 20110523 14:54:13-!- {V} [~v@15-66-ftth.onsneteindhoven.nl] has quit [Ping timeout: 240 seconds] 20110523 15:05:27-!- jiero [~jie@115-64-43-246.static.tpgi.com.au] has joined #wesnoth-dev 20110523 15:10:23-!- covale [~covale@h55eb1ca0.selukra.dyn.perspektivbredband.net] has joined #wesnoth-dev 20110523 15:12:13< Crendgrim> timotei21: are you around? 20110523 15:12:18< timotei21> Crendgrim: yeah 20110523 15:13:07< Crendgrim> timotei21: just a quick note on the Wiki: It already displays automatically at the page's bottom when it was last changed 20110523 15:14:07< timotei21> Crendgrim: oh. yeah. 20110523 15:14:07< timotei21> :P 20110523 15:14:09< timotei21> forgot 20110523 15:14:45< Crendgrim> just wanted to point that out.. I saw you manually adding a note on that which isn't needed ;) 20110523 15:15:56< timotei21> well, thinking about it I look in the bottom of the page too. but I guess I got used to state somewhere explicitly the last changed date xD 20110523 15:16:15< Crendgrim> timotei21: or you could use in the page itself following construct: {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}} 20110523 15:16:32< Crendgrim> IIRC, that would create sth like 2011-05-23 20110523 15:16:33< timotei21> Crendgrim: thanks! 20110523 15:16:40< Crendgrim> so you wouldn't have to change it always ;) 20110523 15:16:44< Crendgrim> you're welcome 20110523 15:17:15< timotei21> :| spamers are still on the wiki 20110523 15:17:16< timotei21> gahhhh 20110523 15:17:35< Crendgrim> yes 20110523 15:17:45-!- Crab_ [~Crab@wesnoth/developer/crab] has joined #wesnoth-dev 20110523 15:18:45< timotei21> Crendgrim: at least they don't modify existing pages... 20110523 15:18:46< Crab_> hi, Nephro 20110523 15:18:48< Crendgrim> timotei21: I deleted 8 spam pages only yesterday 20110523 15:18:55< timotei21> lol yeah 20110523 15:18:56< Crendgrim> timotei21: all changes can be reverted ;) 20110523 15:19:16< timotei21> hmm, maybe a 'trusted-user' system should be implemented? 20110523 15:19:19< timotei21> or things like: 20110523 15:19:22< timotei21> first 2 posts 20110523 15:19:24< timotei21> are moderated 20110523 15:19:27< timotei21> :-? 20110523 15:19:44< timotei21> since, afais they post just 2 spam page 20110523 15:21:48-!- Alarantalara [~alarantal@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has joined #wesnoth-dev 20110523 15:21:56< Crendgrim> 1 20110523 15:21:58< Crendgrim> only one 20110523 15:22:08< Crendgrim> either that or some sort of improved register system 20110523 15:22:34< Crendgrim> I missed monochromatic yesterday.. I wanted to discuss with him about that 20110523 15:22:53< timotei21> catch with solving integrals or differential equations? xD 20110523 15:23:11< timotei21> captcha& 20110523 15:23:51< Crendgrim> :D 20110523 15:23:57< atomicbomb> :O so we must learn math first to get access 20110523 15:23:58< Alarantalara> math is too easy for computer 20110523 15:24:13< Alarantalara> success would be proof you're a computer 20110523 15:24:23< Crendgrim> that's also an idea.. 20110523 15:24:43< Crendgrim> to create questions only bots can solve and only let users in who *don't* solve it :p 20110523 15:24:45< timotei21> atomicbomb: nope. 20110523 15:24:53< timotei21> atomicbomb: use wolframalpha.com 20110523 15:24:54< timotei21> :)) 20110523 15:24:57 * atomicbomb got A+ in last math test 20110523 15:24:57< timotei21> but yeahz 20110523 15:25:08< Crendgrim> no, I think, it's enough to create a pool of a few random questions 20110523 15:25:10< timotei21> adding the first 1 or 2 posts in the moderation queu would be better 20110523 15:25:18< Crendgrim> should confuse enough bots for the start 20110523 15:25:31< atomicbomb> like "How does sugar tastes" ? 20110523 15:25:36< Crab_> Nephro: please link to the wiki page w/ info about things that you'll expose to lua after you'll prepare it. it's totally ok if the page is incomplete, I'll help to fill it out. 20110523 15:25:37< timotei21> I mean, you could check the moderation queue 2 times a day 20110523 15:25:48< timotei21> and then you'll just batch delete&ignore :D 20110523 15:25:58< timotei21> I'd like to do that, but I don't have enough time atm :( 20110523 15:26:28< Crendgrim> timotei21: if such an add-on already exist.. I'm too lazy to write it :p 20110523 15:27:13< Crendgrim> eh... there's another problem with the wiki 20110523 15:27:30-!- timotei-temp [~timotei@193.34.190.70] has joined #wesnoth-dev 20110523 15:27:54-!- timotei-temp is now known as timotei 20110523 15:27:59-!- timotei [~timotei@193.34.190.70] has quit [Changing host] 20110523 15:28:00-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110523 15:28:06< Crendgrim> http://wiki.wesnoth.org/Special:Version < somebody installed the add-on "DynamicPageList (Version 1.8.9)" which is (as said on its mediawiki page) known to create security issues... 20110523 15:28:09< Crendgrim> Crab_: ^ 20110523 15:28:09< timotei> grrrr, why I'm getting disconnected so much :( 20110523 15:28:19< Crendgrim> is it possible to remove that? :/ Or what is that used for? 20110523 15:28:27< timotei> I don't think the DPL is a problem for the bots :P 20110523 15:28:30< timotei> and DPL is awesome 20110523 15:28:35< timotei> too awesome to get rid of it 20110523 15:28:40< Crendgrim> there are two DPLs installed.. 20110523 15:29:07< Crendgrim> http://www.mediawiki.org/wiki/Extension:DynamicPageList_%28third-party%29 20110523 15:29:21< Crendgrim> that's one of them. Sounds .. not that great :/ 20110523 15:30:12< Crab_> Crendgrim: yes. a proper solution would be to lock down its usage to those several gsoc-related pages where we need it 20110523 15:30:42< Crendgrim> okay, so it's needed? 20110523 15:31:13< Crendgrim> hm.. 20110523 15:31:15-!- timotei21 [~timotei@wesnoth/developer/timotei] has quit [Ping timeout: 252 seconds] 20110523 15:34:42< Crab_> Crendgrim: yes, for gsoc page lists. 20110523 15:35:14< Crab_> Crendgrim: very useful during gsoc application period. and you're right that we should pay more attention to the accompanying issues. 20110523 15:35:21< Crab_> (not useful atm, of course) 20110523 15:35:52< Crendgrim> the best solution would be to find something more secure... 20110523 15:37:27-!- Crab_ [~Crab@wesnoth/developer/crab] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] 20110523 15:37:38-!- negusnyul [~negusnyul@dsl4E5CCA87.pool.t-online.hu] has joined #wesnoth-dev 20110523 15:59:21-!- atomicbomb [7da7c492@gateway/web/freenode/ip.125.167.196.146] has quit [Quit: sleeeeeep] 20110523 16:03:49-!- eleazzaar [~jbjerk@ppp-70-226-200-254.dsl.spfdil.ameritech.net] has quit [Read error: Connection reset by peer] 20110523 16:04:56-!- bodom [~quassel@2001:470:1f0b:ac0::2] has joined #wesnoth-dev 20110523 16:20:26-!- Crab_ [~Crab@wesnoth/developer/crab] has joined #wesnoth-dev 20110523 16:29:21-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Read error: Connection reset by peer] 20110523 16:30:13-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110523 16:32:08-!- timotei21 [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110523 16:35:39-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Ping timeout: 240 seconds] 20110523 16:37:19-!- {V} [~v@15-66-ftth.onsneteindhoven.nl] has joined #wesnoth-dev 20110523 16:40:31-!- mjs-de [~mjs-de@e182035041.adsl.alicedsl.de] has quit [Remote host closed the connection] 20110523 16:41:12-!- fendrin [~fabi@88-134-62-217-dynip.superkabel.de] has joined #wesnoth-dev 20110523 16:41:21< fendrin> hi 20110523 16:42:02-!- mjs-de [~mjs-de@e182035041.adsl.alicedsl.de] has joined #wesnoth-dev 20110523 16:48:43-!- bodom [~quassel@2001:470:1f0b:ac0::2] has quit [Read error: Connection reset by peer] 20110523 16:56:33< timotei21> hi fendrin 20110523 16:56:33< timotei21> :) 20110523 17:00:53-!- Crab_ [~Crab@wesnoth/developer/crab] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] 20110523 17:00:55< fendrin> hi timotei21 20110523 17:05:24-!- timotei21 is now known as timotei 20110523 17:13:15-!- jiero [~jie@115-64-43-246.static.tpgi.com.au] has quit [Quit: Leaving.] 20110523 17:26:06-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110523 17:27:57-!- JonJon [5ae80d09@gateway/web/freenode/ip.90.232.13.9] has joined #wesnoth-dev 20110523 17:28:46< JonJon> Tigge: Där? 20110523 17:29:46< JonJon> Wesbot: seen dacovale 20110523 17:29:46< wesbot> JonJon: The person with the nick dacovale last spoke 6d 6h ago. 5d 17h ago was here and on the channel #wesnoth with the message: Quit: Ex-Chat 20110523 17:30:45< JonJon> Wesbot: seen covale 20110523 17:30:45< wesbot> JonJon: Queried user covale is currently here and on the channel #wesnoth. 20110523 17:32:24< JonJon> covale: You don't happen to be Dacovale do you? 20110523 17:37:48-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20110523 17:39:32-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Ping timeout: 276 seconds] 20110523 17:40:41-!- stikonas [~and@bcm-131-111-216-209.girton.cam.ac.uk] has joined #wesnoth-dev 20110523 17:40:41-!- stikonas [~and@bcm-131-111-216-209.girton.cam.ac.uk] has quit [Changing host] 20110523 17:40:41-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20110523 17:41:55-!- JonJon [5ae80d09@gateway/web/freenode/ip.90.232.13.9] has quit [Quit: Page closed] 20110523 17:42:44-!- anonymissimus [~chatzilla@HSI-KBW-095-208-006-134.hsi5.kabel-badenwuerttemberg.de] has joined #wesnoth-dev 20110523 17:45:00< anonymissimus> loonycyborg: what was the wording of the compiler warning you got there ? Also, where and how do you get the g++ compiler (and linker) you're using for the windows releases ? It seems that I could have quite some additional warnings with a newer version or something 20110523 17:46:16< loonycyborg> anonymissimus: http://tdm-gcc.tdragon.net/download 20110523 17:46:38< loonycyborg> I switched to it recently because I needed openmp support. 20110523 17:47:02< loonycyborg> http://nuwen.net/mingw.html used this one before that. 20110523 17:47:46< loonycyborg> anonymissimus: The warning was about gcc not liking const qualifier in return values. 20110523 17:48:11< loonycyborg> The exact wording was in russian :P 20110523 17:48:28-!- dansan [~daniel@99-70-244-137.lightspeed.rcsntx.sbcglobal.net] has quit [Remote host closed the connection] 20110523 17:49:37< loonycyborg> That is if you have const int foo() then it considers const redundant. 20110523 17:58:14-!- eleazzaar [~jbjerk@ppp-70-226-200-254.dsl.spfdil.ameritech.net] has joined #wesnoth-dev 20110523 18:17:42-!- melinath [~anonymous@ip-168-50.main.oberlin.edu] has joined #wesnoth-dev 20110523 18:23:05-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20110523 18:24:52-!- Gallaecio [~quassel@88.103.82.122] has joined #wesnoth-dev 20110523 18:36:43< timotei> loonycyborg: why redudant? 20110523 18:36:50-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110523 18:37:08< timotei> but const int& is *not* redundant, right? 20110523 18:37:19< loonycyborg> Indeed. 20110523 18:37:43< loonycyborg> It warns only on by-value return. 20110523 18:37:56-!- Vorpal [~AnMaster@unaffiliated/anmaster] has joined #wesnoth-dev 20110523 18:38:10< timotei> ok 20110523 18:39:25-!- vultraz [~chatzilla@124.109.10.222] has quit [Quit: Going to be gone for about a month...see ya everyone! :D] 20110523 18:44:47< anonymissimus> however, int& has the same size as int so using int& doesnt get you anything ? 20110523 18:45:17< timotei> anonymissimus: returning a temporary variable as reference is an error 20110523 18:45:34< timotei> so: int& get() { int a; return a; } 20110523 18:45:36< timotei> is bad 20110523 18:45:42< anonymissimus> yes 20110523 18:45:43< timotei> since a will get out of scope 20110523 18:47:23-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20110523 18:47:52< boucman> hey all 20110523 18:48:26< timotei> hi boucman 20110523 19:03:00< Crendgrim> wesbot: seen monochromatic 20110523 19:03:00< wesbot> Crendgrim: The person with the nick monochromatic last spoke 19h 29m ago. 13h 16m ago was here and on the channels #wesnoth and #wesnoth-umc-dev with the message: Quit: I go sleeps byez. 20110523 19:09:04-!- zaroth [~zaroth@wesnoth/developer/zaroth] has joined #wesnoth-dev 20110523 19:15:03-!- mjs-de [~mjs-de@e182035041.adsl.alicedsl.de] has quit [Remote host closed the connection] 20110523 19:27:24< anonymissimus> loonycyborg: could you paste some resulting command line you use ? 20110523 19:29:52< loonycyborg> What for? 20110523 19:30:10< loonycyborg> That is which command line? 20110523 19:31:12-!- knotwork [~markm@unaffiliated/knotwork] has quit [Read error: Connection reset by peer] 20110523 19:32:51< anonymissimus> hm, I don't quite know, aren't you typing a cmake command or something ? and I guess it's neccessary to compile dependencies first ? (feeling foolish...) 20110523 19:33:19-!- knotwork [~markm@142.177.234.23] has joined #wesnoth-dev 20110523 19:33:19-!- knotwork [~markm@142.177.234.23] has quit [Changing host] 20110523 19:33:19-!- knotwork [~markm@unaffiliated/knotwork] has joined #wesnoth-dev 20110523 19:33:31< loonycyborg> No. I'm using scons. And dependencies are indeed hard to get. 20110523 19:36:22< boucman> so, zaroth, could you pastebin what you have so far, so I can see what's going on ? 20110523 19:36:49< timotei> boucman: wouldn't there be better to have a separate branch?:D 20110523 19:36:55< timotei> that would help both you and zaroth 20110523 19:37:20< boucman> timotei: we are not sure yet how to handle it, but that's an option. or tonight, pastebin will have to do 20110523 19:37:48< timotei> boucman: well, I think it's the most easy and non-instrusive way of doing this :D 20110523 19:37:52< zaroth> boucman: well, I can commit the foundation, since it's already commited and it's just empty files 20110523 19:38:07< zaroth> (it's commited in git) 20110523 19:38:36< zaroth> I should probably squash the commits into one, since I did it incrementally to see how things work out 20110523 19:38:40< boucman> zaroth: (just so I understand) is tha foundation in its own branch ? 20110523 19:39:33< boucman> zaroth: not sure it's a good idea, esp if the commits are functionnally separated. it helps us reading and helps dychotomize any problems 20110523 19:40:43< anonymissimus> loonycyborg: ok then, without some in-depth IRC session (which I don't want to bother you with), or some guide/tutorial about it for me to follow this is completely illusory for me, sad to say :( 20110523 19:41:12< boucman> ( zaroth: that last line was about squashing, you commit if you think it's fine) 20110523 19:41:40< loonycyborg> anonymissimus: Just get a linux in a virtual machine. Warning are the same. 20110523 19:42:02< loonycyborg> *Warnings 20110523 19:42:19< anonymissimus> been basically using this thread so far http://forums.wesnoth.org/viewtopic.php?f=5&t=18877 which is such a guide (and it's still always hard) 20110523 19:47:46-!- Valkier [~Valkier@c-174-55-104-2.hsd1.pa.comcast.net] has joined #wesnoth-dev 20110523 19:50:01-!- mjs-de [~mjs-de@wh.Uni-Dortmund.DE] has joined #wesnoth-dev 20110523 19:52:30< CIA-94> zaroth * r49636 /trunk/src/ (game.cpp game_config.cpp game_config.hpp): added commandline option --new-syntax 20110523 19:52:33< CIA-94> zaroth * r49637 /trunk/src/ (5 files): 20110523 19:52:33< CIA-94> Added a new game_instance class, which is supposed to hold state of game 20110523 19:52:33< CIA-94> in the new campaign system. 20110523 19:53:14-!- Valkier [~Valkier@c-174-55-104-2.hsd1.pa.comcast.net] has quit [Quit: Valkier] 20110523 19:53:21< boucman> zaroth: thx 20110523 19:54:22< boucman> zaroth: quick first comment, you might want to add a man page entry at some point, or Ivanovic is going to complain :P 20110523 19:54:35< zaroth> load_game_cfg() is the function I'd like to have moved in game_instance.cpp 20110523 19:54:37< Ivanovic> what can i complain about? 20110523 19:54:41< Ivanovic> ^^ 20110523 19:55:06< zaroth> but... it's so intertwined in game.cpp 20110523 19:55:27< zaroth> that right now I kind of gave up on the idea and thought of game_instance calling game.cpp to call this function... 20110523 19:55:45< boucman> hmm 20110523 19:55:46< zaroth> this loads the whole game_config, which is used in a lot of things... 20110523 19:56:24< zaroth> btw, we have manpages? 20110523 19:56:32< zaroth> never noticed any 20110523 19:57:20< boucman> ok, so, how to attack this huge problem... 20110523 19:59:11< zaroth> I had another idea 20110523 19:59:27< zaroth> but not fully fleshed at this point 20110523 19:59:45< boucman> do tell... 20110523 20:00:22< zaroth> to somehow keep the load_game_cfg in game.cpp (it's *very* deeply rooted), but allow a convenience function, some kind of load_on_top_of_that(dirname) 20110523 20:00:43< zaroth> and keep this convenience function in game.cpp as well 20110523 20:01:20< zaroth> however, the problem is how to determine path of the thingy we want to reload 20110523 20:01:36< timotei> zaroth: it's in doc/man/wesnoth.6 20110523 20:01:46< timotei> Ivanovic: ^ Why it has the "6" extension? 20110523 20:02:12< zaroth> timotei: http://en.wikipedia.org/wiki/Man_page#Manual_sections 20110523 20:03:00< zaroth> I think it's because Wesnoth is either a game or a screensaver, not sure which, though ;-) 20110523 20:03:15< timotei> zaroth: oh. :)) 20110523 20:03:18< timotei> zaroth: thanks 20110523 20:04:03-!- Valkier [~Valkier@c-174-55-104-2.hsd1.pa.comcast.net] has joined #wesnoth-dev 20110523 20:04:35< anonymissimus> hey, someone on the forums seems to have succeeded in compilation with MSVC 2010 20110523 20:04:49< anonymissimus> thats quite remarkable 20110523 20:05:04< boucman> zaroth: just to be clear, because once again i'm a bit confused... 20110523 20:05:47< boucman> what we are trying to move out of game.cpp is the automaton that controls everything that happens before the game is started... 20110523 20:06:18< boucman> so we want to have a class that contain both the automaton and all the data needed to handle that automaton 20110523 20:06:18< zaroth> well, the function is what is called in current campaign code 20110523 20:06:21< boucman> am I right ? 20110523 20:06:28< zaroth> to reload the whole wesnoth data with new defines 20110523 20:07:04< timotei> anonymissimus: is not that hard :P 20110523 20:07:17< timotei> anonymissimus: but compiling with MSVC2010 is stupid (somehow) 20110523 20:07:41< anonymissimus> timotei: why ? 20110523 20:07:55< boucman> yes, load_game_cfg loads the scenario, but it's not the automaton itself, it's just a small (though important) part that is shared by multiple codepath, we might want to move it in its own class, that would make sense, but it's not strictly speaking part of the automaton itself... 20110523 20:08:06< anonymissimus> I found it to be exceptionally hard when I tried 20110523 20:08:11< zaroth> so to achieve this in a separate class, we either: 1. add a new function that allows reparsing selected parts (tricky to implement) 2. allow back-calling game.cpp by game_instance.cpp (breaks encapsulation) 3. move the load_game_cfg() and friends to game_instance.cpp, making the game.cpp really slim then 20110523 20:08:46< timotei> anonymissimus: a... IIRC I had trouble just with the boost libs 20110523 20:08:56< timotei> until found: http://www.boostpro.com/download/ 20110523 20:08:57< timotei> xD 20110523 20:08:59< timotei> anonymissimus: ^ 20110523 20:10:27< boucman> zaroth: or add a whole bunch of params to load_game_cfg to give it all the data its needing... 20110523 20:10:58< zaroth> that's kind of flavored 1., but yeah ;-) 20110523 20:11:32< boucman> zaroth: my gut feeling is that load_game_cfg has encapsulation problems, i.e it's not cut at the right place... 20110523 20:11:59< zaroth> it'd be good to have the game_config in a nice, separate place 20110523 20:12:02< boucman> by doing that you have a good first step, the second step is to look at all these params and move some things back to game.cfg 20110523 20:12:06< anonymissimus> timotei: aha...yes the problem for me was the linking with boost libraries too IIRC 20110523 20:12:12< zaroth> since maybe eras would like to have their own defines as well 20110523 20:12:25< zaroth> not just campaign 20110523 20:12:41< boucman> for instance load_game_cfg should have a "bool with_debug" param, instead of looking directly to the game_config 20110523 20:14:09< anonymissimus> now Sapient will finally manage it i hope ;) 20110523 20:14:59< anonymissimus> last summer he talked about setting up an MSVC 2010 build environemnt, but apparently he didnt have the time since then :P 20110523 20:15:27< boucman> old_defines_ otoh could probably be hidden in the class handling the cfg parsing... 20110523 20:16:09< timotei> anonymissimus: well, not we have to manage 2 MSVC builds :( 20110523 20:16:12< timotei> aaa 20110523 20:16:13< timotei> I remember 20110523 20:16:17< timotei> the .vcxproj files sucked 20110523 20:16:28< timotei> (the VS10 project files) 20110523 20:16:40< timotei> I don't know why MS gives and "x" to new stuff :)) 20110523 20:17:21< boucman> zaroth: could you give me a quick overview of what you needed to "pull along" with load_game_cfg ? it doesn't seems too bad at first sight... 20110523 20:19:54< zaroth> boucman: // Extract the Lua scripts at toplevel. 20110523 20:20:01< zaroth> lua.hpp isn't too bad? 20110523 20:20:10 * zaroth is afraid of lua ;-) 20110523 20:20:23-!- hopman- [~chris@c-71-202-164-232.hsd1.ca.comcast.net] has joined #wesnoth-dev 20110523 20:20:58< zaroth> but well, if game.cpp is to be cleaned of anything but thingies necessary to the game loop, that may be a logical step... 20110523 20:21:29< boucman> zaroth: you'll have to break encapsulation at some point, as an intermediate step, so i'm not too worried about that. 20110523 20:21:29-!- fendrin [~fabi@88-134-62-217-dynip.superkabel.de] has quit [Remote host closed the connection] 20110523 20:21:39< boucman> the important part is to be clear where you want to go 20110523 20:22:08-!- deekay [~dk@wesnoth/developer/dragonking] has joined #wesnoth-dev 20110523 20:22:34< boucman> could you explain how you envision the separation between game.cpp and game_instance.cpp ? 20110523 20:23:09< zaroth> I'm not sure yet myself, it'd be nice to have a clear list of game.cpp and play*.cpp responsibilities 20110523 20:23:21< zaroth> to aid with this decision 20110523 20:23:33< zaroth> I'll prepare that 20110523 20:24:10< zaroth> because as you say, having a target (and not a moving one) is important... 20110523 20:24:14-!- mordante [~mordante@roadie.xs4all.nl] has joined #wesnoth-dev 20110523 20:24:14-!- mordante [~mordante@roadie.xs4all.nl] has quit [Changing host] 20110523 20:24:14-!- mordante [~mordante@wesnoth/developer/mordante] has joined #wesnoth-dev 20110523 20:24:30< mordante> servus 20110523 20:24:34< zaroth> servus mordante 20110523 20:25:07< boucman> zaroth: ok, that sounds like an important first step, if Crab_ is around i'd like to discuss it with him too, 20110523 20:26:01-!- eleazzaar [~jbjerk@ppp-70-226-200-254.dsl.spfdil.ameritech.net] has quit [Ping timeout: 240 seconds] 20110523 20:26:29< mordante> servus zaroth 20110523 20:26:31< zaroth> boucman: when I have the list ready, where should I post it ? topic in developer's discussion on forum, wesnoth-dev ml, trunk/doc/design/ in svn, somewhere else? 20110523 20:26:40< mordante> Espreon, seems loonycyborg already committed a fix 20110523 20:27:02< boucman> mail it to the dev ml, so me, crab, and whoever is interested (fendrin mainly) can pitch in 20110523 20:27:15< zaroth> alright 20110523 20:29:30-!- Alarantalara [~alarantal@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has left #wesnoth-dev [] 20110523 20:32:53-!- eleazzaar [~jbjerk@ppp-70-226-200-254.dsl.spfdil.ameritech.net] has joined #wesnoth-dev 20110523 20:35:01-!- Crendgrim [~crend@77-22-173-219-dynip.superkabel.de] has quit [Remote host closed the connection] 20110523 20:47:55< zaroth> boucman: btw, if the move is done, what about thingies like game.game_config().child("titlescreen_music"); in game.cpp? 20110523 20:48:21< zaroth> the separation between "game" and "game_instance" config should be made 20110523 20:49:00< zaroth> the "game" config containing only actual configy things, like "debug" or "no_sound" 20110523 20:49:14< zaroth> and not gameplay things 20110523 20:49:47< boucman> as a next step ? 20110523 20:49:54< boucman> sounds good 20110523 20:50:11< zaroth> it actually has to be done prior to moving 20110523 20:50:52< zaroth> since we can't move the whole game_config:: to game_instance which doesn't exist at the start of wesnoth 20110523 20:50:58< zaroth> because we won't be able to access it 20110523 20:51:09< zaroth> and choose the proper titlescreen song for example 20110523 20:51:45< boucman> ok, make sense, 20110523 20:51:45< zaroth> but well, I'll try to describe it more in my 20110523 20:51:48< zaroth> e-mail 20110523 20:51:53< boucman> if it can be done first 20110523 20:53:11< zaroth> if done right, this should be really invisible... and when we have load_game_cfg split into load_game_cfg and load_game_inst_cfg, the whole moving thing actually becomes easy :-) 20110523 20:53:14 * zaroth becomes excited 20110523 20:53:57< boucman> :) 20110523 20:56:25-!- dipseydoodle [~mwkich@70.15.235.113.res-cmts.ovr.ptd.net] has joined #wesnoth-dev 20110523 20:57:25< zaroth> data/core/editor/_main.cfg: [titlescreen_music] 20110523 20:57:28< zaroth> what 20110523 20:57:34< zaroth> what is it doing there ;-) 20110523 20:57:49< boucman> not sure I understand your question... 20110523 20:58:34< zaroth> well, I started looking into tags that aren't game_dependant, in hope that they could be easily separated from game ones 20110523 20:58:53< zaroth> and began with one that I had at hand, hoping he would lead me to a nest of them, something like preferences.cfg 20110523 20:59:42< zaroth> but.... it was in the data/core/editor instead? that kind of got me unprepared, why should it be there? 20110523 20:59:54< zaroth> and it's even out of #ifdef EDITOR guard 20110523 21:00:22< zaroth> ...why? 20110523 21:00:30< boucman> that is weird indeed... zookeeper or fendrin might have some idea why, but it sounds like a mistake to me... 20110523 21:01:10< boucman> let's check what svn blame has to say about it 20110523 21:01:26< boucman> wesbot: log 41684 20110523 21:01:28< wesbot> ilor * r41684 : Make the titlescreen play more than just the mian menu song, fixing fr / bug #15669The playlist is taken from a new [titlescreen_music] tag, which has been set to default_playlist + main menu songNote that music will always restart with the main_menu theme when going back into the titlescreen e.g. from the editor, it'd be difficult otherwise to make it always start with main_menu.ogg on startup. 20110523 21:01:33< wesbot> URL: http://svn.gna.org/viewcvs/wesnoth?view=rev&rev=41684 20110523 21:02:23< boucman> doesn't really help as to why it's in editor... 20110523 21:02:46< boucman> ok, my guess is that it's remanant from the time when editor was a separate binary 20110523 21:03:11< boucman> the main game would parse data/ to look for it's config, the editor would only parse data/editor/ 20110523 21:03:27< boucman> thus if something was common it had to be in data/editor 20110523 21:03:38< boucman> doesn't make sense nowdays, I guess... 20110523 21:04:32< zaroth> no, it definitely doesn't ;-) 20110523 21:04:55 * zaroth peeks into ~/.wesnoth/preferences curiously 20110523 21:05:27< zaroth> wesnoth doesn't have its own internal one? 20110523 21:05:51< boucman> his own internal what ? 20110523 21:06:27< zaroth> equivalent of file like ~/.wesnoth/preferences, where the title screen music would actually fit 20110523 21:07:40< boucman> that wouldn't make sense, this playlist is the list of all available musics, not something for the player to configure 20110523 21:09:36< zaroth> I didn't meant a player-editable file, like preferences 20110523 21:10:25< boucman> ok... no, default values of config are either hardcoded or spread around in _main.cfg Iguess 20110523 21:11:54< zaroth> hmmm.... 20110523 21:12:04-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20110523 21:12:26< zaroth> data/game_config.cfg:23 title_music="main_menu.ogg" 20110523 21:12:37< zaroth> I wonder which one is actually used and which is obsolete? 20110523 21:12:46< boucman> both might be usefull 20110523 21:12:56< mordante> I'm off bye 20110523 21:13:06-!- mordante [~mordante@wesnoth/developer/mordante] has quit [Quit: Leaving] 20110523 21:13:16< boucman> the list is what is allowed to be played, the value is the first one that is always played when entering the main menu 20110523 21:13:40< boucman> (if not, title_music= is the one that most probably is obsolete, a quick grep should tell you) 20110523 21:13:58< zaroth> it may be very well so 20110523 21:13:58-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110523 21:15:37-!- noy [~Noy@wesnoth/developer/noy] has quit [Client Quit] 20110523 21:20:16-!- Crab_ [~Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20110523 21:22:28-!- Crab_ [~Crab_@wesnoth/developer/crab] has quit [Client Quit] 20110523 21:24:21-!- mjs-de [~mjs-de@wh.Uni-Dortmund.DE] has quit [Ping timeout: 252 seconds] 20110523 21:30:38-!- SpoOkyMagician [~chatzilla@74-138-202-211.dhcp.insightbb.com] has joined #wesnoth-dev 20110523 21:35:42< zaroth> ... I just realized that I got confused. Hard. 20110523 21:35:53< boucman> yes ? 20110523 21:36:03< zaroth> I mistook namespace game_config:: for game_controller::game_config() 20110523 21:36:24< zaroth> and somehow merged them in my mind 20110523 21:36:26< boucman> I must admit those different config objects confuse me as well... 20110523 21:37:08< zaroth> but they're already quite separate... 20110523 21:37:29< boucman> hmm 20110523 21:37:47< boucman> i'm not sure where the semantic difference betweed game and game_controller is... 20110523 21:38:01< boucman> IIUC game_controller is the automaton, but i'm not sure that is completely correct 20110523 21:38:03< zaroth> maybe changing the name of one of them would be a good start to less confusion 20110523 21:39:01< zaroth> as I see it currently, you are right, main() calls do_gameloop() which creates one game_controller for itself and asks it about stuff 20110523 21:39:51< boucman> so, IIUC game_controller is the one you should focus on... 20110523 21:40:04< zaroth> yeah :-) 20110523 21:40:33< zaroth> (but it takes most of game.cpp anyway) 20110523 21:43:24< boucman> heh 20110523 21:43:33< boucman> well, it IS complicated :P 20110523 21:44:34< boucman> however it contains stuff that are tucked in but are not really part of the game state, so to speak... (like displaying the prefeerence window, that can be done from anywhere in game) so if you move the game_controller in its own class, and move taht stuff back to game.cpp 20110523 21:44:53< boucman> (with a game.hpp file, even if that temporarly breaks encapsulation) 20110523 21:45:01< boucman> you might clear things up a bit 20110523 21:46:40< Nephro> Crab_ : hi, I wasn't at the pc when you wrote me. I've made a first draft of the list, basically extracting context method names from contexts.hpp. I will think about the structure of the solution tomorrow. If there are any particular files or items to be exposed, please, point them to me(I'll skim through the folders myself, but I might miss something important). I've also got the source of the aspect solution, so that is on its way too. Ah, and I wil 20110523 21:46:40< Nephro> l be here tomorrow from about 9 till 17.30, with short breaks, of course. Thanks 20110523 21:47:53< Nephro> Crab_ : link to the list: http://wiki.wesnoth.org/LuaAI_Functions , as I said, that's only stuff from the contexts file(some of the functions might be there by mistake, I extracted the names using a script) 20110523 21:49:57< Nephro> Crab_ : I plan to write descriptions and usage of functions as I expose them 1 by 1, so that everything is consistent. I also plan to migrate all this to the LuaAI page on the wiki(since now it contains some very general AI stuff) and write a big beatiful example that would contain each function at least once 20110523 21:58:30-!- Valkier [~Valkier@c-174-55-104-2.hsd1.pa.comcast.net] has quit [Quit: Valkier] 20110523 21:59:18-!- deekay [~dk@wesnoth/developer/dragonking] has quit [Quit: deekay] 20110523 22:00:32-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Quit: SIGKILL] 20110523 22:02:27-!- Valkier [~Valkier@c-174-55-104-2.hsd1.pa.comcast.net] has joined #wesnoth-dev 20110523 22:02:32< CIA-94> timotei * r49638 /trunk/ (doc/man/wesnoth.6 src/game.cpp): update "-c" command line's help section 20110523 22:02:38< CIA-94> timotei * r49639 /trunk/utils/java/org.wesnoth/ (8 files in 4 dirs): 20110523 22:02:38< CIA-94> eclipse plugin: Refactor the whole 'Wesnoth installs' 20110523 22:02:38< CIA-94> related preferences page. 20110523 22:03:59-!- Johannes13 [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 240 seconds] 20110523 22:09:09-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20110523 22:11:51-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20110523 22:15:40-!- Johannes13 [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20110523 22:16:20-!- ancestral [~ancestral@71-34-10-19.mpls.qwest.net] has joined #wesnoth-dev 20110523 22:24:19-!- mjs-de [~mjs-de@wh.Uni-Dortmund.DE] has joined #wesnoth-dev 20110523 22:29:34-!- mjs-de [~mjs-de@wh.Uni-Dortmund.DE] has quit [Ping timeout: 244 seconds] 20110523 22:30:46-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110523 22:32:09-!- MeccaGod [~majs@h14n4fls31o279.telia.com] has quit [] 20110523 22:33:31< anonymissimus> damn zaroth your commit needs compilation like hell ;) 20110523 22:39:12-!- negusnyul [~negusnyul@dsl4E5CCA87.pool.t-online.hu] has quit [Remote host closed the connection] 20110523 22:58:18-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20110523 23:00:54-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20110523 23:12:15-!- zookeeper [~l@wesnoth/developer/zookeeper] has quit [] 20110523 23:22:34-!- Johannes13_ [~Johannes@p5DF76B28.dip.t-dialin.net] has joined #wesnoth-dev 20110523 23:22:34-!- Johannes13_ [~Johannes@p5DF76B28.dip.t-dialin.net] has quit [Changing host] 20110523 23:22:34-!- Johannes13_ [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20110523 23:26:05-!- Johannes13 [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 252 seconds] 20110523 23:31:11-!- Gambit [~Gambit@wesnoth/developer/grickit] has quit [Read error: Connection reset by peer] 20110523 23:34:27-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Ping timeout: 252 seconds] 20110523 23:35:05-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20110523 23:47:18-!- Gambit [~Gambit@wesnoth/developer/grickit] has joined #wesnoth-dev 20110523 23:47:45-!- Johannes13_ [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 255 seconds] 20110523 23:49:39-!- Nephro [~Dmitry@80.233.231.12] has quit [Ping timeout: 240 seconds] 20110523 23:56:44-!- melinath [~anonymous@ip-168-50.main.oberlin.edu] has quit [Ping timeout: 276 seconds] 20110523 23:57:14-!- eleazzaar [~jbjerk@ppp-70-226-200-254.dsl.spfdil.ameritech.net] has quit [Ping timeout: 258 seconds] --- Log closed Tue May 24 00:00:10 2011