--- Log opened Thu Aug 12 00:00:25 2010 20100812 00:02:30-!- zookeeper [~l@wesnoth/developer/zookeeper] has quit [] 20100812 00:05:29-!- Greywhind [~Greywhind@128.148.34.18] has quit [Quit: leaving] 20100812 00:06:02-!- Netsplit over, joins: ilor_ 20100812 00:06:53-!- gabba [~gabba@wesnoth/developer/gabba] has left #wesnoth-dev [] 20100812 00:07:03-!- Netsplit *.net <-> *.split quits: ilor_ 20100812 00:07:17< eleazar> fendrin: anyway i'm working on new/better water trans. Should be done in a few hours. I'll assess some things once that's done, like weather we still need a non-tropical reef 20100812 00:08:09-!- Blueblaze [~Blueblaze@99.185.11.175] has quit [Read error: Connection reset by peer] 20100812 00:11:40-!- Netsplit over, joins: ilor_ 20100812 00:25:44-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has joined #wesnoth-dev 20100812 00:25:49< crimson_penguin> ok, what is ana, and do I need to compile it? 20100812 00:27:15< loonycyborg> crimson_penguin: Add sources in src/ana/src to your project. 20100812 00:27:25< loonycyborg> That's it. 20100812 00:27:33< crimson_penguin> What about network_ana and stuff? 20100812 00:28:57< loonycyborg> Add network_ana.cpp and network_manager_ana.cpp but remove network.cpp. 20100812 00:29:30< crimson_penguin> Oh, ok 20100812 00:29:57< crimson_penguin> And network_async? 20100812 00:30:44< crimson_penguin> I've got a compile error in mapbuilder_visitor.cpp in whiteboard/ 20100812 00:31:18< crimson_penguin> src/whiteboard/mapbuilder_visitor.cpp:122: error: no match for 'operator!=' in 'rit != std::deque<_Tp, _Alloc>::rend() [with _Tp = wb::action_ptr, _Alloc = std::allocator]()' 20100812 00:32:03< loonycyborg> etwork_async isn't used in building currectly. 20100812 00:32:23< crimson_penguin> good, because I had a ton of errors with it too 20100812 00:33:31< loonycyborg> No idea about whiteboard error. Looks familiar though. 20100812 00:34:35< crimson_penguin> Seems odd to me 20100812 00:34:54< loonycyborg> IIRC someone else had it. 20100812 00:35:02-!- Johannes13 [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 258 seconds] 20100812 00:36:15< crimson_penguin> Sirp: any idea about this? 20100812 00:36:22< crimson_penguin> the line is: for (rit = applied_actions_.rbegin(); rit != applied_actions_.rend(); ++rit) 20100812 00:37:15< Sirp> crimson_penguin: yeah, what is the type of rit? 20100812 00:37:28< Sirp> is it reverse_iterator or const_reverse_iterator ? 20100812 00:37:33< crimson_penguin> const 20100812 00:37:36< Sirp> okay 20100812 00:37:43< crimson_penguin> and this is a deque 20100812 00:37:54< Sirp> so make a const_reverse_iterator and assign it to rend and compare to that 20100812 00:38:05< Sirp> there is evidently no operator != to compare deque::iterator with deque::const_iterator 20100812 00:38:14< crimson_penguin> jeez 20100812 00:39:12< crimson_penguin> that fixed it 20100812 00:40:14< loonycyborg> crimson_penguin: Are you using latest trunk? 20100812 00:40:28< crimson_penguin> from like... yesterday 20100812 00:41:24< loonycyborg> It's weird that only your compiler has this issue. IIRC the other person was on Mac too. 20100812 00:42:04< crimson_penguin> So, were new boost libraries added since 1.8? 20100812 00:42:23< loonycyborg> Yes. boost.thread and boost.system 20100812 00:42:29< crimson_penguin> Ah, ok 20100812 00:46:51-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has quit [Quit: I ATE'NT DEAD] 20100812 00:50:49-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has joined #wesnoth-dev 20100812 01:06:49-!- T[1] [~Talkative@d-216-36-25-155.cpe.metrocast.net] has joined #wesnoth-dev 20100812 01:08:01-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has quit [Quit: I ATE'NT DEAD] 20100812 01:09:22-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has joined #wesnoth-dev 20100812 01:10:03< crimson_penguin> looks like I got it to link! 20100812 01:10:55< crimson_penguin> but it's not done compiling the other arch, so I have to wait to run it 20100812 01:14:33-!- T[1] [~Talkative@d-216-36-25-155.cpe.metrocast.net] has quit [Quit: Yummy, like ircing on a cake! [ http://www.bersirc.org/ - Open Source IRC ]] 20100812 01:24:44-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100812 01:24:46< fendrin> eleazar: No, it is not possible. The reef always goes with the tropical shallow water beneath it. 20100812 01:26:04< fendrin> eleazar: Shift clicking does remove the overlay (if it is an overlay). 20100812 01:30:28-!- shadowm_laptop2 [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100812 01:30:42-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Disconnected by services] 20100812 01:30:53-!- shadowm_laptop2 is now known as shadowm_laptop 20100812 01:46:03-!- Blueblaze [~Blueblaze@adsl-99-185-11-175.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100812 01:50:03< eleazar> fendrin: hmm, actually i think i'll switch the base to the non-tropical water That looks OK in tropical and non-tropical contexts 20100812 01:50:23< eleazar> -- with my new transitions 20100812 01:59:24< crimson_penguin> how can I remove a file from version control, but not delete the working copy? 20100812 02:03:54< anonymissimus> crimson_penguin: in tortoise svn, you do not delete a file from the working copy if you "delete and add to ignore list" - it 20100812 02:04:16< anonymissimus> from the right click menu 20100812 02:04:54< crimson_penguin> I found the --keep-local option 20100812 02:05:01< crimson_penguin> I'm using command line svn 20100812 02:06:11< anonymissimus> good luck with mac compiling however :P 20100812 02:06:18< anonymissimus> cya 20100812 02:06:21< crimson_penguin> eh, it's working 20100812 02:06:30-!- anonymissimus [~chatzilla@HSI-KBW-095-208-088-086.hsi5.kabel-badenwuerttemberg.de] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.2/20100316074819]] 20100812 02:17:12-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has quit [Remote host closed the connection] 20100812 02:17:46-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has joined #wesnoth-dev 20100812 02:19:08< fendrin> eleazar: fine 20100812 02:54:45< CIA-87> eleazar * r45520 /trunk/data/core/ (271 files in 2 dirs): 20100812 02:54:45< CIA-87> Big water-to-water transition update-- now using double-sided transitions. Also 20100812 02:54:45< CIA-87> fixed all known instances of transtions not being drawn where there are needed. 20100812 02:54:45< CIA-87> Reef and ford now layer much nicer with each other and other terrains. 20100812 02:59:37-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has quit [Quit: Zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz] 20100812 03:12:22-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20100812 03:15:59-!- T[1] [~Talkative@d-216-36-25-155.cpe.metrocast.net] has joined #wesnoth-dev 20100812 03:18:03< T[1]> Anyone willing to tell a hilarious noob where he can read up on $functions? New to WML and not sure where to find an API on, for instance, $random. 20100812 03:19:22-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Read error: Connection reset by peer] 20100812 03:23:47-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100812 03:27:38< eleazar> T[1]: http://wiki.wesnoth.org/WML 20100812 03:27:43< eleazar> how about this? 20100812 03:28:49< T[1]> Mmmm-hmmm. Thankies. 20100812 03:28:54-!- T[1] [~Talkative@d-216-36-25-155.cpe.metrocast.net] has quit [Quit: Wow! What a great client! Bersirc 2.2 [ http://www.bersirc.org/ - Open Source IRC ]] 20100812 03:58:21-!- Grickit [~Gambit@pa-67-234-79-245.dhcp.embarqhsd.net] has joined #wesnoth-dev 20100812 03:58:21-!- Grickit [~Gambit@pa-67-234-79-245.dhcp.embarqhsd.net] has quit [Changing host] 20100812 03:58:21-!- Grickit [~Gambit@unaffiliated/gambit] has joined #wesnoth-dev 20100812 03:59:20-!- Gambit [~Gambit@unaffiliated/gambit] has quit [Ping timeout: 265 seconds] 20100812 04:29:54< fendrin> eleazar: New water transitions are great. The cliffs look great. But something on the order of the layerings changed. Before the latest change the land tiles painted above the cliff rocks. That looked fine. If you want to see your new terrain in use, I have tried to polish LoW map name Kalian.map very much. 20100812 04:33:11-!- Grickit [~Gambit@unaffiliated/gambit] has quit [Read error: Connection reset by peer] 20100812 04:36:06-!- Ivanovic_ [~ivanovic@dtmd-4db2cf8d.pool.mediaWays.net] has joined #wesnoth-dev 20100812 04:40:07-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 276 seconds] 20100812 04:42:05-!- Ivanovic_ is now known as Ivanovic 20100812 04:56:51-!- elvish_sovereign [~elvish_so@pool-108-2-86-247.phlapa.east.verizon.net] has quit [Quit: Colloquy for Mac - client quit] 20100812 04:57:24< eleazar> "the land tiles painted above the cliff rocks." -- i don't know what you mean by this. My binary is a little out of date so what i see may not be accurate. But nothing was *supposed* to change with the layering of chasm and land. Can you provide a screenshot? 20100812 04:58:30< eleazar> fendrin: ping 20100812 05:13:50-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Remote host closed the connection] 20100812 05:25:51-!- Gallaecio [~quassel@72.137.117.91.dynamic.mundo-r.com] has quit [Remote host closed the connection] 20100812 05:28:19-!- wesbot changed the topic of #wesnoth-dev to: 139 bugs, 286 feature requests, 14 patches | logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20100812 05:31:47-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100812 05:31:53< shadowmaster> what the- 20100812 05:31:58< shadowmaster> my battery 20100812 05:35:17 * shadowmaster tries cutting off the power 20100812 05:35:32< shadowmaster> still no battery charge. 20100812 05:43:49-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 276 seconds] 20100812 05:44:10-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100812 05:56:34-!- Bocom [~Bocom@c-b7cfe255.013-31-6b736412.cust.bredbandsbolaget.se] has quit [Read error: No route to host] 20100812 05:56:43-!- Bocom [~Bocom@c-b7cfe255.013-31-6b736412.cust.bredbandsbolaget.se] has joined #wesnoth-dev 20100812 05:57:28-!- rusty [~rusty2@ppp118-210-39-37.lns20.adl2.internode.on.net] has joined #wesnoth-dev 20100812 06:02:22-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has quit [Quit: goodnight] 20100812 06:05:27-!- Elvish_Pillage2 [~eli@71-10-224-192.dhcp.oxfr.ma.charter.com] has quit [Ping timeout: 240 seconds] 20100812 06:16:09-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 248 seconds] 20100812 06:17:00< fendrin> eleazar: pong 20100812 06:17:30< eleazar> fendrin: see my comment before the ping? 20100812 06:17:49< fendrin> eleazar: Yes, screenshot maiking is in progress. 20100812 06:17:54< eleazar> cool 20100812 06:18:07-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100812 06:23:01< fendrin> eleazar: http://imagebin.org/109242 20100812 06:23:04< CIA-87> eleazar * r45521 /trunk/data/core/images/terrain/water/ (12 files): fixed glitch in water-to-water transition animation. 20100812 06:24:17< eleazar> fendrin: so what's changed? 20100812 06:24:58< fendrin> eleazar: Have a look at the rocks that are near the coast. Those have not been visible in an older version since the coast was obove the rock layer. That locked quite natural. 20100812 06:25:43< fendrin> s/locked/looked 20100812 06:25:45< eleazar> oh, you mean the reef 20100812 06:26:43< eleazar> i wanted them to show up above the sand 20100812 06:26:55< eleazar> this wasn't intended 20100812 06:27:55< eleazar> may need to make some "small" versions of the reef rocks when they are crowded 20100812 06:28:18< fendrin> It looks quite okay with sand as costline. 20100812 06:29:06< fendrin> And it is also fine with the current images if only the layering would be switched. But I don't know if you can make a difference between sand coast and grass coast. 20100812 06:31:17< eleazar> not easily, sand is layered higher than dirt 20100812 06:32:31< fendrin> I see. 20100812 06:32:49< eleazar> i can deal with it another way 20100812 06:33:05< eleazar> thanks for bringing it to my attention 20100812 06:33:25-!- silene [~plouf@AMarseille-553-1-286-245.w90-53.abo.wanadoo.fr] has joined #wesnoth-dev 20100812 06:33:25-!- silene [~plouf@AMarseille-553-1-286-245.w90-53.abo.wanadoo.fr] has quit [Changing host] 20100812 06:33:25-!- silene [~plouf@wesnoth/developer/silene] has joined #wesnoth-dev 20100812 06:33:43< eleazar> i don't think i'll get to it before the development release 20100812 06:35:00< eleazar> night all 20100812 06:35:46< eleazar> fendrin: It is nice to see my new terrains being put to good use... 20100812 06:48:13-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has quit [Quit: Leaving] 20100812 07:00:42-!- Blueblaze [~Blueblaze@adsl-99-185-11-175.dsl.hstntx.sbcglobal.net] has quit [Read error: Connection reset by peer] 20100812 07:02:23-!- Blueblaze [~Blueblaze@adsl-99-185-11-175.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100812 07:29:32-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20100812 07:33:56-!- Blueblaze [~Blueblaze@adsl-99-185-11-175.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20100812 07:38:38< timotei> morning 20100812 07:38:47< rusty> timotei: morning! 20100812 07:38:53< timotei> hi rusty 20100812 07:38:56< timotei> how are you doing? 20100812 07:41:48< rusty> timotei: not bad, actually. Started playing the tutorial in 1.9 to see what had changed; not much AFAICT! 20100812 07:42:06< timotei> rusty: hmm, zookeeper is working on it iirc 20100812 07:42:57< rusty> timotei: excellent! I was proud of it at the time, but it needs a refresh :( 20100812 07:43:09< timotei> rusty: what kind of refresh 20100812 07:43:29< timotei> rusty: if they want to make the whiteboard official for 1.9 they will make a whiteboard tutorial too 20100812 07:46:18< rusty> timotei, Sirp: I wonder if we should rework the dialog system... the pane-at-a-time approach is the clunkiest thing about the tutorial... 20100812 07:46:42< timotei> rusty: tbh, the most thing I don't like, it's the blocking way of showing dialogs 20100812 07:47:09< timotei> rusty: for example, in MP scenario, if I choose Chat log, and stay too much there, I'll have to watch a good amount of time the replay 20100812 07:48:37< rusty> timotei: I think we're furiously agreeing... for character dialog perhaps avoiding the background pane and doing some read-speed estimation to display the words. Maybe some clever portrait/dialog layout engine. 20100812 08:01:23-!- Aethaeryn [~Michael@wesnoth/umc-dev/developer/aethaeryn] has quit [Quit: ...] 20100812 08:15:37< timotei> fendrin: hey 20100812 08:18:10-!- Blueblaze [~Blueblaze@adsl-99-185-11-175.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100812 08:21:32-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 240 seconds] 20100812 08:23:43-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100812 08:36:42-!- Ivanovic [~ivanovic@dtmd-4db2cf8d.pool.mediaWays.net] has quit [Changing host] 20100812 08:36:42-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20100812 08:40:18< Ivanovic> moin 20100812 08:42:32-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 240 seconds] 20100812 08:42:50< timotei> hi Ivanovic 20100812 08:44:34-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100812 08:47:40< rusty> Ivanovic: hi! 20100812 08:51:21-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 248 seconds] 20100812 08:52:05-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100812 08:52:49-!- Appleman1234 [~Appleman1@CPE-60-226-176-19.qld.bigpond.net.au] has quit [Quit: Leaving] 20100812 09:05:39-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has joined #wesnoth-dev 20100812 09:12:22-!- Blueblaze [~Blueblaze@adsl-99-185-11-175.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20100812 09:16:50-!- Blueblaze [~Blueblaze@adsl-99-185-11-175.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100812 09:18:42-!- happygrue [~George@wesnoth/developer/wintermute] has quit [Read error: Connection reset by peer] 20100812 09:21:34-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [] 20100812 09:23:35-!- rusty [~rusty2@ppp118-210-39-37.lns20.adl2.internode.on.net] has quit [Quit: Leaving.] 20100812 09:27:55-!- Blueblaze [~Blueblaze@adsl-99-185-11-175.dsl.hstntx.sbcglobal.net] has quit [Remote host closed the connection] 20100812 09:28:34-!- Blueblaze [~Blueblaze@adsl-99-185-11-175.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100812 09:29:22< timotei> lol: https://bugzilla.gnome.org/show_bug.cgi?id=626593 20100812 09:29:23< timotei> shadowmaster: ^ 20100812 09:29:30-!- thespaceinvader [~chatzilla@wesnoth/artist/thespaceinvader] has joined #wesnoth-dev 20100812 09:30:32-!- zookeeper [~l@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20100812 09:46:11-!- joo is now known as joo|out 20100812 09:47:26< CIA-87> zookeeper * r45522 /trunk/data/campaigns/The_Rise_Of_Wesnoth/scenarios/13_Peoples_in_Decline.cfg: Fixed a missing translation marker. 20100812 09:49:10< CIA-87> zookeeper * r45523 /branches/1.8/data/campaigns/The_Rise_Of_Wesnoth/scenarios/13_Peoples_in_Decline.cfg: Ported r45522 to 1.8. 20100812 09:51:04< zookeeper> silene, have you looked at the [move_unit] patch yet? 20100812 09:54:41-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100812 09:55:13-!- noy [~Noy@wesnoth/developer/noy] has quit [Client Quit] 20100812 09:59:11 * zookeeper tests it a bit 20100812 10:01:53-!- Blueblaze [~Blueblaze@adsl-99-185-11-175.dsl.hstntx.sbcglobal.net] has quit [Read error: Connection reset by peer] 20100812 10:02:22< timotei> (\ /) 20100812 10:02:22< timotei> (O.o) 20100812 10:02:22< timotei> (> <) Bunny approves these changes. 20100812 10:02:34-!- Blueblaze [~Blueblaze@adsl-99-185-11-175.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100812 10:02:36< timotei> I really need to use that in a commit 20100812 10:06:04-!- eleazar_ [~eleazar@ppp-70-226-209-195.dsl.spfdil.ameritech.net] has joined #wesnoth-dev 20100812 10:10:19-!- eleazar [~eleazar@ppp-70-226-209-195.dsl.spfdil.ameritech.net] has quit [Ping timeout: 276 seconds] 20100812 10:10:20-!- eleazar_ is now known as eleazar 20100812 10:21:25< CIA-87> zookeeper * r45524 /trunk/data/campaigns/Liberty/scenarios/ (3 files): Increased the difficulty of scenarios 4, 6, and 7 by adjusting the allies' and enemies' starting gold. 20100812 10:23:56-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100812 10:34:02-!- noy_ [~Noy@70.70.255.54] has joined #wesnoth-dev 20100812 10:34:03-!- noy_ [~Noy@70.70.255.54] has quit [Changing host] 20100812 10:34:03-!- noy_ [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100812 10:36:06-!- noy [~Noy@wesnoth/developer/noy] has quit [Ping timeout: 258 seconds] 20100812 10:36:06-!- noy_ is now known as noy 20100812 10:37:20-!- noy [~Noy@wesnoth/developer/noy] has quit [Client Quit] 20100812 11:01:43-!- Blueblaze [~Blueblaze@adsl-99-185-11-175.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20100812 11:19:01-!- mjs-de [~mjs-de@p3EE247BB.dip.t-dialin.net] has joined #wesnoth-dev 20100812 11:19:06-!- Johannes13 [~Johannes@pD95017FD.dip0.t-ipconnect.de] has joined #wesnoth-dev 20100812 11:19:10-!- Johannes13 [~Johannes@pD95017FD.dip0.t-ipconnect.de] has quit [Changing host] 20100812 11:19:10-!- Johannes13 [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20100812 11:21:19-!- burst_error [~err@pool-71-101-58-111.tampfl.dsl-w.verizon.net] has joined #wesnoth-dev 20100812 11:28:19-!- wesbot changed the topic of #wesnoth-dev to: 138 bugs, 286 feature requests, 14 patches | logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20100812 11:33:13-!- joo|out is now known as joo 20100812 11:51:18-!- Gallaecio [~quassel@112.243.165.83.dynamic.mundo-r.com] has joined #wesnoth-dev 20100812 11:54:25-!- gabba [~gabba@wesnoth/developer/gabba] has joined #wesnoth-dev 20100812 11:55:08< CIA-87> gabba * r45525 /trunk/images/arrows/ (223 files in 4 dirs): 20100812 11:55:08< CIA-87> New images for the new arrows. Code isn't yet modified to match. 20100812 11:55:08< CIA-87> Images already processed by wesnoth-optipng. 20100812 11:55:08< CIA-87> The teleport images need some work and are all the same for now. 20100812 11:55:15< CIA-87> gabba * r45526 /trunk/src/ (7 files in 2 dirs): Arrows: rewrote the update_symbols method to use the new images, and did a general cleanup of the class. Updated the code referring to the arrows to use the new styles. 20100812 11:59:48-!- mjs-de [~mjs-de@p3EE247BB.dip.t-dialin.net] has quit [Remote host closed the connection] 20100812 12:07:05< CIA-87> gabba * r45527 /trunk/ (14 files in 2 dirs): Gave the whiteboard its own copy of the attack indicator, so it can eventually be different from the regular one. 20100812 12:13:20< timotei> gabba: w00t, 223 images for arrows?:D 20100812 12:14:31< gabba> timotei: nothing very exciting for now: the same in three versions that differ only by transparency. And they are uglier than the previous ones :P. But at least they're ready for artist improvement, now. 20100812 12:14:50< timotei> oh 20100812 12:14:51< timotei> :D 20100812 12:14:58< timotei> ok then 20100812 12:19:24< gabba> boucman: the new arrows are a monument to ugliness, but they are ready for improvement by an artist, unless you want to suggest a last-minute change. No more hardcoded alpha changes, everything is controlled from the images themselves that come in three different styles. I haven't addded an "invalid" style since for now, my code doesn't use one. 20100812 12:20:08< gabba> boucman: right now the arrows are only made of the team color, but the artist could conceivably add some non-TC parts to them 20100812 12:25:17< timotei> fendrin: hmm, I like the speed of the preprocessor and building:D 20100812 12:35:51< timotei> fendrin: ok, creating projects for each campaign/addon is in place 20100812 13:08:57-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Ping timeout: 248 seconds] 20100812 13:09:51-!- burst_error [~err@pool-71-101-58-111.tampfl.dsl-w.verizon.net] has left #wesnoth-dev ["Leaving"] 20100812 13:14:53< zookeeper> silene, is there currently a way to get the turn limit with lua? i can get the current turn number from wesnoth.current it seems, but i don't see a way to get the turn limit anywhere. 20100812 13:17:03-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20100812 13:19:08-!- loonycyborg [~sergey@ppp79-139-137-208.pppoe.spdop.ru] has joined #wesnoth-dev 20100812 13:19:09-!- loonycyborg [~sergey@ppp79-139-137-208.pppoe.spdop.ru] has quit [Changing host] 20100812 13:19:09-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has joined #wesnoth-dev 20100812 13:22:35-!- gabba [~gabba@wesnoth/developer/gabba] has left #wesnoth-dev [] 20100812 13:29:39< silene> zookeeper: no, i haven't had time to look at the [move_unit] patch, nor at the latest version of the [modify_unit] one 20100812 13:29:50< silene> zookeeper: game_config.last_turn, but on ly in trunk 20100812 13:30:10-!- norbert_ [~norbert@82-171-70-54.ip.telfort.nl] has joined #wesnoth-dev 20100812 13:34:00< zookeeper> silene, ok, thanks 20100812 13:36:07< fendrin> Tigge: hello 20100812 13:36:38< fendrin> Tigge: sorry, wrong name highlighted. 20100812 13:49:14-!- norbert_ [~norbert@82-171-70-54.ip.telfort.nl] has left #wesnoth-dev ["Leaving"] 20100812 13:51:23< CIA-87> zookeeper * r45528 /trunk/data/core/macros/objective-utils.cfg: Added a shortcut macro for the standard "Turns run out" defeat objective. 20100812 13:55:40< CIA-87> zookeeper * r45529 /trunk/data/campaigns/ (35 files in 5 dirs): Converted turns run out objectives in AOI, DW, DM and DiD to use the new TURNS_RUN_OUT shortcut macro. Also a bunch of tabs-to-spaces in DM. 20100812 13:57:41< silene> zookeeper: the latest version of the [modify_unit] patch is quite interesting, it allows to add traits and objects on the fly and to advance units to a different type; i will commit it once i get a chance 20100812 13:58:03< silene> for the [move_unit] patch, i have a few questions to ask first 20100812 13:58:16< zookeeper> okay 20100812 13:59:27< zookeeper> i tested the [move_unit] patch and it seems to work (haven't found any bugs in it). i already did this change to it though: 20100812 13:59:28< zookeeper> -local to_x, to_y = tostring(cfg.to_x), tostring(cfg.to_y) 20100812 13:59:28< zookeeper> +local to_x = tostring(cfg.to_x) or helper.wml_error("[move_unit] missing required to_x= attribute.") 20100812 13:59:28< zookeeper> +local to_y = tostring(cfg.to_y) or helper.wml_error("[move_unit] missing required to_y= attribute.") 20100812 14:03:20< silene> zookeeper: yes, there are some others too; but what i feel bad is the fact that [move_unit_fake] is called at each step of the move rather than globally at the end; i have tried, but i wouldn't be surprised if it were to transform drakes into jumping bunnies 20100812 14:03:32< silene> haven't tried* 20100812 14:04:10< silene> but perhaps it is already the case with the existing code 20100812 14:04:39< zookeeper> hmm, right, i didn't try with a drake... 20100812 14:05:01< zookeeper> and i guess it makes sense otherwise too to just call it once (per unit) 20100812 14:06:20< zookeeper> but no, no bunny-hopping with drakes, it seems 20100812 14:08:24< zookeeper> err, i guess you meant "each comma-separated step of the coordinate string"? 20100812 14:11:40< silene> yes 20100812 14:11:56< zookeeper> ok, yes, that results in bunny-hopping between the steps 20100812 14:12:04< zookeeper> so that needs to be fixed 20100812 14:14:58< CIA-87> ivanovic * r45530 /trunk/po/ (wesnoth-editor/id.po wesnoth-lib/id.po): updated Indonesian translation 20100812 14:14:58< CIA-87> ivanovic * r45531 /branches/1.8/po/ (wesnoth-editor/id.po wesnoth-lib/id.po): updated Indonesian translation 20100812 14:20:06-!- Gambit [~Gambit@pa-67-234-98-171.dhcp.embarqhsd.net] has joined #wesnoth-dev 20100812 14:20:06-!- Gambit [~Gambit@pa-67-234-98-171.dhcp.embarqhsd.net] has quit [Changing host] 20100812 14:20:06-!- Gambit [~Gambit@unaffiliated/gambit] has joined #wesnoth-dev 20100812 14:40:48-!- Crab_ [~Crab@wesnoth/developer/crab] has joined #wesnoth-dev 20100812 14:44:04< fendrin> zookeeper: Extra abilities, that are assigned to a unit in [unit][abilities] when they are created do not carry over to the next advancement, do they? 20100812 14:45:58< zookeeper> fendrin, i'm not sure 20100812 14:50:30< fendrin> zookeeper: Okay, I will investigate it. Question two, say a unit steps into fire and I want to give it some extra fire damage that was not caused by an attack in that case. Is there already a macro in core that does count the unit's fire resistance in the amount of damage? 20100812 14:50:31-!- mjs-de [~mjs-de@vpw.wh.uni-dortmund.de] has joined #wesnoth-dev 20100812 14:50:47< zookeeper> fendrin, no, i don't think so 20100812 14:51:16< fendrin> zookeeper: Do you consider it useful, so I can write and commit it to core/macros/whatever.cfg? 20100812 14:54:03-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has quit [Quit: I ATE'NT DEAD] 20100812 14:54:08< fendrin> zookeeper: I think it could fit into "event-utils.cfg". 20100812 14:54:32< zookeeper> sure, go ahead. 20100812 14:54:45< zookeeper> although... 20100812 14:55:42-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has joined #wesnoth-dev 20100812 14:55:58< zookeeper> fendrin, i'd rather see [harm_unit] implemented: http://wiki.wesnoth.org/FutureWML#New_Actions 20100812 14:56:48< fendrin> zookeeper: Hmm, that could be task best implemented with lua. 20100812 14:56:55< zookeeper> yeah 20100812 14:57:38< fendrin> zookeeper: It has been some time since I last coded in lua. But I will give it a try. 20100812 14:58:50< fendrin> zookeeper: Your bat feature is on schedule after LoW is in a state where I can leave it alone during the 1.8 lifetime. 20100812 15:03:51< fendrin> wesbot: seen mordante 20100812 15:03:51< wesbot> fendrin: The person with the nick mordante last spoke 9d 18h ago. 9d 18h ago was here and on the channel #wesnoth-de with the message: Quit: Leaving 20100812 15:04:01< fendrin> Oh, mordante is lost! 20100812 15:17:40< fendrin> zookeeper: Are damage types hardcoded? 20100812 15:18:13< zookeeper> huh? no, they aren't...i thought you knew that 20100812 15:18:35< fendrin> zookeeper: Hmmm, where are they defined? 20100812 15:19:04< zookeeper> nowhere; you just use whatever value you want. the translations for the core ones are hacked in hardwired/english.cfg 20100812 15:20:23< fendrin> zookeeper: Say I would want to bring the holy damage type back in game. I would only have to search for all "arcane" and replace them with "holy" and that's it? 20100812 15:20:45< fendrin> zookeeper: In wml only. Not c++. 20100812 15:20:47< zookeeper> yeah 20100812 15:21:04< fendrin> zookeeper: Understood, makes my live easy. 20100812 15:21:06< zookeeper> at least i'm not aware of any c++-hardcoded parts 20100812 15:22:28< Ivanovic> zookeeper: i expect mordante back rather soon 20100812 15:22:29< fendrin> zookeeper: The harm unit tag proposal does contain an attribute "alignment". Do you know what thought is behind that? 20100812 15:22:38< Ivanovic> zookeeper: that is: last week he was off for some holidays 20100812 15:23:13< zookeeper> fendrin, presumably the damage gets adjusted as if the imaginary unit dealing the damage was of that alignment 20100812 15:23:39< fendrin> zookeeper: Uh, does that make any sense? 20100812 15:23:55< zookeeper> i'm not sure 20100812 15:24:48< fendrin> zookeeper: As far as I know alignment does only increase the damage a unit does, not what it receives. No idea what I should do with the alignment information. 20100812 15:24:58< zookeeper> umm, read again 20100812 15:26:14< zookeeper> (especially the "as if the imaginary unit dealing the damage" part ;) 20100812 15:26:40-!- AnMaster [~AnMaster@unaffiliated/anmaster] has joined #wesnoth-dev 20100812 15:26:43< zookeeper> dealing means inflicting, not receiving 20100812 15:28:38-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has quit [Remote host closed the connection] 20100812 15:29:10< fendrin> zookeeper: Okay, I think there are some differences in what the tag should do. I had a tag in mind that does some damage out of combat, like bringing dry out damage (fire in that case) to the quenoth elves like in utbs scenario2. 20100812 15:29:59< fendrin> zookeeper: The proposed tag seems to be a pseudo combat feature still involving an attacker and a receiver. 20100812 15:30:07< zookeeper> no, it isn't 20100812 15:30:14 * zookeeper checks 20100812 15:30:59< zookeeper> there's no attacker involved, just the receiver. having an alignment= key hardly changes that. 20100812 15:31:39-!- billynux [~billy@wesnoth/developer/billynux] has joined #wesnoth-dev 20100812 15:31:42< fendrin> zookeeper: Okay, still there is no wesnoth rule I know of where alignment is involved in any way when receiving damage. 20100812 15:32:38< fendrin> zookeeper: The question can be simplified to "What should my code do with the alignment information?". 20100812 15:33:27-!- Greywhind [~Greywhind@fw-34-16.cs.brown.edu] has joined #wesnoth-dev 20100812 15:33:46< zookeeper> again, the code should adjust the damage as if the imaginary unit dealing the damage was of the given alignment. if you give it alignment=chaotic and it's day, then adjust the damage by -25%. if you give it alignment=chaotic and it's night then +25%. 20100812 15:34:42< fendrin> zookeeper: Okay, understood. The damage is dealt by a force that is dependent on time of day. I am hard in the uptake today :-) 20100812 15:35:16< fendrin> zookeeper: I will make "amount" a range from which is randomly chosen. 20100812 15:35:23< fendrin> optional 20100812 15:35:28< zookeeper> sure, sounds fine 20100812 15:36:03< zookeeper> you should probably make it work exactly like [set_variable] rand= if possible 20100812 15:36:15< zookeeper> since it has really good random range features 20100812 15:36:45< fendrin> zookeeper: Yes, I think I will just call the wml variable assignment mechanism out of lua. 20100812 15:38:22-!- alink [~alink@wesnoth/developer/alink] has joined #wesnoth-dev 20100812 15:48:13< fendrin> zookeeper: hmmm, I still have a problem with the alignment. I think it should work in some reversed order. 20100812 15:49:03< fendrin> zookeeper: Imagine a force that is "lawful". Shouldn't it deal more damage to chaotic units than to lawful ones? 20100812 15:50:18< fendrin> zookeeper: But I guess that can be done with the embedding event and it's filters. 20100812 15:58:03< zookeeper> fendrin, umm...no, it shouldn't 20100812 15:58:28< zookeeper> do lawful units deal more damage to chaotic units? clearly not, so... 20100812 16:00:26-!- timotei21 [~timotei@193.34.191.4] has joined #wesnoth-dev 20100812 16:06:06< fendrin> hi timotei21 20100812 16:11:08-!- Blueblaze [~Blueblaze@adsl-76-202-21-169.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100812 16:11:20-!- billynux [~billy@wesnoth/developer/billynux] has quit [Quit: Leaving] 20100812 16:11:28-!- stikonas [~and@ctv-213-164-99-190.vinita.lt] has joined #wesnoth-dev 20100812 16:11:28-!- stikonas [~and@ctv-213-164-99-190.vinita.lt] has quit [Changing host] 20100812 16:11:28-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20100812 16:12:05< fendrin> zookeeper: Okay, the best solution should be to add an interface to the combat system to lua. That will make all sorts of predefined combat sequences possible. 20100812 16:14:55-!- Appleman1234 [~Appleman1@CPE-60-226-176-19.qld.bigpond.net.au] has joined #wesnoth-dev 20100812 16:15:22< zookeeper> fendrin, the best solution to _what_? the [harm_unit] tag is still only intended for dealing damage to units from an event 20100812 16:15:31< zookeeper> it's not a combat simulator 20100812 16:16:13< Crab_> zookeeper: well, having a 'combat simulator' would allow a lot of things to be written easier 20100812 16:16:36< zookeeper> Crab_, sure, but i can't see what it has to do with the [harm_unit] tag 20100812 16:16:42< Crab_> zookeeper: e.g., things like granting XP after kill from special ability 20100812 16:16:56< fendrin> zookeeper: Right, but the combat c++ code does know about alignments and damage types. It can be used to avoid duplicating code. Also the c++ combat code can trigger the units hit animations by the normal wml way how animations a filtered by damage type. 20100812 16:17:10-!- anonymissimus [~chatzilla@HSI-KBW-095-208-088-086.hsi5.kabel-badenwuerttemberg.de] has joined #wesnoth-dev 20100812 16:17:24< silene> note that lua already has the same combat simulator than c++ (though i'm not sure it is really needed here) 20100812 16:17:37< fendrin> silene: Hi silene. 20100812 16:17:39-!- timotei21 is now known as timotei 20100812 16:17:39-!- timotei is now known as timotei_away 20100812 16:17:40< Crab_> zookeeper: well, there should be a tag for making unit A with alignment L deal X dmg of type T to unit B 20100812 16:17:41-!- timotei_away is now known as timotei 20100812 16:17:42-!- timotei [~timotei@193.34.191.4] has quit [Changing host] 20100812 16:17:42-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20100812 16:17:43-!- timotei is now known as timotei_away 20100812 16:17:45-!- timotei_away is now known as timotei 20100812 16:17:48< timotei> hi fendrin 20100812 16:18:10< zookeeper> Crab_, sure, as long as that tag can cope with there not being unit A at all 20100812 16:18:14< Crab_> zookeeper: yes 20100812 16:18:21< zookeeper> sounds good to me then 20100812 16:18:41< zookeeper> unsurprisingly i don't really care about the implementation details that much 20100812 16:18:51< fendrin> silene: I have seen the wesnoth.simulate_combat interface. What I want to add is wesnoth.execute_combat. 20100812 16:19:06< silene> fendrin: what's the point? 20100812 16:19:44< anonymissimus> silene: when doing :lua global_function() 1.9 crashes without a word :P 20100812 16:19:58< silene> nice 20100812 16:20:15< fendrin> silene: First, having wml tags for harming a unit like it would be harmed by a weapon that is lawfull and does impact for example without duplicating code and also triggering the common unit animations and damage notes floating around. 20100812 16:21:14< fendrin> silene: An example would be a trap triggered by a unit that burns them and so does fire damage. 20100812 16:21:27< Crab_> silene: if we want to simulate let 'unit A with attack unit B' from pure WML, we need to handle stuff like animation, resistances, chances to hit, combat-related events, experience points. having a tag which would be able to reuse existing C++ combat code for that would remove most of the complexity. 20100812 16:21:37< silene> fendrin: i understand the purpose of the [harm_unit], i don't understand the point of execute_combat 20100812 16:21:45< fendrin> silene: Since that fire is sourced from a chaotic might it will be more dangerous during the night. 20100812 16:22:19< fendrin> silene: The combat code will do all sort of things that I don't need to re-implement in lua. 20100812 16:22:28< silene> Crab_: wml designers have done it for ages! traps are nothing new 20100812 16:22:55< silene> fendrin: you are mistaken about the combat code; if you think you can just call it, you are in for a lot of troubles 20100812 16:23:18< silene> anonymissimus: "error scripting/lua: [string "global_function()"]:1: attempt to call global 'global_function' (a nil value)"; it works fine for me 20100812 16:23:29< fendrin> silene: I don't need to process the alignment nor the damage type nor do anything to the unit. That will lead to an animated event with all known features like sound effects, damage display and so on. 20100812 16:23:32< zookeeper> silene, i guess the point is to make a tag which makes animations, damage numbers, resistances, chances to hit, etc happen automatically without needing a lof of messy WML code to do them separately 20100812 16:23:50< anonymissimus> it must have been loaded/exist 20100812 16:24:25< Crab_> silene: yes, of course - they were able to do a simplified version of it. But, for example, - fendrin added luminal alignment, their old code is not able to handle the damage-from-time-of-day changes from it, since fendrin is not able to update their WML code as easily as he can teach the engine about the new alignment. 20100812 16:24:33< fendrin> silene: Well, as a side effect the lua interface can be used to write wml tags that script combat sequences for cut scenes. 20100812 16:24:42< silene> zookeeper: again, i understand the point of the [harm_unit]; my issue is with an execute_combat function that calls actions.cpp:attack_unit; that will be a nightmare 20100812 16:25:04< Crab_> fendrin: ('script combat sequences' is already possible - just grant control to the ai and script some ai attacks) 20100812 16:25:10< silene> Crab_: simulate_combat knows about all the alignments (it's the c++ code!) 20100812 16:26:31< zookeeper> silene, well, [harm_unit] couldn't really handle an actual fight between two existing units, just an attack against one unit. i suppose they're proposing something that could. 20100812 16:27:36< zookeeper> btw, now that you reminded me, the liminal alignment should either be removed or the schedule display tooltip be changed so that it doesn't display info about alignments which don't currently appear in the scenario. 20100812 16:28:49< anonymissimus> silene: I'll file a bug report, it's not quite trivial to reproduce 20100812 16:28:57< silene> anonymissimus: thanks 20100812 16:29:48< fendrin> zookeeper: Right, I have promised noy already to do so. 20100812 16:30:26-!- MeccaGod [~majs@h14n4fls31o279.telia.com] has joined #wesnoth-dev 20100812 16:30:47< zookeeper> fendrin, ok 20100812 16:32:09< fendrin> silene: Do you see a quick way to implement it from wesnoth.simulate_combat? 20100812 16:32:27< silene> fendrin: to implement what? execute_combat? no 20100812 16:32:36< fendrin> silene: How would I apply the calculated damage and trigger all events? 20100812 16:32:55< silene> fendrin: like you do in plain wml, decrease hp, float labels, fire events 20100812 16:33:12< silene> and animate units 20100812 16:34:46< fendrin> silene: Well, say we have a filter for a unit being hit by an impact weapon. I can only fire a named event but not trigger all events that filter for "hit by impact", can I? 20100812 16:35:08-!- stikonas_ [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20100812 16:35:36< fendrin> silene: The exact point of doing it in lua is the fact that wml can't handle all the stuff on it's own. I would have written a macro if it could. 20100812 16:36:16< silene> fendrin: obviously you can fire the "hit by impact" events; and again, except for simulate_combat, you can already do everything in plain wml 20100812 16:36:19< zookeeper> anonymissimus, did you read mine and silene's comments about [move_unit] in the logs? 20100812 16:36:50< silene> fendrin: i shouldn't be the one to teach what can be done or not in wml 20100812 16:36:54< anonymissimus> irc logs or what ? 20100812 16:37:04< anonymissimus> from when ? 20100812 16:37:43-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Ping timeout: 276 seconds] 20100812 16:37:50< silene> anonymissimus: http://www.wesnoth.org/irclogs/2010/08/%23wesnoth-dev.2010-08-12.log at 13:57 20100812 16:37:52< zookeeper> anonymissimus, yeah. anyway, the main issue is that it triggers a separate [move_unit_fake] for each step of the path, which causes for example a bunny-hopping effect for drakes if you supply a multi-step path 20100812 16:38:40< anonymissimus> yes thats right...noticed it too 20100812 16:38:45< zookeeper> other than that it seemed to work well for me 20100812 16:39:39< zookeeper> it might be a good idea to support the find_vacant= and fire_event= keys though? 20100812 16:39:48< anonymissimus> well, but remember that {MOVE_UNIT doesn't even support supplying a path 20100812 16:40:17< zookeeper> true, but that's just because it would have been a real pain to implement :P 20100812 16:40:42< zookeeper> (or led to a really long macro) 20100812 16:41:23< silene> anonymissimus: no, but [move_unit_fake] does, so it would be unfortunate not too 20100812 16:42:19< fendrin> silene: I am sorry but I can't see it. My coding stops at [fire_event]name= since I don't know the name. 20100812 16:42:49< silene> fendrin: the name is attacker_hits 20100812 16:43:16< silene> (or defender_hits, depending on who hits) 20100812 16:43:30< silene> and obviously there are _misses too 20100812 16:44:40-!- Blueblaze [~Blueblaze@adsl-76-202-21-169.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20100812 16:44:45< fendrin> silene: Fine, but how can I set the values that the filter will go after? How can I tell the [fire_event] that the event fired is a attacker_hits with an impact weapon. The impact information is the point I don't get right. 20100812 16:44:56< timotei> hi fendrin \ 20100812 16:45:04< anonymissimus> it might be a good idea to support the find_vacant= and fire_event= keys though?: I don't supply them if I need the degaults you know :P 20100812 16:45:50< silene> fendrin: let me quote the documentation of [fire_event]: "[primary_attack]: Information passed to the primary attack filter and $weapon variable on the new event." 20100812 16:46:00< zookeeper> anonymissimus, are you asking me what the defaults should be, or what? 20100812 16:46:21-!- Elvish_Pillage2 [~eli@71-10-224-192.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20100812 16:46:31< anonymissimus> ok, so regarding move_unit I shall make it so that if a path is given, that path is delivered to move_unit_fake 20100812 16:47:06< zookeeper> great 20100812 16:47:07< silene> anonymissimus: no, that's not what i had in mind, just keep your current code, but create a path and call move_unit_fake only once 20100812 16:47:53< silene> your current code is interesting because it ensures the units don't walk over themselves 20100812 16:48:14< fendrin> silene: Thank you very much. I will see how far I get with wesnoth.simulate_combat. 20100812 16:48:15< anonymissimus> zookeeper: what do you mean by supporting fin_vacant and fire_event ? 20100812 16:48:53< silene> anonymissimus: also, you don't need to extract and put_unit in the inner loop, you just need to do it once for each unit 20100812 16:48:59< zookeeper> anonymissimus, i mean that sometimes you might want to use [move_unit] so that there's an existing unit on the destination and you want to overwrite it instead of having the unit land next to it 20100812 16:49:06< anonymissimus> silene: yes thats wha I split up the path and call fin_vacant_tile for each coordinate 20100812 16:49:23< zookeeper> and fire_event=yes|no would tell whether to fire moveto events or not 20100812 16:49:41< anonymissimus> zookeeper: understood 20100812 16:49:41< silene> anonymissimus: i know, and i want you to keep this pathfinding part; but just execute the whole move at once 20100812 16:50:20< anonymissimus> zookeeper: yes I think both kexs can be worked in 20100812 16:51:34< zookeeper> anonymissimus, the defaults would be find_vacant=no and fire_event=no. not sure about the latter, but that's what people should be used to with MOVE_UNIT, so maybe keep it working that way... 20100812 16:51:39< zookeeper> err 20100812 16:51:45< zookeeper> find_vacant=yes i mean 20100812 16:53:25< silene> yes, fire_event=no as the default 20100812 16:59:43< anonymissimus> zookeeper: moving several units uno the same position with overwriting ? do you jave a use case fro that ? 20100812 17:00:36-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has quit [Quit: I ATE'NT DEAD] 20100812 17:01:40-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20100812 17:02:30< zookeeper> anonymissimus, no, not really. well, maybe some kind of a funny case of a unit absorbing others, but in practise i guess find_vacant=no would only be used when moving a single unit. 20100812 17:03:22-!- loonybot [~loonybot@ppp79-139-137-208.pppoe.spdop.ru] has joined #wesnoth-dev 20100812 17:03:22-!- loonybot [~loonybot@ppp79-139-137-208.pppoe.spdop.ru] has quit [Changing host] 20100812 17:03:22-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20100812 17:03:24< silene> rather, find_vacant=user should only be used for the first unit, all the following ones would have find_vacant=yes 20100812 17:03:28-!- West [~Administr@hd5e2754c.gavlegardarna.gavle.to] has joined #wesnoth-dev 20100812 17:03:40< zookeeper> user? :P 20100812 17:03:57< silene> zookeeper: the value coming from the wml tag 20100812 17:04:02< zookeeper> right 20100812 17:04:08< zookeeper> yeah, makes sense i guess 20100812 17:06:00-!- West [~Administr@hd5e2754c.gavlegardarna.gavle.to] has quit [Quit: Leaving] 20100812 17:07:33-!- dtiger [~dtiger@dynamic-vpdn-213-184-233-244.telecom.by] has joined #wesnoth-dev 20100812 17:08:02-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20100812 17:08:30-!- West [~Administr@hd5e2754c.gavlegardarna.gavle.to] has joined #wesnoth-dev 20100812 17:12:55-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20100812 17:15:20-!- loonybot [~loonybot@ppp79-139-137-208.pppoe.spdop.ru] has joined #wesnoth-dev 20100812 17:15:20-!- loonybot [~loonybot@ppp79-139-137-208.pppoe.spdop.ru] has quit [Changing host] 20100812 17:15:20-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20100812 17:18:29-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20100812 17:19:21-!- grzywacz [~grzywacz@wesnoth/developer/grzywacz] has joined #wesnoth-dev 20100812 17:20:20-!- loonybot [~loonybot@ppp79-139-137-208.pppoe.spdop.ru] has joined #wesnoth-dev 20100812 17:20:20-!- loonybot [~loonybot@ppp79-139-137-208.pppoe.spdop.ru] has quit [Changing host] 20100812 17:20:20-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20100812 17:21:29-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has joined #wesnoth-dev 20100812 17:30:21< anonymissimus> zookeeper, silene : I agree fire_event=yes would be nice, but it means some arbitrary wml code is run while move_unit is still active. I'd expect it to cause bugs, at least a check for every following unit whether it's still valid is needed. 20100812 17:33:02< anonymissimus> Also, I see no way to supply the $x2, $y2 attributes that indicate the original position, although I have them in the code but wesnoth.fire_event doesn't allow transferring them !? 20100812 17:41:22-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100812 17:47:26< timotei> zookeeper: any idea on where are used the data/core/terrain-graphics in? 20100812 17:48:39< zookeeper> timotei, you're asking what those are used for? they define the terrain graphics rules, that is which terrain image gets put where and when 20100812 17:48:56< zookeeper> horribly complicated. don't go there unless you know what you're doing ;) 20100812 17:49:16< timotei> zookeeper: I was just wanted to know if they are possibly called directly from a scenario/campaign? 20100812 17:49:32< timotei> s/was just wanted/just wanted 20100812 17:50:00< zookeeper> hmm, yeah, [terrain_graphics] can be used inside [scenario]. and of course add-ons can define top-level [terrain_graphics]. 20100812 17:50:28< zookeeper> you always need the latter if you have custom terrains in your add-on 20100812 17:50:36< zookeeper> the former is rare 20100812 17:50:47< timotei> zookeeper: not really that. I was asking if people explicity use a macro call {MY_TERRAING_GRAPHIC_RULE ..} 20100812 17:50:49< timotei> not tags 20100812 17:52:27< fendrin> timotei: You can find those macros called in the utils/terrain* files of a campaign. For example did UtBS use a rule to define a campfire terrain. 20100812 17:52:29< zookeeper> right. well, sure, it's convenient to use the standard macros for your own custom terrains too, so people usually do that 20100812 17:52:40< timotei> fendrin: aha 20100812 17:52:58< fendrin> timotei: Why do you ask for? 20100812 17:53:05< timotei> fendrin: optimizations 20100812 17:53:11< fendrin> timotei: Is there something special on that macros? 20100812 17:53:20< timotei> fendrin: I've removed some things in the preprocess command, so it will gain a 90% faster time 20100812 17:53:38< timotei> fendrin: well if I preprocess using NO_TERRAIN_GFX, I get just 500 macros defined 20100812 17:53:45< timotei> without that defined, I get about 1500 20100812 17:54:14< fendrin> timotei: How long does the preprocess take and how often do you call it? 20100812 17:55:28< timotei> fendrin: so, I was thinking of removing them 20100812 17:55:38< timotei> although, utbs preprocessed all 20100812 17:55:42< timotei> let me check 20100812 17:55:50< timotei> fendrin: well... currently just on _main.cfg 20100812 17:56:05< timotei> fendrin: I save the macros in a file, and transport them across all other files :P 20100812 17:57:41< fendrin> timotei: Sorry, but that doesn't answer my question. 20100812 17:58:14< fendrin> timotei: How often is the preprocess called? 20100812 17:59:00< fendrin> timotei: Every time a file is opened? Every time a new _main.cfg is registered? When a projcect is added? 20100812 17:59:21< fendrin> timotei: And how long does a single call take? 20100812 18:00:08-!- Crab_ [~Crab@wesnoth/developer/crab] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] 20100812 18:07:53< timotei> fendrin: back 20100812 18:08:25< timotei> fendrin: well. when a project build occurs. that is when a file is saved 20100812 18:09:03< timotei> fendrin: when a file is saved, the project builder pops up, and preprocessed _main.cfg of project and/or where the saved file is 20100812 18:09:15< timotei> fendrin: and the builder preprocessed _main.cfg 20100812 18:11:06< fendrin> timotei: It would be very cool to have a configurable list of defines that will get applied to the process. 20100812 18:11:07< zookeeper> hrhm...odd. radius=$($this_unit.max_moves + 1) doesn't work in a [filter] [filter_location], but radius=$this_unit.max_moves does. 20100812 18:11:39< timotei> fendrin: it's possible. but for that I need to create a separate page where the user can define project specific defines ;) 20100812 18:11:46< timotei> fendrin: the current C++ code supports that 20100812 18:11:58< timotei> -p=DEFINE1,DEFINE2,etc 20100812 18:12:07< silene> zookeeper: don't you have an extra $ inside? 20100812 18:12:08< timotei> right now doing the working set stuff 20100812 18:12:17< silene> anonymissimus: what do you mean it doesn't allow to pass them? 20100812 18:12:54< zookeeper> silene, well i still need $'s in front of WML variable names even inside formulas...AFAIK anyway 20100812 18:13:03< fendrin> timotei: How many seconds does the preprocessing take? 20100812 18:13:17< timotei> fendrin: I don't know. I just know the number of ticks 20100812 18:13:33< fendrin> timotei: Well, do you notice it when saving? 20100812 18:13:34< silene> zookeeper: you are using a +, have you quoted the formula? 20100812 18:13:42< timotei> hmm 20100812 18:13:45< fendrin> timotei: Does it feel to long? 20100812 18:13:57< zookeeper> silene, good point. no, i haven't 20100812 18:14:03< timotei> fendrin: the thing is, it doesn't interfere with your worflow. 20100812 18:14:10< timotei> fendrin: even if it takes a bit long 20100812 18:14:13< timotei> fendrin: it's a background job 20100812 18:14:34< fendrin> timotei: Okay, so the only reason to keep some macros out is having the macro expansion list not that crowded, right? 20100812 18:14:47< zookeeper> silene, so that's probably the reason, testing... 20100812 18:15:24-!- elvish_sovereign [~elvish_so@pool-108-2-86-247.phlapa.east.verizon.net] has joined #wesnoth-dev 20100812 18:15:34< silene> anonymissimus: fire_event("moveto", x1, y1, x2, y2) 20100812 18:16:28-!- stikonas_ [~and@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20100812 18:16:33< zookeeper> silene, yeah, works perfectly. thanks, i'll try to remember to always add those quotes... 20100812 18:17:13< timotei> fendrin: true 20100812 18:17:29< timotei> fendrin: can you tell me a file that uses the terrain graphics macro? 20100812 18:17:42< timotei> fendrin: looking in the temp, the files from utbs got preprocessed 20100812 18:17:45-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20100812 18:17:55< timotei> fendrin: so nothing missing 20100812 18:18:11< silene> zookeeper: i have never understood why they didn't change the parser so that it doesn't remove + operators from formulas; it would have been a one-line change 20100812 18:18:25< fendrin> timotei: trunk/data/campaigns/Under_the_Burning_Suns/utils/terrain_graphics.cfg 20100812 18:18:45< timotei> fendrin: right. that didn't get parsed:) 20100812 18:19:02< timotei> fendrin: but lucky, that didn't affect anything 20100812 18:19:32< fendrin> timotei: Strange, shouldn't the plugin complain about the usage of an undefined plugin? 20100812 18:20:09< timotei> fendrin: well, currently is no validation for unknown macros. and still, that wouldn't trigger anything 20100812 18:20:17< timotei> fendrin: since the only one who got error was the preprocess command 20100812 18:21:03< timotei> fendrin: although the validation is one line :P 20100812 18:21:08< timotei> just one line 20100812 18:21:34< fendrin> timotei: And we can live with that since wmllint or wmlscope will detect a missing macro definition. 20100812 18:22:19< timotei> fendrin: well, it will be better to add the validation from our code too, since it's a fast lookup in the macro table;) 20100812 18:22:34< timotei> fendrin: and btw, I didn't enable/write too much validation so I can freely work on stuff 20100812 18:22:44< timotei> fendrin: otherwise I'd be bound by 'stupid' validations :P 20100812 18:24:12< fendrin> timotei: So I suggest to just skip the optimization on preprocessing. 20100812 18:25:09< fendrin> timotei: It is a nice feature to have the predefined definitions configurable. But that can be done later if it's not blocking anything critical. 20100812 18:25:36-!- billynux [~billy@wesnoth/developer/billynux] has joined #wesnoth-dev 20100812 18:26:19< AI0867> silene: what should be done about exceptions/errors that don't need a message, or carry their information in non-string form? Inherit from std::exception? (some do this) Empty message? A message describing the class? A message constructed from the other information? 20100812 18:29:28< silene> AI0867: the message is displayed as wml errors (if it happens in wml), so it should contain enough information so that a wml designer can get enough clue about what went wrong to fix it, if it is a user error; it is also displayed if it causes the game to terminate; in all the other cases, the message is kind of useless, so the exception name may be enough 20100812 18:30:17< timotei> fendrin: ok 20100812 18:32:13< AI0867> well there are two main types here: an empty struct, where the type is all the information that's needed, and a struct inheriting from std::exception that contains an enum or several strings or the like 20100812 18:32:41< AI0867> the latter need to be processed before being displayed to the user, if at all 20100812 18:33:13< anonymissimus> AI0867: Could you update the cbp file in trunk ? 20100812 18:33:18< AI0867> which is currently done in catch statements 20100812 18:33:23< AI0867> anonymissimus: what's missing? 20100812 18:33:29< anonymissimus> embedded lua 20100812 18:33:49< AI0867> that's a lot 20100812 18:33:51< anonymissimus> it'll be some work I guess 20100812 18:33:57< anonymissimus> :P 20100812 18:34:03< AI0867> you might want to poke someone who actually uses codeblocks 20100812 18:34:22< AI0867> they probably have GUIs for this sort of stuff 20100812 18:34:37< anonymissimus> well I got it to built again with code blocks but it's probably not that great 20100812 18:34:54< AI0867> can you pastebin the diff or something? 20100812 18:35:03< anonymissimus> I adapted upthorn's solution for vs 20100812 18:35:14< AI0867> if you have a working version, I could commit that 20100812 18:36:25< anonymissimus> I'm using my own projectfile for quite soem time now 20100812 18:40:05< anonymissimus> AI0867: http://wesnoth.pastebin.com/kPGERtr7 20100812 18:40:35< anonymissimus> http://forums.wesnoth.org/viewtopic.php?f=5&p=449088#p449088 20100812 18:40:49< anonymissimus> there I wrote what I did 20100812 18:42:32< silene> AI0867: if the exception is thrown at wml time (and caught by lua), it's too late for preprocessing anything: either it has a message and it is displayed, or it doesn't 20100812 18:44:11-!- Blueblaze [~Blueblaze@adsl-76-202-21-169.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100812 18:46:59< CIA-87> ai0867 * r45532 /trunk/projectfiles/CodeBlocks/ (wesnoth.cbp wesnoth.workspace): Apply anonymissimus's patch for codeblocks project 20100812 18:47:23< AI0867> I wasn't talking about wml or lua 20100812 18:48:28< CIA-87> eleazar * r45533 /trunk/data/core/images/terrain/swamp/ (31 files): preliminaries to animated swamp water. 20100812 18:53:17-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has quit [Quit: I ATE'NT DEAD] 20100812 18:53:41-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20100812 18:54:03-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.pnth.cable.virginmedia.com] has joined #wesnoth-dev 20100812 18:55:21-!- loonybot [~loonybot@ppp79-139-137-208.pppoe.spdop.ru] has joined #wesnoth-dev 20100812 18:55:21-!- loonybot [~loonybot@ppp79-139-137-208.pppoe.spdop.ru] has quit [Changing host] 20100812 18:55:21-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20100812 18:56:14< fendrin> timotei: Are you working on the transition to the workset setup already? 20100812 18:56:41< timotei> fendrin: yes. now investigating how eclipse sets the current working set. sometimes it's 'hidden' in obscure places... 20100812 18:57:00-!- Shakey [~jbailey@12.190.80.225] has joined #wesnoth-dev 20100812 18:57:26-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20100812 19:02:53< fendrin> timotei: Do you know what causes the endless loop or busy waiting that eats one full core all the time? It also makes the plugin react very slow. 20100812 19:03:06< timotei> fendrin: I don't know about that. it doesn't happen to me 20100812 19:03:33< timotei> fendrin: hmm 20100812 19:04:15< timotei> fendrin: you sure eclipse is that? 20100812 19:05:13< fendrin> timotei: The process that is at 100% is java. I don't have any java applikation running beside eclipse atm. 20100812 19:05:35< timotei> fendrin: well, I don't know. either you have other plugins, or... don't know 20100812 19:05:40< timotei> I get 0% when not doing anything 20100812 19:05:56< timotei> does that happen with a newly downloaded eclipse? 20100812 19:06:15< timotei> also, that happens for the loaded eclipse with the wesnoth plugin? or the standalone that runs the plugin from? 20100812 19:06:44< fendrin> timotei: It is the helios version of eclipse. 20100812 19:07:13< fendrin> timotei: The host is fast. Only the embedded eclipse is slow. 20100812 19:07:45< timotei> fendrin: well.. 20100812 19:07:55< timotei> fendrin: is there anything in the progress view? 20100812 19:08:13< fendrin> timotei: nope 20100812 19:08:55< timotei> fendrin: I have to go. see you later 20100812 19:09:23-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Quit: Leaving] 20100812 19:18:59-!- Crab_ [~Crab_@c.218.175.a530.sta.adsl.cyfra.net] has joined #wesnoth-dev 20100812 19:19:10-!- Crab_ [~Crab_@c.218.175.a530.sta.adsl.cyfra.net] has quit [Changing host] 20100812 19:19:10-!- Crab_ [~Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20100812 19:20:11-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20100812 19:22:31< fendrin> Anybody around who tries to reproduce a bug in the eclipse plugin? 20100812 19:26:30< Crab_> fendrin: what kind of bug ? 20100812 19:27:08< fendrin> Crab_: The plugin eats one core at 100% nearly all of the time. The rest of the system is fine but the eclipse is just too slow to use it. 20100812 19:27:31< Crab_> fendrin: and how it's reproducible ? 20100812 19:27:45< fendrin> Crab_: It's fine on timotie's machine. 20100812 19:28:13< fendrin> Crab_: Just open a scenario file in the plugin scroll with the cursor. It begins to eat. 20100812 19:28:23< Crab_> ok 20100812 19:28:24-!- Blueblaze [~Blueblaze@adsl-76-202-21-169.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20100812 19:28:45< anonymissimus> silene: https://gna.org/bugs/?16412 20100812 19:29:15< anonymissimus> It's the wesnoth.fire call or that it is for [message] 20100812 19:38:08< Crab_> fendrin: sorry, can't launch the plugin at the moment, exception. http://pastebin.mozilla.org/766704 20100812 19:38:49< fendrin> Crab_: Sigh :-) 20100812 19:39:08-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.pnth.cable.virginmedia.com] has quit [Quit: Ex-Chat] 20100812 19:41:56-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Quit: Leaving.] 20100812 19:43:11-!- billynux [~billy@wesnoth/developer/billynux] has quit [Quit: Leaving] 20100812 19:43:36-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20100812 19:48:28< fendrin> Crab_: What version of eclipse are you using? 20100812 19:49:02< Crab_> fendrin: Eclipse for RCP and RAP Developers - Version: Helios Release -Build id: 20100617-1415 20100812 19:49:12< Crab_> fendrin: the same one that worked with the plugin correctly last month 20100812 19:49:26< fendrin> Crab_: Should be fine. 20100812 19:51:15< anonymissimus> fendrin: as far as I can tell the plugin works fine here 20100812 19:51:34< anonymissimus> no crash, cpu 3% 20100812 19:51:41< fendrin> anonymissimus: What is your test size? 20100812 19:51:48< fendrin> anonymissimus: A campaign? 20100812 19:51:53< fendrin> anonymissimus: A single file? 20100812 19:52:04< anonymissimus> umm well I need to laod a scenario or what was it 20100812 19:52:58-!- Mat[1] [~Mat@d-72-9-4-145.cpe.metrocast.net] has joined #wesnoth-dev 20100812 19:53:06< Mat[1]> ...What does [binary_path](stuff)[/binary_path] actually act as a guide for? 20100812 19:53:15< fendrin> anonymissimus: Call "Setup Workspace" please. 20100812 19:53:57< fendrin> anonymissimus: That should create a project called user addons containing all the campaigns you downloaded from the addon server. 20100812 19:54:24< anonymissimus> it seems its already there 20100812 19:54:41< anonymissimus> it did during loading 20100812 19:55:28< anonymissimus> I have "compilation errors" regarding the wml but other than that nothign wrong, no cpu stress however 20100812 19:55:38-!- Mat[1] [~Mat@d-72-9-4-145.cpe.metrocast.net] has left #wesnoth-dev [] 20100812 19:55:44< anonymissimus> maybe it's a Linux only bug 20100812 19:55:57< fendrin> anonymissimus: Do you use the svn version? 20100812 19:56:03< anonymissimus> yes 20100812 19:56:10< anonymissimus> just updated 20100812 19:56:52< fendrin> anonymissimus: It's not only a fealing. I just got an Unhandled event loop exception : Java heap space 20100812 19:57:36< anonymissimus> hm maybe it's related to your java installation ? 20100812 19:58:08< anonymissimus> I'm on win like timotei 20100812 19:58:52< Crab_> fendrin: what are you launch parameters for that eclipse plugin? maybe you run out of memory and 100% cpu is caused by GC ? 20100812 19:59:42< fendrin> Crab_: Where can I find them? 20100812 20:01:02< fendrin> Crab_: -Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx512m 20100812 20:02:05< Crab_> fendrin: that's for eclipse ? or for the plugin ? (it's spawned in a second VM, afair) 20100812 20:02:24< Crab_> fendrin: -Xmx512m is the max amount of heap memory, in this config. 20100812 20:02:28< fendrin> Crab_: For the plugin. 20100812 20:02:50< fendrin> Crab_: I guess 512mb heap should be enough. 20100812 20:03:01< Crab_> fendrin: might be. try 1024m :) 20100812 20:03:32< anonymissimus> eclipse eats up lots of system ressources :P 20100812 20:04:43< fendrin> 1024 Xmx doesn't make a difference. 20100812 20:06:11< Crab_> ok 20100812 20:06:50< fendrin> anonymissimus: It's a sun java. 20100812 20:06:57< fendrin> 1.6 20100812 20:12:07< silene> anonymissimus: short version of the testcase: lua wesnoth.fire("message", {speaker = "narrator", message = "here"}); seems like the command-line doesn't initialize enough things for [message] to work properly, i will look at it 20100812 20:19:26< anonymissimus> silene: confirmed 20100812 20:20:10< anonymissimus> fendrin: jdk1.6.0_18 20100812 20:21:02< anonymissimus> fendrin: how did you install eclipse and java ? 20100812 20:21:31< fendrin> anonymissimus: apt-get install sun-java-jdk 20100812 20:21:52< fendrin> anonymissimus: The eclipse was a tarball. Just unpacked it to /usr/local 20100812 20:22:20< anonymissimus> I seem to remember that there were problems when using the stugg grom the repositories 20100812 20:22:26< anonymissimus> stuff 20100812 20:22:58< fendrin> anonymissimus: Right, I ran into that. But those packages are not the default openjdk ones anymore. 20100812 20:26:01< anonymissimus> I used jdk from sun directly when trying eclipse on Debian, http://ubuntuforums.org/showthread.php?t=332674 20100812 20:28:17< Crab_> esr: in SoF 1, when the scenario is completed, why Haldric says '_ "All the gold is there too. Proceed with the task, Rugnur!"', when, in all other places of the scenario, the talk is about 5000 pieces of *silver* ? 20100812 20:36:55-!- EdB [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has joined #wesnoth-dev 20100812 20:41:04-!- Blueblaze [~Blueblaze@adsl-76-202-21-169.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100812 20:41:22-!- Blueblaze [~Blueblaze@adsl-76-202-21-169.dsl.hstntx.sbcglobal.net] has quit [Client Quit] 20100812 20:56:51-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.pnth.cable.virginmedia.com] has joined #wesnoth-dev 20100812 20:58:34< crimson_penguin> Ivanovic, anyone else: http://pastie.org/1088922 - any complaints? 20100812 20:59:11< Ivanovic> crimson_penguin: uhm, ain't .so files binary files? 20100812 20:59:20< crimson_penguin> they are 20100812 20:59:24< crimson_penguin> they're small though 20100812 20:59:40< crimson_penguin> 613k for the whole folder of .so's 20100812 20:59:52< crimson_penguin> err, 631k, whatever 20100812 21:01:02< CIA-87> silene * r45534 /trunk/src/game_events.cpp: Discarded previous method for ensuring that no out-of-context execution could happen, since it no longer worked. (Fix for bug #16412.) 20100812 21:01:57< crimson_penguin> Ivanovic: I'll admit it's not a perfect fit, but the reason I wanna put it there, is that everything that gets copied into /Resources is there, and to make people put some folders from the zip in there, and some of them in the main directory... it'd just make it more complicated 20100812 21:02:15< silene> anonymissimus: fixed 20100812 21:03:37< crimson_penguin> Ivanovic: aaand, I already uploaded the zip with the libraries and headers 20100812 21:06:45< silene> crimson_penguin: what kind of file is that: Wesnoth.xcodeproj/.dat2cfc.abe ? 20100812 21:07:09< crimson_penguin> no idea; on Mac, the whole .xcodeproj is represented as one file 20100812 21:07:27< crimson_penguin> Macs have this concept of "packages", which in the Finder appear as one file, but really they're folders 20100812 21:08:24< silene> crimson_penguin: that's not what i mean; it's a hidden file, i'm sure there is a good reason for it to be hidden; are you sure it should be shared? 20100812 21:10:26< crimson_penguin> well I imagine the whole thing should be shared, but I'm trying to look it up... 20100812 21:11:28< silene> for instance, i wouldn't be surprised if it contained the position of your window the last time you opened xcode, or the last thins you typed in it, and so on 20100812 21:12:53< CIA-87> eleazar * r45535 /trunk/ (304 files in 3 dirs): animated the swamp water and made it use a double-sided transition with other water types. Unfortunately it's hardly noticable-- but images can be tweaked later. 20100812 21:14:48< silene> crimson_penguin: in fact, you already committed it, and it does indeed contain your xcode preferences, so better remove it from your file list 20100812 21:15:06< crimson_penguin> silene: I haven't committed anything 20100812 21:15:20< silene> crimson_penguin: macproject/Wesnoth.xcodeproj/.dat2cfc.abe 20100812 21:15:31< crimson_penguin> yup, I didn't commit that 20100812 21:16:02< crimson_penguin> I made the project, but I didn't commit it; and now I'm changing it to work in projectfiles/Xcode/ 20100812 21:16:18< crimson_penguin> (it was made to be 1 directory up, so I had to change all the references) 20100812 21:16:46< silene> right, AI0867 did; sorry, i thought you were the only developer using macosx 20100812 21:17:12 * crimson_penguin isn't sure if AI0867 uses Mac 20100812 21:17:47< silene> crimson_penguin: also, i doubt that the files named ben.* are supposed to be shared either 20100812 21:17:58< zookeeper> Crab_, uh, good question about the silver :P i guess i'll go and fix that 20100812 21:19:10< crimson_penguin> silene: in theory most of the stuff you mentioned before should be in ~/Library/Preferences, but I could be wrong 20100812 21:19:31< Crab_> zookeeper: note that the elves talk about 'gold and jevels', too :) 20100812 21:23:21-!- silene [~plouf@wesnoth/developer/silene] has quit [Read error: No route to host] 20100812 21:23:42-!- silene [~plouf@wesnoth/developer/silene] has joined #wesnoth-dev 20100812 21:24:49< crimson_penguin> silene: seems I can delete the .abe, and the others I should probably ignore 20100812 21:25:04< anonymissimus> silene: if I change a table while iterating over it, does it affect the current loop 20100812 21:25:39< CIA-87> eleazar * r45536 /trunk/data/core/terrain-graphics.cfg: fixed land transition with animated swampwater. 20100812 21:27:44-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20100812 21:28:26-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has joined #wesnoth-dev 20100812 21:31:43< crimson_penguin> silene: updated: http://pastie.org/1088968 20100812 21:31:47< crimson_penguin> (ignore the ? ones) 20100812 21:31:55 * loonycyborg just updated his ubuntu partition to Lucid Lynx and had trouble making it reboot because there wasn't a button/menu item for that 20100812 21:32:19 * loonycyborg wonders whether average users are no longer expected to need reboots/shutdowns 20100812 21:32:30< Unnheulu> Gambit: my signature pwned your old one :) 20100812 21:32:43< Gambit> Huh? 20100812 21:32:49< Gambit> 1. idc 20100812 21:32:51< Unnheulu> (1 4023 65550) 20100812 21:32:53< Gambit> 2. Wha? 20100812 21:32:57< Gambit> 3. #wesnoth-dev 20100812 21:33:04< Unnheulu> Gambit: oops 20100812 21:33:38< Unnheulu> Thats a bit stupid 20100812 21:33:41< crimson_penguin> Ivanovic: do you insist I don't include those .so's? 20100812 21:33:43-!- Unnheulu [~ieuan@cpc5-pnth2-0-0-cust800.pnth.cable.virginmedia.com] has quit [Quit: Ex-Chat] 20100812 21:40:30< CIA-87> crab * r45537 /trunk/src/ai/configuration.cpp: improve upgrade procedure for target/protect tags - properly convert conditional goals to new-style config 20100812 21:40:34< CIA-87> crab * r45538 /trunk/src/ai/composite/goal.cpp: improve log messages of AI goals 20100812 21:40:37< CIA-87> crab * r45539 /trunk/ (3 files in 2 dirs): Fixed bug #16604 - fixed broken AI of SoF1. Most important point: AI won't target units that it is not allowed to reach due to avoid aspect being set 20100812 21:42:01< Crab_> s/604/406, oops :) 20100812 21:42:52< zookeeper> Crab_, when are we gonna go through every campaign scenario one by one and rewrite all the [ai] tags to use all the cool new parameters? :P 20100812 21:44:46< CIA-87> crimson_penguin * r45540 /trunk/src/whiteboard/mapbuilder_visitor.cpp: Fixed compile error on Mac. 20100812 21:46:05< zookeeper> it'd be a massive project to really rewrite all the campaign AI params using the new features, but the result could be a lot more interesting (and sensible) AI behaviour. 20100812 21:47:15< Crab_> zookeeper: yes, the new things include some tricks that the old ai can't do, and some of the old ways are not working good anymore. 20100812 21:47:38< Crab_> zookeeper: but I guess that it has to be done in small parts, with a person who knows what the AI is supposed to do in each scenario. 20100812 21:50:02< Crab_> zookeeper: we can try on one of smaller campaings 20100812 21:52:13< zookeeper> yeah, that'd be a good first step 20100812 21:52:33< zookeeper> i might try to work on one sometime soon, we'll see.. 20100812 21:58:55< Crab_> silene: `if (const config::attribute_value *attribute = src.get("attribute_name")) {` is trunk-only syntax ? 20100812 22:05:47< silene> yes 20100812 22:05:54< Crab_> thanks 20100812 22:06:31-!- West [~Administr@hd5e2754c.gavlegardarna.gavle.to] has quit [Quit: Leaving] 20100812 22:08:36< CIA-87> esr * r45541 /trunk/data/ (3 files in 3 dirs): Fix small nits setected by wmllint, and wmllint itself. 20100812 22:13:34< Ivanovic> crimson_penguin: if you really think it is better to add them, then do so 20100812 22:13:52< Ivanovic> though pseronally it feels a little "hmm, binary objects in there?", if you know what i mean 20100812 22:20:17< anonymissimus> silene: have you tried moving a unit with wesnoth.put_unit wihtout extracting or removing it previously ? 20100812 22:20:36< silene> anonymissimus: yes 20100812 22:20:49< anonymissimus> I'm getting a starnge display effect then, the unit image misses until I click on it 20100812 22:21:03< anonymissimus> thats why I used extract_unit 20100812 22:21:09< crimson_penguin> yeah, I know what you mean... but some of the Resources directory definitely wants to be version controlled, and taking out only part of it seems needlessly complex 20100812 22:22:05-!- grzywacz [~grzywacz@wesnoth/developer/grzywacz] has quit [Remote host closed the connection] 20100812 22:23:41< silene> anonymissimus: i'm surprised extract_unit makes a difference; but there has been a bug in unit display for the last few days, so perhaps you are hitting it; anyway, moving and extracting units around does not cause the engine to refresh the screen, you have to do it manually (with redraw) 20100812 22:23:44< CIA-87> esr * r45542 /trunk/data/core/macros/objective-utils.cfg: Another wmllint nit. Mainline is clean again. 20100812 22:24:05< anonymissimus> even that didn't help 20100812 22:24:49< anonymissimus> well it's not exactly extract_unit, it's the effect of first removing the unit adn then putting it again 20100812 22:25:06< silene> anonymissimus: so let's say it's the display bug for now (and i would be happy if gabba were to fix it) 20100812 22:25:07< anonymissimus> instead of a single call to put_unit 20100812 22:34:13-!- silene [~plouf@wesnoth/developer/silene] has quit [Quit: Leaving.] 20100812 22:37:17< CIA-87> crab * r45543 /branches/1.8/ (4 files in 3 dirs): backport of r45537 and r45539 from trunk - Fixed Bug #16406 - Fixed broken AI of SoF 1 and improved upgrade procedure for target/protect tags 20100812 22:37:45< CIA-87> crimson_penguin * r45544 / (44 files in 12 dirs): Added Xcode project files in projectfiles/ and removed macproject/ and the readme pointing to it. 20100812 22:38:10< boucman> back... 20100812 22:39:58< anonymissimus> boucman: seen my reply in https://gna.org/patch/?1672 ? 20100812 22:49:30< boucman> anonymissimus: ok, i'll have a look at it at some point, thx for the patch 20100812 22:51:42-!- Blueblaze [~Blueblaze@adsl-99-4-146-12.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100812 22:54:31-!- Sapient [~patrickp@wesnoth/developer/sapient] has joined #wesnoth-dev 20100812 22:55:50-!- dtiger [~dtiger@dynamic-vpdn-213-184-233-244.telecom.by] has quit [Remote host closed the connection] 20100812 23:00:36-!- Espreon|Wii [47af4857@wesnoth/developer/espreon] has joined #wesnoth-dev 20100812 23:03:35-!- Crab_ [~Crab_@wesnoth/developer/crab] has quit [Quit: Leaving.] 20100812 23:08:07-!- Sapient [~patrickp@wesnoth/developer/sapient] has left #wesnoth-dev [] 20100812 23:08:37-!- MeccaGod [~majs@h14n4fls31o279.telia.com] has quit [] 20100812 23:15:42-!- Espreon|Wii [47af4857@wesnoth/developer/espreon] has quit [Ping timeout: 252 seconds] 20100812 23:22:38-!- Greywhind [~Greywhind@fw-34-16.cs.brown.edu] has quit [Quit: leaving] 20100812 23:26:37-!- Upth [ogmar@75.26.198.150] has joined #wesnoth-dev 20100812 23:28:19-!- wesbot changed the topic of #wesnoth-dev to: 137 bugs, 286 feature requests, 14 patches | logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20100812 23:29:44-!- EdB_ [~edb@tss37-1-89-84-18-220.dsl.club-internet.fr] has joined #wesnoth-dev 20100812 23:32:02< zookeeper> eleazar, hmm, what planned improvements to TSG never materialized? i have a list of several ones myself, but i wonder which ones you're referring to. 20100812 23:32:54< eleazar> Hmm i don't remember, except for a total redo of that tough cave level 20100812 23:34:23-!- Netsplit *.net <-> *.split quits: Upthorn, Carneus, EdB 20100812 23:35:38-!- Netsplit over, joins: Carneus 20100812 23:36:42-!- Netsplit *.net <-> *.split quits: Rhonda, stikonas, Sirp, ABCD, chris|, elvish_sovereign, joo, apoi, loonycyborg, Appleman1234, (+9 more, use /NETSPLIT to show all of them) 20100812 23:37:44-!- Gambit [~Gambit@unaffiliated/gambit] has quit [Ping timeout: 259 seconds] 20100812 23:39:25-!- Netsplit over, joins: Soliton, anonymissimus, apoi, Rhonda, loonycyborg, elvish_sovereign, thespaceinvader, Appleman1234, Daltx`, joo (+9 more) 20100812 23:39:35-!- billynux [~billy@239-226-126-200.fibertel.com.ar] has joined #wesnoth-dev 20100812 23:39:49-!- billynux [~billy@239-226-126-200.fibertel.com.ar] has quit [Changing host] 20100812 23:39:49-!- billynux [~billy@wesnoth/developer/billynux] has joined #wesnoth-dev 20100812 23:40:55-!- Netsplit *.net <-> *.split quits: Johannes13, knotwork__, CIA-87, nguyenatto, crimson_penguin 20100812 23:40:57< zookeeper> eleazar, okay. that must be a case of simple balancing though 20100812 23:41:08-!- Netsplit over, joins: Johannes13 20100812 23:41:08-!- crimson_penguin [~ben@64.201.60.211] has joined #wesnoth-dev 20100812 23:41:08-!- crimson_penguin [~ben@64.201.60.211] has quit [Changing host] 20100812 23:41:08-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20100812 23:41:25< zookeeper> (i redid it several years ago and frankly i don't know what there is to totally redo anymore) 20100812 23:42:46-!- knotwork_ [~markm@142.177.234.80] has joined #wesnoth-dev 20100812 23:42:48< eleazar> i might be out of date 20100812 23:43:20-!- CIA-49 [~CIA@208.69.182.149] has joined #wesnoth-dev 20100812 23:44:53< zookeeper> eleazar, i don't even remember what it was like exactly before my redo...except a ridiculous tomato trap involving some ice or something 20100812 23:45:18< eleazar> yeah 20100812 23:45:49< eleazar> i think that's the level i was thinking of 20100812 23:45:51-!- nguyenatto [ba@murzim.cs.pdx.edu] has joined #wesnoth-dev 20100812 23:46:00< zookeeper> ok. it should be a lot more sensible now 20100812 23:46:07-!- Gambit [~Gambit@pa-67-234-98-171.dhcp.embarqhsd.net] has joined #wesnoth-dev 20100812 23:46:07-!- Gambit [~Gambit@pa-67-234-98-171.dhcp.embarqhsd.net] has quit [Changing host] 20100812 23:46:07-!- Gambit [~Gambit@unaffiliated/gambit] has joined #wesnoth-dev 20100812 23:48:06< zookeeper> anyway, the things i'd like to do to TSG is redoing 'vengeance' partly (which has been on my list for quite a few years now...) and making something more exciting happen in the bandit branch's end...i'm not exactly a fan of 'return to kerlath' either 20100812 23:48:23< zookeeper> other than that (besides all sorts of minor tweaks) i'm pretty happy with it 20100812 23:49:52< zookeeper> especially how no one seems to complain about 'the long march' anymore :P 20100812 23:55:13-!- Shakey [~jbailey@12.190.80.225] has quit [Quit: Dig that hole, forget the sun.] 20100812 23:55:53-!- gabba [~gabba@wesnoth/developer/gabba] has joined #wesnoth-dev 20100812 23:56:07< gabba> bonjour 20100812 23:56:36< boucman> salut gabba 20100812 23:56:45< gabba> salut boucman 20100812 23:57:00< gabba> saw the new arrows :P ? 20100812 23:57:33< boucman> I saw they were here, havn't looked at them, though are they used in the code ? 20100812 23:58:10< gabba> they sure are 20100812 23:58:20< boucman> ok, updating trunk :) 20100812 23:58:44< crimson_penguin> Ivanovic: ugh, I messed up my upload due to the folder on SF having spaces... I thought that might happen, but I thought it'd give me an error if it did (this isn't for 1.8.4, this is for my compile stuff) 20100812 23:58:57< gabba> I was wondering if you had seen them in-game and experienced the horror :D --- Log closed Fri Aug 13 00:00:32 2010