--- Log opened Sun Jan 10 00:00:24 2010 20100110 00:01:51-!- BroodKiller [n=Jakobs@chello087207048099.chello.pl] has quit ["Leaving."] 20100110 00:15:31-!- [Relic] [n=[Relic]@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has joined #wesnoth-dev 20100110 00:19:23< [Relic]> Hello :) 20100110 00:19:54-!- Skystriker [n=croseliu@pool-71-250-26-120.nwrknj.east.verizon.net] has quit [Read error: 110 (Connection timed out)] 20100110 00:21:16-!- wesbot changed the topic of #wesnoth-dev to: string/feature freeze active! | 56 bugs, 243 feature requests, 9 patches | logs: http://irclogs.wesnoth.org/ | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20100110 00:23:19-!- thespaceinvader [n=chatzill@wesnoth/artist/thespaceinvader] has quit ["night all"] 20100110 00:29:44-!- stikonas [n=and@wesnoth/translator/stikonas] has quit [Read error: 110 (Connection timed out)] 20100110 00:44:58-!- MikeJB [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has quit [Read error: 60 (Operation timed out)] 20100110 00:45:17-!- zookeeper [n=l@wesnoth/developer/zookeeper] has quit [] 20100110 00:45:28-!- MikeJB [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #Wesnoth-dev 20100110 00:55:59-!- kiba [n=user@adsl-92-2-128.asm.bellsouth.net] has joined #wesnoth-dev 20100110 00:56:10-!- Blueblaze [n=nick@adsl-99-158-47-180.dsl.hstntx.sbcglobal.net] has quit [Remote closed the connection] 20100110 01:20:31-!- BotWhoSaysFoo [n=ni@wesnoth/umc-dev/bot/shikadibot] has joined #wesnoth-dev 20100110 01:24:20-!- GNUtoo [n=GNUtoo@host199-139-dynamic.45-79-r.retail.telecomitalia.it] has left #wesnoth-dev ["Leaving"] 20100110 01:29:48< CIA-61> ai0867 * r40649 /trunk/src/ (unit.cpp unit.hpp): upkeep=free also makes unit::loyal() return true 20100110 01:57:01-!- Thrawn [n=nicholas@pool-71-174-194-211.bstnma.east.verizon.net] has joined #wesnoth-dev 20100110 02:08:20-!- Appleman1234 [n=Appleman@CPE-124-191-178-150.oxqn1.cha.bigpond.net.au] has joined #wesnoth-dev 20100110 02:09:32-!- mjs-de [n=mjs-de@vpw.wh.Uni-Dortmund.DE] has quit [Remote closed the connection] 20100110 02:23:43-!- loonycyborg [n=sergey@wesnoth/developer/loonycyborg] has quit ["Zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"] 20100110 02:24:20-!- loonybot [n=loonybot@wesnoth/bot/loonybot] has quit [Remote closed the connection] 20100110 02:24:40-!- boucman [n=rosen@wesnoth/developer/boucman] has quit ["Leaving."] 20100110 02:31:31-!- Tallken [n=f2f93bf5@a85-139-93-218.cpe.netcabo.pt] has quit ["Leaving"] 20100110 02:42:06-!- BotWhoSaysFoo [n=ni@wesnoth/umc-dev/bot/shikadibot] has quit [Read error: 104 (Connection reset by peer)] 20100110 03:06:52-!- keeve [n=keeve@112.202.218.152] has quit ["Leaving"] 20100110 03:12:15-!- deekay [n=dk@wesnoth/developer/dragonking] has quit [] 20100110 03:17:34-!- Espreon [n=espreon@wesnoth/developer/espreon] has quit ["WRYYYYYYYYYYYYYYYYYYYY!"] 20100110 03:41:22-!- Thrawn [n=nicholas@pool-71-174-194-211.bstnma.east.verizon.net] has quit [] 20100110 03:58:44< AI0867> ilor, mordante: I just got an assertion failure in the lobby, not sure what I did to provoke it 20100110 03:58:47< AI0867> wesnoth: src/gui/widgets/listbox.cpp:129: void gui2::tlistbox::set_row_shown(const std::vector >&): Assertion `shown.size() == get_item_count()' failed 20100110 04:01:45< AI0867> also, clicking the sort buttons resizes the width of the games shown to the minimum needed. The next update resizes it back to full width 20100110 04:02:31< AI0867> and thirdly, incoming chat messages in a full channel seem to randomly scroll it up to top and bottom 20100110 04:02:42< AI0867> can't reproduce the assertion failure =/ 20100110 04:03:16< shadowmaster> sounds like Windows 1.8 would work very well if released now 20100110 04:03:44< shadowmaster> ...no, I didn't intend to put "Windows" there. But I believe it works too. 20100110 04:06:56< AI0867> just triggered the same assertion failure 20100110 04:07:05< AI0867> the 20th time or so I hit the "sort games" button 20100110 04:08:15< AI0867> terminate called after throwing an instance of 'boost::bad_function_call' what(): call to empty boost::function 20100110 04:08:33< AI0867> that one after clicking the "private message" button on fabi 20100110 04:09:16< fendrin> AI0867: I can't reproduce it anymore. 20100110 04:10:06< AI0867> with backtrace: http://wesnoth.pastebin.com/f7dcbfd2 20100110 04:10:19< AI0867> my reproduction method: 20100110 04:10:28< AI0867> -join 1.7 server with a trunk build 20100110 04:10:33< AI0867> -double click on fabi 20100110 04:10:40< AI0867> -hit "add to friends list" 20100110 04:10:43< AI0867> -hit "private message" 20100110 04:11:28< fendrin> AI0867: Right that kicked me. 20100110 04:12:39< AI0867> and a different backtrace for the "pm yourself" issue (that apparently isn't quite fixed yet): http://wesnoth.pastebin.com/d307552f0 20100110 04:15:36-!- Ivanovic_ [n=ivanovic@dtmd-4db2b8e3.pool.mediaWays.net] has joined #wesnoth-dev 20100110 04:15:50< CIA-61> shadowmaster * r40650 /trunk/misc/fortunes/wesnoth: Cookie 20100110 04:31:59-!- Ivanovic [n=ivanovic@wesnoth/developer/ivanovic] has quit [Read error: 110 (Connection timed out)] 20100110 04:33:35-!- Ivanovic_ is now known as Ivanovic 20100110 04:42:25-!- Chusslove [n=Chusslov@brsg-d9bee92d.pool.mediaWays.net] has quit [Read error: 110 (Connection timed out)] 20100110 04:45:52< fendrin> AI0867: You have a pm. 20100110 04:46:04< AI0867> I just crashed 20100110 04:46:06< AI0867> lemme rejoin 20100110 04:46:11< AI0867> (while trying to pm you) 20100110 04:46:26< fendrin> AI0867: The game is over. blue surrendered. 20100110 04:46:34< AI0867> I know 20100110 04:46:37< AI0867> you quit, then me 20100110 04:46:42< AI0867> then I tried to pm you, and I crashed 20100110 04:47:21-!- Chusslove [n=Chusslov@brsg-d9bef117.pool.mediaWays.net] has joined #wesnoth-dev 20100110 04:48:25< AI0867> and another crash, after trying *not* to pm our previous host 20100110 04:49:09-!- Blueblaze [n=nick@adsl-99-158-47-180.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100110 04:55:23< kiba> yo world 20100110 05:08:19< fendrin> AI0867: How can I whisper back from inside a game? 20100110 05:09:03< AI0867> using /msg 20100110 05:09:39< AI0867> or :msg from inside a game 20100110 05:13:26-!- Skystriker [n=croseliu@pool-71-250-26-120.nwrknj.east.verizon.net] has joined #wesnoth-dev 20100110 05:19:20-!- dtiger [n=dtiger@dynamic-vpdn-93-125-17-131.telecom.by] has joined #wesnoth-dev 20100110 05:25:32< fendrin> AI0867: And a segmentation fault again. 20100110 05:26:58-!- grzywacz [n=grzywacz@wesnoth/developer/grzywacz] has quit [Remote closed the connection] 20100110 05:35:06-!- dtiger [n=dtiger@dynamic-vpdn-93-125-17-131.telecom.by] has left #wesnoth-dev ["Konversation terminated!"] 20100110 06:20:25-!- Blueblaze [n=nick@adsl-99-158-47-180.dsl.hstntx.sbcglobal.net] has quit [Read error: 110 (Connection timed out)] 20100110 06:22:08-!- Blueblaze [n=nick@adsl-99-158-47-180.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100110 06:34:19-!- Zarel [n=Zarel@warzone2100/developer/Zarel] has joined #wesnoth-dev 20100110 06:35:55-!- crimson_penguin [n=ben@wesnoth/developer/crimsonpenguin] has quit [] 20100110 06:50:56-!- Skystriker [n=croseliu@pool-71-250-26-120.nwrknj.east.verizon.net] has quit [Read error: 60 (Operation timed out)] 20100110 06:52:07-!- Blueblaze [n=nick@adsl-99-158-47-180.dsl.hstntx.sbcglobal.net] has quit [Read error: 110 (Connection timed out)] 20100110 07:09:47-!- silene [n=plouf@ASte-Genev-Bois-152-1-27-32.w83-114.abo.wanadoo.fr] has joined #wesnoth-dev 20100110 07:10:32-!- kiba [n=user@adsl-92-2-128.asm.bellsouth.net] has quit [Read error: 60 (Operation timed out)] 20100110 07:16:22-!- silene [n=plouf@wesnoth/developer/silene] has quit [Read error: 60 (Operation timed out)] 20100110 07:16:38-!- PK [n=pk@r74-192-30-57.bcstcmta01.clsttx.tl.dh.suddenlink.net] has quit [Read error: 110 (Connection timed out)] 20100110 07:20:32-!- Blueblaze [n=nick@adsl-99-158-47-180.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100110 07:28:28-!- silene [n=plouf@ASte-Genev-Bois-152-1-79-200.w86-203.abo.wanadoo.fr] has joined #wesnoth-dev 20100110 07:33:37< CIA-61> silene * r40651 /trunk/src/scripting/lua.cpp: Fixed coordinates of units. 20100110 07:48:10-!- [Relic] [n=[Relic]@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has quit ["Leaving"] 20100110 07:56:40-!- Blueblaze [n=nick@adsl-99-158-47-180.dsl.hstntx.sbcglobal.net] has quit [Read error: 60 (Operation timed out)] 20100110 08:06:08-!- Blueblaze [n=nick@adsl-99-158-47-180.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100110 08:08:39-!- MikeJB [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has quit ["brb"] 20100110 08:14:37-!- noy [n=Noy@wesnoth/developer/noy] has quit [] 20100110 08:19:13-!- noy [n=Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100110 08:19:28-!- noy [n=Noy@wesnoth/developer/noy] has quit [Remote closed the connection] 20100110 08:30:01-!- noy [n=Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100110 09:12:06-!- zookeeper [n=l@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20100110 09:34:06-!- noy_ [n=Noy@d99-199-3-111.bchsia.telus.net] has joined #wesnoth-dev 20100110 09:35:27-!- noy [n=Noy@wesnoth/developer/noy] has quit [Read error: 60 (Operation timed out)] 20100110 09:35:28-!- noy_ is now known as noy 20100110 09:35:38-!- AnMaster [n=AnMaster@unaffiliated/anmaster] has quit [Read error: 104 (Connection reset by peer)] 20100110 09:39:18-!- stikonas [n=and@ctv-79-132-179-139.vinita.lt] has joined #wesnoth-dev 20100110 09:41:51-!- stikonas [n=and@wesnoth/translator/stikonas] has quit [Read error: 104 (Connection reset by peer)] 20100110 09:41:53-!- stikonas_ [n=and@ctv-79-132-179-139.vinita.lt] has joined #wesnoth-dev 20100110 09:42:07-!- stikonas_ is now known as stikonas 20100110 09:43:26-!- boucman [n=rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20100110 09:44:01-!- AnMaster [n=AnMaster@unaffiliated/anmaster] has joined #wesnoth-dev 20100110 10:25:05< Ivanovic> moin 20100110 10:32:36-!- stikonas [n=and@wesnoth/translator/stikonas] has quit [Read error: 110 (Connection timed out)] 20100110 10:48:14-!- thespaceinvader [n=chatzill@wesnoth/artist/thespaceinvader] has joined #wesnoth-dev 20100110 10:48:43-!- Blueblaze [n=nick@adsl-99-158-47-180.dsl.hstntx.sbcglobal.net] has quit [Remote closed the connection] 20100110 10:51:17-!- loonybot [n=loonybot@ppp79-139-137-149.pppoe.spdop.ru] has joined #wesnoth-dev 20100110 10:52:06-!- loonycyborg [n=sergey@ppp79-139-137-149.pppoe.spdop.ru] has joined #wesnoth-dev 20100110 11:00:41-!- mordante [n=mordante@wesnoth/developer/mordante] has joined #wesnoth-dev 20100110 11:01:04< mordante> servus 20100110 11:01:40-!- dtiger [n=dtiger@dynamic-vpdn-93-125-17-131.telecom.by] has joined #wesnoth-dev 20100110 11:05:22< Ivanovic> noy: IMO the "General question about cooperation in this community" took by far too long 20100110 11:05:36< noy> probably Ivanovic 20100110 11:05:52< noy> but then again locking it would just prove their point 20100110 11:06:00< Ivanovic> it was obvious from the beginning that KnightKunibert just wanted to rant how we could close one of his precious posts 20100110 11:06:29< Ivanovic> the only thing to do IMO would have been stating once "use the search function, there are already 500 posts about this, post something new or stay quiet" 20100110 11:06:40< Ivanovic> and from then on ignore the rant unless something really new comes up 20100110 11:07:06< noy> I 20100110 11:07:10< noy> i'll do that next time 20100110 11:07:55< Ivanovic> in general i think the posts by yogi and you were good and probably needed 20100110 11:08:20< Ivanovic> (the long one by yogi explaining his view and the one by you about game fundamentals) 20100110 11:09:12< Ivanovic> though they were only needed because some user(s) were not able to read existing stuff and get information about the current state of discrussions 20100110 11:09:47< noy> maybe... 20100110 11:10:00< noy> I probably should have ended it there 20100110 11:10:13< noy> what Knight did to jb was slanderous though 20100110 11:10:22< Ivanovic> jupp 20100110 11:11:42< Ivanovic> that is why i personally would have prefered the lock right after your explaination of game mechanics 20100110 11:28:13-!- deekay [n=dk@wesnoth/developer/dragonking] has joined #wesnoth-dev 20100110 11:32:44-!- stikonas [n=and@ctv-79-132-179-139.vinita.lt] has joined #wesnoth-dev 20100110 11:40:31-!- Noyga [n=noyga@wesnoth/developer/noyga] has joined #wesnoth-dev 20100110 11:54:31-!- Appleman1234 [n=Appleman@CPE-124-191-178-150.oxqn1.cha.bigpond.net.au] has quit [Read error: 104 (Connection reset by peer)] 20100110 11:58:00-!- Appleman1234 [n=Appleman@CPE-124-191-178-150.oxqn1.cha.bigpond.net.au] has joined #wesnoth-dev 20100110 12:14:54-!- noy [n=Noy@wesnoth/developer/noy] has quit [] 20100110 12:16:29-!- ilor [n=user@wesnoth/developer/ilor] has joined #wesnoth-dev 20100110 12:21:16-!- wesbot changed the topic of #wesnoth-dev to: string/feature freeze active! | 55 bugs, 243 feature requests, 9 patches | logs: http://irclogs.wesnoth.org/ | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20100110 12:30:05-!- ilor_ [n=user@wesnoth/developer/ilor] has quit [Read error: 110 (Connection timed out)] 20100110 12:50:37< CIA-61> mordante * r40652 /trunk/ (9 files in 5 dirs): Move tmulti_page_definition to a new file. 20100110 13:11:24-!- mjs-de [n=mjs-de@vpw.wh.uni-dortmund.de] has joined #wesnoth-dev 20100110 13:57:42-!- fkhodkov [n=fedor76@ppp-78-24-26-36-bras0.istra.ru] has quit [Remote closed the connection] 20100110 14:17:00< CIA-61> mordante * r40653 /trunk/ (8 files in 4 dirs): Move tpanel_definition to a new file. 20100110 14:27:15-!- grzywacz [n=grzywacz@wesnoth/developer/grzywacz] has joined #wesnoth-dev 20100110 14:28:06-!- stikonas_ [n=and@ctv-79-132-179-139.vinita.lt] has joined #wesnoth-dev 20100110 14:28:11-!- stikonas [n=and@wesnoth/translator/stikonas] has quit [Nick collision from services.] 20100110 14:28:14-!- stikonas_ is now known as stikonas 20100110 14:31:09< stikonas> mordante: there is a spelling mistake in comment in src/gui/widgets/settings.cpp:17 Implementation of settingss.hpp Double s is not necessary. 20100110 14:33:03-!- fkhodkov [n=fedor76@ppp-78-24-26-36-bras0.istra.ru] has joined #wesnoth-dev 20100110 14:42:19< mordante> thanks stikonas 20100110 14:42:36< CIA-61> mordante * r40654 /trunk/src/gui/widgets/settings.cpp: Fix a doxygen typo found by stikonas. 20100110 15:03:54-!- Noyga [n=noyga@wesnoth/developer/noyga] has quit [Remote closed the connection] 20100110 15:17:50< CIA-61> mordante * r40655 /trunk/ (8 files in 4 dirs): Move trepeating_button_definition to a new file. 20100110 16:07:19-!- Zarel [n=Zarel@warzone2100/developer/Zarel] has quit ["This computer has gone to sleep"] 20100110 16:22:37-!- elias [n=elias@allegro/developer/allefant] has joined #wesnoth-dev 20100110 16:33:46-!- allefant [n=elias@allegro/developer/allefant] has joined #wesnoth-dev 20100110 16:35:55-!- Skystriker [n=croseliu@pool-71-250-26-120.nwrknj.east.verizon.net] has joined #wesnoth-dev 20100110 16:44:05-!- Appleman1234 [n=Appleman@CPE-124-191-178-150.oxqn1.cha.bigpond.net.au] has quit ["Leaving"] 20100110 16:44:49< Ivanovic> what was the policy regarding "i was banned, this is not fair" threads? 20100110 16:44:51< Ivanovic> http://forums.wesnoth.org/viewtopic.php?f=4&t=28478&start=0 20100110 16:45:13< Ivanovic> was it "ban the forum user for the same time because they complained? 20100110 16:49:17< zookeeper> probably just lock it and tell them to take it up with the mod in question 20100110 16:50:17-!- elias [n=elias@allegro/developer/allefant] has quit [Read error: 110 (Connection timed out)] 20100110 16:54:24< Ivanovic> :( 20100110 16:58:47< deekay> Ivanovic: This guy was also sweaing in a lobby 20100110 16:58:52< deekay> As I remember him 20100110 16:59:01< deekay> (it was not me who banned him tho) 20100110 17:10:07-!- crimson_penguin [n=ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20100110 17:14:17< fendrin> esr: http://forums.wesnoth.org/viewtopic.php?f=12&t=28447 I think the issue raised concerning the Dwarvish Scout is valid. 20100110 17:20:01< esr> fendrin: Yes, that's a reasinable objection. Do you have a specofic change to propose? 20100110 17:28:06< fendrin> esr: My feeling says: Synchronizing with the Dwarvish Thunderer line would fit best. But the poster also raises them to be a little to weak. Messing with them would cause trouble with multiplayer balancing. 20100110 17:28:46< fendrin> s/to/too 20100110 17:29:11< esr> I think that objection has some point to it as well. Maybe we should talk to Soliton about this. 20100110 17:29:59< fendrin> esr: Yes, maybe the multiplayer devs find a way to balance more resistances by weakening the hp a bit. 20100110 17:32:04< fendrin> esr: As a side effect of the good stats of the scout line the ai in LoW mostly recruits scouts only. I guess that is a strong hint the unit being a little overpowered. 20100110 17:35:03-!- stikonas [n=and@wesnoth/translator/stikonas] has quit [Read error: 110 (Connection timed out)] 20100110 17:45:04< CIA-61> mordante * r40656 /trunk/ (9 files in 5 dirs): Move tscroll_label_definition to a new file. 20100110 18:06:48< AI0867> mordante: how many more classes are you going to move around? 20100110 18:07:14-!- stikonas [n=and@ctv-79-132-179-139.vinita.lt] has joined #wesnoth-dev 20100110 18:07:56< mordante> AI0867, not sure guess about 8, why? 20100110 18:08:43< AI0867> because it's about an hour of recompiling every time I rebase 20100110 18:09:01< AI0867> at this point I'm running a cron job so I'm up to date when I get back 20100110 18:10:03< mordante> an hour, what kind of CPU do you have? 20100110 18:10:14< AI0867> an old one 20100110 18:10:17-!- deekay [n=dk@wesnoth/developer/dragonking] has quit [] 20100110 18:10:37< AI0867> celeron 1.6 GHz from several years ago 20100110 18:13:32< mordante> the goal is to in the end have not such a large settings.hpp and avoid some recompilation when adding a new widget 20100110 18:13:51< mordante> (I should have started to split it earlier...) 20100110 18:16:10< AI0867> okay, it's not an hour, but *some* change yesterday caused a more-than-an-hour long recompile 20100110 18:16:29 * stikonas is happy, to have dual core CPU 20100110 18:16:45< AI0867> yeah, I need to get a new laptop 20100110 18:17:18< AI0867> this is a 3+ year old one with a celeron CPU, i915 GPU and 2.5GB memory (2GB added by me) 20100110 18:17:37< mordante> oh but next to my changes you modified unit.hpp which also cause a lot to be rebuild 20100110 18:17:38< AI0867> other options: eeePC, and several desktops with *worse* specs 20100110 18:17:54< AI0867> true, I tracked the headers affected by that, damn near all of them 20100110 18:18:13< AI0867> but that wasn't the only thing 20100110 18:18:47< mordante> that's why I do several of these changes at once hoping not everybody needs to recompile every revising 20100110 18:19:25< mordante> true but with my settings.hpp and your unit.hpp changes I guess most of wesnoth needs to be recompiled 20100110 18:23:37-!- silene [n=plouf@wesnoth/developer/silene] has quit [Read error: 60 (Operation timed out)] 20100110 18:24:01-!- silene [n=plouf@ASte-Genev-Bois-152-1-79-200.w86-203.abo.wanadoo.fr] has joined #wesnoth-dev 20100110 18:28:38< AI0867> mordante: are ilor and you aware of the lobby issues fendrin and I ran into yesterday? 20100110 18:29:19< mordante> AI0867, yes I already mentioned some of them to ilor 20100110 18:29:48< ilor> AI0867: I am aware of the crashes with whispers, but woke up today feeling like crap and must hurry uni stuff now :/ 20100110 18:36:15-!- mjs-de [n=mjs-de@vpw.wh.uni-dortmund.de] has quit ["On the road again"] 20100110 18:44:51< AI0867> mordante: one thing about the listbox, when you're scrolled down and then select a different item, it immediately scrolls up to put that item as low in the box as possible. This is a rather annoying feature 20100110 18:46:34< mordante> AI0867, I'm aware of that problem (it only happens in the MP lobby not with other listboxes) 20100110 18:47:04< AI0867> also the gamestate inspector 20100110 18:49:44< mordante> *nods* yes the invalidate_layout calls cause that 20100110 18:50:07-!- Noyga [n=noyga@wesnoth/developer/noyga] has joined #wesnoth-dev 20100110 19:03:02-!- teaser [n=tsr@h-37-106.A254.priv.bahnhof.se] has joined #wesnoth-dev 20100110 19:06:23-!- stikonas [n=and@wesnoth/translator/stikonas] has quit [Read error: 54 (Connection reset by peer)] 20100110 19:06:33-!- stikonas [n=and@ctv-79-132-179-139.vinita.lt] has joined #wesnoth-dev 20100110 19:21:40-!- Blueblaze [n=nick@adsl-99-158-47-180.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100110 19:34:21-!- Tallken [n=f2f93bf5@a85-139-93-218.cpe.netcabo.pt] has joined #wesnoth-dev 20100110 19:42:23-!- fkhodkov [n=fedor76@ppp-78-24-26-36-bras0.istra.ru] has quit [Read error: 104 (Connection reset by peer)] 20100110 19:46:17< CIA-61> mordante * r40657 /trunk/ (9 files in 5 dirs): Move tscrollbar_panel_definition to a new file. 20100110 19:56:25< CIA-61> mordante * r40658 /trunk/ (9 files in 4 dirs): Move tslider_definition to a new file. 20100110 20:03:39< CIA-61> mordante * r40659 /trunk/ (8 files in 4 dirs): Move tspacer_definition to a new file. 20100110 20:04:37-!- silene [n=plouf@wesnoth/developer/silene] has quit [Remote closed the connection] 20100110 20:15:09-!- Appleman1234 [n=Appleman@CPE-124-191-178-150.oxqn1.cha.bigpond.net.au] has joined #wesnoth-dev 20100110 20:32:51< fendrin> How can I return a pointer to a private member in a const method? 20100110 20:33:25-!- f_ [i=8a25f909@gateway/web/freenode/x-fcjzjjtnssxgzgpw] has joined #wesnoth-dev 20100110 20:34:09< shadowmaster> uh, that sounds fishy 20100110 20:34:43< shadowmaster> anyway, if your private member is T member , the const method should return T const* 20100110 20:35:01< shadowmaster> not that I'd expose private members that way :/ 20100110 20:35:52< loonycyborg> A reference would be much better :P 20100110 20:37:57< fendrin> Making the pointer const doesn't protect the member at all, or does it? Why does c++ forces me to do such a stupid thing? 20100110 20:39:10< shadowmaster> the hell? 20100110 20:39:29< shadowmaster> T const* means "pointer to a const type T" 20100110 20:39:57< shadowmaster> you may be confusing with T* const, which is "const pointer to non-const type T" 20100110 20:40:41< shadowmaster> const T* is equivalent to T const*, too 20100110 20:42:11< shadowmaster> also, exposing a member that way is really bad design IMHO. I'd use getters/setters instead, or a non-const accessor by reference 20100110 20:43:55 * shadowmaster doesn't let C++ "force him" to do anything. He forces C++ to do stuff his way. 20100110 20:45:37< Soliton> fendrin, esr: yes, i suggest synchronising thunderer and scout as well. they shouldn't have the same resistances as the fighter line. 20100110 20:48:17< AI0867> fendrin: type const * const: the first const makes the 'type' it points to const (stops you from using non-const methods and modifying public attributes), the second stops you from reassigning the pointer (essentially a reference with different syntax) 20100110 20:49:04< shadowmaster> you can defeat constness with const_cast<>(), but don't. 20100110 20:49:43< fendrin> I just hate the const keyword. 20100110 20:50:21< shadowmaster> the const keyword is there to help the compiler protect you against certain mistakes 20100110 20:50:34< shadowmaster> it's up to you to make good use of it or not. 20100110 20:51:14< fendrin> shadowmaster: What I am trying to code is a getter. 20100110 20:51:32< shadowmaster> then why don't you just return a const reference instead? 20100110 20:52:17< shadowmaster> (I mean reference-to-const, of course) 20100110 20:52:40< fendrin> The wesnoth around my code is coded by someone who knows how to handle const well and pointers. It's not up to me to deceide what I can return. 20100110 20:57:04< shadowmaster> can I see the code? 20100110 20:57:55< fendrin> Soliton: Synchronizing the thunderer with the scout is fine. But the thunderer is very weak resistence wise as the post argues. http://www.wesnoth.org/forum/viewtopic.php?f=12&t=28447. esr and I thought about changing the thunderer line resistence a bit despite knowing that that could break the perfect multiplayer balancing somehow. 20100110 20:58:08-!- Tallken [n=f2f93bf5@a85-139-93-218.cpe.netcabo.pt] has quit ["Leaving"] 20100110 20:58:10< fendrin> shadowmaster: sure, let me commit. 20100110 21:00:15< CIA-61> fendrin * r40660 /branches/fendrin_pathfind/src/ (11 files in 4 dirs): New class teleport_map introduced. 20100110 21:01:18< fendrin> shadowmaster: It's commited.^ Pathfind.hpp defines the new class I am having troubles with. 20100110 21:01:46< shadowmaster> shikadibot: dir eeB[B[B[B/20 20100110 21:01:47< shikadibot> Web interface URL to directory eeB[B[B[B/20: http://svn.gna.org/viewcvs/wesnoth/eeB[B[B[B/20 20100110 21:01:51< AI0867> fendrin: looking... 20100110 21:02:15< shadowmaster> I meant to clear[B[B[B[B[Bstupid SSH 20100110 21:02:17< AI0867> what do you want to return? 20100110 21:03:10< fendrin> AI0867: Just a pointer to the vector sources for the first getter and a pointer to the vector destinations for the second getter. 20100110 21:03:49< shadowmaster> the question is, why pointers instead of references 20100110 21:04:04< shadowmaster> (I am stuck fetching commits atm) 20100110 21:04:38< shadowmaster> also, I have never been afraid of modifying interfaces to suit my code 20100110 21:05:18< fendrin> There is no need for a pointer despite that I would need to change some other stuff around it and maybe even interfaces. 20100110 21:06:40< AI0867> public const std::set& get_adjacent(map_location foo) { return destinations_[foo]; } 20100110 21:06:54< AI0867> s/) {/) const {/ 20100110 21:07:58-!- SonIcco [n=SonIcco@217.81.8.111] has joined #wesnoth-dev 20100110 21:08:32< shadowmaster> um, map_location is passed by copy? 20100110 21:08:44< shadowmaster> *the 20100110 21:09:06< AI0867> by value yes, though that could be changed 20100110 21:09:41< shadowmaster> I mean, in something as used as the pathfinding code, every optimization is good ;) 20100110 21:10:07< AI0867> public const std::set& get_adjacent(const map_location& foo) const { return destinations_[foo]; } 20100110 21:10:14< fendrin> I agree with shadowmaster, wouldn't have such problems if I didn't aim for efficiency. 20100110 21:10:29< AI0867> I'm just implementing your declaration =P 20100110 21:10:47< AI0867> of course, you might want the 6 physically adjacent ones too 20100110 21:15:00-!- dtiger [n=dtiger@dynamic-vpdn-93-125-17-131.telecom.by] has quit [Remote closed the connection] 20100110 21:16:08< fendrin> AI0867: They are handled elsewhere, that should be no problem. 20100110 21:17:31-!- f_ [i=8a25f909@gateway/web/freenode/x-fcjzjjtnssxgzgpw] has left #wesnoth-dev [] 20100110 21:29:34< shadowmaster> I should consider expanding my /home partition :/ 20100110 21:31:43< Skystriker> Are there known crashbugs on the dev version? 20100110 21:31:50< Skystriker> In the MP lobby? 20100110 21:32:12< shadowmaster> bugs.wesnoth.org 20100110 21:32:36< shadowmaster> you may want to tell us what it's about, more or less, to check if it's known or not 20100110 21:32:40< Skystriker> bad certificate? 20100110 21:32:42< Skystriker> but ok 20100110 21:32:43< Skystriker> Um 20100110 21:33:13< Skystriker> I hosted a game, my friend clicked on my name instead of the game, clicked cancel on the friend dialog and it crashed. May be relevant: I may have cancelled the game while said dialog was open 20100110 21:33:33< shadowmaster> the certificate is good AFAIK 20100110 21:33:46< shadowmaster> http://gna.org/forum/forum.php?forum_id=2145 20100110 21:33:50< Skystriker> I just got a Firefox 'this site could be dangerous, bad certificate' page 20100110 21:33:58< Skystriker> Ignored it of course, was just metioning 20100110 21:34:00< Skystriker> mentioning* 20100110 21:34:01< AI0867> that's a known one 20100110 21:34:12< Skystriker> Ok, thanks 20100110 21:34:13< Skystriker> :) 20100110 21:36:57-!- Appleman1234 [n=Appleman@CPE-124-191-178-150.oxqn1.cha.bigpond.net.au] has quit ["Leaving"] 20100110 21:43:19-!- noy [n=Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100110 21:43:57-!- PK [n=pk@r74-192-30-57.bcstcmta01.clsttx.tl.dh.suddenlink.net] has joined #wesnoth-dev 20100110 21:49:02-!- Zarel [n=Zarel@warzone2100/developer/Zarel] has joined #wesnoth-dev 20100110 22:03:15< Skystriker> Ugh another crash bug, this one in game 20100110 22:03:19< Skystriker> Not sure what caused it 20100110 22:05:30< mordante> I'm off night 20100110 22:05:45-!- mordante [n=mordante@wesnoth/developer/mordante] has quit ["Leaving"] 20100110 22:09:56< shadowmaster> gaaaa, more iPhone bug reports 20100110 22:11:56-!- Noyga [n=noyga@wesnoth/developer/noyga] has left #wesnoth-dev ["Quitte"] 20100110 22:18:15< grzywacz> ;) 20100110 22:20:05< shadowmaster> no, I'm not happy that *my* add-on is so massively screwed up by that port 20100110 22:27:53-!- alink [n=alink@wesnoth/developer/alink] has joined #wesnoth-dev 20100110 22:29:19< fendrin> AI0867: Are you still working on my branch? 20100110 22:29:57< shadowmaster> hm, I didn't notice only moderators could provide edit reasons 20100110 22:34:24-!- zookeeper [n=l@wesnoth/developer/zookeeper] has quit [] 20100110 22:35:34-!- YogiHH [n=chatzill@d052140.adsl.hansenet.de] has joined #wesnoth-dev 20100110 22:35:56< YogiHH> hello 20100110 22:39:18-!- allefant [n=elias@allegro/developer/allefant] has quit ["Leaving"] 20100110 22:39:46-!- Appleman1234 [n=Appleman@131.181.102.167] has joined #wesnoth-dev 20100110 22:57:00-!- Doppp [n=asdasd@c-98-219-161-204.hsd1.pa.comcast.net] has joined #wesnoth-dev 20100110 22:57:06< fendrin> YogiHH: Hello, can you give me a crash course how information in wesnoth can be made savegame persistent? 20100110 22:57:48< YogiHH> fendrin: for multiplayer or across scenarios? 20100110 22:58:43< fendrin> YogiHH: Both. I have added a wml tag that defines teleport locations. They shall be in place when loading from a savegame. 20100110 22:59:25< YogiHH> fendrin: ok, wait a minute, it has been a while since a last looked at that :) 20100110 22:59:35< fendrin> YogiHH: No problem :-) 20100110 22:59:58< fendrin> YogiHH: If you prefer we can talk at #wesnoth-de in the mother language. 20100110 23:01:02< YogiHH> nah, i am fine talking about it here 20100110 23:01:27-!- Doppp [n=asdasd@unaffiliated/doppp] has quit [Client Quit] 20100110 23:04:04< YogiHH> fendrin: will there be C++ objects that represent your teleport functionality or are we talking about pure config information? 20100110 23:04:16< fendrin> YogiHH: c++ objects. 20100110 23:05:21< fendrin> YogiHH: I have extendet the gamemap class by a private member that matches source locations with destination locations. They are filled by a wml tag. 20100110 23:05:37< YogiHH> ok 20100110 23:09:11-!- Doppp [n=asdasd@c-98-219-161-204.hsd1.pa.comcast.net] has joined #wesnoth-dev 20100110 23:12:24< AI0867> fendrin: I'm not, I don't even have a checkout 20100110 23:12:40< fendrin> AI0867: I must have misunderstood you. 20100110 23:13:12< AI0867> if I understood the declaration properly, that one line was a working implementation 20100110 23:13:24-!- boucman [n=rosen@wesnoth/developer/boucman] has quit ["Leaving."] 20100110 23:13:31< AI0867> if not, it at least specifies how to return a ref-to-const 20100110 23:14:12< fendrin> AI0867: Thank you :-) 20100110 23:14:32-!- MikeJB [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #Wesnoth-dev 20100110 23:14:35< AI0867> I *could* make a checkout, but that'd take some time 20100110 23:16:02< fendrin> AI0867: Don't bother, I will figure it out during the time. 20100110 23:21:03< YogiHH> fendrin: ok, here is the theory :) 20100110 23:21:49< YogiHH> the game_state object holds the config information, the play_controller holds your C++ objects (probably somewhere inside another container) 20100110 23:22:10-!- crimson_pinvin [n=ben@64.201.60.211] has joined #wesnoth-dev 20100110 23:22:25< YogiHH> the game_state config is what will be persisted across scenarios, while you will lose everything that is in play_controller at the end of the scenario 20100110 23:23:02< YogiHH> Your C++ object will need to have a way to be built from the config. The constructor is very popular for that ;-) 20100110 23:24:12< YogiHH> The play_controller construction is quite complex and without knowing the container i can't tell you where to best start building your objects but maybe you know that already 20100110 23:24:49< YogiHH> to be written into a savegame, your C++ object should inherit from savegame_config and implement the to_config() method 20100110 23:25:36< YogiHH> then you need to either add a call to that method to play_controller::to_config()... 20100110 23:25:59-!- crimson_penguin [n=ben@wesnoth/developer/crimsonpenguin] has quit [Read error: 113 (No route to host)] 20100110 23:25:59-!- crimson_pinvin is now known as crimson_penguin 20100110 23:26:01< fendrin> YogiHH: So the gamemap is the wrong location for the structure? 20100110 23:27:11< YogiHH> ...or you directly add it to savegame::write_game_snapshot 20100110 23:27:33< YogiHH> i don't think the gamemap is wrong, play_controller should have an instance of that if i remember correct 20100110 23:27:46< AI0867> the gamemap is also saved, but only for the scenario 20100110 23:28:29< fendrin> Since the teleports are map specific, it's enough to have them around only in the same scenario. 20100110 23:28:40-!- BroodKiller [n=Jakobs@chello087207048099.chello.pl] has joined #wesnoth-dev 20100110 23:29:42< YogiHH> Now that is the theory. Due to time restrictions for the restructuring GSoC project, there are still objects that don't implement to_config (well, actually they are not objects but C-functions, which is why it is a little more complicated to get them into this design) 20100110 23:30:10< YogiHH> and game_state still is more than just a config container 20100110 23:32:48< YogiHH> fendrin: is that enough for you to get started? 20100110 23:33:11< fendrin> YogiHH: Yes, it is. Thank you. :-) 20100110 23:44:38-!- Tallken [n=f2f93bf5@a85-139-93-218.cpe.netcabo.pt] has joined #wesnoth-dev 20100110 23:48:51-!- thespaceinvader [n=chatzill@wesnoth/artist/thespaceinvader] has quit ["ChatZilla 0.9.86 [Firefox 3.0.17/2009122116]"] --- Log closed Mon Jan 11 00:00:33 2010