--- Log opened Fri Jan 30 00:00:40 2009 20090130 00:08:09< YogiHH> *this stuff is slowly driving me mad, grr" 20090130 00:08:25< YogiHH> sorry to bug you again 20090130 00:09:42< YogiHH> i build SDL_mixer and everything is fine, i get a static library libSDL_mixer.a 20090130 00:10:48-!- Turuk [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has quit [Read error: 60 (Operation timed out)] 20090130 00:11:53< YogiHH> then i build wesnoth and link against that library and i get stuff like this: \libSDL_mixer.a(mixer.o):mixer.c:() "undefined reference to '_SDL_SetError' " 20090130 00:12:11< YogiHH> how is that? 20090130 00:12:31< Shadow_Master> it could as well be a linkage order issue 20090130 00:12:49< Shadow_Master> the SDL library should be first in the linker command line 20090130 00:12:56< YogiHH> it is 20090130 00:13:24< Shadow_Master> linked SDL_mixer to the same version of SDL you are linking wesnoth? 20090130 00:13:52< YogiHH> good question, but i think so 20090130 00:14:51-!- ilor_ [n=user@unaffiliated/ilor] has joined #wesnoth-dev 20090130 00:14:54< YogiHH> correction, i am sure 20090130 00:16:10< grzywacz> YogiHH, is this symbol defined in your version of SDL? 20090130 00:16:48< YogiHH> grzywacz: i didn't check but if it is not, SDL_mixer wouldn't compile, i guess? 20090130 00:17:01< loonycyborg> Try putting -Wl,--start-group -Wl,--end-group around -l flags :P 20090130 00:18:07-!- Turuk [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has joined #wesnoth-dev 20090130 00:18:23< YogiHH> loonycyborg: CodeBlocks is much more sophisticated, it provides me file-choose dialog boxes instead of command line stuff :-P 20090130 00:18:29< grzywacz> ;-)\ 20090130 00:20:14< loonycyborg> Then you'll have to live with linker errors or link dynamically :) 20090130 00:20:33< grzywacz> YogiHH, -lSDLmain? 20090130 00:20:52< YogiHH> grzywacz, context? ;-) 20090130 00:21:21< grzywacz> YogiHH, http://www.libsdl.org/faq.php?action=listentries&category=4#88 20090130 00:21:22< grzywacz> :P 20090130 00:22:42< grzywacz> YogiHH, libs after the sources? 20090130 00:23:08-!- zookeeper [n=l@dsl-tkubrasgw1-fe9ff800-215.dhcp.inet.fi] has quit [] 20090130 00:23:49< YogiHH> dear grzywacz, can you please speak with complete sentences? ;-) 20090130 00:24:22< YogiHH> are you talking of makefiles or similar? 20090130 00:25:08< Shadow_Master> YogiHH: he can, but with almost no vowels 20090130 00:25:22< Shadow_Master> so, careful there 20090130 00:25:41< YogiHH> :-) 20090130 00:26:02< Soliton> "If you're getting undefined references to functions in SDL_image or SDL_mixer, make sure you're actually linking with those libraries as well." 20090130 00:26:03< grzywacz> YogiHH, sorry, typing with one hand 20090130 00:26:41< Sirp> okay this is getting seriously annoying: Just because the President of the United States can now talk in complete sentences, *everyone* is expected to?? 20090130 00:27:05< Shadow_Master> haha 20090130 00:27:15< grzywacz> lol 20090130 00:27:26< grzywacz> There you go, got rid of that toothbrush. 20090130 00:27:27< YogiHH> Soliton: well, i do that, the problem is that those libraries (=SDL_mixer) spit a whole bunch of undefined references *after* they built completely fine before 20090130 00:28:02< grzywacz> YogiHH, the thing is, apparently you must have the -l options *after* any other files (.o?) on the command line if you use mingw. 20090130 00:28:30< YogiHH> grzywacz: you are mistaken, you need to get rid of that command line concept ;-) 20090130 00:28:42< YogiHH> on windows, we use IDE's 20090130 00:28:54< YogiHH> they take care of all this weird command line stuff 20090130 00:29:10< Soliton> obviously not too well. ;-) 20090130 00:29:10< loonycyborg> You can type command lines in IDEs too. 20090130 00:29:23< loonycyborg> That's why IDEs ever work on windows :) 20090130 00:29:30< ilor_> YogiHH: for quite a long time I used a simple text editor and command line scons, on windows 20090130 00:29:35< grzywacz> Dunno, look for codeblocks faq in that case. :P 20090130 00:29:45< grzywacz> ilor_, you heretic! ;) 20090130 00:30:01< Sirp> YogiHH: IDE's are the new BASIC. :p 20090130 00:30:13< Sirp> complete with Djikstra's comment about it. :) 20090130 00:30:20< YogiHH> there have been times when you guys were more helpful :-P 20090130 00:30:26-!- ilor [n=user@unaffiliated/ilor] has quit [Read error: 110 (Connection timed out)] 20090130 00:30:35< grzywacz> I tried to. Night. ;) 20090130 00:30:45< YogiHH> night :-) 20090130 00:30:53-!- grzywacz [n=grzywacz@moinmoin/developer/karol] has quit [Remote closed the connection] 20090130 00:31:50< Sirp> YogiHH: so are you sure SDL is getting linked before SDL_Mixer ? 20090130 00:32:12< Sirp> YogiHH: and sorry, it took until now to realize you had an actual legitimate problem; I was in annoying peanut gallery mode. :p 20090130 00:32:38< YogiHH> Sirp: if the linker procedes the libraries in the order i gave them, then yes 20090130 00:32:44-!- thespaceinvader [n=chatzill@91.108.178.108] has quit ["night all"] 20090130 00:32:53-!- boucman [n=rosen@140.117.71-86.rev.gaoland.net] has quit [Remote closed the connection] 20090130 00:32:54< YogiHH> Sirp: it's not like i can't take a little fun, don't worry ;-) 20090130 00:33:14< Sirp> YogiHH: okay, and are you sure that that symbol is defined in SDL ? 20090130 00:33:27< Sirp> YogiHH: is there a reason why you're not just using pre-build SDL_Mixer binaries? 20090130 00:33:45< Sirp> YogiHH: I know that it can be frustrating when you have a problem you're banging your head against the wall with and people just want to make jokes. ;) 20090130 00:34:32< YogiHH> Sirp: the only prebuilt binaries i can get are .lib binaries and i suspect they are built with MSVC and therefore responsible for my debugger problems 20090130 00:34:54< Sirp> ahhh 20090130 00:35:19< Sirp> YogiHH: I must admit I have never built any of the SDL libs myself on Windows, so I really have limited idea what the problem is. 20090130 00:35:22< YogiHH> Sirp: if that symbol is not defined in SDL, then SDL_Mixer shouldn't even build? But it does that without problem 20090130 00:35:36< Sirp> YogiHH: well, that's what I'd imagine. 20090130 00:35:46< YogiHH> Sirp: the error messages start when i link wesnoth against it 20090130 00:36:02< loonycyborg> AFAIK order matters more when you're linking static libraries. 20090130 00:36:03< Sirp> YogiHH: actually I'm not so sure. I think it will build. 20090130 00:36:23< YogiHH> Sirp: SDL_mixer? 20090130 00:36:34< Sirp> YogiHH: yes. I think it will build as long as it sees the definition in the header. 20090130 00:36:45< Sirp> it doesn't actually link. 20090130 00:37:08< Sirp> but one would imagine that if SDL provides the functions in headers it also provides the implementation.... 20090130 00:37:24< loonycyborg> E.g. if you have static libraries with circular dependencies, there's no way it's work. 20090130 00:37:44< YogiHH> Sirp: if i specify -lSDL, is that a static or dynamic link? 20090130 00:37:44< loonycyborg> .. Unless you use -Wl,--start-group -Wl,--end-group 20090130 00:38:05< loonycyborg> s/it's/it'll 20090130 00:38:25< loonycyborg> YogiHH: That depends on what it finds. 20090130 00:38:40< loonycyborg> It'll prefer dynamic libs by default. 20090130 00:39:01 * YogiHH is going to test something 20090130 00:42:06< Sirp> right, by default it's going to be dynamic. 20090130 00:44:50-!- loonycyborg [n=sergey@79.139.246.249] has quit ["Zzzzzzzzzzzzzzzzzzzzzzzzz"] 20090130 00:45:29-!- loonybot [n=loonybot@79.139.246.249] has quit [Remote closed the connection] 20090130 00:46:38-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has quit ["Reconnecting"] 20090130 00:46:40-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090130 00:48:19< YogiHH> uh, no, doesn't work 20090130 00:48:46< YogiHH> i am too tired for this, i guess i'll better stop here 20090130 00:49:06< YogiHH> anyway, thanks for your help 20090130 00:49:10< YogiHH> good night everyone 20090130 00:50:09< Sirp> goodnight YogiHH 20090130 00:52:10-!- YogiHH [i=YogiHH@d128122.adsl.hansenet.de] has quit ["Verlassend"] 20090130 00:57:21-!- dlr365 [n=doug@h44-199.reznet.ucalgary.ca] has joined #wesnoth-dev 20090130 01:26:38< Shadow_Master> noy: um, what eras, besids the now not-so-maintained EE, include the Kalifa? 20090130 01:27:02< Shadow_Master> (don't eat me) ._. 20090130 01:27:04< noy> we used to have a default +Kalifa era we used to maintain it 20090130 01:27:09< noy> to test out balance 20090130 01:27:19< noy> we'll rehabilitate that as soon as we get some more art 20090130 01:27:24< noy> and remove it from EE 20090130 01:27:39< Shadow_Master> if you need a repository for hosting it, wesnoth-umc-dev always welcomes more add-ons 20090130 01:27:59< Shadow_Master> and I'd have no problem with maintaining a simple era or being a commit-proxy myself :p 20090130 01:28:25< noy> well I think we'll do what we did before, which is have an informal era.... and playtest the hell out of it 20090130 01:37:28< CIA-54> shadowmaster * r32390 /trunk/data/scenario-test.cfg: Fixed an instance of the removed GIVE_TROLLSKIN macro. 20090130 01:43:02-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has quit ["Ugh."] 20090130 01:55:37-!- crimson_penguin [n=ben@64.201.60.214] has quit ["Leaving"] 20090130 01:58:57-!- Derekkk [n=Derekkk@host81-154-225-242.range81-154.btcentralplus.com] has left #wesnoth-dev [] 20090130 02:41:25-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090130 02:42:40-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has quit [Client Quit] 20090130 02:42:42-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090130 02:43:09< CIA-54> shadowmaster * r32391 /trunk/src/team.cpp: 20090130 02:43:09< CIA-54> Apply suggested fix for shroud/fog caches not being updated properly 20090130 02:43:09< CIA-54> when [modify_side] changes a team's allegiance (bug #12875). 20090130 02:43:09< CIA-54> This is only a partial fix; fog isn't being updated properly; or I need 20090130 02:43:09< CIA-54> a more explicit (WML) test case for this. 20090130 02:44:08 * Shadow_Master ponders this. 20090130 02:44:36< Shadow_Master> either I am failing at writing WML for some obscure reason, or MP games do additional tricks for syncing fog between sides of a team 20090130 02:45:09< Shadow_Master> aka black magic. Well, multiplayer games are black magic in themselves. 20090130 02:45:21 * Shadow_Master wishes alink was around :( 20090130 02:57:34< Shadow_Master> Turuk: do you think this is an "unnice" comment? http://www.wesnoth.org/forum/viewtopic.php?f=9&t=22398&p=336004#p336004 20090130 02:58:31-!- Sirp_ [n=me@c-71-198-3-104.hsd1.ca.comcast.net] has joined #wesnoth-dev 20090130 02:58:53< Turuk> Eh, it's really not far off the mark. 20090130 02:59:27< Turuk> His animation is not bad but despite it being pointed out, parts of it that are jerky he refuses to correct. 20090130 02:59:40< Turuk> He'll just come back and have something smart to say back to you, I've dealt with him before. 20090130 03:00:05< Shadow_Master> I ultimately want to say: "You're wasting your time. Go practice with something else, e.g. Liberty's units." 20090130 03:01:01< Shadow_Master> but zookeeper or you would kill me for that. 20090130 03:01:27-!- Elvish_Pillage2 [n=eli@66-189-14-42.dhcp.oxfr.ma.charter.com] has quit ["Hi! I'm a quit message virus vaccine. If you see a quit message virus, don't replace your quit message with it!"] 20090130 03:02:09< Turuk> Why would I kill you for that? 20090130 03:02:26< Turuk> If that's how you feel, that's how you feel, but just word it in a bit of a nicer manner than that. ;) 20090130 03:02:31< Turuk> I just don't think it will make much difference 20090130 03:03:18< Shadow_Master> added a similar bit now 20090130 03:04:13< Turuk> Just have to wait and see. 20090130 03:04:27< Turuk> My bet is you will get a well, this is good practice anyways and someone can use it for a UMC 20090130 03:06:43< Shadow_Master> "20090129 22:52:25 error config: local add-on 'Invasion_from_the_Unknown' has invalid version info, skipping from updates check..." 20090130 03:06:49< Shadow_Master> aha, a bug ! 20090130 03:07:43< Shadow_Master> well, the message is the bug. It is normal that add-ons with no _info.cfg cause the code to get to that branch. 20090130 03:08:45< Shadow_Master> but IMO it could be handled in a more gracile way. But how, without bloating it :p 20090130 03:12:26-!- ShellShocker [n=Alex_Dia@121.214.162.214] has joined #wesnoth-dev 20090130 03:13:24-!- ShellShocker [n=Alex_Dia@121.214.162.214] has left #wesnoth-dev [] 20090130 03:31:18< Shadow_Master> svn commit images/ 20090130 03:32:54< Shadow_Master> ahhh, no wonder it didn't work. 20090130 03:39:23-!- shikadibot [n=sh314001@unaffiliated/shadowmaster/bot/shikadibot] has joined #wesnoth-dev 20090130 03:41:27-!- shikadibot [n=sh314001@unaffiliated/shadowmaster/bot/shikadibot] has quit [Client Quit] 20090130 03:43:59-!- BenUrban [n=benurban@unaffiliated/benurban] has quit [Remote closed the connection] 20090130 03:44:07-!- BenUrban [n=benurban@c-68-49-10-243.hsd1.md.comcast.net] has joined #wesnoth-dev 20090130 03:47:30-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has quit [] 20090130 03:52:59< ESR_> Shadow_Master: Your Englisgh vocabulary tip for the day: gracile != graceful. "Gracile" is a technical term in zoology or physical anthropology, referring to a more slender of fine-boned variety of an animal (especially a hominid). 20090130 03:53:26< ESR_> s/slender of/slender or/ 20090130 03:53:37< Shadow_Master> ahh, yes. I knew that somehow. But writing around midnight causes me to spit nonsense. 20090130 03:54:37< ESR_> :-) Me too, sometimes. :-) 20090130 03:54:44< Shadow_Master> so I decided that at this time I should work on art, not English or C++ :) 20090130 03:55:35< Shadow_Master> (unless a new release is approaching next morning and I have critical bugfixes in my bag, that is) 20090130 03:57:27< ESR_> I actually rather enjoy being the resident English pedant. Not that I'd mind if we had another one. 20090130 03:58:04< ESR_> But helping with prose and translations and vocabulary choices is fun for me. 20090130 03:58:18< Shadow_Master> pah, lately I commit more spelling fixes than C++ ;) 20090130 03:59:17< ESR_> Your English has improved noticeably since I started interacting with you. You are less prone to accidental changes of reigister now. 20090130 04:00:28< ESR_> Ivanovics has gotten somewhat better too, less noticeably German-accented (though he still has one). 20090130 04:00:31< Shadow_Master> that must be because: a) I have learned more English from your campaigns and b) I try to avoid being a **** 20090130 04:00:45< ESR_> :-) 20090130 04:01:14< Shadow_Master> c) which I admit I was very often in the past 20090130 04:01:59< ESR_> You are fluent nearly to native-speaker level now. You weren't before. 20090130 04:03:38< ESR_> Though I could be accused of having rather high standards in this respect, probably with justice. 20090130 04:06:09< ESR_> s/rather/perhaps excessively/ 20090130 04:07:01< Shadow_Master> Ivanovic: would you be opposed to a few new Image Path functions (e.g. ~SCALE() and ~TINT()) now? 20090130 04:07:23< Sirp_> image path functions? 20090130 04:07:27< Shadow_Master> the LoW and SotBE graphics in the main menu look awful, and the only solution would be a ~SCALE() function or new graphics 20090130 04:07:54< Shadow_Master> Sirp_: yes, some nifty appendages for image paths, e.g. units/elves-wood/fighter.png~RC(magenta>red) 20090130 04:08:14< Shadow_Master> that applies TC with the key palette being 'magenta' and the target range being 'red', to the graphic 20090130 04:08:31< Sirp_> ahh 20090130 04:08:35 * Sirp_ never knew of such a thing. 20090130 04:08:44< Shadow_Master> it can be used everywhere in WML and in C++ if you use certain functions in the image namespace to load graphics 20090130 04:08:44< ESR_> That seems like a good idea to me. 20090130 04:09:47< Shadow_Master> yeah, I am against keeping scaled down versions of the same graphics in the tree 20090130 04:10:05< Shadow_Master> it just adds extra MBs to solve a lack in the engine 20090130 04:10:35 * ESR_ agrees. 20090130 04:10:50< Shadow_Master> since I implemented ~CROP() some time ago, the scaled down area can be manipulated in other ways as well 20090130 04:11:23< Shadow_Master> e.g. portrait.png~CROP(0,0,300,300)~SCALE(205,205) to get a 205x205 version of only a 300x300 area of a 400x400 portrait 20090130 04:11:36< Shadow_Master> (if I'm allowed to implement SCALE, that is) 20090130 04:13:24 * ESR_ makeS encouraging gestures in ShadowMater's direction. 20090130 04:17:20 * Shadow_Master is convinced (again!) to write code after midnight :) 20090130 04:29:48-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has quit ["Night."] 20090130 04:35:36-!- Espreon [n=espreon@c-76-117-239-33.hsd1.pa.comcast.net] has joined #wesnoth-dev 20090130 04:42:35-!- Lord_Aether [n=castle@207.212.136.10] has joined #wesnoth-dev 20090130 04:55:50-!- Ivanovic_ [n=ivanovic@dtmd-4db26b01.pool.einsundeins.de] has joined #wesnoth-dev 20090130 05:11:23-!- Ivanovic [n=ivanovic@dtmd-4db26cdb.pool.einsundeins.de] has quit [Read error: 110 (Connection timed out)] 20090130 05:11:49-!- Ivanovic_ is now known as Ivanovic 20090130 05:36:05-!- Lord_Aether [n=castle@207.212.136.10] has quit [] 20090130 05:41:05-!- mjs-de [n=mjs-de@vpw.wh.uni-dortmund.de] has quit ["On the road again"] 20090130 05:41:56-!- fabi__ [n=fabi@g227019223.adsl.alicedsl.de] has joined #wesnoth-dev 20090130 05:42:26-!- fabi_ [n=fabi@g228073081.adsl.alicedsl.de] has quit [Read error: 60 (Operation timed out)] 20090130 05:57:46-!- Espreon [n=espreon@c-76-117-239-33.hsd1.pa.comcast.net] has quit [Remote closed the connection] 20090130 06:01:16-!- crimson_penguin [n=ben@64.201.60.214] has joined #wesnoth-dev 20090130 06:12:13-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has joined #wesnoth-dev 20090130 07:22:32-!- crimson_penguin [n=ben@64.201.60.214] has quit ["Leaving"] 20090130 07:57:46-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev 20090130 08:35:51-!- dlr365 [n=doug@h44-199.reznet.ucalgary.ca] has quit ["rawr I'm an emu!"] 20090130 08:40:37-!- grzywacz [n=grzywacz@moinmoin/developer/karol] has joined #wesnoth-dev 20090130 08:50:08-!- zookeeper [n=l@dsl-tkubrasgw1-fe9ff800-215.dhcp.inet.fi] has joined #wesnoth-dev 20090130 08:59:28-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit ["leaving"] 20090130 09:13:09-!- Sirp_ [n=me@c-71-198-3-104.hsd1.ca.comcast.net] has quit ["leaving"] 20090130 09:16:04-!- grzywacz [n=grzywacz@moinmoin/developer/karol] has quit [Remote closed the connection] 20090130 10:04:47-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev 20090130 10:09:51-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has quit [] 20090130 10:19:08-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has joined #wesnoth-dev 20090130 10:29:25-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has quit [] 20090130 10:36:33< Ivanovic> moin 20090130 10:37:13< ilor_> hi Ivanovic 20090130 10:38:08< CIA-54> zookeeper * r32392 /trunk/data/multiplayer/eras.cfg: Activate the quick 4 MP leaders also in AoH. 20090130 10:40:00-!- ilor_ [n=user@unaffiliated/ilor] has quit [] 20090130 10:40:19< CIA-54> zookeeper * r32393 /trunk/ (changelog players_changelog): Updated changelogs. 20090130 10:42:44< zookeeper> this is most likely spam, yes? http://www.wesnoth.org/mw/index.php?title=User:Sergey_Labusov&rcid=26850 20090130 10:42:51< zookeeper> not otherwise, but the links.. 20090130 10:56:05< Rhonda> Yes, gonna delete it 20090130 11:00:40< Ivanovic> wow, someone saw Sirps tip of the day: http://www.wesnoth.org/forum/viewtopic.php?p=336048#p336048 20090130 11:00:57< zookeeper> yeah, and immediately we have some more feedback! it works :] 20090130 11:13:33< CIA-54> zookeeper * r32394 /trunk/data/campaigns/Sceptre_of_Fire/units/ (3 files): Use the runic hammer attack icon on the runesmith line. 20090130 11:26:26< CIA-54> zookeeper * r32395 /trunk/data/campaigns/Heir_To_The_Throne/scenarios/03_The_Isle_of_Alduin.cfg: Give the player recruitment of mages even in the unlikely case that they miss finding Elrian. 20090130 11:33:52-!- loonybot [n=loonybot@79.139.246.249] has joined #wesnoth-dev 20090130 11:34:27-!- loonycyborg [n=sergey@79.139.246.249] has joined #wesnoth-dev 20090130 12:03:56-!- Turuk [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has quit [Read error: 60 (Operation timed out)] 20090130 12:08:46-!- Turuk [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has joined #wesnoth-dev 20090130 12:10:16< Rhonda> zookeeper: Looks like it requires some wiki admin to remove that 20090130 12:10:20-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit ["leaving"] 20090130 12:10:30< Rhonda> I mean, as in completely. 20090130 12:10:37< zookeeper> k 20090130 12:11:15< Ivanovic> Rhonda: do you know how the frontpage of w.w.o works in regards to the portrait being shown? 20090130 12:11:18< Rhonda> I removed the links from the page at least. 20090130 12:11:25< Ivanovic> as in: what has to be done to have "other images" shown? 20090130 12:11:25< zookeeper> done 20090130 12:11:29< Rhonda> w.w.o? 20090130 12:12:12< Rhonda> Ivanovic: expand("w.w.o"), sorry 20090130 12:13:36< zookeeper> www.wes... 20090130 12:14:42 * Rhonda always uses it without www :) 20090130 12:17:08< Rhonda> Ivanovic:
in index.html and w.w.o/mw/skins/glamdrol/main.css 20090130 12:17:48< Ivanovic> Rhonda: yeah, there some "portrait.jpg" is referenced 20090130 12:17:50< Rhonda> Or rather
contained in each other 20090130 12:17:54< Ivanovic> but where is this freakin file?!? 20090130 12:18:22< Rhonda> In the same directory as the css file, "obviously" because it references it without any path 20090130 12:18:29< Rhonda> http://www.wesnoth.org/mw/skins/glamdrol/portrait.jpg 20090130 12:18:42< Rhonda> rightclick on it in firefox, show background image :) 20090130 12:18:50< Ivanovic> ah, okay 20090130 12:19:31< Ivanovic> hmm, IIRC we once had some script in there to automatically switch the portrait shown 20090130 12:22:13< zookeeper> IIRC kitty didn't like something about how it was intended to be done. 20090130 12:22:34< zookeeper> not that i remember the details. 20090130 12:40:11-!- Elvish_Pillager [n=eli@66-189-14-42.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090130 12:40:51-!- Baufo [n=thomas@62-47-131-200.adsl.highway.telekom.at] has joined #wesnoth-dev 20090130 12:53:43-!- Elvish_Pillager [n=eli@66-189-14-42.dhcp.oxfr.ma.charter.com] has quit ["Hi! I'm a quit message virus vaccine. If you see a quit message virus, don't replace your quit message with it!"] 20090130 13:03:41-!- yann [n=dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has quit [Read error: 110 (Connection timed out)] 20090130 13:30:46-!- Sapient [n=patrickp@agentek.com] has joined #wesnoth-dev 20090130 13:41:26-!- loonycyborg [n=sergey@79.139.246.249] has quit ["KVIrc 3.4.2 Shiny http://www.kvirc.net/"] 20090130 13:42:06-!- loonybot [n=loonybot@79.139.246.249] has quit [Remote closed the connection] 20090130 13:58:47-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev 20090130 14:11:06< zookeeper> Sapient, so can i assign http://gna.org/bugs/?12898 to you? 20090130 14:11:23< Sapient> wesbot: bug 12898 20090130 14:11:24< wesbot> Bug #12898 Assigned to: Lari Nieminen Status: None Priority: 5 - Normal 20090130 14:11:27< wesbot> Summary: The maximum text width is less than 1. 20090130 14:11:30< wesbot> Original submission: Possible bad WML in Legend of Wesmere. 20090130 14:11:33< wesbot> savegame trying to order green to attack someone gives: 20090130 14:11:36< wesbot> URL: https://gna.org/bugs/?12898 20090130 14:11:38< wesbot> Attached file (1st): https://gna.org/bugs/download.php?file_id=5209 20090130 14:11:44< Sapient> sure, you can assign it to me 20090130 14:12:26< zookeeper> also i wouldn't mind if you looked at ai_controller:cfg:286 and told me how i should write it so that there's no unnecessary linewrapping or that error 20090130 14:15:49< zookeeper> (assuming you're not going to fix the whole problem soon code-side) 20090130 14:45:33-!- mjs-de [n=mjs-de@vpw.wh.uni-dortmund.de] has joined #wesnoth-dev 20090130 14:53:04< CIA-54> zookeeper * r32396 /trunk/data/campaigns/ (2 files in 2 dirs): Added some coastal reef to Bay of Pearls. 20090130 14:58:13< zookeeper> btw, it would be nice if there was a small dialog with a progress bar when the game is autosaving. 20090130 14:58:45< zookeeper> just as a visual cue that the game hasn't just jammed, since autosaving sometimes takes several seconds. 20090130 15:00:55< Soliton> good idea. 20090130 15:03:53 * Sapient agrees 20090130 15:06:04< zookeeper> it wouldn't even need to have a progress bar, just the text "Autosaving..." and some little "doing something" animation 20090130 15:07:39< Soliton> the idle animation of the goblin when he sleeps? 20090130 15:08:46< zookeeper> :P 20090130 15:08:51< zookeeper> yeah, why not. 20090130 15:12:55-!- boucman [n=rosen@140.117.71-86.rev.gaoland.net] has joined #wesnoth-dev 20090130 15:12:59< Sapient> I was thinking of a small gray square in the middle of the screen with a sundial on it and the word Autosaving 20090130 15:13:06< boucman> hey all 20090130 15:13:19< Sapient> yo boucman 20090130 15:15:44< zookeeper> hello 20090130 15:17:55< zookeeper> boucman, authors are getting confused by that default animation image bug ;) http://www.wesnoth.org/forum/viewtopic.php?p=336043#p336043 20090130 15:18:24< boucman> ah, that one... 20090130 15:18:42< boucman> don't remember the exact cause, is there abug opened in the DB ? 20090130 15:19:34< zookeeper> i don't think so 20090130 15:22:50< zookeeper> but now there is ;) 20090130 15:22:59< boucman> assigned to me, I guess ;) 20090130 15:23:15< zookeeper> yep 20090130 15:39:03-!- Sapient [n=patrickp@agentek.com] has left #wesnoth-dev [] 20090130 16:03:41-!- elias_ [n=elias@allegro/developer/allefant] has joined #wesnoth-dev 20090130 16:07:57-!- Baufo [n=thomas@62-47-131-200.adsl.highway.telekom.at] has quit [Remote closed the connection] 20090130 16:11:16-!- crimson_penguin [n=ben@64.201.60.214] has joined #wesnoth-dev 20090130 16:18:51< CIA-54> fendrin * r32397 /trunk/data/campaigns/Legend_of_Wesmere/scenarios/02_Hostile_mountains.cfg: Changed the order of wml code to let see wmllint the characters. 20090130 16:19:11-!- thespaceinvader [n=chatzill@91.108.175.156] has joined #wesnoth-dev 20090130 16:31:40< AI0867> double-check: fosdem is next weekend? 20090130 16:37:00< boucman> zookeeper: what would be a reasonable range for damage a unit can take in one strike ? 1..30 ? 20090130 16:37:15< Ivanovic> AI0867: yes 20090130 16:37:34< Ivanovic> boucman: IIRC >30 is possible under some conditions 20090130 16:37:55< Ivanovic> lancer at daylight with vulnerability to piercing and some leadership unit close to him 20090130 16:38:17< Ivanovic> (due to double damage at charging) 20090130 16:38:41< boucman> Ivanovic: ok, I was more interestd in the "normal range" than the extremes... 20090130 16:38:42< Ivanovic> 12 is "normal" value 20090130 16:38:49< Soliton> the question is what reasonable is supposed to mean. 20090130 16:38:51< zookeeper> boucman, umm...why? 20090130 16:38:59< Ivanovic> at daytime it is +25% and with a lvl3 leader close it is another +25% 20090130 16:39:00< zookeeper> it depends 20090130 16:39:15< Ivanovic> so you are at 36 with "normal" resistance against piercing 20090130 16:39:29< Ivanovic> so make the "normal" as in "it can happen in normal gameplay" value at 40 20090130 16:42:29< zookeeper> urgh. the beginning of "an unexpected appearance" (EI) is entirely dependant on whether you actually manage to kill that adept in the first turn or two or not. 20090130 16:44:45< Soliton> recall a unit or give one for free? 20090130 16:45:50< zookeeper> meh, i'll try if this time i'll manage to write the macros for ensuring hits or misses this time.. 20090130 16:45:54< zookeeper> -this time 20090130 16:46:21< Soliton> ah, that'd be cool. 20090130 16:46:24< zookeeper> (it'd be useful in so many other places where the player just isn't supposed to be able to kill some enemy leader due to storyline purposes) 20090130 16:46:53< boucman> zookeeper: seeing if I tyr to make the number of red blinks dependant on the damage or not 20090130 16:47:23< zookeeper> boucman, didn't we intentionally remove that the last time? 20090130 16:47:30< zookeeper> i mean, it was implemented once already.. 20090130 16:47:32< boucman> :) 20090130 16:55:35-!- elias_ is now known as elias 20090130 17:04:19-!- cib [n=cib@p4FD0F951.dip.t-dialin.net] has joined #wesnoth-dev 20090130 17:11:31-!- busfahrer` [n=busfahre@dsl72bA010.sdtnet.de] has joined #wesnoth-dev 20090130 17:15:31< CIA-54> boucman * r32398 /trunk/src/unit_animation.cpp: 20090130 17:15:31< CIA-54> makes the hit red blink more visible, i'm still not really happy by the result, advice welcome 20090130 17:15:31< CIA-54> Shadow_Master, tell me if it helps with your other bug 20090130 17:20:18-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit [Read error: 145 (Connection timed out)] 20090130 17:26:28-!- loonybot [n=loonybot@79.139.246.249] has joined #wesnoth-dev 20090130 17:26:59-!- loonycyborg [n=sergey@79.139.246.249] has joined #wesnoth-dev 20090130 17:36:30-!- fabi__ [n=fabi@g227019223.adsl.alicedsl.de] has quit [Remote closed the connection] 20090130 17:41:12-!- Noyga [n=lame-z@AVelizy-151-1-67-75.w81-249.abo.wanadoo.fr] has joined #wesnoth-dev 20090130 17:52:44< Ivanovic> cib: so do you already know when you will be in brussels? 20090130 17:52:56< Ivanovic> that is: we should soon start to coordinate so that we can meet up... 20090130 17:57:23-!- EdB [n=EdB@179.153.82-79.rev.gaoland.net] has joined #wesnoth-dev 20090130 18:00:24-!- crimson_penguin [n=ben@64.201.60.214] has quit ["Leaving"] 20090130 18:05:30-!- EdB [n=EdB@179.153.82-79.rev.gaoland.net] has quit ["Konversation terminated!"] 20090130 18:07:43-!- elias [n=elias@allegro/developer/allefant] has quit ["Leaving"] 20090130 18:09:46-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090130 18:10:36< Shadow_Master> random drips of water and some rock rolling sounds with a lot of reverb, doesn't sound too hard 20090130 18:14:19< zookeeper> yes yes 20090130 18:14:40< Shadow_Master> :> 20090130 18:14:49< zookeeper> Shadow_Master, btw, don't you have a bunch of better sprites to replace liberty's death squire and some others with? 20090130 18:15:09< Shadow_Master> I never finished polishing/animating them, and it was only for the Death Squire 20090130 18:16:02< zookeeper> oh, ok. so it doesn't have any animations? 20090130 18:17:14< Shadow_Master> http://wesnoth-umc-dev.svn.sourceforge.net/viewvc/wesnoth-umc-dev/trunk/Invasion_from_the_Unknown/images/units/undead-skeletal/ : death-baron*.png 20090130 18:18:59< zookeeper> thanks, i guess i'll try to put those to use there 20090130 18:19:11< zookeeper> since the old sprite is...urgh, one of the worst ones in the whole game. 20090130 18:21:19< Shadow_Master> it has a few supercrappy animation frames 20090130 18:21:19-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has quit ["Reconnecting"] 20090130 18:21:22-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090130 18:24:10< zookeeper> and a really pretty light gray shadow. 20090130 18:24:23-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has quit [Client Quit] 20090130 18:24:32-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090130 18:25:13< Shadow_Master> zookeeper: when I said "supercrappy animation frames" I was referring to mine 20090130 18:26:38< zookeeper> -.- come on 20090130 18:26:49< Shadow_Master> I don't think the current animations in Liberty can be compared to anything else in existence :p 20090130 18:26:51-!- Turuk [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has quit [Read error: 60 (Operation timed out)] 20090130 18:28:03-!- Turuk [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has joined #wesnoth-dev 20090130 18:28:04-!- mjs-de [n=mjs-de@vpw.wh.uni-dortmund.de] has quit ["On the road again"] 20090130 18:29:28< CIA-54> shadowmaster * r32399 /trunk/ (5 files in 5 dirs): (log message trimmed) 20090130 18:29:28< CIA-54> * New image-path function, ~SCALE(W,H), which scales an image down or up 20090130 18:29:28< CIA-54> accordingly. Skipped, zero or negative parameters are assumed to be the 20090130 18:29:28< CIA-54> image's original dimension in that direction. 20090130 18:29:28< CIA-54> * Adapted the _main.cfg of EI, LoW and SotBE to take advantage of this, 20090130 18:29:31< CIA-54> * by scaling down their high-res splash graphics to 205x205. 20090130 18:29:33< CIA-54> Note that ~CROP() and ~FL() take precendence (in that order) over 20090130 18:29:43< CIA-54> shadowmaster * r32400 /trunk/data/campaigns/Legend_of_Wesmere/_main.cfg: 20090130 18:29:43< CIA-54> Added a missing comma in the license hea... why do we have a license 20090130 18:29:43< CIA-54> header here? It was intended for wesnoth-umc-dev, but it doesn't serve 20090130 18:29:43< CIA-54> for any purpose here. 20090130 18:30:05< zookeeper> yay 20090130 18:30:38< zookeeper> Shadow_Master, hmm, shouldn't multiple image path functions be processed in the exact order in which they're given? 20090130 18:31:30< Shadow_Master> in an ideal world, so they should. 20090130 18:31:45< Shadow_Master> I have a few ideas on how to make it so, but I'm not sure how they'd affect performance 20090130 18:31:53< zookeeper> ok 20090130 18:32:51< Shadow_Master> boucman: any idea about measuring how much time is spent on a particular method? (I'll test your patch btw) 20090130 18:32:53-!- fabi_ [n=fabi@g227019223.adsl.alicedsl.de] has joined #wesnoth-dev 20090130 18:33:47< zookeeper> i'm sure you can easily do that in C++ if i've done that in WML ;P 20090130 18:34:24< Shadow_Master> boucman: umm, your patch doesn't solve the problem with my [animate_unit] :( I still don't see the red tint in it 20090130 18:34:43< Shadow_Master> it works for normal unit fighting though 20090130 18:38:11< Shadow_Master> http://wesnoth.pastebin.com/mb33e8e8 20090130 18:50:27-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has joined #wesnoth-dev 20090130 18:54:06-!- crimson_penguin [n=ben@64.201.60.214] has joined #wesnoth-dev 20090130 18:56:39< zookeeper> \o/ yippee. 20090130 18:56:47< CIA-54> zookeeper * r32401 /trunk/data/core/macros/utils.cfg: A new macro for invisibly forcing a specific CTH in combat. 20090130 18:58:50< Shadow_Master> http://www.wesnoth.org/forum/viewtopic.php?f=4&t=23894 20090130 18:59:17< Shadow_Master> (checking if I can put an end to the countless virtualstore issue threads in TS) 20090130 19:01:47< Soliton> turn profiling on to get function execution times. 20090130 19:02:32< Soliton> have to make sure to exit cleanly though. 20090130 19:03:28< zookeeper> Shadow_Master, you might be interested in that macro btw, since you like obscure WML tricks. 20090130 19:05:40< Shadow_Master> I'll be interested in seeing who's the first C++ coder to break it 20090130 19:05:53< zookeeper> yeah.. :p 20090130 19:09:30-!- silene [n=plouf@ASte-Genev-Bois-152-1-22-169.w83-114.abo.wanadoo.fr] has joined #wesnoth-dev 20090130 19:09:42< silene> hi 20090130 19:10:15< loonycyborg> hello 20090130 19:10:25< Shadow_Master> hi silene 20090130 19:13:25< Shadow_Master> well , I built the "profile" version of Wesnoth with SCons. Now what? :p 20090130 19:13:41< loonycyborg> Now run it :) 20090130 19:13:50< Shadow_Master> callgrind? 20090130 19:14:02< Soliton> start, do stuff, exit, analyse profile. 20090130 19:14:05< loonycyborg> profiling data will be in gmon.out 20090130 19:14:22< Shadow_Master> um, and how do I view that file? 20090130 19:14:37< Soliton> with gprof. 20090130 19:14:37< loonycyborg> With gprof 20090130 19:14:49< Shadow_Master> right 20090130 19:15:58-!- Turuk [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has quit [Read error: 60 (Operation timed out)] 20090130 19:15:59-!- loonycyborg [n=sergey@79.139.246.249] has quit ["KVIrc 3.4.2 Shiny http://www.kvirc.net/"] 20090130 19:16:24-!- JonW [i=chatzill@cpc2-finc11-0-0-cust348.4-2.cable.virginmedia.com] has joined #wesnoth-dev 20090130 19:17:36-!- loonycyborg [n=sergey@79.139.246.249] has joined #wesnoth-dev 20090130 19:21:15< silene> i don't know what your system is; but if it is linux, i suggest to use oprofile instead, it's more accurate and less invasive (no need for a "profile" binary) 20090130 19:22:49< Shadow_Master> installing.. 20090130 19:23:45< loonycyborg> Judging by qt3 USE-flag it even has GUI :) 20090130 19:23:50-!- Turuk [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has joined #wesnoth-dev 20090130 19:25:13< silene> no, that's just to confuse you, the gui is useless: in the end you will run gprof anyway 20090130 19:25:24< Shadow_Master> pah, I just installed with sudo apt-get install oprofile 20090130 19:27:00< silene> the gui is only there to configure some really obscure options of oprofile, like the hardware debug registers used by oprofile; except for profiling the kernel, i doubt anyone would need such options 20090130 19:28:40< Shadow_Master> " cpu_type 'unset' is not valid " \o/ 20090130 19:29:23< silene> nice 20090130 19:30:17< Shadow_Master> dmesg | tail : "oprofile: using NMI interrupt." sounds nasty for some reason :P 20090130 19:31:21< silene> did you do something like the following? opcontrol --reset ; opcontrol --start ; play wesnoth ; opcontrol --stop ; opreport 20090130 19:31:57< silene> (it will profile your whole system, but that's a good way to start) 20090130 19:32:07< Shadow_Master> ehm, kind of: sudo opcontrol --image=/home/shadowm/src/wesnoth/wesnoth --no-vmlinux 20090130 19:32:23< Shadow_Master> any of the other commands give me a similar message to the effect of oprofile being outdated 20090130 19:33:07< Shadow_Master> "you should upgrade oprofile or force the use of timer mode" 20090130 19:33:26< silene> strange, what are your oprofile and kernel versions? 20090130 19:34:12< Shadow_Master> oprofile 0.9.3-2 (Debian), kernel 2.6.28.1 (non-Debian) 20090130 19:35:11< silene> the 0.9.3 version works fine with 2.6.27; i guess there must be a new version somewhere for 2.6.28 20090130 19:35:12< Shadow_Master> I'll try using 0.9.4 20090130 19:36:33-!- BenUrban [n=benurban@unaffiliated/benurban] has quit [Read error: 104 (Connection reset by peer)] 20090130 19:36:34-!- BenUrban_ [n=benurban@unaffiliated/benurban] has joined #wesnoth-dev 20090130 19:36:58-!- BenUrban_ [n=benurban@unaffiliated/benurban] has quit [Remote closed the connection] 20090130 19:37:09-!- BenUrban [n=benurban@c-68-49-10-243.hsd1.md.comcast.net] has joined #wesnoth-dev 20090130 19:38:09< loonycyborg> Weird.. I've run emerge profile, and its kernel module doesn't seem to be installed :? 20090130 19:38:37< Shadow_Master> oprofile ? 20090130 19:39:02< loonycyborg> Yes. 20090130 19:39:03< silene> yet it's a standard module; does gentoo disable some kernel modules? 20090130 19:39:33< loonycyborg> I build fully custom kernels :) 20090130 19:39:55 * Shadow_Master too because his laptop doesn't work with Lenny otherwise :p 20090130 19:41:27< Shadow_Master> "binutils-dev" is a dependency... nice. 20090130 19:43:08< silene> not really surprising, as opreport needs to read debug info in binary files in order to get line numbers 20090130 19:44:58 * Shadow_Master . O o (I'd have saved some time if I just apt-get build-dep oprofile) 20090130 19:46:45< Shadow_Master> well, I still get the same thing with latest oprofile 20090130 19:48:11< AI0867> who manages the addons on units.wesnoth.org? 20090130 19:48:17< Shadow_Master> AI0867: Soliton 20090130 19:49:01-!- ilor [n=user@unaffiliated/ilor] has joined #wesnoth-dev 20090130 19:49:10< Sirp> hi ilor 20090130 19:49:11< AI0867> Soliton: the version of the era of strife shown on units.wesnoth.org 1.4 is quite outdated, the new version is also available for 1.5 20090130 19:49:16< ilor> hi silene 20090130 19:49:18< Shadow_Master> I'll take the gprof info as the most accurate possible. 20090130 19:49:21< ilor> ar. I meant hi Sirp 20090130 19:49:31< Shadow_Master> % cumulative self self total 20090130 19:49:33< Shadow_Master> 0.00 4.60 0.00 96 0.00 0.00 image::locator::load_image_sub_file() const 20090130 19:49:42< Shadow_Master> looks nice :p 20090130 19:49:55< Ivanovic> hi Sirp 20090130 19:50:06< Ivanovic> Sirp: got some mins for the strings to use and the dialog to craft? 20090130 19:50:17< Shadow_Master> being a -O2 build, I think a rewrite of load_image_sub_file() would not hurt to fix zookeeper's complaint 20090130 19:50:37< Shadow_Master> (mine too actually ,trying to enforce a precedence order is... dumb.) 20090130 19:51:26< Shadow_Master> Sirp: what would be (more or less) the most optimum STL container amongst vector, deque and list? 20090130 19:51:46< Shadow_Master> for a time-critical operation that doesn't need subscripted access or the contiguous allocation guarantee 20090130 19:51:49< loonycyborg> That depends on how you use them :P 20090130 19:52:06< loonycyborg> Oops! 20090130 19:52:12< Sirp> Ivanovic: well could you post a suggestion on the ml or forums? :) 20090130 19:52:20< ilor> Shadow_Master: what do you it to do? 20090130 19:52:24< Sirp> Shadow_Master: depends what your "time critical operation" is. 20090130 19:52:27< ilor> s/it/need it/ 20090130 19:52:30< Ivanovic> Sirp: i will gimp (really crude) some version 20090130 19:52:34< Sirp> Ivanovic: okay. 20090130 19:52:38< Ivanovic> Sirp: you can then say "yay" or "nee" 20090130 19:52:43< Sirp> Ivanovic: okay. 20090130 19:52:48< Shadow_Master> just iterating over a list of strings and comparing them in the inner loop. 20090130 19:52:51< Ivanovic> if you say "yay" i will add the strings in some dummy file 20090130 19:53:04< Sirp> Shadow_Master: for just iterating over a sequence, vector is fastest 20090130 19:53:05< Shadow_Master> oops, if I use utils::split() for that I can only use a vector... 20090130 19:53:11< ilor> if you want fast iteration, vector or deque 20090130 19:53:28-!- grzywacz [n=grzywacz@moinmoin/developer/karol] has joined #wesnoth-dev 20090130 19:53:40< ilor> utils::split is not the final say in string splitting ;) 20090130 19:53:49-!- Tigge_ [n=tigge@m83-178-10-57.cust.tele2.se] has joined #wesnoth-dev 20090130 19:53:53< Sirp> Shadow_Master: vector is generally the fastest container for all operations, unless its time complexity is inferior to another container for the given operation. 20090130 19:54:10< loonycyborg> I bet there's a way to generalize utils::split to support any container 20090130 19:54:23< Sirp> and sure.... 20090130 19:54:32< Shadow_Master> and when can std::list<..> be considered an alternative? only if I needed to insert and remove many items? 20090130 19:54:33< loonycyborg> Or just use split from boost string algos :) 20090130 19:54:40< Sirp> vector vs = utils::split(...); deque ds(vs.begin(), vs.end()); 20090130 19:55:05-!- JonW [i=chatzill@cpc2-finc11-0-0-cust348.4-2.cable.virginmedia.com] has quit ["Don't give up the fun has only just begun!"] 20090130 19:55:07< Sirp> Shadow_Master: std::list is rarely a good choice. Only if you want to insert or remove elements in the middle, or if you want to use the splice() function 20090130 19:55:19< Sirp> splice() is the one cool thing about std::list. Otherwise it's generally a crap container. 20090130 19:55:33< ilor> Shadow_Master: if you need to insert and remove from the beginning as well as the end, deque is your friend 20090130 19:56:11< Shadow_Master> I see. 20090130 19:56:34< Sirp> Shadow_Master: the main example I know of where std::list is a good choice is if you're maintaining the Least Recently Used (LRU) element, usually for cache behavior 20090130 19:56:59< Sirp> you make a list of all the elements in the cache, and then you have a map or hash_map which has values that are iterators into the std::list 20090130 19:57:12< Sirp> every time an object is accessed in the cache, you splice the element to the front of the std::list 20090130 19:57:58< Sirp> this way, you always keep track of which element was the LRU, and all operations (insert, delete, find LRU element) are O(1) time. 20090130 19:58:56-!- Tigge [n=tigge@bacchus.olf.sgsnet.se] has quit [Read error: 145 (Connection timed out)] 20090130 19:59:37< Shadow_Master> so I can use an std::[container]::iterator as the value type in an (ordered) map? I didn't know they implemented operator<() 20090130 20:01:00< loonycyborg> AFAIK it depends on the type of iterator. 20090130 20:01:02< Sirp> Shadow_Master: as the value, not as the key. 20090130 20:01:03< AI0867> wesnoth: src/gui/widgets/event_handler.cpp:288: void gui2::tevent_handler::mouse_capture(bool): Assertion `mouse_focus_' failed. <-- got this twice now, haven't found a way to reliably reproduce yet though 20090130 20:01:23< Shadow_Master> ehm, yeah 20090130 20:01:43< loonycyborg> Defining < would make sens for random access iterators :P 20090130 20:01:44< Sirp> Shadow_Master: values in a map don't need to have operator<() only keys. Also random access iterators do implement operator<(), but std::list has bidirectional iterators, which don't. 20090130 20:01:59-!- silene [n=plouf@ASte-Genev-Bois-152-1-22-169.w83-114.abo.wanadoo.fr] has quit [Read error: 145 (Connection timed out)] 20090130 20:02:02< loonycyborg> *sense 20090130 20:02:05< Shadow_Master> AI0867: I told mordante about it. It happens reliably if you don't enter your password in the login box and press the button repeteadly 20090130 20:02:16< AI0867> yeah, double tapping it 20090130 20:02:23-!- loonycyborg [n=sergey@79.139.246.249] has quit ["KVIrc 3.4.2 Shiny http://www.kvirc.net/"] 20090130 20:02:34< AI0867> the reason I found it is that I can't log in 20090130 20:02:55< Shadow_Master> Sirp: I see. Makes sense since lists don't have the contiguous allocation guarantee 20090130 20:02:59-!- loonybot [n=loonybot@79.139.246.249] has quit [Remote closed the connection] 20090130 20:03:05-!- silene [n=plouf@ASte-Genev-Bois-152-1-22-169.w83-114.abo.wanadoo.fr] has joined #wesnoth-dev 20090130 20:03:18< Shadow_Master> AI0867: you probably must use "AI" as username and your forum password 20090130 20:03:36< Shadow_Master> I cannot login either because my forum username has a space in it. 20090130 20:04:07< Sirp> Shadow_Master: well, deque doesn't have the contiguous allocation guarantee, but its iterators are still random access and have operator< defined. 20090130 20:04:20< Sirp> it's all about what iterator category the iterators are. 20090130 20:04:28< Shadow_Master> ohh. 20090130 20:05:18< Sirp> iterators can be input, output, forward, bi-directional, or random access. Each category has a certain set of operations which are defined to work for that category of iterator. 20090130 20:05:34-!- loonybot [n=loonybot@79.139.246.249] has joined #wesnoth-dev 20090130 20:06:03-!- loonycyborg [n=sergey@79.139.246.249] has joined #wesnoth-dev 20090130 20:06:06 * Shadow_Master is reading the SGI STL docs again 20090130 20:06:09< grzywacz> http://sgi.com/tech/stl is your friend 20090130 20:06:17< grzywacz> ;) 20090130 20:06:24-!- Tigge_ is now known as Tigge 20090130 20:06:46< silene> it seems like wml code has to store then unstore a unit, if it wants to read and write its attributes; do we want to keep this behavior for lua? 20090130 20:06:51< Shadow_Master> grzywacz: pah, I have it sitting in my hard disk since months ago. But it seems I forgot some stuff 20090130 20:07:04 * loonycyborg now has oprofile support in kernel :) 20090130 20:07:09< Shadow_Master> silene: yes, until the [modify_unit] action is implemented I guess 20090130 20:08:22< Shadow_Master> http://www.wesnoth.org/wiki/FutureWML#New_Actions 20090130 20:08:26< silene> Shadow_Master: sorry, i don't understand what you mean, i'm not talking about changing the wml way of doing it, i just want to know if people feels like this cumbersome access should also be provided by lua 20090130 20:09:06< silene> with the current lua code, you don't need to store a unit in order to read its attributes 20090130 20:09:12< Shadow_Master> well, I thought the intention of the lua support is mirroring all the WML tags avilable in events with the same semantics 20090130 20:09:23< Shadow_Master> you should provide both anyway 20090130 20:09:38< Shadow_Master> with [store_unit] one can do more advanced manipulation of units en masse 20090130 20:10:25< silene> no, the intent was not to mirror things; if there is a better way to do it in lua, i want the better way 20090130 20:10:38< Shadow_Master> e.g. saving the recall list for two scenarios later 20090130 20:11:51< silene> you don't need store_unit to do that in lua, just get a unit, copy it into a variable, then create a new unit later with the content of the variable 20090130 20:12:35< Ivanovic> Sirp: okay, i have done some gimp magic 20090130 20:12:40< Shadow_Master> is the variable persistent across scenarios? 20090130 20:12:43< Ivanovic> in red is the "new text" 20090130 20:12:55< Ivanovic> http://www.wesnoth.org/files/wip_images/help_wesnoth__about-to-upload_dialog.png 20090130 20:12:59< Shadow_Master> is it available to the vconfig engine (e.g. WML variable expansion)? 20090130 20:13:04< Ivanovic> this is the dialog to be shown before uploading data 20090130 20:13:14< Ivanovic> (of course with adjusted colors for the text) 20090130 20:13:23< Ivanovic> in red is just what ends as "new strings" 20090130 20:13:43< Ivanovic> the "normal" help wesnoth dialog would need a small change, too: http://www.wesnoth.org/files/wip_images/help_wesnoth_dialog.png 20090130 20:14:29< Shadow_Master> silene: with those two basic requirements, I guess the lua way would be better, assuming I understand the way it works. 20090130 20:14:59< silene> Shadow_Master: no, there are no persistent variable yet, but that's on my todo list for tomorrow 20090130 20:15:05< Shadow_Master> and remember [store_unit] takes a Standard Unit Filter and can save more than one unit in an array of containers 20090130 20:15:38< Shadow_Master> and that it can take units from the recall list, as [unstore_unit] can put them in it too. 20090130 20:15:40< silene> Shadow_Master: the lua code has access to all the units anyway, so it odes whatever it wants with them :-) 20090130 20:16:10< Ivanovic> ESR_: around? 20090130 20:16:39< Ivanovic> ESR_: i need some update to the manual to describe the "save password" thingie that baufo introduced 20090130 20:16:40< silene> i have no clue if it can access units on the recall list; are these units in the "units" variable of game_events.cpp? if yes, it does have access to them 20090130 20:16:51< Shadow_Master> no, it isn't IIRC 20090130 20:17:27< Shadow_Master> looking at game_events.cpp:2135, it gets them from elsewhere since they are not "Real" units 20090130 20:18:01< Shadow_Master> (e.g. they do not exist in the gamemap, therefore they can't be in units which is a unit_map) 20090130 20:18:28< Shadow_Master> (the unit_map associates real locations to each unit) 20090130 20:19:02< silene> i see 20090130 20:19:07< Shadow_Master> s/which is a unit_map/which is a bloody pointer to a unit_map/ 20090130 20:19:54< silene> are people actually using store_unit to work on both the recall list and the game units at the same time? 20090130 20:20:16< Shadow_Master> it can be done, yes. You cannot go over all the user-made add-ons to check which does what 20090130 20:21:24< CIA-54> ivanovic * r32402 /trunk/doc/manual/ (images/multiplayer-1.5.9.jpg manual.txt): screenshot of the new multiplayer dialog 20090130 20:21:55< Shadow_Master> many weird tricks can be done with standard unit filters. I'd ask Sapient for details 20090130 20:21:57< silene> no, that's not what i meant; since i don't intend to break anything, i don't care if it is really used; what i want to know if it is actually useful :-) otherwise i will just provide a get_recall_units lua function in addition to the current get_units 20090130 20:23:01< Shadow_Master> it should be useful or it'd not be there ;) 20090130 20:25:28< zookeeper> silene, yes, i think there are some cases like that 20090130 20:25:56< zookeeper> i mean, i'm not sure if there are any in mainline, but it's not a far-fetched idea at all if you'd ask me 20090130 20:26:06< CIA-54> ivanovic * r32403 /trunk/doc/manual/images/ (3 files in 2 dirs): 20090130 20:26:06< CIA-54> added german translation of new multiplayer screen 20090130 20:26:06< CIA-54> removed old version of english and german file 20090130 20:26:33< Shadow_Master> Ivanovic: am I supposed to upload -1.5.9.jpg files now? :( 20090130 20:26:50< Ivanovic> Shadow_Master: only the one for the mp dialog changed 20090130 20:27:01< Ivanovic> since there is a password field now 20090130 20:27:07< Ivanovic> (which still has to be explained) 20090130 20:27:08< Shadow_Master> Ivanovic: so the -1.5.7 can stay, or do I have to rename them nonetheless? 20090130 20:27:23< Shadow_Master> *the other -1.5.7.jpg's 20090130 20:27:26< Ivanovic> after an update of the manual files, the string will be fuzzy anyway 20090130 20:27:31< Ivanovic> all the others can stay as they are 20090130 20:27:37< Ivanovic> i replaced just *one* single image 20090130 20:27:48< Shadow_Master> okay. working 20090130 20:28:22< Shadow_Master> when do you plan to regenerate the manuals and commit a pot-update anyway? 20090130 20:29:28< Shadow_Master> and, um, could you regenerate the manuals only when releasing and make the pot-update a day earlier? 20090130 20:29:42< Ivanovic> Shadow_Master: i want to have two things in first: 20090130 20:30:01< Ivanovic> 1) strings for the "we want to upload data" (cf the image links i just posted) 20090130 20:30:12< Ivanovic> 2) strings in the manual explaining the password field 20090130 20:31:56< Shadow_Master> I'm just saying that it'd be nice to give the most responsive of us time to fix the manual strings before regenerating the manual so that 1.5.8 can go with fully translated manuals if possible for the 100% languages ^^ 20090130 20:32:04< Shadow_Master> (don't kill me) D: 20090130 20:32:53< Shadow_Master> I mean 1.5.9 btw. 20090130 20:33:55< silene> can someone remind me what is the difference between config and vconfig objects? 20090130 20:33:56< Ivanovic> Shadow_Master: that is why i would like to have those strings in, uhm, 5 days ago 20090130 20:34:05< Ivanovic> Shadow_Master: and i already asked zookeeper to write something 20090130 20:34:19< Ivanovic> baufo does of course not document is option in all places himself 20090130 20:34:30< Ivanovic> and now i wait for esr to come up with some good text 20090130 20:34:42< zookeeper> the "Error while playing the game: game_error: Unknown unit type '' while generating traits" is caused by the AI trying to recruit a nonexisting unit, like when you typo a unit id in the recruit list. crashing the campaign is a really bad thing to happen in that case. 20090130 20:34:47< loonycyborg> silene: Ask Sapient about vconfig :) 20090130 20:34:52< Shadow_Master> silene: I'm not the expert, Sapient is, but the basic difference is: config objects only allow dynamic translation of strings to the local language (t_string) 20090130 20:35:13< Shadow_Master> silene: vconfig has management of WML variable containers and arrays 20090130 20:35:41< Shadow_Master> it also has support for dynamic expansion of WML inline formulas "$(4+4)" and insertion of dynamic tags with [insert_tag] 20090130 20:35:56< Ivanovic> Shadow_Master: and i won't release before sunday anyway 20090130 20:36:02< Ivanovic> so two days are left atm 20090130 20:36:05< zookeeper> Ivanovic, if you're talking about adding the login help to the manual, then err, yeah, i guess he didn't add it there. i can do that in a moment, i guess. 20090130 20:36:15< Ivanovic> zookeeper: yes, please do so 20090130 20:36:24< Ivanovic> i already uploaded a new screenshot for this 20090130 20:36:35< Shadow_Master> Ivanovic: I knoooow, that's why I ask, to have time to fix the manual strings so that things don't look ugly. 20090130 20:37:04< Shadow_Master> honestly, I assumed you'd understand what my secret plan is, already 20090130 20:37:05< silene> Shadow_Master: thanks, so it means lua only needs to output config objects, but it should be able to input vconfig objects too 20090130 20:37:23< Ivanovic> now i just wait for Sirp to tell me that the strings i posted above are appropriate for the "may i send data" dialog... 20090130 20:37:40< Shadow_Master> silene: I'd ask Sapient. I'm at a loss when it comes to language interoperatibility. 20090130 20:39:16< Shadow_Master> zookeeper: indeed, submit a bug report with a proper test case and _perhaps_ I fix it 20090130 20:41:26< Sirp> Ivanovic: where are the strings? 20090130 20:41:34< Shadow_Master> (unrelated) um, you know, I always thought RR was a "pure-C man", but he has copyright on unit_map.cpp. Interesting. 20090130 20:41:36< Ivanovic> Sirp: about 30mins ago 20090130 20:41:38-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has quit ["Reconnecting"] 20090130 20:41:41< Ivanovic> i posted links to two screenshots 20090130 20:41:42-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090130 20:41:53< Ivanovic> the changes are in red/blue 20090130 20:42:04< Ivanovic> basically just use the dialog already available 20090130 20:42:32< Sirp> Ivanovic: okay, looks good to me. 20090130 20:42:36< Ivanovic> add some text in the header, change the checkbox to a "save my reply" answer and make it two buttons, one for send and one for not send 20090130 20:42:43< Ivanovic> plus one string in the old box 20090130 20:43:02< Ivanovic> Sirp: can you work with two strings for the top? 20090130 20:43:32< Ivanovic> that is: one string is the old thingie, the other is the "About to upload statistics" part 20090130 20:44:05< Ivanovic> or do you think this should better be just one single string reading "About to upload statistics - Help us make Wesnoth better for you!"? 20090130 20:44:21< Sirp> Ivanovic: I think it would be easier to code if it was one string. 20090130 20:44:31< Ivanovic> okay, then i will add these strings: 20090130 20:44:38< Ivanovic> "About to upload statistics - Help us make Wesnoth better for you!" 20090130 20:44:45< Ivanovic> "Save my reply and do not ask again" 20090130 20:44:46< Sirp> okay 20090130 20:44:59< CIA-54> shadowmaster * r32404 /trunk/doc/manual/images/es/ (multiplayer-1.5.7.jpg multiplayer-1.5.9.jpg): 20090130 20:44:59< CIA-54> Reflect r32402 and r32403 for the Spanish translation of the manual. 20090130 20:44:59< CIA-54> * Removed old 1.5.7 MP dialog screenshot. 20090130 20:44:59< CIA-54> * Added new 1.5.8+svn/1.5.9 MP dialog screenshot. 20090130 20:44:59< Ivanovic> "To change the serring later on, click on the envelope icon in the main menu." 20090130 20:45:03-!- yann [n=dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has joined #wesnoth-dev 20090130 20:45:19< Ivanovic> "Do not ask every time before sending data" 20090130 20:45:37< Shadow_Master> Sirp: there's a report of crashes with the upload reports dialo btw 20090130 20:46:11< Shadow_Master> http://www.wesnoth.org/forum/viewtopic.php?f=4&t=23889 Windows unfortunately. 20090130 20:50:47 * Shadow_Master goes to try to rewrite image::load_image_sub_file() ... 20090130 20:51:24-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has quit ["You people distract me."] 20090130 20:51:42 * loonycyborg forgot to test that crash today when he was booting to windows :( 20090130 20:56:18-!- Elvish_Pillager [n=eli@66-189-14-42.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090130 20:56:23< CIA-54> ivanovic * r32405 /trunk/data/temp-file_send_data_strings.cfg: 20090130 20:56:23< CIA-54> add some strings for sirp so that he can add a "we are about to send data" dialog 20090130 20:56:23< CIA-54> this file is pure temporary and should be removed after the files are added in source code, they are only here, so that translators can already translate them right now 20090130 20:56:35< Ivanovic> Sirp: you can find the strings to use in data/temp-file_send_data_strings.cfg 20090130 20:57:51< Ivanovic> the dialog should be basically identical to the one already existing in src/upload_log.cpp, so i added it to the same textdomain as this source file is in 20090130 20:58:06< Ivanovic> most likely you will add this stuff in the same file anyway, so it should work out nicely 20090130 21:04:02-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has quit [] 20090130 21:05:21< CIA-54> ivanovic * r32406 /trunk/po/ (470 files in 10 dirs): 20090130 21:05:21< CIA-54> pot-update (several new/changed strings!) 20090130 21:05:21< CIA-54> TODO: wait for change in the manual describing the password box and running a doc update afterwards 20090130 21:18:00< zookeeper> ok, doing it now.. 20090130 21:51:45-!- fabi_ [n=fabi@g227019223.adsl.alicedsl.de] has quit [Remote closed the connection] 20090130 21:51:49< CIA-54> zookeeper * r32407 /trunk/doc/manual/manual.txt: Added explanations for the login and password fields. 20090130 21:52:01< zookeeper> please check that it's done right, i'm not very familiar with the manual stuff. 20090130 21:52:25< zookeeper> also the screenshot of the menu isn't current, but maybe you knew that already. 20090130 21:55:07< boucman> Shadow_Master ping me when you're around 20090130 21:57:16< zookeeper> so will he stop if i leave? 20090130 21:58:43< ESR_> Ivanovic: I have absolutely no idea how that feature works. Have the author draft docs for it; I'll polish and ask questions as necessary. 20090130 21:59:59< Ivanovic> ESR_: looks like zookeeper just added some text (r32407) 20090130 22:00:55< ESR_> wesbot: log 32407 20090130 22:00:58< wesbot> zookeeper * r32407 : Added explanations for the login and password fields. 20090130 22:01:01< wesbot> URL: http://svn.gna.org/viewcvs/wesnoth?view=rev&rev=32407 20090130 22:02:14< ESR_> Ivanovic: That looks OK. 20090130 22:02:26< Ivanovic> zookeeper: looks fine 20090130 22:02:46< Ivanovic> ESR_: can you please check if the strings i added in data/temp-file_send_data_strings.cfg are fine 20090130 22:02:57< Ivanovic> here they are meant to appear: 20090130 22:03:07< Ivanovic> "envelope dialog" in the main menu: http://www.wesnoth.org/files/wip_images/help_wesnoth_dialog.png 20090130 22:03:28< Ivanovic> "so you want to send data" when about to send data and no preference for this is stored: http://www.wesnoth.org/files/wip_images/help_wesnoth__about-to-upload_dialog.png 20090130 22:03:39< ESR_> Resyncing... 20090130 22:04:47< Ivanovic> the strings are for sirp to be used in those dialogs (cf the "summary upload" thread on wesnoth-dev) 20090130 22:04:52< zookeeper> Ivanovic, great 20090130 22:06:02< ESR_> Iwould change "especially beginners and new players" to "especially from beginners and new players". Otherwise looks fine. 20090130 22:06:06-!- kitty_ [n=kitty@e180207142.adsl.alicedsl.de] has joined #wesnoth-dev 20090130 22:06:16< ESR_> Hello, kitty! 20090130 22:06:23< kitty_> hi ESR_ 20090130 22:06:24< Ivanovic> hey, this is the old stuff, i won't edit those since it is basically fine... 20090130 22:06:30< Ivanovic> only the stuff in red is new 20090130 22:06:32< Ivanovic> ;) 20090130 22:06:40 * ESR_ thanks the ghods she is not actually an excessively cute Japanese icon. 20090130 22:06:54< kitty_> haha 20090130 22:07:10< Ivanovic> ESR_: please have a look at http://www.wesnoth.org/wiki/SpellingMistakes 20090130 22:07:15< Ivanovic> so that those are fixed for 1.5.9, too 20090130 22:07:55-!- Noyga [n=lame-z@AVelizy-151-1-67-75.w81-249.abo.wanadoo.fr] has quit [Read error: 110 (Connection timed out)] 20090130 22:07:59< Sirp> hi kitty_ 20090130 22:08:09< kitty_> hi Sirp 20090130 22:08:44-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090130 22:09:03< zookeeper> kitty_, did you ever have any ideas or objections relating to automatically rotating different portraits on the front page? 20090130 22:09:14< kitty_> uhm, no 20090130 22:09:15 * Shadow_Master is trying to reimplement the image path functions as a series of C++ functors :-/ 20090130 22:09:21< thespaceinvader> hey kitty_ =) 20090130 22:09:29< Shadow_Master> boucman: ping 20090130 22:09:33< Shadow_Master> hi kitty_ 20090130 22:09:36 * ESR_ is, however, ceretain from her on-line communication behavior that she would be sweet and attractive in person. 20090130 22:09:42< thespaceinvader> ESR_: I sent you PMs with the relevant files to do with the portraits directory shift 20090130 22:09:42< kitty_> hi thespaceinvader - just writing your comment... 20090130 22:09:46< thespaceinvader> i hope they're right 20090130 22:09:52< thespaceinvader> kitty_ cool =) 20090130 22:09:53< zookeeper> kitty_, ok, i thought i vaguely remembered something like that. would you have anything against rotating any of your portraits there? 20090130 22:09:53< ESR_> thespaceinvader: Thanks. 20090130 22:10:02< Shadow_Master> ESR_: :o 20090130 22:10:08< boucman> Shadow_Master: could you re-pastebin your code for me ? 20090130 22:10:13< Shadow_Master> ESR_: well, true 20090130 22:10:21< kitty_> zookeeper: no, i think that would be really nice! all the mainline portraits? 20090130 22:10:22< Shadow_Master> boucman: I gave you a link a few hours ago 20090130 22:10:36< Shadow_Master> Chttp://wesnoth.pastebin.com/mb33e8e8 20090130 22:10:45< Shadow_Master> scrap the obvious initial typo ;) 20090130 22:11:04< ESR_> thespaceinvader: I'll check my PMs. 20090130 22:11:07 * zookeeper would be extremely sweet and attractive in person based on his online communication behaviour 20090130 22:11:19 * ESR_ gags. 20090130 22:11:24 * kitty_ ignores this 20090130 22:11:26< boucman> ok, it's not "hit" but "hits" 20090130 22:11:29< Ivanovic> kitty_: we once had some function to show an image by random 20090130 22:11:33< boucman> but that won't fix your problem 20090130 22:11:34< Ivanovic> that was either konrad or lisar 20090130 22:11:35 * ESR_ thinks Kitty is wise to do so. 20090130 22:11:40< Ivanovic> but this feature seems to be gone 20090130 22:11:48< kitty_> when we alternated between delfador and li'sar? 20090130 22:12:01< Ivanovic> with the new transparent portraits, those could easily be used (when mirrored) 20090130 22:12:06< Ivanovic> yes, this feature 20090130 22:12:29< boucman> Shadow_Master: could you try to add "value=1" to your animation filters and see if it helps ? 20090130 22:12:41< boucman> (if it does, that would be a big clue for me 20090130 22:13:39< ESR_> kitty_: Shadow_Master has a plan to implement scaling and criopping in the engine so we can keep only large portraits in-tree. Do you have an opinion about this? E.g. is there any reason to fear that scaling would degrade image quality too much? 20090130 22:13:42< CIA-54> ivanovic * r32408 /trunk/ (68 files in 5 dirs): regenerate doc files (and update the respective po files) 20090130 22:14:03< boucman> ESR_: I can answer that for kitty_ :) 20090130 22:14:18< Shadow_Master> ESR_: hello, I already implemented cropping long time ago 20090130 22:14:18< kitty_> ESR_ the scaling i have seen up to now looks fine. but cropping sounds evil! 20090130 22:14:21< boucman> "I won't answer that without a way to juge the result" 20090130 22:14:26< Shadow_Master> ESR_: and I finished scaling a few hours ago 20090130 22:14:31< kitty_> what gets cropped?! 20090130 22:14:36< Shadow_Master> kitty_, ESR_ I'm not using cropping 20090130 22:14:42< ESR_> OK. 20090130 22:14:58-!- cib [n=cib@p4FD0F951.dip.t-dialin.net] has quit [Nick collision from services.] 20090130 22:15:05< kitty_> good... 20090130 22:15:12< Shadow_Master> kitty_: the scaling thing is basically to fit the extremely huge Kalenz, Gweddry and Kapou'e portraits in the campaigns menu 20090130 22:15:18-!- cib_ [n=cib@p4FD0F951.dip.t-dialin.net] has joined #wesnoth-dev 20090130 22:15:33< kitty_> ok 20090130 22:15:39< Shadow_Master> I think I use the same algorithm Mordante uses for scaling them in the in-game messages, but I'm not 100% sure 20090130 22:16:06< ESR_> I'm generally in favor of changes that eliminate data redundancies. Not so much because I worry about disk space but as a maibtainability issue. 20090130 22:16:39< Shadow_Master> so these portraits are scaled to 205x205 in the campaign menu. 20090130 22:17:01< Shadow_Master> if zookeeper or ESR_ prefer a different value, just edit the _main.cfg files ... 20090130 22:17:18 * ESR_ approves. 20090130 22:18:12 * ESR_ wonders if Kitty even likes cats. It would be ironic if she didn't. 20090130 22:18:24< Shadow_Master> I am not sure about using this same thing in the in-game help. Mordante didn't quite like my idea last time I asked him 20090130 22:18:37-!- Turuk_ [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has joined #wesnoth-dev 20090130 22:18:50 * kitty_ likes cat of course. purr. 20090130 22:19:00< kitty_> *cats 20090130 22:19:05< Shadow_Master> but it could eliminate the need for kitty_ et al providing 205x205-on-black portraits. Unless you feel strongly about the "unsharp mask" step, kitty_ ? 20090130 22:19:36< kitty_> nope i can live without it. but i'd like to see it before 20090130 22:19:58< Shadow_Master> um, let me make a screenie then 20090130 22:20:01< ESR_> I have a cat sitting beside me in my hacking chair ATM, that's why I thought of the question. 20090130 22:20:47< kitty_> ha! i have one on my lap. i win 20090130 22:20:54< Shadow_Master> I have like 22 cats in the house 20090130 22:21:13< zookeeper> in a way it'd be nice to get rid of the need for the black-backgrounded ones for 1.6 so that when we add new portraits during 1.6's lifetime, there's less work to do. 20090130 22:21:13< kitty_> 22?! 20090130 22:21:22< Shadow_Master> yep 20090130 22:21:26< Shadow_Master> I love cats. 20090130 22:21:30< ESR_> I thought there might be some sort of unmasking or unsharping ztep, that's why I asked the technical question. 20090130 22:21:41< ESR_> 22 is excessive. 20090130 22:21:42< Sirp> Shadow_Master: in that case, isn't it like "this horde of cats has a human living in their house" ? :p 20090130 22:21:48< Shadow_Master> probably 20090130 22:21:55< Sirp> and yeah, sounds like you're a "crazy cat guy" 20090130 22:21:59< zookeeper> 22? they must eat a lot. 20090130 22:22:01< thespaceinvader> zookeeper: doing the small versions isn't exactly too much of an ask 20090130 22:22:05< kitty_> ESR_ there is a sharpening step, but it isnt very important, if one knows beforehand 20090130 22:22:19< ESR_> zookeeper: That's part of the maintainability issue I was thinking of. 20090130 22:22:35< zookeeper> thespaceinvader, it'll be six months down the road when 1.7 is all the new cool thing and porting stuff to 1.6 is just a chore no one feels like doing :p 20090130 22:22:42< zookeeper> -all 20090130 22:22:54< thespaceinvader> but it does seem slightly unnecessary to have both sizes included - couldn't the GUI for the help just use the 400x400 ones? 20090130 22:23:04< thespaceinvader> or are they a little large 20090130 22:23:07< thespaceinvader> ? 20090130 22:23:07< zookeeper> yes 20090130 22:23:12< thespaceinvader> ah ok 20090130 22:23:18< Shadow_Master> ESR_, zookeeper, kitty_: http://shadowm.nfshost.com/gui2_before.png and http://shadowm.nfshost.com/gui2_now.png 20090130 22:23:22< kitty_> the layout of the help is generally horrible 20090130 22:23:40< zookeeper> i suggested drawing them behind the text in a floaty manner, but i don't think that's gonna happen anytime soon 20090130 22:23:45< kitty_> :( the hairstarnds are all pixelated 20090130 22:23:59< Shadow_Master> interesting. 20090130 22:24:07< zookeeper> Shadow_Master, apply the blur function too ;P 20090130 22:24:35< zookeeper> or you could just crop them instead of scaling 20090130 22:24:53< Shadow_Master> um, it'd not be the solution. 20090130 22:24:59< Shadow_Master> what, Kalenz head? 20090130 22:25:01< zookeeper> unless the artists object, of course ;) 20090130 22:25:16< kitty_> no. cropping is an artistic descision i wouldn't like to see done automatically... 20090130 22:25:37< ESR_> kitty_: How many cats do *you* keep around? Fewer than 22, I hope for your sake. 20090130 22:25:39< zookeeper> i didn't mean automatically 20090130 22:25:51-!- Turuk [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has quit [Read error: 110 (Connection timed out)] 20090130 22:25:52< kitty_> ESR_ i'm boring, just two 20090130 22:26:03< Shadow_Master> kitty_: it is unfortunately a fault of our scaling algorithm that I don't think I can fix. Perhaps I could use a greater scale for those 20090130 22:26:06< Shadow_Master> e.g. 250x250 20090130 22:26:06< kitty_> zookeeper: how then? 20090130 22:26:27< zookeeper> kitty_, by manually specifying the crop coordinates 20090130 22:26:35< zookeeper> if a good one can be found. just saying. 20090130 22:26:46< kitty_> and who will do that? the artist ehn posting the portrait? 20090130 22:26:50< Shadow_Master> kitty_: no 20090130 22:27:00< Shadow_Master> this is done by the engine for the particular instance of the image 20090130 22:27:25< zookeeper> i'm just talking of the campaign menu images, like kalenz and kapou'e 20090130 22:27:51< zookeeper> those would be done on a per-case basis 20090130 22:28:02 * Shadow_Master is staring at his website's tree root and confused by the huge amount of png and jpg files 20090130 22:28:16< Shadow_Master> kitty_, zookeeper, ESR_ : http://shadowm.nfshost.com/250scale.png 20090130 22:28:38< kitty_> the hair looks the same... 20090130 22:28:43< kitty_> meh 20090130 22:28:55< AI0867> Shadow_Master: about the user handler: I specially registered 'AI0867' on the forum for it, and it works 20090130 22:28:57< ESR_> Just one. Green-eyed American tabby, mainly black grey and white. About half Maine Coon (we think); she has a plush double undercoat and the large repertoire of trills and social sounds you get in Coons. 20090130 22:29:14< AI0867> that is, I can log in on the forums fine, but only about half the time on wesnothd 20090130 22:29:20< AI0867> currently it's broken again 20090130 22:29:25< Shadow_Master> kitty_: well, I personally don't like the gigantic version in the campaign menu 20090130 22:29:50< Shadow_Master> so the solution is either providing a manually resized version, or letting the engine do it like the last sceenshot 20090130 22:29:50< kitty_> i don't like it, too - but this doesn't look good either 20090130 22:30:08< Shadow_Master> the first is an additional burden for the artists and code maintainers 20090130 22:30:38< ESR_> Wait, couldn't we specify the scaling as needed? I thought that was the point of the ~ suffix operators. 20090130 22:30:47< Shadow_Master> ESR_: yes. 20090130 22:30:53< kitty_> at least for the artists it is no "burden" to provide the littel versions 20090130 22:31:16< Shadow_Master> ESR_: but I cannot do magic with the scaling algorithm. 20090130 22:31:20-!- Turuk_ is now known as Turuk 20090130 22:32:07< Shadow_Master> it is weird that it comes out like this though. 20090130 22:33:11< Shadow_Master> unfortunately, the person who really knows how the blending, scaling, stretching and cropping works is alink and he's MIA 20090130 22:33:37-!- Gallifax [n=Gallifax@pD9EA5577.dip.t-dialin.net] has joined #wesnoth-dev 20090130 22:34:43-!- AI0867 [n=ai@van-gessel.demon.nl] has quit ["reboot"] 20090130 22:35:23< CIA-54> esr * r32409 /trunk/doc/manual/manual.txt: Clear spellingMistakes. 20090130 22:35:54-!- Shadow_Master_ [n=ignacior@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090130 22:36:10-!- difenil [n=chatzill@mih059a.halls.manchester.ac.uk] has joined #wesnoth-dev 20090130 22:36:41< Shadow_Master_> kitty_: should I go and restore the scaled down versions of these portraits for use in the campaing menu then? 20090130 22:36:43< CIA-54> ivanovic * r32410 /trunk/ (5 files in 5 dirs): updated German translation 20090130 22:36:50-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has quit ["Reconnecting"] 20090130 22:37:00< boucman> Shadow_Master_: did you find a way to test my thing yet ? 20090130 22:37:16< Ivanovic> ESR_: what about the utbs and sotbe typos? 20090130 22:37:16< kitty_> Shadow_Master_: yes, i see no other acceptable solution atm unfortunately 20090130 22:37:38< Shadow_Master_> boucman: let me do one thing first. I am no monkey. 20090130 22:37:53< boucman> no prob 20090130 22:38:10< Shadow_Master_> kitty_: I'll do it between today and Sunday 20090130 22:38:18< Shadow_Master_> I have a greater engine change in development 20090130 22:38:23< kitty_> thanks 20090130 22:38:36< Shadow_Master_> and some translations to fix 20090130 22:38:54< Shadow_Master_> so Ivanovic, will you regenerate the manuals prior to releasing? ;) 20090130 22:39:00-!- Shadow_Master_ is now known as Shadow_Master 20090130 22:39:11< Ivanovic> Shadow_Master: i always regenerate prior to releasing 20090130 22:39:39< Shadow_Master> nice to know 20090130 22:40:43< Shadow_Master> ESR_: do you know more about image scaling algorithms? 20090130 22:40:49< Shadow_Master> perhaps you could lend me a hand... 20090130 22:41:07< CIA-54> ivanovic * r32411 /trunk/data/campaigns/Under_the_Burning_Suns/units/Kaleh.cfg: remove several spaces from AMLA descriptions of Kaleh as listed on http://www.wesnoth.org/wiki/SpellingMistakes 20090130 22:42:20-!- Gallifax [n=Gallifax@pD9EA5577.dip.t-dialin.net] has quit ["Light travels faster then sound, which is why some people appear bright, until you hear them speak"] 20090130 22:42:47< Shadow_Master> I only handle the "high level" part 20090130 22:42:55< CIA-54> ivanovic * r32412 /trunk/data/campaigns/Son_Of_The_Black_Eye/scenarios/12_Giving_Some_Back.cfg: typo fix ("a arms and supply depot" -> "an arms and supply depot") as of http://www.wesnoth.org/wiki/SpellingMistakes 20090130 22:42:57< ESR_> Shadow_Master: Sorry,m I'm ignorant in that area. 20090130 22:43:12-!- AI0867 [n=ai@van-gessel.demon.nl] has joined #wesnoth-dev 20090130 22:43:14< Shadow_Master> so, kitty_, is this proper http://www.wesnoth.org/forum/viewtopic.php?p=336009#p336009 ? 20090130 22:43:23< ESR_> Ivanovic: Sotrry, I didn't notice the SoTBE ones. 20090130 22:43:33< Ivanovic> ESR_: fixed the sotbe and utbs report 20090130 22:43:52< Ivanovic> running another pot update to have the fixes in 20090130 22:44:13< Shadow_Master> argh. :( 20090130 22:44:21< kitty_> Shadow_Master: oh, i missed your post. yeah looks good (i'd have scaled him down a bit more to have a little more black space above his head, but it's certainly ok the way it looks now) 20090130 22:44:22< Ivanovic> then i will send a mail to the i18n list, that a) an image in the manual was changed and b) we are getting closer to 1.6 20090130 22:44:36 * Shadow_Master moves his update out of the tree 20090130 22:45:00< Shadow_Master> kitty_: okay, the nontransparent version should never appear anyway 20090130 22:45:16< kitty_> Shadow_Master: i thought so, that's why i didn't post one 20090130 22:45:25< Shadow_Master> I'm providing it for the sake of completeness. All the dialog Lédinor has uses new-style boxes and he has no unit_type to deserve a help entry 20090130 22:45:42< kitty_> :) 20090130 22:46:37< Shadow_Master> and Mordante is working on getting rid of the remaining old-style boxes, reserved for narrator messages, messages with multiple choices and messages with editable text boxes 20090130 22:46:54< loonycyborg> Shadow_Master: oprofile works for me, but I have no idea what to research with it. Ironic, isn't it? :P 20090130 22:47:07< kitty_> great! i really look forward to see how those will turn out! 20090130 22:47:21< Shadow_Master> loonycyborg: I am the one who must do the research. 20090130 22:47:35< loonycyborg> That was my point.. 20090130 22:47:36< Shadow_Master> I already have the usage statistics previous to my refactoring. Let's see how it turns out when I finish. 20090130 22:48:47< Shadow_Master> but first I need the new pot-update, update the translations and commit before I can let hell break loose in my build again 20090130 22:49:22 * loonycyborg wonders whether it not working on Debian was caused by Debian packagers screwing up or by oprofile not supporting Shadow_Master's cpu 20090130 22:49:32< Shadow_Master> loonycyborg: the latter. 20090130 22:50:13< Shadow_Master> I tried with a non-debian build to make sure. It's an AMD Athlon X2 dual-core QL-62 20090130 22:50:31< loonycyborg> oprofile's manual says that it supports Athlon and Duron 20090130 22:50:46< Shadow_Master> using a 64-bit kernel (SMP, and any native optimizations that are supported by the CPU) 20090130 22:51:01< Shadow_Master> boucman: whre should I place the value=1 ? 20090130 22:51:17< Shadow_Master> [animate_unit] [animate] value=1 ? 20090130 22:52:24< Shadow_Master> boucman: well, it doesn't matter. Adding that makes the flashing work 20090130 22:54:13< boucman> ok, cool, I understand the bug now 20090130 22:54:23< boucman> I'll commit a fix 20090130 22:54:33< boucman> basically, hits= didn't work 20090130 22:54:43< Shadow_Master> hit=kill ? 20090130 22:54:51< boucman> what I provided was a woraround where you specified the quandtity of damage taken 20090130 22:54:53< Shadow_Master> I thought the keyword was 'hit', not 'hits' 20090130 22:55:03< boucman> check the doc, it's hits= 20090130 22:55:10< boucman> (not a wise choice, I agree) 20090130 22:55:18< Shadow_Master> :| 20090130 22:55:51< Shadow_Master> checking 20090130 22:56:26< Shadow_Master> boucman: http://www.wesnoth.org/wiki/InterfaceActionsWML 20090130 22:56:31< Shadow_Master> it says "hit", not "hits". 20090130 22:57:30< boucman> checking source code 20090130 22:57:52< boucman> mkay, you're right 20090130 22:58:03< Shadow_Master> the wiki is right? 20090130 22:58:18< boucman> I'll change it to "hits" to be coherent with how it is defined in the animations themselves 20090130 22:58:26< boucman> (you're the only user so far) 20090130 22:58:35< Shadow_Master> boucman: removing the value= and replacing hit=kill with hits=kill also works... 20090130 22:58:59< Shadow_Master> are you reading the correct code? :P 20090130 22:58:59< boucman> test again 20090130 22:59:19< CIA-54> ivanovic * r32413 /trunk/ (204 files in 5 dirs): 20090130 22:59:19< CIA-54> just another pot update 20090130 22:59:19< CIA-54> regenerated doc files 20090130 22:59:19< CIA-54> directly updated German translation, too... 20090130 22:59:21< boucman> afaict it doesn't work, but it choose a defend anim randomly, so it can work if you're lucky 20090130 22:59:52< Ivanovic> Shadow_Master: yes, i do cheat... 20090130 22:59:54< Ivanovic> ;) 20090130 22:59:59< Shadow_Master> three lucky animations 20090130 23:00:17< Shadow_Master> four. 20090130 23:00:35< boucman> mkay 20090130 23:00:41< boucman> what unit are you animating ? 20090130 23:00:54< Shadow_Master> a troll and a dwarf. the dwarf is the one playing its defense animation 20090130 23:01:02< Shadow_Master> * Troll and Dwarvish Fighter 20090130 23:01:13< ESR_> thespaceinvader: ping? 20090130 23:01:26< Shadow_Master> I'm confused now 20090130 23:01:30< thespaceinvader> ESR_ yo 20090130 23:01:42< boucman> so am I... 20090130 23:01:53< boucman> I just checked the code, it can't work... 20090130 23:01:54< ESR_> There are a couple of things in yourt conversion file tat puzzle me. 20090130 23:02:13< thespaceinvader> ESR_: go ahead 20090130 23:02:25< ESR_> There doesn't seem to be a portraits/Alex_Jarocha-Ernst/drake-glider.png in my tree, for starters. 20090130 23:02:25< Shadow_Master> boucman: does the animations engine use the randon numbers sync used for the AI, chances-to-hit, etc.? 20090130 23:02:44< boucman> I don't understand what you mean 20090130 23:02:57< boucman> the engine selects all animations that match the filter 20090130 23:03:07< Shadow_Master> how does it select random numbers? 20090130 23:03:23< boucman> since "hit=" was broken, it took both the hit=hit and hit=miss anims 20090130 23:03:23< thespaceinvader> ESR_: it's there on mine 20090130 23:03:35< boucman> it would then choose a random one from the set 20090130 23:03:50< boucman> however, if you also have a value= these can mix up in strange way... 20090130 23:03:58< Shadow_Master> perhaps you are using the same RNG used to keep MP games in sync. I removed the value= already 20090130 23:04:02< thespaceinvader> ESR_: http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/images/portraits/Alex_Jarocha-Ernst/drake-glider.png?rev=32262&view=log 20090130 23:04:03< boucman> could you pastebin your working wml for me to check 20090130 23:04:10< boucman> maky 20090130 23:04:12< boucman> mkay 20090130 23:04:16< boucman> no, I am not 20090130 23:04:27< Shadow_Master> then I am too lucky today. 20090130 23:04:40< Shadow_Master> remind me to play a match against Noy before midnight ;) 20090130 23:06:04-!- YogiHH [i=YogiHH@c174101.adsl.hansenet.de] has joined #wesnoth-dev 20090130 23:06:20-!- grzywa [n=grzywacz@ip179-109.ghnet.pl] has joined #wesnoth-dev 20090130 23:06:57-!- Netsplit over, joins: ESR_, CIA-54 20090130 23:06:57-!- Netsplit kubrick.freenode.net <-> irc.freenode.net quits: grzywacz 20090130 23:09:15-!- Turuk_ [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has joined #wesnoth-dev 20090130 23:09:16< boucman> ok, testing some more here.. 20090130 23:10:21-!- grzywa is now known as grzywacz 20090130 23:10:34< thespaceinvader> kitty_: i've uploaded fixes 20090130 23:10:57< Shadow_Master> to what? 20090130 23:11:09-!- Sapient [n=sapien-x@c-24-126-133-155.hsd1.ga.comcast.net] has joined #wesnoth-dev 20090130 23:11:15< Sapient> yo 20090130 23:11:19-!- DDR [n=chatzill@66.183.125.196] has joined #wesnoth-dev 20090130 23:11:38< Sapient> Shadow_Master / silene: you needed me for something? 20090130 23:11:51< Shadow_Master> silene wants to ask stuff about vconfig 20090130 23:12:16< Sapient> I'd be vhappy to vanswer and vquestions ;) 20090130 23:12:20< Shadow_Master> I just wanted to cook someone alive, not you. But I thought you'd be interesed 20090130 23:12:56< Shadow_Master> thespaceinvader: what kind of fixes? 20090130 23:13:08< thespaceinvader> to the guard portrait 20090130 23:13:17< thespaceinvader> minor things to the hair and chest plate 20090130 23:13:48< Shadow_Master> untranslated messages :( 20090130 23:14:03< silene> Sapient: it's okay, i finally did get how config/vconfig work; the lua code is now able to mess with wml variables and to have persistent data 20090130 23:14:55< Sapient> well, I'm not sure I want to assist that evil project :p 20090130 23:16:21-!- Turuk [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has quit [Connection timed out] 20090130 23:18:27-!- difenil [n=chatzill@mih059a.halls.manchester.ac.uk] has quit ["ChatZilla 0.9.84 [Firefox 3.0.5/2008120122]"] 20090130 23:19:23< ESR_> thespaceinvader: Repeating previous question from before netsplit, I see no portraits/Alex_Jarocha-Ernst/drake-glider.png in my tree 20090130 23:20:22< ESR_> Also no portraits/Kitty/elvish-lady.png 20090130 23:20:39< ESR_> Were you not working from a subversion head tree? 20090130 23:20:50< Shadow_Master> ESR_: ? 20090130 23:21:10< Shadow_Master> /home/shadowm/src/wesnoth/data/core/images/portraits/Kitty/elvish-lady.png 20090130 23:21:25< Shadow_Master> this file exists. Otherwise git would have wiped it out. Go fix your wokring copy instead :p 20090130 23:22:06< ESR_> Resyncing (but I did that before). 20090130 23:22:24< Shadow_Master> ESR_: I also have /data/core/images/portraits/Alex_Jarocha-Ernst/drake-glider.png 20090130 23:22:36< Shadow_Master> are you really on trunk? 20090130 23:22:38< loonycyborg> ESR_: Are you sure that you're using trunk, and not a branch or a tag? :) 20090130 23:22:52< grzywacz> `svn info` to the rescue 20090130 23:23:29< ESR_> Trunk rev 32413 20090130 23:24:09< CIA-54> boucman * r32414 /trunk/src/ (unit_animation.cpp unit_display.cpp): sevral fixes to defend anims 20090130 23:24:14< ESR_> Must be something about the sequence of svn mv commands I'm generating was confusing SVN. 20090130 23:24:23< boucman> Shadow_Master: just commited a fix, please test again with only hits= fields, and tell me if all is well 20090130 23:24:25< ESR_> I'll try again. 20090130 23:25:41< Shadow_Master> ESR_: um, SVN doesn't allow to mv foo/bar.png to baz/bar.png 20090130 23:25:49< Shadow_Master> you can only mv foo/bar.png to baz/ 20090130 23:26:05< Shadow_Master> (or was that cp ?) 20090130 23:27:27-!- markm_ [n=markm@hlfxns01bbg-142177176240.pppoe-dynamic.ns.aliant.net] has quit [Read error: 104 (Connection reset by peer)] 20090130 23:27:57-!- markm_ [n=markm@hlfxns01bbg-142177176240.pppoe-dynamic.ns.aliant.net] has joined #wesnoth-dev 20090130 23:28:19< ESR_> Part of the problem is that thespaceinvader's file of renamings has soime duplicate lines in it. And at least two that are just garbled. Fixing now... 20090130 23:28:20< Sapient> silene: enabling LUA scripting of events has a great "gee whiz" factor but I don't ultimately think it will benefit our scenario designs 20090130 23:28:30< thespaceinvader> ESR_: i'm definitely sure 20090130 23:28:43< Sapient> silene: it could be far more useful as a replacement for FormulaAI language 20090130 23:28:44< Shadow_Master> part of the problem? 20090130 23:28:46< thespaceinvader> i may have accidentally duplicated some lines, but i'm pretty sure i didn't 20090130 23:29:05-!- DDR [n=chatzill@66.183.125.196] has quit ["ChatZilla 0.9.84 [Firefox 3.0.5/2008120122]"] 20090130 23:29:27< kitty_> thespaceinvader: the beard looks great now! hm, i had hoped you'd find a better solution than me for the breatplate but that will work, too. only the big reflection looks not very metal-y now, rather like plastic, some more metal fx on it and you're done. :D 20090130 23:29:31< Shadow_Master> Ivanovic: #: data/temp-file_send_data_strings.cfg:13 20090130 23:29:45< Shadow_Master> I say... what the hell? 20090130 23:29:51< ESR_> You had two copies of a line in which the stemname was "human-.png" 20090130 23:29:57< thespaceinvader> OK, one of them I cocked up - portraits/Alex_Jarocha-Ernst/drake-glider.png portraits/orcs/orcish-assassin.png should read portraits/Alex_Jarocha-Ernst/orcish-assassin.png portraits/orcs/orcish-assassin.png 20090130 23:30:21< thespaceinvader> sorry, yeah - that is a typo - my fault entirely 20090130 23:30:27< thespaceinvader> i was doing that at 1 am =P 20090130 23:30:28< ESR_> You also miiispelled "fighter" as "fghter" at one point. Fixed that. 20090130 23:30:41< Ivanovic> Shadow_Master: sounds completely correct to me... 20090130 23:31:04< Shadow_Master> Ivanovic: "temp-*.cfg?" 20090130 23:31:08< Ivanovic> Shadow_Master: have a look at the file and the screenshots/edits in them to get an idea about the result 20090130 23:31:17< Shadow_Master> you couldn't move it to one of the other directories? 20090130 23:31:17< Ivanovic> look at the file and you will understand!!! 20090130 23:31:20< thespaceinvader> ESR_: sorry 20090130 23:31:24< Ivanovic> no, since it is 100% temp 20090130 23:31:31< silene> Sapient: where is formulaai used? 20090130 23:31:32< Shadow_Master> okay... 20090130 23:31:34< Ivanovic> and it should be gone once Sirp implemented the change 20090130 23:31:53< Ivanovic> this is *only* to have the strings in the po file already 20090130 23:31:54< ESR_> thespaceinvader: These are minor problems, I'm fixing them. But stand by, I may have other questions. 20090130 23:32:13< thespaceinvader> sure 20090130 23:32:34< Sapient> silene: FormulaAI is the newest language for AI coding; and WML can invoke it for $() expressions which will resolve to_string 20090130 23:32:56< Sapient> I'm not sure how many places are using it, but Sirp and Dragonking might know more 20090130 23:33:18< Shadow_Master> there are some blocker bugs with it though 20090130 23:33:26< CIA-54> shadowmaster * r32415 /trunk/po/ (7 files in 7 dirs): Spanish translation update. 20090130 23:33:27< Shadow_Master> saved game non-persistance, instability... 20090130 23:33:38< Shadow_Master> dragonking is supposed to fix those IIRC 20090130 23:33:49< Sapient> it's a custome language Sirp started for the Frogatto project and two students developed on it during Google Summer of Code 20090130 23:34:07< Shadow_Master> Sapient: you got it all wrong :P 20090130 23:34:11< Shadow_Master> it was for Silver Tree 20090130 23:34:15< Sapient> ok, sorry 20090130 23:34:23< Sapient> as you can see I know little about it 20090130 23:34:34< Shadow_Master> the copyright headers tell the story ;) 20090130 23:34:56-!- busfahrer` [n=busfahre@dsl72bA010.sdtnet.de] has quit ["leaving"] 20090130 23:35:01< loonycyborg> silene: A general purpose scripting language would really help with arithmetic and complex conditionals. 20090130 23:35:06< Sapient> but I would like to get rid of FormulaAI and PythonAI and C++ AIs other than default and let's get some LUA ai's 20090130 23:35:32< loonycyborg> I have no idea what are you trying to accomlish with WML even since I'm still a WML noob 20090130 23:36:03< Shadow_Master> that's a really noobish statement! _o/ 20090130 23:36:04< loonycyborg> though they don't seem to be related to conditionals and arithmetic. 20090130 23:36:30< Shadow_Master> noob (n.): annoying, bad-tempered variant of newbie. Evolves to troll. 20090130 23:36:42< Sapient> the problem with our python AI's is that they have to run in a safe mode which is restrictive to development 20090130 23:37:07< Sapient> and FormulaAI is a cool idea but we don't have enough people who really understand it working on it 20090130 23:37:20< Sapient> so I'd be in favor of dropping both for LuaAI's 20090130 23:37:36 * zookeeper just wants a single default ai which's behaviour is somewhat easily customizable 20090130 23:38:22 * zookeeper doesn't want whole custom ai's, although the formula ai system's way of falling back to the default is a really really good thing 20090130 23:38:36< Sapient> the python advocates have had their chance, and we got one or two AI's but only one of them was really usable IIRC (bruteforce.py) 20090130 23:38:53 * Shadow_Master is tempted to say "ha ha" 20090130 23:43:16< Sapient> I can't say that I expect more from the LUA advocates, but it does seem to be a better suited language for the purpose 20090130 23:44:26< zookeeper> the default ai is pretty much good enough except for the fact that you can't tell it to always do some particular thing if it can. like, always attack unit x rather than any other unit. 20090130 23:44:58< zookeeper> i've never had much luck trying to force it to always choose some targets over others 20090130 23:45:48< zookeeper> that, and also the ability to specify ai params for single units or groups of units instead of them always being for the whole side, and i'd be pretty happy :p 20090130 23:46:33< zookeeper> no need for all this python and formula and lua and whatnot other fanciness ;) 20090130 23:46:36< boucman> night all 20090130 23:46:48< boucman> zookeeper: I'll have another look at the default image problem tomorow 20090130 23:46:50< Ivanovic> okay, i am done for today 20090130 23:46:53-!- boucman [n=rosen@140.117.71-86.rev.gaoland.net] has quit [Remote closed the connection] 20090130 23:47:00< Ivanovic> wrote some announcement stuff to the -i18n and -dev list 20090130 23:47:09< Ivanovic> that should be enough preparation for 1.5.9... 20090130 23:47:34< Sapient> zookeeper: sure, tweaking the default AI may suit your needs, but it can only take you so far 20090130 23:47:46< Sirp> Ivanovic: how far away are we from 1.6? 20090130 23:48:05< Ivanovic> Sirp: i'd say at least one month 20090130 23:48:13< Sirp> okay. 20090130 23:48:14< Ivanovic> we got pretty many bugs still open 20090130 23:48:17 * Sirp nods 20090130 23:48:23< Ivanovic> especially the data upload missing 20090130 23:48:25< Ivanovic> ;) 20090130 23:48:28< Sirp> :) 20090130 23:48:33< Sapient> zookeeper: if you want to make an AI that can beat human players in a fair fight on a specific map, you may need something more than that 20090130 23:48:33< Ivanovic> the dialog asking for permission that is... 20090130 23:48:35< Ivanovic> ;) 20090130 23:49:00< Sirp> Ivanovic: I will not start an argument about whether that is a bug or a feature right before you want to go to bed. :p 20090130 23:49:18< zookeeper> Sapient, maybe 20090130 23:49:28< Ivanovic> it is a bug that we do not explicitly ask before sending the first time, so fix it! 20090130 23:49:30< Ivanovic> ;) 20090130 23:49:42< Ivanovic> the strings are there and it should not be too invasive at all 20090130 23:49:43< zookeeper> but i didn't know that was our goal :p 20090130 23:50:19 * Sirp thinks it is annoying, especially when you want to exit the app....but whatever... 20090130 23:50:23< zookeeper> i mean, sure, it's always good to have a better AI, i just have some doubts about who'd write that killer lua/python/whatever AI. 20090130 23:50:35< Ivanovic> rough guess is that it should be implemented in less than an hour, more like 30mins 20090130 23:50:46< Ivanovic> and if you do not want to be asked again, just click the checkbox and be done 20090130 23:50:47< Ivanovic> ;) 20090130 23:50:51-!- silene [n=plouf@ASte-Genev-Bois-152-1-22-169.w83-114.abo.wanadoo.fr] has quit [Read error: 110 (Connection timed out)] 20090130 23:53:08-!- silene [n=plouf@ASte-Genev-Bois-152-1-22-169.w83-114.abo.wanadoo.fr] has joined #wesnoth-dev 20090130 23:55:12-!- zookeeper [n=l@dsl-tkubrasgw1-fe9ff800-215.dhcp.inet.fi] has quit [] 20090130 23:57:12< thespaceinvader> kitty_: fixed again 20090130 23:59:08-!- Shadow_Master_ [n=ignacior@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090130 23:59:20-!- Shadow_Master [n=ignacior@unaffiliated/shadowmaster/x-275924] has quit [Nick collision from services.] 20090130 23:59:29-!- Shadow_Master_ is now known as Shadow_Master 20090130 23:59:52< Sapient> zookeeper: another area where custom AI's could be desired is for highly customized scenarios, such as A New Land --- Log closed Sat Jan 31 00:00:48 2009