--- Log opened Sat Jun 11 00:00:46 2011 20110611 00:16:25< boucman> zaroth: will you be around tomorow ? 20110611 00:16:37< zaroth> boucman: yes 20110611 00:16:52< zaroth> from morning till about 2 pm and then again in the evening 20110611 00:16:58< zaroth> I won't be on sunday at all, though 20110611 00:18:03< boucman> sounds good, we'll dicuss some more tomorow 20110611 00:18:37-!- Blueblaze [~Blueblaze@adsl-99-4-144-59.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20110611 00:21:40< boucman> g'night 20110611 00:21:44-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Quit: Leaving.] 20110611 00:23:03< zaroth> yay, I just got wesnoth window running with the new controller :D 20110611 00:25:16-!- zookeeper [~l@wesnoth/developer/zookeeper] has quit [] 20110611 00:27:04< CIA-94> zaroth * r49832 /trunk/src/ (6 files): Moved init_video() up to the game_controller_abstract 20110611 00:27:06< CIA-94> zaroth * r49831 /trunk/src/ (game_controller.cpp game_controller.hpp): 20110611 00:27:06< CIA-94> Removed no_gui_, force_bpp_, multiplayer_mode_, screenshot_mode_ class variables 20110611 00:27:06< CIA-94> They are now stored in cmdline_opts_ object now. 20110611 00:35:01< CIA-94> zaroth * r49833 /trunk/src/ (6 files): Moved init_language() to the game_controller_abstract 20110611 00:35:24< zaroth> Now for the hard part... the init_config() actually needs to be changed, and I should better think it over 20110611 00:52:04< anonymissimus> loonycyborg: how do i get the sdl .as ? I've downloaded everything nre from the sites 20110611 00:52:14< anonymissimus> they arent in their packages 20110611 00:53:23< anonymissimus> guess I'd need to compile them... 20110611 00:53:31< loonycyborg> anonymissimus: sdl has a separate packages with libs/headers. 20110611 00:54:07< loonycyborg> But you could as well just use sdl stuff from wesnoth sdk in hidden/win 20110611 00:58:18< loonycyborg> http://www.libsdl.org/download-1.2.php <- didn't you see 'Development libraries' here? 20110611 01:00:19-!- Vorpal [~AnMaster@unaffiliated/anmaster] has quit [Ping timeout: 260 seconds] 20110611 01:00:57-!- deekay [~dk@wesnoth/developer/dragonking] has quit [Quit: deekay] 20110611 01:22:55< anonymissimus> loonycyborg: thats exactly what i dowloaded 20110611 01:23:04< anonymissimus> SDL-devel-1.2.14-mingw32.tar.gz 20110611 01:25:04< loonycyborg> anonymissimus: They're in SDL-1.2.14/lib in that archive. 20110611 01:25:30< loonycyborg> libSDL.dll.a and libSDLmain.a 20110611 01:26:16< loonycyborg> Also, mingw can link directly against dlls. 20110611 01:33:45< anonymissimus> loonycyborg: still getting the static mutex pthread errors that stopped me yesterday :( 20110611 01:33:56< anonymissimus> http://pastebin.com/HpsLDeyp 20110611 01:35:04< loonycyborg> anonymissimus: You probably need to add -pthread to build options. 20110611 01:35:12< loonycyborg> also, -lz 20110611 01:38:01< anonymissimus> in bjam ? or wesnoth ? and that needs a rebuild I guess 20110611 01:38:16< anonymissimus> (if its wesnoth) 20110611 01:40:56< anonymissimus> ah wait you mean -lz and -pthread add these libraries when linking 20110611 01:42:26< loonycyborg> In wesnoth. 20110611 01:42:27< anonymissimus> omg its done 20110611 01:42:49< anonymissimus> finished linking, thax a lot 20110611 01:42:54< loonycyborg> np 20110611 01:43:01< anonymissimus> but where is this thread .a ? 20110611 01:43:35< loonycyborg> The one provided by -pthread? It's part of gcc afaik. 20110611 01:43:36< anonymissimus> didnt put such a library 20110611 01:43:56-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110611 01:46:39< anonymissimus> well, the dlls still arent adequate to execute, but thats usually manageable 20110611 01:58:59-!- melinath_ [~melinath@ip-71-208.wireless.oberlin.edu] has quit [Ping timeout: 276 seconds] 20110611 02:00:19-!- melinath_ [~melinath@ip-71-208.wireless.oberlin.edu] has joined #wesnoth-dev 20110611 02:01:43< anonymissimus> loonycyborg: can it happen that dlls are only needed later, nto at program start ? so I could remove all dlls which I dont need at the start 20110611 02:02:34< anonymissimus> or is it just that only those dlls are needed at program start whose functions are called at startup 20110611 02:02:57< loonycyborg> Only if they're loaded with dlopen/LoadLibrary 20110611 02:03:53< anonymissimus> actually, I cant remember any crash due to missing dll later than at startup, in any program 20110611 02:03:58< loonycyborg> Unless they're loaded with library calls all needed dlls will be checked for at startup. 20110611 02:04:24< loonycyborg> Wesnoth doesn't load any dlls, but SDL_image does. 20110611 02:04:56< loonycyborg> Though probably its dlopen/LoadLibrary calls are at startup too. 20110611 02:05:40< anonymissimus> loonycyborg: in case you'll also need to add that pthread option when compiling the release, you'll probably also need that pthreadGC2.dll to add 20110611 02:06:05< loonycyborg> I already know that. 20110611 02:06:37< loonycyborg> Since, you know, I actually test them :P 20110611 02:07:07< anonymissimus> what, really ??? 20110611 02:07:16< anonymissimus> :P 20110611 02:08:18< anonymissimus> I should probably upload a lib package and write some guid for codeblocks now, since most of the dependencies are shiny new 20110611 02:11:10< anonymissimus> zaroth: you owe me two evenings now (only) 20110611 02:12:00< zaroth> anonymissimus: can I pay back with a good pizza recipe? 20110611 02:12:13< anonymissimus> ^^ 20110611 02:14:00< anonymissimus> well, it also means I got rid of the dw2 thingy, have a new compiler and maybe gdb works now on win 20110611 02:15:31< zaroth> gdb is probably the best parts, backtraces are soo helpful in debugging 20110611 02:16:17< anonymissimus> hm well, ususally MSVC backtraces are equally worthy to tehe gdb ones 20110611 02:16:35< anonymissimus> although MSVC's messages are generally harder to decipher 20110611 02:34:05-!- melinath_ is now known as melinath 20110611 02:45:39< loonycyborg> gn 20110611 02:46:02-!- loonybot_ [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20110611 03:00:12-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20110611 03:10:18-!- anonymissimus [~chatzilla@HSI-KBW-095-208-215-104.hsi5.kabel-badenwuerttemberg.de] has quit [Quit: ChatZilla 0.9.86.1 [Firefox 3.6.2/20100316074819]] 20110611 03:23:42-!- zaroth [~zaroth@wesnoth/developer/zaroth] has quit [Remote host closed the connection] 20110611 03:50:47-!- melinath [~melinath@ip-71-208.wireless.oberlin.edu] has quit [Ping timeout: 276 seconds] 20110611 03:52:32-!- melinath [~melinath@ip-71-208.wireless.oberlin.edu] has joined #wesnoth-dev 20110611 03:57:37-!- vott [~vott@unaffiliated/vott] has joined #wesnoth-dev 20110611 04:05:44-!- melinath [~melinath@ip-71-208.wireless.oberlin.edu] has quit [Ping timeout: 276 seconds] 20110611 04:20:52< crimson_penguin> so I'm trying to get Wesnoth 1.8.6 working on Mac, and it consistently crashes in lua code when I start any campaign 20110611 04:21:37< crimson_penguin> the crash starts from this, presumably just the first time anything is tried with Lua: game_events::fire("preload"); 20110611 04:22:49< crimson_penguin> I tried putting in the lua that's in 1.9 now, but it had no effect 20110611 04:23:50-!- Ivanovic_ [~ivanovic@dtmd-4db2e7dd.pool.mediaWays.net] has joined #wesnoth-dev 20110611 04:26:59-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 258 seconds] 20110611 04:27:47-!- Ivanovic_ is now known as Ivanovic 20110611 05:00:01-!- un214 [~un214@adsl-75-45-20-64.dsl.scrm01.sbcglobal.net] has joined #wesnoth-dev 20110611 05:02:30< crimson_penguin> so, if anyone knows anything about lua, lemma know 20110611 05:02:40< un214> someone does 20110611 05:07:02-!- un214 is now known as Rodney 20110611 05:07:13-!- Rodney is now known as un214 20110611 06:09:38-!- melinath [~melinath@ip-71-208.wireless.oberlin.edu] has joined #wesnoth-dev 20110611 06:34:05-!- Gambit [~Gambit@wesnoth/developer/grickit] has quit [Read error: Connection reset by peer] 20110611 06:51:52-!- un214 [~un214@adsl-75-45-20-64.dsl.scrm01.sbcglobal.net] has quit [Ping timeout: 240 seconds] 20110611 07:35:17-!- Blueblaze [~Blueblaze@adsl-99-4-144-59.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20110611 07:37:41-!- melinath [~melinath@ip-71-208.wireless.oberlin.edu] has quit [Ping timeout: 240 seconds] 20110611 07:49:23-!- noy [~Noy@wesnoth/developer/noy] has quit [Ping timeout: 258 seconds] 20110611 07:53:57-!- nephro [~Dmitry@80.233.231.12] has quit [Ping timeout: 244 seconds] 20110611 07:54:26-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has quit [Quit: crimson_penguin] 20110611 08:34:51-!- hopman- [~chris@c-71-202-164-232.hsd1.ca.comcast.net] has joined #wesnoth-dev 20110611 08:35:10-!- cjhopman [~chris@wesnoth/developer/cjhopman] has quit [Ping timeout: 260 seconds] 20110611 08:50:55-!- Ivanovic [~ivanovic@dtmd-4db2e7dd.pool.mediaWays.net] has quit [Changing host] 20110611 08:50:55-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20110611 08:53:08< Ivanovic> elias: looks like your fixes ain't working nicely... 20110611 08:53:10< Ivanovic> [08:50:51] [04:26:12] shadowmaster, Gambit, Ivanovic_: any idea why this is unreachable? http://units.wesnoth.org/trunk/C/mainline.html 20110611 08:53:20< Ivanovic> [04:27:07] well there's nothing in http://units.wesnoth.org/trunk/ 20110611 09:18:06-!- ancestral [~ancestral@67-6-61-230.mpls.qwest.net] has joined #wesnoth-dev 20110611 09:18:11-!- ancestral [~ancestral@67-6-61-230.mpls.qwest.net] has quit [Client Quit] 20110611 09:19:29-!- Elvish_Pillager [~eli@71-10-224-192.dhcp.oxfr.ma.charter.com] has quit [Ping timeout: 276 seconds] 20110611 09:20:15-!- Blueblaze [~Blueblaze@adsl-99-4-144-59.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20110611 09:37:49-!- Vorpal [~AnMaster@unaffiliated/anmaster] has joined #wesnoth-dev 20110611 09:50:09-!- MeccaGod [~majs@h146n3fls33o279.telia.com] has joined #wesnoth-dev 20110611 10:09:59-!- Blueblaze [~Blueblaze@adsl-99-4-144-59.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20110611 10:16:06-!- zaroth [~zaroth@wesnoth/developer/zaroth] has joined #wesnoth-dev 20110611 10:17:06-!- timotei [~timotei@193.34.190.70] has joined #wesnoth-dev 20110611 10:17:06-!- timotei [~timotei@193.34.190.70] has quit [Changing host] 20110611 10:17:06-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110611 10:19:27-!- noy [~Noy@S0106001b63b6db79.vw.shawcable.net] has joined #wesnoth-dev 20110611 10:19:35-!- noy [~Noy@S0106001b63b6db79.vw.shawcable.net] has quit [Changing host] 20110611 10:19:35-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110611 10:26:22-!- Crendgrim [~crend@77-22-173-219-dynip.superkabel.de] has joined #wesnoth-dev 20110611 10:35:15-!- loonybot [~loonybot@46.138.70.255] has joined #wesnoth-dev 20110611 10:35:15-!- loonybot [~loonybot@46.138.70.255] has quit [Changing host] 20110611 10:35:15-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20110611 10:37:04-!- loonybot_ [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20110611 10:37:04-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Read error: Connection reset by peer] 20110611 10:37:11-!- loonybot_ is now known as loonybot 20110611 10:49:18-!- stikonas [~gentoo@bcm-131-111-216-209.girton.cam.ac.uk] has joined #wesnoth-dev 20110611 10:49:18-!- stikonas [~gentoo@bcm-131-111-216-209.girton.cam.ac.uk] has quit [Changing host] 20110611 10:49:18-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20110611 10:58:40-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20110611 11:00:26-!- deekay [~dk@wesnoth/developer/dragonking] has joined #wesnoth-dev 20110611 11:17:03-!- hhyloc [~hhyloc@113.166.156.67] has joined #wesnoth-dev 20110611 11:28:06-!- yenloc [~hhyloc@74.115.6.17] has joined #wesnoth-dev 20110611 11:30:20-!- hhyloc [~hhyloc@113.166.156.67] has quit [Ping timeout: 252 seconds] 20110611 11:32:20-!- hyenloc [~hhyloc@74.115.6.17] has joined #wesnoth-dev 20110611 11:34:32-!- yenloc [~hhyloc@74.115.6.17] has quit [Ping timeout: 250 seconds] 20110611 12:19:06-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Ping timeout: 252 seconds] 20110611 12:19:28< elias> Ivanovic: I believe that's a separate issue 20110611 12:31:05< elias> i guess "set -e" in a bash script isn't working as I thought 20110611 12:31:28< elias> i added && to the end of each line so it should not overwrite the website on errors any longer 20110611 12:34:23< elias> and the reason it was all blank is that wesnoth just throws "boost::program_options::validation_error" for everything :P 20110611 12:34:33-!- negusnyul [~negusnyul@dsl51B6E0BC.pool.t-online.hu] has joined #wesnoth-dev 20110611 12:42:10-!- negusnyul_ [~negusnyul@5400560E.dsl.pool.telekom.hu] has joined #wesnoth-dev 20110611 12:42:39-!- negusnyul [~negusnyul@dsl51B6E0BC.pool.t-online.hu] has quit [Ping timeout: 255 seconds] 20110611 12:44:31< boucman> hey all 20110611 12:44:35< boucman> zaroth: around ? 20110611 12:45:02< zaroth> boucman: yes 20110611 12:47:03-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20110611 12:47:32< boucman> so, saw you continue the cleaning up, 20110611 12:47:37< boucman> everything going on well ? 20110611 12:52:14-!- yenloc [~hhyloc@113.166.156.67] has joined #wesnoth-dev 20110611 12:52:19-!- yenloc [~hhyloc@113.166.156.67] has quit [Read error: Connection reset by peer] 20110611 12:53:45-!- hhyloc [~hhyloc@113.166.156.67] has joined #wesnoth-dev 20110611 12:53:52-!- negusnyul__ [~negusnyul@145.236.69.175] has joined #wesnoth-dev 20110611 12:53:54-!- negusnyul_ [~negusnyul@5400560E.dsl.pool.telekom.hu] has quit [Ping timeout: 255 seconds] 20110611 12:55:39-!- hyenloc [~hhyloc@74.115.6.17] has quit [Ping timeout: 240 seconds] 20110611 12:57:29-!- negusnyul__ [~negusnyul@145.236.69.175] has quit [Remote host closed the connection] 20110611 12:58:06-!- negusnyul [~negusnyul@145.236.69.175] has joined #wesnoth-dev 20110611 12:59:04< zaroth> boucman: right now I'm wondering what to do with the init_config() thing exactly 20110611 12:59:39< zaroth> we talked about it, but the details still aren't worked out 20110611 13:00:44< boucman> checking... 20110611 13:02:32< boucman> mkay... 20110611 13:03:35< boucman> first thing, jump_to_editor_ and test_mode_ should probably be handled like through cmdline_opts_ 20110611 13:03:37-!- Gambit [~Gambit@wesnoth/developer/grickit] has joined #wesnoth-dev 20110611 13:03:43< boucman> but that's a detail 20110611 13:03:58< boucman> you probably just havn't got to moving them yet 20110611 13:08:02< boucman> zaroth: I don't think you will be able to refactor game_controller without refactoring do_gameloop too... 20110611 13:08:20< boucman> which sort of break the abstract/old/new concept... 20110611 13:09:15< zaroth> well, it still helps to keep the old code separate from the new one and keep track of what is left 20110611 13:10:08< boucman> yes, I completely agree with that... 20110611 13:10:48< boucman> now, IIUC we want to move to a sort of "state machine" approch... 20110611 13:11:10-!- atomicbomb [7da7c492@gateway/web/freenode/ip.125.167.196.146] has joined #wesnoth-dev 20110611 13:14:41< boucman> zaroth: I just created a google doc for drawing stuff, so we can discuss some stuff, not sure how it works though... 20110611 13:15:30< CIA-94> zaroth * r49834 /trunk/src/ (game_controller.cpp game_controller.hpp): Removed test_mode_ class variable 20110611 13:16:07< zaroth> my problem is that, as I said before, it would make sense to have two separate configs for gc, and g_instance 20110611 13:16:27< zaroth> but right now, the init_config() relies on such things as textdomains 20110611 13:16:49< zaroth> which are defined in the campaign files, not in a central file 20110611 13:17:24< boucman> zaroth: something you might have discussed earlier, but is worth bringing back 20110611 13:17:40< zaroth> which in turn causes the need for gc to parse whole config - and that a bit of defeats the purpose 20110611 13:17:45< boucman> currently wesnoth has one big config object, but I think it's time to split it 20110611 13:18:06< zaroth> yes, but my problem is how to split it :-) 20110611 13:18:12< boucman> at least between main menu stuff vs campaign/scenario stuff 20110611 13:18:24< boucman> i.e game vs game instance 20110611 13:18:46< zaroth> and probably it would be best and cleanest if the first part wouldn't need to be reloaded at all 20110611 13:19:12< boucman> zaroth: I disagree, once all games have been removed, reloading the main is probably not such a problem 20110611 13:19:22< boucman> only happen on new UMC content 20110611 13:19:31< zaroth> oh, maybe that 20110611 13:22:44-!- hhyloc [~hhyloc@113.166.156.67] has quit [Quit: Leaving] 20110611 13:26:23< zaroth> all right, so should we start drawing the split somewhere? 20110611 13:26:54< boucman> not yet, could you join my google drawin gor a minute ? 20110611 13:27:26< zaroth> how do I do that? 20110611 13:27:42< zaroth> oh, I got ther 20110611 13:28:08< zaroth> neat :-) 20110611 13:28:15< boucman> i'm trying to see how all the different screens can interact, that will help figure out the best way to split 20110611 13:29:17< boucman> i'll skip "cancel" actions for the moment... 20110611 13:29:53< zaroth> how do I make new rectangles? 20110611 13:30:17< boucman> you bet me to it :) 20110611 13:33:08< zaroth> let our diagram flow mostly down 20110611 13:33:20< boucman> k 20110611 13:37:08< boucman> ok 20110611 13:37:30< boucman> (note to anybody interested, I can invite any lurker that give me a google login) 20110611 13:38:40< zaroth> seems fairly complete now 20110611 13:39:20< boucman> yes 20110611 13:39:28< boucman> gimme a sec... 20110611 13:39:56< zaroth> btw, I see bright future for office collaborating tools, they bring the fun back to the office work ;-) 20110611 13:40:19< boucman> indeed, i'll have to show that to a couple of collegues 20110611 13:40:43< boucman> so, back to our subject 20110611 13:41:03< boucman> (we forgot the whole UMC download screen, btw) 20110611 13:41:35< boucman> right now, this automaton is more or less implicit everywhere, and hardcoded everywhere 20110611 13:41:59< boucman> in particular init_config() knows about it and so does do_gameloop() and probably a couple of other places 20110611 13:42:44< boucman> it's trivial to remove from init_config (pass a list of defines to init_config, and it won't need to do the logic itself) 20110611 13:44:02< zaroth> hmmm... what exactly passing list of defines to init config solves? 20110611 13:44:09< zaroth> I don't seem to get it 20110611 13:44:32-!- atomicbomb [7da7c492@gateway/web/freenode/ip.125.167.196.146] has quit [Ping timeout: 252 seconds] 20110611 13:46:16< zaroth> hint: i discovered you can create a text rectangle without creating rectangle+text objects 20110611 13:46:25< zaroth> just by double clicking on rectangle 20110611 13:46:36< boucman> great 20110611 13:47:26< zaroth> but I can't select text and rect separately, how do you do that? 20110611 13:47:48< zaroth> oh :-) 20110611 13:48:48< boucman> I put greeen for "i'm not sure" 20110611 13:48:57< zaroth> editor loads campaigns? 20110611 13:49:14< boucman> for custom units and terrain, it has to have a way to... 20110611 13:49:22< zaroth> I didn't know about that 20110611 13:49:55< boucman> yeah, so many special cases have croped... 20110611 13:50:13< boucman> i'd like to remove a few features if they begin to be too cumbersome... 20110611 13:50:37< zaroth> ah, good point, maybe it should have its own game instance object, just to load the necessary campaigny stuff 20110611 13:51:06< zaroth> or something similar... 20110611 13:51:31< zaroth> it was crab who first suggested crippled versions of game_instance objects used around the code, such as for help system access from main menu 20110611 13:51:39< zaroth> so the game content gets loaded 20110611 13:52:03< zaroth> I think it's a good idea, and maybe we could create even a bit of inheritance here 20110611 13:52:20-!- negusnyul_ [~negusnyul@183-64-20.ip.adsl.hu] has joined #wesnoth-dev 20110611 13:52:21< zaroth> a crippled game_instance object, with just the config and reloading capabilities (with new defines) 20110611 13:52:29-!- negusnyul [~negusnyul@145.236.69.175] has quit [Ping timeout: 252 seconds] 20110611 13:52:41< zaroth> and a full-fledged one, capable of loading scenarios, starting games, etc 20110611 13:53:00< zaroth> or maybe instead of inheritance a composition should be used 20110611 13:53:27< zaroth> s/ a / / 20110611 13:54:20< boucman> ok, now, that's more or less the game as it is, let's think a bit what we want it to be eventually 20110611 13:54:56< boucman> we also forgot the load game path... 20110611 13:56:38< zaroth> load game path? 20110611 13:56:50< zaroth> ah, I see 20110611 14:00:26< zaroth> should we start a new document for that? 20110611 14:00:52< boucman> maybe later, right now i'm thinking... 20110611 14:01:59< boucman> load game, test mode are a bit special, let's forget them for the moment... 20110611 14:02:24-!- timotei [~timotei@193.34.190.70] has joined #wesnoth-dev 20110611 14:02:24-!- timotei [~timotei@193.34.190.70] has quit [Changing host] 20110611 14:02:24-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110611 14:03:20< boucman> hmm 20110611 14:03:48< boucman> ok, let me duplicate the document and start from that 20110611 14:04:29< boucman> done, you can join 20110611 14:06:55< boucman> zaroth: how does MP game loading work ? 20110611 14:07:40-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 241 seconds] 20110611 14:07:41< zaroth> from the code side, I'm not sure 20110611 14:08:12< zaroth> but from the ui side, you go to lobby, create new game, select load game... and wait for others to join 20110611 14:08:24< zaroth> but I imagine the same load_game_exception is used as for SP 20110611 14:08:28-!- negusnyul__ [~negusnyul@dsl5402862C.pool.t-online.hu] has joined #wesnoth-dev 20110611 14:08:42< zaroth> where is the second document? 20110611 14:10:00< boucman> well, I added you to the authorized sharers, so you should have it in your list of shared documents 20110611 14:10:20< boucman> in the google docs lobby probably 20110611 14:11:14< zaroth> i see now 20110611 14:11:15< boucman> green arrows are the SP special case 20110611 14:11:50-!- negusnyul_ [~negusnyul@183-64-20.ip.adsl.hu] has quit [Ping timeout: 250 seconds] 20110611 14:15:35-!- zookeeper [~l@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20110611 14:16:10< boucman> there are three clear steps here 20110611 14:16:16< boucman> 1) decide what game to play 20110611 14:16:28< boucman> 2) get the players 20110611 14:16:32< boucman> 3) play 20110611 14:16:35< zaroth> 1a) decide parameters 20110611 14:16:55< zaroth> or unless you took "game" as "game with all stuff" 20110611 14:17:08< boucman> I did 20110611 14:17:26< boucman> we need to load the whole game after step one 20110611 14:18:09< boucman> I think these steps should be very explicit in the code since they are never avoided (we can generalize step 2 a little so that even SP goes through it 20110611 14:20:08< zaroth> it makes sense to have such structure 20110611 14:20:28< zaroth> but which object should control that flow? the uncrippled game_instance, right? 20110611 14:21:10< zaroth> (about my "theory" of crippled and uncrippled g_i, see above) 20110611 14:22:08< zaroth> however it makes more and more sense to me that instead of having crippled and uncrippled game_instance there should be a object meant for composition such as config_loader, with specific parts meant to load 20110611 14:22:44< boucman> hmm, I don't think there is any case where we want to have multiple game instance at the same time is there ? 20110611 14:22:49< zaroth> and game_instance would be just one of many users of this object, among game_controller (main config), help system (just what it needs) 20110611 14:22:54< zaroth> no, there isn't 20110611 14:23:10< boucman> ok, good 20110611 14:23:14< zaroth> however, I'm eager to hear your comments/ideas on this 20110611 14:23:45< boucman> so the only case I see where help is special is if it's called from the main lobby, in any other case it just uses "whatever is available 20110611 14:24:12< boucman> and even in the lobby, I wouldn't be offended if there were no unit help at all... after all you havn't any context yet 20110611 14:24:41< boucman> i'm not very clear how you see that config_loader object working... 20110611 14:26:36< boucman> could you describe it a bit more ? 20110611 14:27:04-!- EdB [~edb@89.82.194.231] has joined #wesnoth-dev 20110611 14:27:17< zaroth> well, it would be pretty simple object, it would have a local cache and path to its main bootstrap file/directory 20110611 14:27:40< zaroth> and it could allow partial reloading of what we need with the defines are needed there 20110611 14:28:03< zaroth> but perhaps I'm overthinking it 20110611 14:28:16< boucman> no no, tell me more 20110611 14:29:04< boucman> what sort of API would it have, (so I visualize a bit more) 20110611 14:29:38< boucman> how much cfg file reorganisation would that imply ( to help me understand what you have in mind) 20110611 14:37:10< zaroth> well first and foremost it makes me worry of fragmentation 20110611 14:37:27< boucman> fragmentation ? 20110611 14:37:36< zaroth> as I'm drawing it in front of me 20110611 14:37:53< boucman> which doc ? 20110611 14:37:57< zaroth> because the way I imagined it first was that each one would have its own config_loader object 20110611 14:38:03< zaroth> (sheet of paper :-) ) 20110611 14:38:09< boucman> oh :) 20110611 14:38:22< boucman> zaroth: i need ot go afk for ~1/2h, sorry 20110611 14:38:43< zaroth> but that way, for example, if a new era was selected and new units were to appear 20110611 14:38:58< zaroth> the defines should be also propagated and reloaded in help, for example 20110611 14:39:25< zaroth> so in the end it makes me think that it may be a bad idea to split it up that much 20110611 15:04:31< boucman> bacck 20110611 15:05:11< boucman> I agreee, I don't think it makes sense to split the config per user (i.e help has its conig, main menu has his etc...) 20110611 15:06:09< boucman> I think we need to cut it functionally (stuff that never change in the main menu, campaign entries, campaign bodies) and be able to reload these parts separately, 20110611 15:11:14< boucman> zaroth: please check http://forums.wesnoth.org/viewtopic.php?p=492211#p492211 20110611 15:14:07-!- Elvish_Pillager [~eli@71-10-224-192.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20110611 15:18:20< zaroth> boucman: done 20110611 15:18:35< zaroth> i'll try to commit a fix in a second 20110611 15:20:35< boucman> k 20110611 15:22:42< CIA-94> zaroth * r49835 /trunk/src/commandline_options.cpp: 20110611 15:22:42< CIA-94> Added #ifed alternate to make up for incompatibility between boost 1.41 20110611 15:22:42< CIA-94> and 1.42. 20110611 15:25:14-!- EdB [~edb@89.82.194.231] has quit [Remote host closed the connection] 20110611 15:27:52-!- mjs-de [~mjs-de@f053189214.adsl.alicedsl.de] has joined #wesnoth-dev 20110611 15:37:02-!- timotei21 [~timotei@193.34.190.70] has joined #wesnoth-dev 20110611 15:37:02-!- timotei21 [~timotei@193.34.190.70] has quit [Changing host] 20110611 15:37:02-!- timotei21 [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110611 15:38:02-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Disconnected by services] 20110611 15:38:05-!- timotei21 is now known as timotei 20110611 15:51:33< timotei> anonymissimus: I've converted the source/header files virtual folders into a normal C++ file tree. just like the files in src :) It is much better now :P 20110611 15:53:10< timotei> zaroth: I see just now that po=program options. I was wondering why PO (as in i18n) has to do anything with implicit program options values xD 20110611 15:53:54< zaroth> timotei: well, somebody one can get tired of getting these lengthy namespaces all the time 20110611 15:54:01< timotei> yeah 20110611 15:54:06< zaroth> s/somebody/sometimes/ 20110611 16:07:37-!- melinath [~melinath@ip-71-208.wireless.oberlin.edu] has joined #wesnoth-dev 20110611 16:12:25-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20110611 16:16:10-!- stikonas [~and@bcm-131-111-216-209.girton.cam.ac.uk] has joined #wesnoth-dev 20110611 16:16:10-!- stikonas [~and@bcm-131-111-216-209.girton.cam.ac.uk] has quit [Changing host] 20110611 16:16:10-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20110611 16:18:38< loonycyborg> zaroth: I prefer to use 'using namespace1::namespace2::some_symbol' :P 20110611 16:19:07< zaroth> loonycyborg: I prefer readability 20110611 16:19:19< zaroth> just look on how many times po:: was used in commandline_options.cpp 20110611 16:19:44< loonycyborg> No. I mean to use the 'using' declaration. 20110611 16:20:09< loonycyborg> After 'using namespace1::namespace2::some_symbol' you can use some_symbol without qualification at all. 20110611 16:22:22< zaroth> ah ;-) 20110611 16:22:24< loonycyborg> Of course the reader may wonder where particular symbols come from but he can just look at using declarations. 20110611 16:22:46< zaroth> this one is alright as well, it's just like from foo import bar in python 20110611 16:22:56< loonycyborg> Indeed. 20110611 16:43:41< Ivanovic> hi 20110611 16:43:50< timotei> hi Ivanovic 20110611 16:44:07< Ivanovic> elias: hmm, okay, good to know 20110611 17:08:55-!- anonymissimus [~chatzilla@HSI-KBW-095-208-215-104.hsi5.kabel-badenwuerttemberg.de] has joined #wesnoth-dev 20110611 17:12:12< anonymissimus> how can one disable specific warnings in gcc; with a command line parameter, not in code 20110611 17:15:22< anonymissimus> stack overflow says there's not really a way to do this; an equivalent to the /wdxxxx flags we can add to the MSVC compiler command line 20110611 17:15:43-!- Blueblaze [~Blueblaze@adsl-99-4-144-59.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20110611 17:17:44< loonycyborg> anonymissimus: There are -Wno-* options for that. 20110611 17:21:47-!- Aethaeryn [~Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #wesnoth-dev 20110611 17:39:54-!- fabi_ is now known as fendrin 20110611 17:41:33< fendrin> hi AI0867, it looks like we did something wrong with the bidirectional feature of the tunnel tag. http://forums.wesnoth.org/viewtopic.php?f=21&t=34053&sid=9b814424a61d7935a28179dd391dab09 20110611 17:46:58-!- cz1stf [~cz1stf@94.230.156.14] has joined #wesnoth-dev 20110611 17:47:09-!- cz1stf [~cz1stf@94.230.156.14] has left #wesnoth-dev [] 20110611 17:47:11< fendrin> zookeeper: Do you mind of I remove the whole ai controller from trunk, since we don't have a maintainer for it anymore? 20110611 17:48:50< zookeeper> fendrin, i'd prefer if you just disabled it first. if i or anyone else won't pick it back up before feature freeze then we should remove it entirely. 20110611 17:49:17< zookeeper> unless i'm missing something, it should be simple to disable it without having to touch any of the scenario files which use it. 20110611 17:51:08< fendrin> zookeeper: From a coding point of view, yes. From a gameplay point of view it is somethimes impossible to win scenario3 of LoW without it because Galtrid likes to commit suicide after the protagonist switch. 20110611 17:51:32< zookeeper> well of course you can do whatever you want to LoW 20110611 17:52:25-!- Valkier [~Valkier@c-174-55-104-2.hsd1.pa.comcast.net] has joined #wesnoth-dev 20110611 17:57:36-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20110611 17:58:37-!- eoc is now known as chrisoelmueller 20110611 18:05:15-!- Alarantalara [~alarantal@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has joined #wesnoth-dev 20110611 18:22:46-!- Gallaecio [~quassel@88.103.82.122] has quit [Remote host closed the connection] 20110611 18:22:50-!- Vorpal [~AnMaster@unaffiliated/anmaster] has quit [Quit: ZNC - http://znc.sourceforge.net] 20110611 18:25:09< CIA-94> timotei * r49836 /trunk/utils/java/org.wesnoth/ (9 files in 2 dirs): eclipse plugin: Prefix our plugin classes with 'Wesnoth' 20110611 18:25:14< CIA-94> timotei * r49837 /trunk/utils/java/org.wesnoth.feature/feature.xml: eclipse plugin: Remove redundant dependencies 20110611 18:25:24< CIA-94> timotei * r49838 /trunk/utils/java/org.wesnoth/ (4 files in 3 dirs): 20110611 18:25:24< CIA-94> eclipse plugin: Add the Eclipse WorkbenchAdvisor 20110611 18:25:24< CIA-94> so we don't need to re-create a lot of predefined 20110611 18:25:24< CIA-94> functionality 20110611 18:25:33< CIA-94> timotei * r49839 /trunk/utils/java/org.wesnoth/src/org/wesnoth/utils/PreprocessorUtils.java: 20110611 18:25:33< CIA-94> eclipse plugin: Switch to the new '--preprocess' 20110611 18:25:33< CIA-94> command line syntax 20110611 18:25:40-!- Alarantalara [~alarantal@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has quit [Quit: Alarantalara] 20110611 18:25:43< CIA-94> timotei * r49840 /trunk/projectfiles/VC9/ (wesnoth.vcproj wesnothd.vcproj wesnothlib.vcproj): 20110611 18:25:43< CIA-94> Get rid of the virtual directories: "Header Files" and "Source files". 20110611 18:25:43< CIA-94> The source files tree is now resembling the real one. 20110611 18:25:52< CIA-94> timotei * r49841 /trunk/src/game.cpp: 20110611 18:25:52< CIA-94> Refactor a bit the '--preprocess' code to benefit 20110611 18:25:52< CIA-94> from the new command line processing 20110611 18:26:01< CIA-94> timotei * r49842 /trunk/utils/java/org.wesnoth/src/org/wesnoth/ (3 files in 3 dirs): eclipse plugin: Switch to the new '--campaign' syntax 20110611 18:26:11< CIA-94> timotei * r49843 /trunk/src/ (commandline_options.cpp game_controller.cpp): 20110611 18:26:11< CIA-94> Put back the default campaign difficulty to -1(none), and update 20110611 18:26:11< CIA-94> the help for the command line option to reflect that 20110611 18:26:38< timotei> anonymissimus: ^ test the new solution format and tell me if you love it :) 20110611 18:40:01< crimson_penguin> anyone around who can help me with lua crashing the game on Mac? 20110611 18:47:00-!- Valkier [~Valkier@c-174-55-104-2.hsd1.pa.comcast.net] has quit [Quit: Valkier] 20110611 18:48:52-!- Valkier [~Valkier@c-174-55-104-2.hsd1.pa.comcast.net] has joined #wesnoth-dev 20110611 18:48:58< anonymissimus> crimson_penguin: report it at gna ? 20110611 18:49:38< anonymissimus> (if can reproduce I'd look into it) 20110611 18:49:42< crimson_penguin> anonymissimus: I'm pretty sure it's a problem with my packaging though 20110611 18:50:05< crimson_penguin> anonymissimus: Alarantalara apparently got it working fine 20110611 18:52:01< anonymissimus> loonycyborg: I'd like to upload my CodeBlocks lib package to that hidden/win directory (or maybe parallel to Crab's MSVC package) 20110611 18:52:32-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110611 18:53:33< loonycyborg> anonymissimus: In order to upload it on the server you'll need a shell access to it, or you'll have to somehow publish it so I could do that. 20110611 18:53:50< anonymissimus> so others can use this build system; since its close to the releases it can probably be used to reproduce some bugs 20110611 19:02:01< loonycyborg> Do you know how to use ssh and scp? :P 20110611 19:05:09< anonymissimus> loonycyborg: well ssh is "secure shell client" afaik, but much more I don't know...I'll try uploading at rapidshare or something, and let you transfer it 20110611 19:05:54< loonycyborg> scp is the same as copy/cp only it can work across hosts using ssh. 20110611 19:12:31< anonymissimus> loonycyborg: tried wo build with openmp; it seems I need an additional .a for that (note that I enabled open mp when installing the compiler) 20110611 19:13:11< loonycyborg> It worked right away for me. What is your error message? 20110611 19:14:23< anonymissimus> undefined reference to `GOMP_critical_name_start'| 20110611 19:14:36< anonymissimus> if I add the library it cant find it 20110611 19:15:11< loonycyborg> you need to add -fopenmp to compile and link. 20110611 19:16:05< anonymissimus> loonycyborg: never mind, seems i solved it 20110611 19:20:13-!- deekay [~dk@wesnoth/developer/dragonking] has quit [Quit: deekay] 20110611 19:23:52-!- fendrin [~fabi@88-134-20-121-dynip.superkabel.de] has quit [Remote host closed the connection] 20110611 19:26:44-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20110611 19:32:09-!- wesbot changed the topic of #wesnoth-dev to: 213 bugs, 317 feature requests, 27 patches | logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://pastebin.com | http://imagebin.org 20110611 19:41:56-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20110611 19:43:16-!- Valkier [~Valkier@c-174-55-104-2.hsd1.pa.comcast.net] has quit [Quit: Valkier] 20110611 19:58:21-!- PjotrOrial [~quassel@unaffiliated/pjotrorial] has joined #wesnoth-dev 20110611 20:00:05< PjotrOrial> Hello people! I am searching for some nice graphics to be used in an example mapfile for the tiled editor (www.mapeditor.org) 20110611 20:00:52< PjotrOrial> (I am trying to make a hexagonal map example) 20110611 20:01:10< PjotrOrial> where do i find about licenses about graphics used in wesnoth? 20110611 20:01:30< PjotrOrial> i considered using some of the graphics, since they are beauty :) 20110611 20:04:49< PjotrOrial> so are the graphics gplv2 as well? 20110611 20:04:53< PjotrOrial> or some cc? 20110611 20:05:27< Espreon> They're GPL v2. 20110611 20:07:32-!- melinath [~melinath@ip-71-208.wireless.oberlin.edu] has quit [Ping timeout: 276 seconds] 20110611 20:10:42< PjotrOrial> thx a lot 20110611 20:12:07< Espreon> No prob. 20110611 20:16:27-!- Sytyi [~sytyi@114-157-112-92.pool.ukrtel.net] has joined #wesnoth-dev 20110611 20:47:46-!- alienav [alienav@IGLD-84-229-225-206.inter.net.il] has joined #wesnoth-dev 20110611 20:49:44-!- Alien_AV [alienav@77.127.124.180] has quit [Ping timeout: 260 seconds] 20110611 20:52:32-!- negusnyul [~negusnyul@dsl5402862C.pool.t-online.hu] has joined #wesnoth-dev 20110611 20:53:31-!- negusnyul [~negusnyul@dsl5402862C.pool.t-online.hu] has quit [Remote host closed the connection] 20110611 20:56:59-!- Wurmish [46f6e046@gateway/web/freenode/ip.70.246.224.70] has joined #wesnoth-dev 20110611 20:57:40-!- PjotrOrial [~quassel@unaffiliated/pjotrorial] has left #wesnoth-dev ["http://quassel-irc.org - Chat comfortably. Anywhere."] 20110611 20:58:22< Wurmish> Anyone active today? 20110611 21:01:05-!- timotei21 [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110611 21:04:51-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Ping timeout: 255 seconds] 20110611 21:14:36-!- timotei21 [~timotei@wesnoth/developer/timotei] has quit [Ping timeout: 240 seconds] 20110611 21:19:19-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110611 21:26:29-!- vcap [~vcap@AReims-551-1-133-196.w90-18.abo.wanadoo.fr] has quit [Quit: leaving] 20110611 21:29:33< timotei> Wurmish: depends :P 20110611 21:29:38< timotei> Wurmish: why do you ask? 20110611 21:30:07< Wurmish> Because I'm looking into making mods and scenarios, mostly scenarios since I have no artistic inclination whatsoever. 20110611 21:30:20< Wurmish> And there's a couple things that are confusing me on the cfg files. 20110611 21:30:40< timotei> Wurmish: you'd better just ask, and wait for an answer :) 20110611 21:31:20< CIA-94> elias * r49844 /trunk/data/tools/wesnoth/wmlparser2.py: Fixed the python wml parser: wesnoth --preprocess no longer accepts defines, have to use --preprocess-defines now. 20110611 21:31:57< Wurmish> Question is this - the only thing baffling me about scenario construction right now is events. There doesn't seem to be much in the cfg about triggering the event (Example: name=moveto, then a filter for location and a name), is the filter for an event the condition for it? 20110611 21:31:57-!- Sytyi [~sytyi@114-157-112-92.pool.ukrtel.net] has quit [Quit: Leaving.] 20110611 21:33:05< Wurmish> And assuming that's the case, is there a list of all 'named' events? And can/how do you script a new type of event? 20110611 21:33:16 * Wurmish is afk, will check when back 20110611 21:33:23< timotei> Wurmish: check the event WML page. 20110611 21:33:42-!- vcap [~vcap@AReims-551-1-133-196.w90-18.abo.wanadoo.fr] has joined #wesnoth-dev 20110611 21:34:06-!- iwaim [~iwaim@rasteenie.alib.jp] has quit [Ping timeout: 255 seconds] 20110611 21:34:06< timotei> http://wiki.wesnoth.org/EventWML 20110611 21:34:12< timotei> it says how to create a new one IIRC 20110611 21:35:03< elias> Ivanovic: are you getting the cron mails for the wesnoth user? 20110611 21:35:33< Wurmish> Thanks timotei, I had looked around those pages but that one somehow eluded me. 20110611 21:36:01< elias> Ivanovic: just let me know if I forgot to send stuff to >/dev/null in there and it caused daily mails to be sent :) 20110611 21:38:03< timotei> Wurmish: I myself am no WML writer, so maybe someone else could help you better 20110611 21:38:12< timotei> also, you could use the forums and have a greater success. 20110611 21:40:48< Wurmish> I was looking for a quick answer, and I have had my own inability to read/search shown to me, so I think I shall be fine now... I hope. 20110611 21:58:45< Ivanovic> elias: i get the one for "admin", which seems to include the wesnoth ones 20110611 21:58:59< Ivanovic> and yeah, i'll tell you tomorrow in case there are messages 20110611 21:59:37< Ivanovic> elias: in general better send output to the log file instead of /dev/null, output that is relevant 20110611 22:00:22< elias> yeah, it's sent to logs, but it seems the re-building of the wesnoth executable went to stdout 20110611 22:00:49-!- Wurmish [46f6e046@gateway/web/freenode/ip.70.246.224.70] has quit [Quit: Time to go] 20110611 22:04:44-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Quit: SIGKILL] 20110611 22:29:15-!- Crendgrim [~crend@77-22-173-219-dynip.superkabel.de] has quit [Remote host closed the connection] 20110611 22:41:59-!- negusnyul__ [~negusnyul@dsl5402862C.pool.t-online.hu] has quit [Remote host closed the connection] 20110611 23:01:02-!- mjs-de [~mjs-de@f053189214.adsl.alicedsl.de] has quit [Remote host closed the connection] 20110611 23:16:07< anonymissimus> zaroth: maybe you should slow down somewhat; don't know of Alarantalara what the Mac build status is (possibly thoroughly broken by now...:P) 20110611 23:17:37< anonymissimus> needed includes, program_options, etc etc... 20110611 23:18:35-!- MeccaGod [~majs@h146n3fls33o279.telia.com] has quit [Ping timeout: 246 seconds] 20110611 23:22:51-!- MeccaGod [~majs@h146n3fls33o279.telia.com] has joined #wesnoth-dev 20110611 23:33:44-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110611 23:36:34-!- fendrin [~fabi@88-134-20-121-dynip.superkabel.de] has joined #wesnoth-dev 20110611 23:40:05-!- Valkier [~Valkier@c-174-55-104-2.hsd1.pa.comcast.net] has joined #wesnoth-dev 20110611 23:49:26-!- MeccaGod [~majs@h146n3fls33o279.telia.com] has quit [] 20110611 23:49:58-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Quit: Leaving.] 20110611 23:54:18< anonymissimus> loonycyborg: well, if uploading to the server myself requires maybe installing ssh in my Linux installation and typing a few commands in a bash shell I can do it 20110611 23:54:58< anonymissimus> shells can do everything, one just needs to know :P 20110611 23:55:04< anonymissimus> the commands 20110611 23:56:05< loonycyborg> anonymissimus: You'd also need an account on the server :P --- Log closed Sun Jun 12 00:00:51 2011