Config
Log for #openttdcoop.devzone on 11th February 2011:
Times are UTC Toggle Colours
00:02:23  <Brot6> DictatorAI - Revision 10:55ceab8abd4e: Correct bug: don't remove handicap on ranking if handicap ... (krinn) @ http://dev.openttdcoop.org/projects/ai-dictator/repository/revisions/55ceab8abd4e
00:02:23  <Brot6> DictatorAI - Revision 11:a107f11a4981: - Set malus on ranking == to the ranking (krinn) @ http://dev.openttdcoop.org/projects/ai-dictator/repository/revisions/a107f11a4981
00:02:23  <Brot6> DictatorAI - Revision 12:4b5267e98125: - Wait a few and retry when fail to demolish a tile (krinn) @ http://dev.openttdcoop.org/projects/ai-dictator/repository/revisions/4b5267e98125
00:02:25  <Brot6> DictatorAI - Revision 13:5e885bd80e0e: - Change a bit how we create station for road vehicle (krinn) @ http://dev.openttdcoop.org/projects/ai-dictator/repository/revisions/5e885bd80e0e
00:02:29  <Brot6> DictatorAI - Revision 14:186701f304f7: - Lower conditions when we try to add a new vehicle while ... (krinn) @ http://dev.openttdcoop.org/projects/ai-dictator/repository/revisions/186701f304f7
00:02:33  <Brot6> DictatorAI - Revision 15:0397a9f19c5d: - Sell spare vehicles on too busy stations (krinn) @ http://dev.openttdcoop.org/projects/ai-dictator/repository/revisions/0397a9f19c5d
00:02:37  <Brot6> DictatorAI - Revision 16:9f6a1241156a: - Don't sell spare if we have less than 3 spares (krinn) @ http://dev.openttdcoop.org/projects/ai-dictator/repository/revisions/9f6a1241156a
00:02:41  <Brot6> DictatorAI - Revision 17:dd597eefc68c: - Erf, while sticking our road depot to a road tile, don't... (krinn) @ http://dev.openttdcoop.org/projects/ai-dictator/repository/revisions/dd597eefc68c
01:44:43  *** KenjiE20 has quit IRC
01:49:56  *** Lakie has quit IRC
02:20:58  *** thgergo has quit IRC
08:33:11  *** Lakie has joined #openttdcoop.devzone
10:06:53  <dihedral> i have a working "Help" plugin :-)
10:07:21  <planetmaker> nice :-)
10:07:38  <dihedral> the api changed drastically, but it's for the benifit
10:07:51  <dihedral> + rewriting plugins to that style is very easy :-)
11:14:29  *** KenjiE20 has joined #openttdcoop.devzone
11:52:03  *** dj-nekkid has joined #openttdcoop.devzone
11:52:20  <dj-nekkid> guys ... im embared... i dont remember my trig' math :)
11:52:55  <dj-nekkid> i wanna find the angle, and i know the oposing cateth (?) and either the hyp or the other cateth
11:53:00  <dj-nekkid> (its just an estimate, so i can choose)
11:53:05  <dj-nekkid> how the crap did i do that?
11:53:17  <dj-nekkid> embared=embaresed (*2)
11:53:44  <dihedral> planetmaker would probably be able to help
11:55:25  <Ammler> or #math :-)
12:01:02  <planetmaker> dj-nekkid, if your triangle has NOT a 90° angle, you need three known elements of the triangle
12:02:08  <planetmaker> and I can recommend http://en.wikipedia.org/wiki/Trigonometry
12:02:09  <Webster> Title: Trigonometry - Wikipedia, the free encyclopedia (at en.wikipedia.org)
12:02:40  <dj-nekkid> i did read the norwegian one :P
12:03:10  <dj-nekkid> didnt get too wise :P
12:04:01  <dj-nekkid> and if i know either cateth (the 'short edges') and/or the hypotenus (long edge) one can find the 3rd one
12:05:12  <dj-nekkid> but it do have a 90degree element
12:05:38  <dj-nekkid> 600 meters, and the other edge (hyp or cath) is, say 75km
12:10:00  <planetmaker> and you look for what angle?
12:11:47  <planetmaker> in any case, it cannot be explained better than on that wiki page http://en.wikipedia.org/wiki/Trigonometry#Overview
12:11:48  <Webster> Title: Trigonometry - Wikipedia, the free encyclopedia (at en.wikipedia.org)
12:12:07  *** DanMacK has joined #openttdcoop.devzone
12:14:38  *** ODM has joined #openttdcoop.devzone
12:17:39  *** dj-nekkid has quit IRC
13:07:42  *** andythenorth has joined #openttdcoop.devzone
14:16:52  <Brot6> WebOTTD - Revision 82:8ae1bd19e1ed: Change: introduce a template container (avdg) @ http://dev.openttdcoop.org/projects/webottd/repository/revisions/8ae1bd19e1ed
14:16:52  <Brot6> WebOTTD - Revision 83:3b0d3d64b247: Change: move the database object in class template into the c... (avdg) @ http://dev.openttdcoop.org/projects/webottd/repository/revisions/3b0d3d64b247
14:16:52  <Brot6> WebOTTD - Revision 84:0655a7be145e: Change: move the translator object in class template into the... (avdg) @ http://dev.openttdcoop.org/projects/webottd/repository/revisions/0655a7be145e
15:10:41  *** andythenorth has quit IRC
16:35:51  <Brot6> Total Town Replacement Set - Revision 25:270c3a5cf2e3: Doc: Update some documentation (planetmaker) @ http://dev.openttdcoop.org/projects/ttrs/repository/revisions/270c3a5cf2e3
16:35:51  <Brot6> Total Town Replacement Set - Revision 26:edaff00b9ddf: Added tag 3.10 for changeset 270c3a5cf2e3 (planetmaker) @ http://dev.openttdcoop.org/projects/ttrs/repository/revisions/edaff00b9ddf
16:36:46  <Brot6> ttrs: update from tip to 3.10 done (7 errors) - http://bundles.openttdcoop.org/ttrs/releases/3.10
16:40:11  <Ammler> such a nice readme, but not publish? :-)
16:42:28  <Brot6> 2cc train set - Feature #2300: NS Plan U DE-III (Voyager1) @ http://dev.openttdcoop.org/issues/2300#change-5869
16:44:29  <planetmaker> not publish?
16:44:44  <planetmaker> I see a tag here :-)
16:45:31  <Ammler> I see a tag but no readme
16:49:45  <planetmaker> eh?
16:50:28  <planetmaker> strange
16:52:16  *** ODM has quit IRC
16:54:28  *** andythenorth has joined #openttdcoop.devzone
17:06:42  <Brot6> Total Town Replacement Set - Bug #2302 (New): readme seems to not be updated (planetmaker) @ http://dev.openttdcoop.org/issues/2302
17:08:57  <Brot6> nml: update from r1193 to r1198 done - http://bundles.openttdcoop.org/nml/nightlies/r1198
17:12:11  <Brot6> Swedish Rails - Revision 194:faf47d3b1b82: Codechange: Split the sprite template for the underlay... (planetmaker) @ http://dev.openttdcoop.org/projects/swedishrails/repository/revisions/faf47d3b1b82
17:19:17  <Brot6> swedishrails: update from r193 to r194 done - http://bundles.openttdcoop.org/swedishrails/nightlies/r194
17:19:35  <Brot6> FIRS Industry Replacement Set - Bug #2303 (New): DevZone compile failed (compiler) @ http://dev.openttdcoop.org/issues/2303
17:19:53  <Brot6> ttrs: update from r24 to r26 done (7 errors) - http://bundles.openttdcoop.org/ttrs/nightlies/r26
17:19:54  <Brot6> Following repos didn't need a nightlies update: 2cctrainset (r743), 32bpp-extra (r39), ai-admiralai (r75), ai-aroai (r11), ailib-common (r21), ailib-direction (r17), ailib-list (r32), ailib-string (r29), ailib-tile (r16), airportsplus (r73), basecosts (r22), belarusiantowns (r8), bros (r45), comic-houses (r71), fish (r567), frenchtowns (r6), grfcodec (r821), heqs (r572), indonesiantowns (r41), manindu (r6), metrotrackset (r56), narvs
17:19:54  <Brot6> (r5), newgrf_makefile (r255), nml (r1198), nutracks (r176), ogfx-industries (r3), ogfx-landscape (r26), ogfx-rv (r78), ogfx-trains (r210), ogfx-trees (r42), opengfx (r608), openmsx (r97), opensfx (r97), smts (r19), snowlinemod (r45), spanishtowns (r10), swisstowns (r22), transrapidtrackset (r15), ttdviewer (r26), worldairlinersset (r671)
17:23:37  <Brot6> Following repos rebuilds successful without any difference to earlier nightlies builds: airportsplus, belarusiantowns, frenchtowns, indonesiantowns (1 errors), manindu (Diffsize: 1), narvs, newgrf_makefile, ogfx-industries, ogfx-landscape, ogfx-rv (1 errors) (Diffsize: 7), ogfx-trains (39 errors), spanishtowns, swisstowns
17:28:58  <planetmaker> wow. that looks like I screwed FIRS :-(
17:29:20  <andythenorth> ho ho
17:29:27  <andythenorth> we need to fix Serbian as well
17:34:15  <Ammler> planetmaker: you also forget to take a look on Roadmap for ttrs :-)
17:34:26  <planetmaker> yes :-P
17:34:45  <planetmaker> but I mostly was annoyed that it was rotting in the repo while it could be used just fine
17:35:02  <planetmaker> so it was a 'release often' urge ;-)
17:41:53  <andythenorth> planetmaker: I checked
17:41:57  <andythenorth> you screwed FIRS :D
17:42:06  <planetmaker> I know
17:42:13  <planetmaker> But! I think you, too
17:42:15  <andythenorth> maybe
17:42:24  <andythenorth> looks like defines aren't being removed?
17:42:25  <Ammler> :-)
17:42:26  <planetmaker> because you didn't update remove_defines.pnfo
17:42:32  <planetmaker> I'll add that in my fix to it
17:42:37  <planetmaker> yes
17:42:48  <planetmaker> I'll cleanup that mess
17:42:51  <andythenorth> I wondered about that
17:42:55  <Ammler> well, I gave you once the sed to make remove_devines automatically
17:42:58  <andythenorth> I do have a file here with updated defines
17:43:07  <planetmaker> though I don't understand why the "Hüttenwerk" does screw it
17:43:09  <andythenorth> but I reverted it, last time I thought I got reprimanded for changing that
17:43:34  <planetmaker> what did you revert?
17:44:06  <planetmaker> ah, nvm
17:44:14  <andythenorth> remove_defines
17:44:26  <andythenorth> I thought I shouldn't change that, or it breaks the translation script?
17:44:34  <andythenorth> I misunderstand translations a little
17:44:51  <planetmaker> I'm not 100% sure right now, but I think it needs to undefine everything you define in 7F...
17:45:00  <andythenorth> ok
17:45:03  <Ammler> remove_define should not be part of the repo
17:45:45  <andythenorth> yes it should
17:45:51  <andythenorth> planetmaker: this is what I had http://pastebin.com/pTZMGYyN
17:46:13  <Ammler> andythenorth: it will be generated automatically from the default lang file
17:46:21  <planetmaker> Ammler: where?
17:46:43  <andythenorth> it's an interesting point
17:46:45  <Ammler> let me search the ticket
17:51:27  <Ammler> maybe it was not FIRS
17:51:32  <Ammler> nvm then
17:52:48  <Ammler> anyway, it should also be possible to make it that way in FIRS
17:53:04  <Brot6> NewGRF Meta Language - Revision 1199:451d03cebfdd: Fix #1626: Correctly fill action2.references f... (Hirundo) @ http://dev.openttdcoop.org/projects/nml/repository/revisions/451d03cebfdd
17:53:04  <Brot6> NewGRF Meta Language - Revision 1200:6819e70cefc2: Fix: SwitchBody.default is a SpriteGroupRef, n... (Hirundo) @ http://dev.openttdcoop.org/projects/nml/repository/revisions/6819e70cefc2
17:53:04  <Brot6> NewGRF Meta Language - Bug #1626 (Closed): Fill Action2.references in random action2 (Hirundo) @ http://dev.openttdcoop.org/issues/1626#change-5870
17:53:38  <planetmaker> Ammler: yes, it *should* - but seems not the case. Granted I had the same notion but didn't find it anywhere
18:03:13  <dihedral> \o/ http://nexus.dihedral.de/
18:03:14  <Webster> Title: Sonatype Nexus Maven Repository Manager (at nexus.dihedral.de)
18:03:57  <Rubidium> maven? Yikes...
18:04:39  <dihedral> i like maven
18:04:59  <Brot6> NewGRF Meta Language - Bug #2304 (New): Prepending a switch block before produce/random_switch fails (Hirundo) @ http://dev.openttdcoop.org/issues/2304
18:06:07  <Brot6> NewGRF Meta Language - Revision 1201:e430d4fad61c: Codechange: Assert instead of error when encou... (Hirundo) @ http://dev.openttdcoop.org/projects/nml/repository/revisions/e430d4fad61c
18:06:07  <Brot6> NewGRF Meta Language - Bug #2304 (New): Prepending a switch block before produce/random_switch fails (Hirundo) @ http://dev.openttdcoop.org/issues/2304
18:06:11  <Rubidium> dihedral: it really sucks when it tries to autogather stuff, which incidentally has gone from the internet
18:06:12  <andythenorth> planetmaker: are you fixing FIRS?  Or should I?
18:06:16  <andythenorth> I'm happy to
18:06:24  <Rubidium> in which it doesn't just fall back to something compatible
18:06:25  <planetmaker> I'm trying
18:06:32  <planetmaker> http://pastebin.com/XBtpXLCv <-- this fixes most, andythenorth
18:06:45  <dihedral> Rubidium, which is why i want to use nexus ;-)
18:06:50  <planetmaker> But I currently have NO clue why the German string for ironworks breaks things.
18:06:57  <planetmaker> Any clue or hint appreciated :-)
18:06:58  <Rubidium> maven was basically my biggest annoyance during my graduation
18:06:59  <dihedral> nexus is a repository so i am not bound to the official maven repository
18:07:23  <dihedral> just needs configuring in the projects pom, or in the settings.pom file
18:07:34  <Yexo> Hirundo: can you upload some example nml code that fails for #2304?
18:07:35  <Brot6> Yexo: Hirundo: #2304 is http://dev.openttdcoop.org/issues/show/2304 "NewGRF Meta Language - Bug #2304: Prepending a switch block before produce/random_switch fails - #openttdcoop Development Zone"
18:07:39  <planetmaker> I could just drop the gender reference there and it'd probably be fine, andythenorth
18:07:44  <planetmaker> But... that's wrong
18:08:42  <dihedral> Rubidium, hudson does the ci process, after every build the appropriate repository on nexus gets the new artifacts, if my projects reference nexus, they can get the newest stuff without needing to have them installed locally :-P
18:08:43  <planetmaker> so what extra magic does that string need to accept a gender directive? And where?
18:09:00  <dihedral> so now i am on my way home :-P
18:09:01  <dihedral> laters
18:10:27  <Hirundo> Yexo: random_switch(FEAT_TRAINS, BACKWARD_SELF(100), foo, 0) {..}
18:10:53  <Hirundo> Or alternatively: produce(prod, 1, 2, 3, 4, STORE_TEMP(2,1));
18:11:52  <Yexo> thanks
18:12:58  <Hirundo> Do you have any ideas for a solution?
18:13:39  <Yexo> haven't really looked at the code yet
18:13:46  <Yexo> but it looks like a reference is missing
18:14:02  <Yexo> "input", line 33: Block 'foo' is not referenced, ignoring.
18:14:02  <Yexo> nmlc: "input", line 38: Referencing unknown action2 id: foo
18:15:13  <planetmaker> andythenorth: right... and if you remove a string: remove it from all translations :-)
18:15:17  <planetmaker> I'll do that, too
18:15:35  <Hirundo> The problem is that the varaction2 receives the name of the original produce/randomact2
18:15:47  <Hirundo> This to make sure references are done correctly
18:16:39  <Hirundo> Currently the pre_processing stage is not called for these switch blocks, but if you do call those you get an error because of duplicated names
18:16:41  <Yexo> why not "insert switch with original produce/randomact2 name, rename produce/randomact2 to something temporary, let new switch reference the temporary name"
18:16:57  <Hirundo> That's what's currently done
18:17:44  <Hirundo> However registering a second sprite group with the same name in the AST (from AST POV, the original block still has the original name) causes an error
18:18:41  <Yexo> ah, ok
18:18:52  <Yexo> just reading the code now, let's see if I can come up with something
18:19:59  <Hirundo> I have some ideas, but I need to do some experimentation first to see if they work
18:20:43  <Yexo> seems to me the "#handle the 'count' parameter, if necessary" part in parse_randomswitch needs to be moved to the pre_process stage somehow
18:22:13  <Hirundo> Perhaps we could let pre_process return a list of AST nodes to replace the pre-processed node with
18:22:36  <Hirundo> So we can do all AST transformations there easily
18:30:11  <planetmaker> right... that fixes it. But it hacks around the fact that the IRONWORKS reject being assigned a gender. Any ideas, andythenorth ?
18:30:56  <Brot6> FIRS Industry Replacement Set - Bug #2303 (Closed): DevZone compile failed (compiler) @ http://dev.openttdcoop.org/issues/2303
18:30:56  <Brot6> FIRS Industry Replacement Set - Revision 1760:77bbcfc6681f: Fix #2303: Many strings were not unde... (planetmaker) @ http://dev.openttdcoop.org/projects/firs/repository/revisions/77bbcfc6681f
18:30:56  <Brot6> FIRS Industry Replacement Set - Bug #2303 (Closed): DevZone compile failed (planetmaker) @ http://dev.openttdcoop.org/issues/2303#change-5871
18:31:04  <Brot6> firs: update from r1755 to r1760 done - http://bundles.openttdcoop.org/firs/nightlies/r1760
18:31:48  *** thgergo has joined #openttdcoop.devzone
18:32:02  <planetmaker> ... that's odd.
18:32:11  <planetmaker> Not it doesn't complain. Oh well
18:32:58  <Brot6> FIRS Industry Replacement Set - Revision 1761:5d56edb22b73: Fix #2303: Re-add the gender to the i... (planetmaker) @ http://dev.openttdcoop.org/projects/firs/repository/revisions/5d56edb22b73
18:35:40  <Hirundo> Yexo: Thoughts on above idea?
18:37:42  <Yexo> sorry, phonecall, will react in 30min
18:40:46  <Hirundo> I'll be out soon for tonight, it may be best to either add comments to the issue or save the discussion for tomorrow
18:51:33  <andythenorth> planetmaker: FIRS builds fine for me now
18:53:00  <planetmaker> it's still bugged quite a bit, though
18:54:10  <planetmaker> I guess the only solution is to really generate remove_defines.pnfo automatically. Nearly done :-D
18:55:03  <planetmaker> seems to work :-)
18:55:10  <Terkhen> planetmaker: nice, don't forget to remove the references to remove_defines in the language script :)
18:55:12  <planetmaker> Now I need just to find out whether there's an issue number
18:55:24  <planetmaker> hm... language.script. Thanks, Terkhen
18:55:35  <planetmaker> I was forgetting it :-)
18:56:17  *** KenjiE20 is now known as Guest1105
18:56:37  *** KenjiE20 has joined #openttdcoop.devzone
18:57:09  <Terkhen> IIRC it was just the default file to check
19:02:03  *** Guest1105 has quit IRC
19:03:27  <Brot6> 32bpp-ez-patches: update from r22052 to r22060 done (2 errors) - http://bundles.openttdcoop.org/32bpp-ez-patches/testing/r22060
19:06:20  <Brot6> clientpatches: update from r21488 to r21488 done - http://bundles.openttdcoop.org/clientpatches/testing/r21488
19:07:32  <Brot6> serverpatches: compile of r22060 still failed (#2080) - http://bundles.openttdcoop.org/serverpatches/testing/ERROR/r22060
19:10:46  <Brot6> FIRS Industry Replacement Set - Revision 1762:adb64b6a7132: Codechange: Generate the language un-... (planetmaker) @ http://dev.openttdcoop.org/projects/firs/repository/revisions/adb64b6a7132
19:18:41  <planetmaker> ^ andythenorth so remove_defines is gone and should be generated automatically... I hope it will (continue to) work ;-)
19:19:23  <andythenorth> seems to work for me
19:26:10  <planetmaker> he... when did you upgrade me in the newgrf description to developer? :-O
19:27:42  <andythenorth> some time
19:27:45  <andythenorth> ;)
19:27:56  <andythenorth> a lot of the code is written by you :)
19:28:21  <planetmaker> tiny pieces :-)
19:30:15  <andythenorth> tiny pieces of cpp which generate half the grf
19:30:21  <andythenorth> and the cargos framework
19:30:25  <andythenorth> and the language framework
19:31:04  <planetmaker> selfish behaviour ;-)
19:32:14  <planetmaker> (of mine)
19:38:13  <Yexo> Hirundo: that might work, but imo it's not very clean
19:38:51  <Yexo> anyway, I won't be here tomorrow evening, so either start the discussion the comments thread or save it for sunday
19:54:23  <planetmaker> Yexo: I'm not sure anymore, how do I explicity define the (newgrf, = action14) parameter number in NML?
20:02:36  <Yexo> instead of starting with "param {" start with "param 3 {"
20:09:54  <planetmaker> he, that's easy
20:09:56  <planetmaker> :-)
20:58:22  <Brot6> FIRS Industry Replacement Set - Bug #2305 (New): Missing ground sprite for plastics plant (planetmaker) @ http://dev.openttdcoop.org/issues/2305
20:58:53  <andythenorth> planetmaker: foobar included that as an easter egg
20:59:03  <andythenorth> it means a truck station can be built inside the plastic plant
20:59:48  <planetmaker> he
21:00:07  <Terkhen> :D
21:00:18  <planetmaker> It also means, though, that a skyscraper can grow into it
21:00:55  <planetmaker> But the idea is... interesting :-)
21:01:24  <andythenorth> ah
21:12:04  * planetmaker ponders to release a taster of ogfx+landscape
21:12:13  * planetmaker is today in release mood ;-)
21:19:20  *** thgergo has quit IRC
21:33:29  <Ammler> :-)
21:37:19  <Terkhen> :)
21:52:31  <planetmaker> so... is that a 'yes' from you?
21:52:52  <planetmaker> I'm unsure... ogfx+landscape provides no grids and the wind powerplant
21:53:05  <planetmaker> and the grids are not finished in the sense that grids still show for roads and rails
21:54:13  <Terkhen> yes, if it has already some features you can already make a taster
21:54:17  <Terkhen> nogrid is interesting on its own
21:56:15  <planetmaker> as said... nogrid is not really finished. But it's mostly ok.
21:56:25  <planetmaker> but not perfect
21:56:36  <planetmaker> and Zephyris is currently too busy with RL
21:57:34  <Terkhen> RL is overrated :)
21:57:39  <planetmaker> :-P
21:58:01  <planetmaker> well, convinced. I'll upload it. I already prepared some screenshots :-P
21:58:08  <Brot6> OpenGFX+ Landscape - Revision 27:e787d8e58ca2: Doc: Update some documentation (planetmaker) @ http://dev.openttdcoop.org/projects/ogfx-landscape/repository/revisions/e787d8e58ca2
22:01:12  <Brot6> FIRS Industry Replacement Set - Revision 1763:9629d4078c14: Add: template for random offset in sm... (andythenorth) @ http://dev.openttdcoop.org/projects/firs/repository/revisions/9629d4078c14
22:01:13  <Brot6> FIRS Industry Replacement Set - Revision 1764:b73eb16ac2c8: Feature: Brickworks chimney smoke no ... (andythenorth) @ http://dev.openttdcoop.org/projects/firs/repository/revisions/b73eb16ac2c8
22:06:42  <Brot6> FIRS Industry Replacement Set - Revision 1765:d2542c479f17: Feature: Textile Mill chimney smoke n... (andythenorth) @ http://dev.openttdcoop.org/projects/firs/repository/revisions/d2542c479f17
22:06:42  <Brot6> FIRS Industry Replacement Set - Revision 1766:9c4e092a3ca3: Feature: Biorefinery chimney smoke no... (andythenorth) @ http://dev.openttdcoop.org/projects/firs/repository/revisions/9c4e092a3ca3
22:07:13  <Brot6> FIRS Industry Replacement Set - Revision 1767:c453c3be5894: Feature: Fertiliser Plant smoke no lo... (andythenorth) @ http://dev.openttdcoop.org/projects/firs/repository/revisions/c453c3be5894
22:07:40  <Brot6> FIRS Industry Replacement Set - Revision 1768:aee8cf2644d2: Feature: Cement Plant smoke no longer... (andythenorth) @ http://dev.openttdcoop.org/projects/firs/repository/revisions/aee8cf2644d2
22:09:28  <Brot6> FIRS Industry Replacement Set - Revision 1769:6f5c410beb75: Feature: Dairy smoke no longer in sync (andythenorth) @ http://dev.openttdcoop.org/projects/firs/repository/revisions/6f5c410beb75
22:13:19  <Brot6> OpenGFX+ Landscape - Revision 28:75ba0bf9ba7e: Added tag 0.1.0 for changeset e787d8e58ca2 (planetmaker) @ http://dev.openttdcoop.org/projects/ogfx-landscape/repository/revisions/75ba0bf9ba7e
22:13:41  <Brot6> ogfx-landscape: update from  to 0.1.0 done - http://bundles.openttdcoop.org/ogfx-landscape/releases/0.1.0
22:15:06  <Brot6> FIRS Industry Replacement Set - Revision 1770:024ee963615a: Cleanup: rename smoke randomising tem... (andythenorth) @ http://dev.openttdcoop.org/projects/firs/repository/revisions/024ee963615a
22:26:44  <Brot6> FIRS Industry Replacement Set - Revision 1771:cca3e8424989: Feature: Aluminium Plant smoke no lon... (andythenorth) @ http://dev.openttdcoop.org/projects/firs/repository/revisions/cca3e8424989
22:26:44  <Brot6> FIRS Industry Replacement Set - Revision 1772:265329b2b5f1: Feature: Machine Shop smoke no longer... (andythenorth) @ http://dev.openttdcoop.org/projects/firs/repository/revisions/265329b2b5f1
22:28:36  *** DanMacK has quit IRC
22:30:30  <planetmaker> deed done :-)
22:30:36  <planetmaker> double release today :-D
22:31:46  <Terkhen> :)
22:35:19  <Yexo> andythenorth: how many different permutations of fences do you think you'll need per single tile?
22:35:28  <andythenorth> <24
22:35:45  <andythenorth> per actual tile?
22:36:00  <Yexo> yes, so 1 if a tile always has fences at the same location
22:36:26  <andythenorth> so in FIRS most industries use one tile with a varaction 2 checking position in layout
22:36:26  <Yexo> say a tile sometimes has a fence on the NE side and sometimes on the SE side (but never both and never none), there are 2 possibilities
22:36:41  <Yexo> I know, but how many per position in the layout
22:37:01  <Yexo> or actually, per "normal" action2
22:37:11  <andythenorth> 2 except in a few edge cases
22:37:41  <andythenorth> I think
22:37:53  <andythenorth> it varies a lot depending on industry :o
22:38:02  <Yexo> hmm, than michi_cc's solution might actually work
22:38:22  <planetmaker> at least it's something worth exploring here
22:39:03  <andythenorth> well we could start by only considering industries that need fencing
22:39:54  <andythenorth> so the cement plant...http://www.tt-forums.net/viewtopic.php?f=26&t=41607&p=875499&hilit=cement+plant+layouts#p875499
22:39:55  <Webster> Title: Transport Tycoon Forums View topic - FIRS Industry Replacement Set - Development & Translations (at www.tt-forums.net)
22:40:50  <Yexo> it's not as bad as it looks
22:41:01  <andythenorth> probably not
22:41:10  <Yexo> I count 6 variations for the tile with sand (is it sand?)
22:41:13  <andythenorth> and it's one of the toughest in terms of layours
22:41:16  <Yexo> only 1 or 2 for most others
22:41:19  <andythenorth> yes sand
22:42:32  <andythenorth> 5 for the loading siles (the dark silos with yellow ladder)
22:43:11  <Yexo> yep
22:43:27  <Yexo> add 1 for every tile if you want a parameter to disable the fences
22:43:35  <andythenorth> the chimney is a luck break in this one :P
22:43:53  <andythenorth> there's only one layout where it needs fencing
22:44:07  <andythenorth> so only 9 extra action 2s for that
22:44:32  <Yexo> don't forget 1 extra varaction2 for each tile that can have fences
22:44:56  <andythenorth> yup
22:45:14  <Yexo> ok, I'm going to try to create fences for the cement plant
22:45:30  <andythenorth> the kilns have animated rotation (unfinished - waiting on zephyris for better sprites)
22:45:40  <andythenorth> will need about 6 or 9 frames
22:46:01  <Yexo> do you use any scheme for your action2 IDs?
22:46:16  <andythenorth> try to match to number of real sprite where possible
22:46:18  <andythenorth> otherwise no
22:46:26  <andythenorth> but I would do this differently
22:46:46  <andythenorth> using CPP to repeat entire blocks of action 2 with same IDs
22:46:51  <andythenorth> and a varaction 2 to split between them
22:47:08  <andythenorth> it's how snow and terrain-aware ground tiles are handled
22:47:10  <Yexo> if you want to split between them they can't have the same IDs
22:47:32  <andythenorth> has to go via a varaction 2
22:47:49  <andythenorth> first check terrain, snow etc.  then check the layout
22:47:51  <Yexo> unless you mean "normal action 2 id 0, normal action 2 id 1, varaction2 id x, normal action2 id 0, normal action2 id 1, varaction2 id y, etc."
22:48:01  <Yexo> if so, that's exactly how I plan to do it
22:48:01  <andythenorth> yup
22:48:54  <Yexo> is there an action2 ID that is guaranteed to be unused by the current code so I can use it for the "determine where to place fences" varaction2?
22:49:30  <andythenorth> guaranteed?  no
22:49:38  <andythenorth> but in reality there probably is one
22:49:42  <andythenorth> let me look
22:50:42  <planetmaker> http://imagebin.org/137433 <-- andythenorth ironore mine sprites without ground... :-)
22:50:43  <Webster> Title: Imagebin - A place to slap up your images. (at imagebin.org)
22:51:36  <andythenorth> Yexo: you should be safe with anything in Fn or Dn range
22:51:39  <Brot6> Total Town Replacement Set - Feature Request #2306 (New): Improve eras support (George) @ http://dev.openttdcoop.org/issues/2306
22:51:42  <Yexo> ok, thanks
22:51:49  <andythenorth> good luck :D
22:52:13  <andythenorth> I forsee somewhat more nesting of CPP templates
22:52:35  <Yexo> I'm not sure that's possible in this case
22:54:40  <andythenorth> ok
22:55:31  <Yexo> are there any fence graphics in firs that I can reuse?
22:55:37  <Yexo> or do I have to add some from opengfx?
22:55:38  <andythenorth> no
22:55:44  <andythenorth> reuse the base set ones
22:56:01  <andythenorth> 4102 and 4103
22:56:09  <Yexo> ah, thanks :)
22:56:27  <andythenorth> if it works I can worry about graphics later ;)
22:56:41  * andythenorth wonders about making those IDs a define :o
23:00:51  <planetmaker> good night
23:00:58  <Yexo> gn planetmaker
23:02:58  <Terkhen> good night planetmaker
23:04:41  <Brot6> FIRS Industry Replacement Set - Revision 1773:b6357d22a7b0: Add: additional template for randomis... (andythenorth) @ http://dev.openttdcoop.org/projects/firs/repository/revisions/b6357d22a7b0
23:04:41  <Brot6> FIRS Industry Replacement Set - Revision 1774:1d3066c741e7: Change: use different animation rando... (andythenorth) @ http://dev.openttdcoop.org/projects/firs/repository/revisions/1d3066c741e7
23:04:41  <Brot6> FIRS Industry Replacement Set - Revision 1775:0e4da35cec76: Fix: enable animation trigger on cons... (andythenorth) @ http://dev.openttdcoop.org/projects/firs/repository/revisions/0e4da35cec76
23:04:43  <Brot6> FIRS Industry Replacement Set - Revision 1776:c890d34f3e90: Change: improved template for randomi... (andythenorth) @ http://dev.openttdcoop.org/projects/firs/repository/revisions/c890d34f3e90
23:06:27  <Brot6> FIRS Industry Replacement Set - Revision 1777:540218621e89: Fix: enable animation trigger on cons... (andythenorth) @ http://dev.openttdcoop.org/projects/firs/repository/revisions/540218621e89
23:08:44  <Brot6> FIRS Industry Replacement Set - Revision 1778:6254011bce55: Fix: enable animation trigger on cons... (andythenorth) @ http://dev.openttdcoop.org/projects/firs/repository/revisions/6254011bce55
23:13:33  <Brot6> FIRS Industry Replacement Set - Revision 1779:a937ebc34a1e: Feature: Breweries no longer smoke in... (andythenorth) @ http://dev.openttdcoop.org/projects/firs/repository/revisions/a937ebc34a1e
23:13:33  <Brot6> FIRS Industry Replacement Set - Revision 1780:1b7cc881ac5e: Change: Machine Shop smoke randomisat... (andythenorth) @ http://dev.openttdcoop.org/projects/firs/repository/revisions/1b7cc881ac5e
23:14:06  <andythenorth> Yexo: I might slope off to bed
23:14:10  <andythenorth> any questions before I go?
23:14:19  <Yexo> not currently
23:14:34  <andythenorth> k
23:14:42  <andythenorth> send me a diff or something if you win ;)
23:14:48  <Yexo> sure, I will :)
23:15:17  <Brot6> FIRS Industry Replacement Set - Bug #2096 (Closed): Prevent industries smoking in sync (andythenorth) @ http://dev.openttdcoop.org/issues/2096#change-5873
23:17:41  <andythenorth> bye
23:18:31  *** andythenorth has quit IRC

Powered by YARRSTE version: svn-trunk