Times are UTC Toggle Colours
00:19:03 *** KenjiE20 has quit IRC 00:26:05 <Brot6> Bundles Update: r170 2010-05-18 nml nightlies (http://finger.openttdcoop.org) 00:26:05 <Brot6> nml: update from to r170 done ( errors) - http://bundles.openttdcoop.org/nml/nightlies/r170 00:26:08 <Brot6> Following repos didn't need a update: 00:29:06 <Brot6> Bundles Update: r170 2010-05-18 nml nightlies (http://finger.openttdcoop.org) 00:29:07 <Brot6> nml: update from r170 00:29:07 <Brot6> to r170 done ( errors) - http://bundles.openttdcoop.org/nml/nightlies/r170 00:29:09 <Brot6> Following repos didn't need a update: 00:34:13 <Brot6> Bundles Update: r170 2010-05-18 nml nightlies (http://finger.openttdcoop.org) 00:34:14 <Brot6> nml: update from r170 00:34:14 <Brot6> to r170 done ( errors) - http://bundles.openttdcoop.org/nml/nightlies/r170 00:34:16 <Brot6> Following repos didn't need a update: 00:34:57 <PeterT> Ammler: I thought nicks with <1 characters couldn't register :-P 00:35:15 <Ammler> check "C" :-) 00:35:32 <PeterT> I know 00:35:36 <PeterT> that's why I am wondering 00:37:46 <Brot6> nml: update from r170 00:37:46 <Brot6> to r170 done ( errors) - http://bundles.openttdcoop.org/nml/nightlies/r170 00:37:49 <Brot6> Following repos didn't need a update: 00:38:17 <Ammler> how do I remove newline, hmm 00:40:28 <Ammler> PeterT: C game the nick 00:40:32 <Ammler> gave* 00:49:27 <PeterT> Ammler: oh, that's nice of him 00:57:05 <Brot6> Following repos didn't need a update: nml (r170) 06:42:42 *** ODM has joined #openttdcoop.devzone 07:11:27 *** Seberoth has joined #openttdcoop.devzone 07:28:09 *** Seberoth has quit IRC 07:28:14 *** Seberoth has joined #openttdcoop.devzone 07:43:04 <Webster> Latest update from devactivity: NFO Meta Language - Patch #928 (Resolved): allow unit percent <http://dev.openttdcoop.org/issues/928#change-2520> 07:53:33 <Ammler> planetmaker: how would it build a ogfx+ nightly, same make as other grfs? 07:54:50 <planetmaker> yes 07:55:04 <planetmaker> if nml2nfo is found in the path 07:55:27 <planetmaker> otherwise you need to specify that explicitly in Makefile.local NML = path/to/nml2nfo 07:55:30 <Ammler> and the path is? 07:55:39 <Ammler> default path I mean 07:55:49 <planetmaker> that I don't know :-) 07:55:58 <Ammler> well, we will see... 07:56:01 <planetmaker> I don't set a path. I assume it is in the path 07:56:08 <planetmaker> like one assumes it with all executables 07:56:40 <planetmaker> for this purpose we could just add the NML path to the search path... 07:57:13 <Ammler> http://bundles.openttdcoop.org/nml/nightlies/r170 <-- working rpm is here :-) 07:57:49 <Ammler> I install that to the chroot and we have a nml2nfo in /usr/bin 08:02:13 <planetmaker> nice 08:02:26 <planetmaker> \o/ 08:02:58 <Ammler> it is now fully chrooted and could build every type with the spec 08:03:26 <Ammler> I will add a special case for grfs so enabling those for compile isn't that hard 08:04:01 <Ammler> http://dev.openttdcoop.org/projects/nml/repository/show/.devzone/build/nightlies 08:08:12 *** ODM has quit IRC 08:08:31 <Ammler> nml should have a README, also if it just contains some links :-) 08:46:11 *** andythenorth has left #openttdcoop.devzone 09:19:11 <planetmaker> oh, very nice :-) 09:19:26 <planetmaker> Yes, it needs a readme. It's on my internal, non-official todo list. But alas... time 09:19:52 <planetmaker> along with the howto, a short introduction / documentation of its syntax 10:26:16 *** KenjiE20 has joined #openttdcoop.devzone 11:00:08 *** Webster` has joined #openttdcoop.devzone 11:01:07 *** PeterT_ has joined #openttdcoop.devzone 11:01:39 *** welshdragon` has joined #openttdcoop.devzone 11:02:11 *** welshdragon has quit IRC 11:02:11 *** welshdragon` is now known as welshdragon 11:02:20 *** Webster has quit IRC 11:02:20 *** Webster` is now known as Webster 11:02:41 *** PeterT has quit IRC 11:02:41 *** PeterT_ is now known as PeterT 11:04:44 <Ammler> http://bundles.openttdcoop.org/32bpp/nightly-megapacks/ 11:06:54 <planetmaker> yeah, saw that 11:07:06 <planetmaker> I wondered about the naming of that dir - which is inconsistent 11:07:36 <Ammler> [13:05] <Ammler> shouldn't the path be something like 32bpp/megapack/nightlies 11:07:44 <planetmaker> The idea is to have all 32bpp stuff in that sub dir, both OpenTTD binary and ... yeah 11:08:03 <planetmaker> that looks more sane to me 11:08:08 <Ammler> I told him to join here 11:08:12 <Ammler> but he seems abset 11:08:16 <Ammler> n* 11:08:32 <Ammler> he also should write the finger :-) 11:08:43 <planetmaker> maybe we could rename it and make the current an alias for the time being? 11:09:25 <Ammler> [12:44] <Jupix> [11:52:04] any objections to hosting the dev version of the 32bpp autopack @ ottdcoop bundles? 11:09:27 <Ammler> [12:44] <Jupix> [11:53:31] also, any thoughts on how to go about doing scheduled cleanup of the directory? 11:36:18 *** DJNekkid has left #openttdcoop.devzone 11:38:34 *** ODM has joined #openttdcoop.devzone 11:54:00 <Webster> Latest update from devactivity: 2cc train set - Code Review #939 (Closed): r528 is a bad joke? <http://dev.openttdcoop.org/issues/939#change-2521> || 2cc train set - Revision 529: fix: #939 <http://dev.openttdcoop.org/projects/2cctrainset/repository/revisions/529> 12:02:04 <planetmaker> hm, something's wrong with the devzone... 12:02:54 <planetmaker> err... r529 ??? 12:03:10 <planetmaker> Ammler, ^ 12:03:29 <planetmaker> I'm... speechless 12:03:44 <planetmaker> it's deleting the whole repo. I think we should rollback that 12:05:07 <planetmaker> I'm nearly tempted to revoke commit rights 12:05:49 <Ammler> omg 12:06:42 <planetmaker> I revoked commit rights and rolled back the commit 12:06:42 <Ammler> I thought, I was helping... :-( 12:07:20 <Ammler> revoked commit rights of? 12:07:25 <planetmaker> DJNekkid 12:07:29 <planetmaker> I moved his key to locked 12:07:34 <Ammler> hmm 12:07:40 <Ammler> it is his project... 12:08:02 <planetmaker> well, yes 12:08:10 <Ammler> you got it wrong 12:08:51 <planetmaker> ok, then added again 12:08:52 <Ammler> he reverted r528 12:09:00 <planetmaker> no. He removed everything 12:09:05 <planetmaker> EVERYTHING 12:09:17 <planetmaker> every file deleted 12:09:28 <Ammler> oh :-o 12:09:51 <Ammler> did you rollback? 12:09:54 <planetmaker> yes 12:10:28 <Ammler> I will give him some air, then I mail... 12:10:45 <planetmaker> I keep his key on locked. I'm anxious right now 12:11:05 <planetmaker> Feel free to move it back once you had a chat. I'll be offline mostly this afternoon 12:11:28 <planetmaker> But even by him I don't feel like accepting to wreak havoc on repos. 12:12:05 <Ammler> yes, sad. 12:12:14 <planetmaker> very much so. yes :-( 12:12:45 <Ammler> what is "squat"? 12:12:56 <planetmaker> "erschlagen" 12:14:07 <planetmaker> hm, not 12:14:09 <planetmaker> sorry 12:14:16 <planetmaker> http://www.dict.cc/?s=squat 12:15:01 <planetmaker> do you contact him or shall I? I guess I shouldn't write now either. 12:15:23 <Ammler> well, I would wait unit the evening... 12:15:52 <Ammler> such things need to breath first :-) 12:16:12 <planetmaker> yes 12:16:21 <planetmaker> I fully agree 12:17:22 <Ammler> I thought, I do enough with complaining about bad commits ;-) 12:17:33 <planetmaker> :-) 12:17:40 <Ammler> and I can't fix missing files anyway 12:17:52 <planetmaker> My Makefile certainly didn't help with its non-descriptive error. Still... 12:18:14 <planetmaker> it's relatively easy to find out, by checking the rev which works and which doesn't 12:18:19 <planetmaker> and looking at the diff 12:19:06 <Ammler> the was people don't fix their repo either :-( 12:19:50 <planetmaker> I guess that's how it goes... 12:20:00 <planetmaker> but those people simply aren't around. They don't wreak havoc 12:20:03 <Ammler> IMO, building failure should be a urgent issue... 12:20:12 <planetmaker> of course it is 12:20:39 <Ammler> and that is the nightly compiler all about. 12:20:41 <planetmaker> maybe a revision of r528 wasn't needed to be tag'ed urgent, but still 12:20:52 <planetmaker> yes, full ack 13:35:39 *** Jupix has joined #openttdcoop.devzone 14:23:47 <planetmaker> Ammler, I sent an e-mail to DJN 14:23:52 <planetmaker> you got it CC 14:24:04 <planetmaker> hello Jupix 14:25:51 <Ammler> Jupix: I quote you: 14:25:56 <Ammler> [15:37] <Jupix> I think that would introduce some redundant nesting 14:25:58 <Ammler> [15:37] <Jupix> since there's nothing else going in that "megapack" directory 14:25:59 <Ammler> [15:38] <Jupix> if you insist, then sure, but otherwise I think a single level below 32bpp is fine 14:27:17 <Ammler> http://jupix.info/openttd/gfxdev-nightlies/ <-- you have standard and dev? 14:28:23 <Ammler> so we could make 32bpp/megapack/standard and 32bpp/megapack/dev 14:29:19 <Ammler> cleanup is indeed also a topic we need to care about anyway, what is your plan? 15:21:24 *** OwenS has joined #openttdcoop.devzone 15:54:59 <Ammler> planetmaker: I do commit something to ogfx+ 15:55:16 <planetmaker> go right ahead 15:55:18 <planetmaker> what is it? 15:57:13 <Ammler> nightly build settings 15:57:49 <Ammler> http://dev.openttdcoop.org/projects/ogfxplus/repository/show/.devzone/build/nightlies 16:04:41 <Ammler> autsch :-) 16:04:49 <Ammler> need backup :-P 16:09:14 <Brot6> Bundles Update: 0 0 ogfxplus (http://finger.openttdcoop.org) 16:13:36 <planetmaker> hm? 16:13:42 <Ammler> make: *** No rule to make target `Makefile.dep', needed by `depend'. Stop. 16:13:52 <planetmaker> hm 16:13:53 <Ammler> does it build on your side 16:13:57 <Ammler> trying local 16:13:59 <planetmaker> let's see 16:15:10 <Webster> Latest update from devactivity: OpenGFX+ - Revision 16: Devzone compiler settings for nightlies <http://dev.openttdcoop.org/projects/ogfxplus/repository/revisions/16> 16:15:12 <planetmaker> hm 16:15:51 <Ammler> maybe because it uses nml.py 16:16:06 <planetmaker> I need to install PIL, I guess... 16:16:12 <planetmaker> ImportError: No module named Image 16:16:19 <planetmaker> I thought I had it... 16:16:42 <Yexo> planetmaker: do you also get that error if you use --nfo outputfile.nfo and no --grf or -o ? 16:16:56 <Ammler> NML ?= nml.py 16:16:58 <planetmaker> I didn't try 16:17:23 <Yexo> could you try? before installing pil? 16:17:33 <Yexo> and it it still fails if you do that, does http://devs.openttd.org/~yexo/no_pil.diff fix it? 16:17:36 <Ammler> oh 16:17:55 <planetmaker> I will try 16:18:24 <Ammler> is pil required by nml? 16:18:48 <planetmaker> NML = ../nml/nml2nfo <--- @Ammler 16:18:48 <Brot6> opengfx: update from r<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> 16:18:49 <Brot6> <html><head> 16:18:49 <Brot6> <title>404 Not Found</title> 16:18:49 <Brot6> </head><body> 16:18:49 <Brot6> <h1>Not Found</h1> 16:18:50 <Brot6> <p>The requested URL /opengfx/nightlies/REV was not found on this server.</p> 16:18:52 <Brot6> <hr> 16:18:53 <planetmaker> might be that makefile needs fixing 16:18:55 <Brot6> <address>Apache/2.2.13 (Linux/SUSE) Server at bundles.openttdcoop.org Port 81</address> 16:18:57 <Brot6> </body></html> to r456 done (0 errors) - http://bundles.openttdcoop.org/opengfx/nightlies/ 16:19:01 <Brot6> openmsx: update from r53 to r54 done (0 errors) - http://bundles.openttdcoop.org/openmsx/nightlies/ 16:19:04 <Brot6> Following repos didn't need a update: 2cctrainset (r528), 32bpp-extra (r33), airportsplus (r48), bros (r10), comic-houses (r69), firs (r833), fish (r364), heqs (r318), nmts (r15), nutracks (r59), opensfx (r88), snowlinemod (r10), worldairlineset (ERROR r637) 16:19:04 <Ammler> autsch :-) 16:19:04 <planetmaker> hm 16:19:45 <Ammler> mix of new and old system :-) 16:19:54 <Yexo> Ammler: for writing grf files it is, I plan to make it optional if you only want to write nfo files 16:21:32 <Ammler> [18:18] <planetmaker> NML = ../nml/nml2nfo <--- @Ammler <-- don't get that 16:21:51 <planetmaker> Ammler: you need to call nml2nfo not nml.py 16:21:53 <Ammler> http://dev.openttdcoop.org/projects/ogfxplus/repository/entry/scripts/Makefile.def#L34 16:22:02 <Ammler> planetmaker: but you call nml.py 16:22:17 <planetmaker> wrongly, I guess. I use a Makefile.local. With what I pasted 16:23:06 <planetmaker> and probably forgot to update that piece when nml changed :-) 16:23:27 <Ammler> can I commit that change to the repo? 16:23:42 <Ammler> else I need to make a special build script just for it 16:23:52 <planetmaker> yes.. let me first test this PIL thing. 16:23:56 <planetmaker> That needs changing, yes 16:24:13 <planetmaker> no special build script should be needed. I fully agree 16:24:14 <Ammler> ok, I wait... :-) 16:25:09 <planetmaker> Yexo: then I get no complaint 16:25:39 <Yexo> planetmaker: with or without the patch? 16:25:45 <planetmaker> Yexo: with the patch 16:25:52 <Ammler> are you sure, it is pil, have no pil package 16:25:52 <planetmaker> then it seems to write an nfo 16:25:59 <Yexo> and without the patch but specifying --nfo file.nfo ? 16:26:08 <planetmaker> Yexo: same thing 16:26:18 <Yexo> same as in error? 16:26:24 <planetmaker> yes, as in error 16:26:30 <Ammler> maybe pil is part of another package here... 16:26:32 <Yexo> ok, thanks for testing :) 16:26:38 <planetmaker> you're welcome 16:26:49 <Yexo> Ammler: it might be called python-imaging or something like that 16:27:04 <planetmaker> Ammler: I'll need to change some other parts of the Makefile anyway. Ok, if I include that change there? 16:27:17 <planetmaker> the nml.py ->nml2nfo? 16:27:30 <Ammler> yes, of course 16:27:44 <planetmaker> good. I'm working on it right now 16:27:52 <planetmaker> there's no need to call grfcodec anymore :-) 16:28:05 <Ammler> he, no hurry, just ping me, when I can test again 16:28:22 <Ammler> hmm, I guess, I make a nml type compiler anyway... 16:28:41 <planetmaker> why something extra? 16:29:09 <Ammler> it is quite easy :-) 16:29:33 <Yexo> are "resolved" issues ment to show up when filtering for open issues? 16:29:55 <Ammler> resolved != closed 16:30:13 <Ammler> resolved does wait for closing comment 16:30:32 <Ammler> testing/confirming or whatever 16:30:33 <Yexo> ok 16:30:43 <Ammler> usually not needed :-) 16:31:49 <Ammler> if someone requests a feature, you implement it, you could then "resolve" it, the ticket opener could then confirm the feature and close 16:32:09 <Ammler> if he is manager/dev 16:32:55 <Ammler> the other possibility is to reopen 16:33:15 <planetmaker> hm... symlinking nml2nfo into /usr/bin doesn't yield the result I liked 16:34:13 <Yexo> planetmaker: the module nlm won't be found in that case 16:34:40 <planetmaker> I guess. But I do get a make[1]: /usr/bin/nml2nfo: No such file or directory - which puzzles me 16:34:50 <planetmaker> which clearly is not the case ;-) 16:35:15 <Ammler> chmod +x 16:35:16 <planetmaker> hm, I guess I know my error :-) 16:35:19 <planetmaker> not that 16:35:22 <planetmaker> relative paths 16:41:39 <planetmaker> ingo: ~/ottd/grfdev/ogfxplus> ../nml/nml2nfo sprites/ogfxplus.nml --grf ogfxplus.grf 16:42:06 <planetmaker> ingo: ~/ottd/grfdev/ogfxplus> ls -l *grf *nfo 16:42:08 <planetmaker> -rw-r--r-- 1 ingo staff 13302 3 Mai 09:48 ogfxplus.grf 16:42:09 <planetmaker> -rw-r--r-- 1 ingo staff 7019 18 Mai 18:39 ogfxplus.nfo 16:42:11 <planetmaker> ingo: ~/ottd/grfdev/ogfxplus> ls -l sprites/*grf sprites/*nfo 16:42:12 <planetmaker> ls: sprites/*grf: No such file or directory 16:42:14 <planetmaker> -rw-r--r-- 1 ingo staff 0 3 Mai 09:53 sprites/ogfxplus.nfo 16:42:17 <planetmaker> looks wrong to do nothing without any message 16:42:20 <planetmaker> ^ Yexo 16:43:21 <Yexo> that was with the no_pil.diff patch applied? 16:43:33 <planetmaker> Ammler: will it help if I just rename the NML command now to nml2nfo and play with the rest? 16:43:36 <planetmaker> Yexo: yes 16:43:43 <Yexo> ok, that was expected :) 16:43:53 <planetmaker> and still nothing installed ;-) 16:43:55 <Yexo> that patch was just to try if it worked 16:44:01 <planetmaker> ok 16:46:31 <Ammler> planetmaker: I thought I wait for you until I play around... 16:46:33 <Webster> Latest update from devactivity: NFO Meta Language - Patch #928 (Closed): allow unit percent <http://dev.openttdcoop.org/issues/928#change-2522> 16:46:48 <planetmaker> Ammler: no problem to do that separately. 16:46:54 <planetmaker> Then you can also play around ;-) 16:47:46 <planetmaker> any case: pushed 16:47:53 <planetmaker> it's a separate fix anyway 16:50:08 * planetmaker first installs PIL 16:50:18 <planetmaker> the package is called here py26-pil :-) 16:50:25 <planetmaker> alles pille-palle :-P 16:51:16 <planetmaker> hm 16:52:32 <planetmaker> nvm 16:53:17 <Ammler> is it ply or pil? 16:53:57 *** yorick has joined #openttdcoop.devzone 16:54:28 <Ammler> ah, ply is something else, needed anyway 16:54:51 <planetmaker> yes 16:55:07 <planetmaker> ply is the lexical parser library 16:55:09 <planetmaker> IIRC 16:55:32 <Ammler> planetmaker: just pulled and still can't build locally 16:56:09 <planetmaker> well... it didn't work for me either... but I didn't install nml 16:56:11 <planetmaker> did you? 16:56:39 <planetmaker> it only works for me, if I give it the path to nml2nfo directly, not if I symlink or so 16:56:54 <planetmaker> but then I don#t want to need to install every rev of nml 16:57:12 <Ammler> Could not open "ogfxplus.nfo" specified on the command line. 16:57:25 <planetmaker> ? 16:58:49 <planetmaker> hm, actually it works here 16:58:51 <yorick> setuptools has this nice "develop" command which doesn't install, but creates a symlink 16:59:46 <planetmaker> yes. Just symlinking nml2nfo works now 17:00:05 <planetmaker> what fails is that grfcodec complains about wrong / missing nfo file. Which is expected 17:00:11 <planetmaker> I need to fix that now :-) 17:01:03 <Ammler> well, please ping me, if you think, it should be able to compile for the server 17:01:14 <planetmaker> k 17:01:38 <Webster> Latest update from devactivity: OpenGFX+ - Revision 17: Fix / Change: nml is called by using nml2nfo and not nml.py anymore <http://dev.openttdcoop.org/projects/ogfxplus/repository/revisions/17> 17:04:47 <planetmaker> Ammler: ping 17:04:55 <planetmaker> :-) 17:07:17 <planetmaker> it was actually nearly a trivial change :-) 17:07:20 <planetmaker> which is quite nice 17:07:36 <planetmaker> and it made also the if then else logic of the conditional use of the Makefile a bit easier and nicer 17:16:48 <Webster> Latest update from devactivity: Example NewGRF Project - Revision 90: Change: NML now produces grf files directly. Make use of th... <http://dev.openttdcoop.org/projects/newgrf-makefile/repository/revisions/90> || OpenGFX+ - Revision 18: Change / Fix: nml now writes grf directly. Make use of that and skip grfc... <http://dev.openttdcoop.org/projects/ogfxplus/repository/revisions/18> 17:33:18 <Brot6> Bundles Update: 0 0 ogfxplus nightlies (http://finger.openttdcoop.org) 17:38:40 <Brot6> Bundles Update: 0 0 ogfxplus nightlies (http://finger.openttdcoop.org) 17:39:13 <Brot6> nml: update from r170 to r171 done ( errors) - http://bundles.openttdcoop.org/nml/nightlies/r171 17:39:29 <Brot6> ogfxplus: update from 0 to r18 done ( errors) - http://bundles.openttdcoop.org/ogfxplus/nightlies/r18 17:39:31 <Brot6> Following repos didn't need a update: 17:40:19 <Ammler> hmm :-) http://bundles.openttdcoop.org/ogfxplus/nightlies/r18/ogfxplus-r18-build.err.log 17:47:42 <Yexo> installing python-2.6.2-6.3 / installing python-ply-2.5-5.1 / but no python-pil 17:48:02 <Ammler> hmm 17:48:23 <Yexo> and grfcodec/nforenum are not needed, but I suppose it's a general spec for all devzone packages? 17:51:48 <Brot6> Bundles Update: 0 0 ogfxplus nightlies (http://finger.openttdcoop.org) 17:51:58 <Brot6> Bundles Update: 0 0 nml nightlies (http://finger.openttdcoop.org) 17:52:25 <Brot6> nml: update from 0 to r171 done ( errors) - http://bundles.openttdcoop.org/nml/nightlies/r171 17:52:53 <Brot6> ogfxplus: update from 0 to r18 done ( errors) - http://bundles.openttdcoop.org/ogfxplus/nightlies/r18 17:52:55 <Brot6> Following repos didn't need a update: 17:54:25 <Ammler> \o/ 17:55:20 <planetmaker> :-) congrats and thanks, Ammler :-) 17:58:06 <Ammler> Yexo: added to the build script: "Requires: python-ply python-imaging" 17:58:14 <Ammler> now it works 17:58:22 <Yexo> great :) 17:58:52 <Ammler> http://bundles.openttdcoop.org/ogfxplus/nightlies/r18/ 17:59:06 <Ammler> there are still some warning, do I get those silent? 18:00:12 *** frosch123 has joined #openttdcoop.devzone 18:00:42 <yorick> Ammler: at first, by making it use hashlib instead of md6 18:00:45 <yorick> md5* 18:00:56 <yorick> and at second, by getting Yexo to fix those unused tokens 18:01:21 <Yexo> the unusec tokens wil be fixed in time when those features are implemented 18:02:00 *** andythenorth has joined #openttdcoop.devzone 18:02:10 <Yexo> the warning about md5 is in ply, so you'll have to ask the author of ply to update it 18:02:27 <yorick> you can include ply in NML too 18:02:30 <yorick> just 2 files 18:02:43 <andythenorth> evening 18:02:47 <yorick> evening 18:02:55 <yorick> Yexo: are these features spec'd anywhere? 18:03:38 <Yexo> no :) 18:03:49 <Yexo> random is for random action2s 18:04:03 <Yexo> I don't have plans for dot, it can probably be removed 18:04:05 <yorick> ternary open is a ? b : c ? 18:04:08 <Yexo> replacenewsprites is for action5 18:04:11 <Yexo> yes :) 18:04:17 <Yexo> ternary open is the '?' token 18:04:38 <yorick> but that's ugly :D 18:05:25 *** ChanServ sets mode: +o Webster 18:08:31 <Ammler> well, then it is fine, we have that way a "testproject" we can use to see such things :-) 18:09:17 <yorick> expression : expression TERNARY_OPEN expression COLON expression 18:09:30 <Yexo> yorick: yes 18:10:26 <yorick> but how would that be done in nfo 18:11:37 <Yexo> with action7/actionD it's easy, but it can also be done in a varaction2 18:14:27 <Yexo> http://paste.openttd.org/225804 is this clear enough? 18:17:33 * yorick is not really into nfo 18:18:32 <Webster> Latest update from devactivity: NFO Meta Language - Revision 171: DevZone build system: python-ply, python-imaging is required <http://dev.openttdcoop.org/projects/nml/repository/revisions/171> 18:20:55 <yorick> model_life: 40; // years <-- hmm not nice 18:30:14 <frosch123> yup, there is no way to set the moon phase 18:32:19 <Yexo> yorick: any suggestions to improve it? 18:32:52 <yorick> Yexo: unit "years" maybe 18:32:58 <yorick> although that could also not be nice 18:33:36 <yorick> model_max_age or so? 18:35:02 <frosch123> that sounds like vehicle_max_age, which is something different 18:35:37 <Yexo> model_years-available? 18:36:42 <frosch123> is "model life" that bad, that it is a good idea to choose a different term than newgrf specs? 18:36:52 <frosch123> (and ottd/ttdp code) 18:36:58 <yorick> model life in what?? 18:37:06 <Yexo> nah, you're right, model life if ok 18:37:44 <yorick> you could make it a unit if you add decade and century :p 18:39:02 <Yexo> or, far more useful, months 18:39:50 <yorick> that would be useful if it were actually not in the grf as years 18:41:38 <andythenorth> model life is fine 18:42:18 <andythenorth> in my happy world of verbose variables I might call it "model_life_expressed_in_years", but real programmers seem to find my ways strange :P 18:42:54 <Yexo> andythenorth: the problem with that kind of names is that computations tend to become unreadable 18:43:10 <andythenorth> yes indeed :) 18:46:31 <yorick> I've heard of people who like to use only the first three letters of the variable name they come up with 18:48:16 <yorick> which have things like tel = dat.loo('nam', nam) 18:48:51 <Webster> Latest update from devactivity: FISH - Revision 365: Add: source renders for medium mixed hovercraft <http://dev.openttdcoop.org/projects/fish/repository/revisions/365> 18:51:13 * andythenorth spent part of yesterday modifying minimised javascript 18:51:27 <andythenorth> such as (function(a){a.fn.liveFilter=function(d){var c=a(this);var g;if(a(this).is("ul")) 18:52:05 <andythenorth> two years of counting bytes in nfo has improved my tolerance for such things :P 18:52:15 <yorick> andythenorth: be happy they didn't do the base64 compression :P 18:52:39 <yorick> base62* 18:52:48 <planetmaker> frosch123: model_lifetime ? 18:55:26 <yorick> andythenorth: usually it's a bit smaller 19:21:55 <Hirundo> Yexo: Regarding the ternary operator, this might be easier: http://paste.openttd.org/225805 19:22:30 <Yexo> yes, ineed :) 19:22:39 <Yexo> point was, it's possible to implement it in a varaction2 ;) 19:24:14 <Hirundo> Given it's near Turing completeness, that's no surprise :) 19:36:29 <frosch123> turing complete without loops :p 19:37:31 <planetmaker> should be added 19:37:41 <planetmaker> Then finally worms could be written in newgrf form 19:42:04 <Yexo> frosch123: loops are possible with action7/9 and action10 19:42:07 <Yexo> at least for some items 19:42:30 <frosch123> yeah, but not in varaction2, and i am very happy about that :) 19:42:49 <Yexo> ah, indeed :) 19:43:07 * andythenorth wrote a loop by accident in varact 2 19:43:14 <andythenorth> in the one place where it's possible 19:43:26 <frosch123> production callback :) 19:43:32 <andythenorth> "boom" 19:43:38 <frosch123> but it is not the only place 19:43:49 <frosch123> same holds for attach articulated vehicle 19:43:51 <Yexo> airports statemachine callback :) 19:43:53 <andythenorth> oh god there are more :P 19:44:09 <andythenorth> the articulated vehicle loop ends eventually IIRC? 19:44:19 <frosch123> vehicle cargo suffix 19:44:22 <Yexo> yes, after 128 parts I think 19:44:26 <andythenorth> I've accidentally created a very long snake-like vehicle :) 19:44:32 <planetmaker> lol 19:44:40 <planetmaker> you know the game snakes? 19:44:44 <andythenorth> yup 19:44:46 <planetmaker> we could play that then ;-) 19:44:56 <planetmaker> just a bit of newgrf logic :-P 19:45:18 <frosch123> reminds me, dbset triggers the infinite loop in cargo suffix callback 19:45:22 <planetmaker> callback when passing station or so. Increase length by one 19:45:48 <frosch123> andythenorth: the limit was 16 once, but someone complained that that was too few 19:45:58 <andythenorth> it is 19:46:05 <andythenorth> but not by much :P 19:47:46 <andythenorth> this is a 'mixed' hovercraft (refit to any cargo including PAX)....wonder what the loaded state for freight cargo should be? 19:47:46 <andythenorth> http://www.griffonhoverwork.com/images/gallery/main/896.jpg?1251804734 19:49:54 <andythenorth> crates I guess....a 20' container sprite doesn't fit 19:51:52 <Webster> Latest update from devactivity: FISH - Revision 367: Change: progess on Medium Mixed Hovercraft <http://dev.openttdcoop.org/projects/fish/repository/revisions/367> || FISH - Revision 366: Add: source psd for Medium Mixed Hovercraft <http://dev.openttdcoop.org/projects/fish/repository/revisions/366> 20:08:35 *** Seberoth2 has joined #openttdcoop.devzone 20:16:08 *** Seberoth has quit IRC 21:27:16 <Brot6> Following repos didn't need a update: nml (r171), ogfxplus (r18) 21:36:36 *** frosch123 has quit IRC 21:52:56 *** yorick has quit IRC 21:53:22 <Webster> Latest update from devactivity: OpenGFX - Revision 457: DevZone: enable new compiler for nightlies <http://dev.openttdcoop.org/projects/opengfx/repository/revisions/457> 21:54:03 *** ODM has quit IRC 21:59:40 <Brot6> opengfx: update from r456 to r457 done ( errors) - http://bundles.openttdcoop.org/opengfx/nightlies/r457 21:59:42 <Brot6> Following repos didn't need a update: nml (r171), ogfxplus (r18) 22:16:13 <Ammler> hmm, silly 22:17:08 <PeterT> hmm 22:17:13 <PeterT> Ammler: there you are 22:17:17 <PeterT> read my Pm 22:17:20 <PeterT> it's important 22:30:54 <Ammler> since when is opengfx gone? 22:31:21 <PeterT> what do you mean? 22:31:22 <PeterT> gone? 22:36:07 <Rubidium> I'd say, somewhere in the range of 30 to 45 minutes? 22:43:37 <Ammler> I guess, with my compiler change 22:43:58 <Ammler> uploading backup is ugly slow :-) 23:10:20 <Webster> Latest update from devactivity: #openttdcoop - Revision 47: Add compiler source <http://dev.openttdcoop.org/projects/home/repository/revisions/47> || OpenTTD-GUI - Revision 15189: - Change: Make the 'heightmap' button aware whether a heightmap was... <http://dev.openttdcoop.org/projects/openttd-gui/repository/revisions/15189> 23:22:30 *** PeterT has quit IRC 23:22:30 *** welshdragon has quit IRC 23:26:40 <Webster> Latest update from devactivity: OpenMSX - Revision 55: Feature: 'Chugga Chugga Cha-ching' by imuh3 <http://dev.openttdcoop.org/projects/openmsx/repository/revisions/55> || OpenTTD-GUI - Revision 15190: - Change: Remove one include and explain how we determine whether a... <http://dev.openttdcoop.org/projects/openttd-gui/repository/revisions/15190> 23:27:57 *** PeterT has joined #openttdcoop.devzone 23:40:35 *** welshdragon has joined #openttdcoop.devzone 23:50:59 *** OwenS has quit IRC 23:58:44 <Webster> Latest update from devactivity: OpenTTD-GUI - Revision 15225: Merge with trunk r19850 <http://dev.openttdcoop.org/projects/openttd-gui/repository/revisions/15225> || OpenTTD-GUI - Revision 15224: - Cleanup: Re-order widget definitions and remove unused ones <http://dev.openttdcoop.org/projects/openttd-gui/repository/revisions/15224>