Back to Home / #openttd / 2016 / 10 / Prev Day | Next Day
#openttd IRC Logs for 2016-10-30

---Logopened Sun Oct 30 00:00:21 2016
00:12-!-welshdragon [] has quit [Ping timeout: 480 seconds]
00:13-!-Webster [] has quit [Server closed connection]
00:14-!-Webster [] has joined #openttd
00:14-!-Webster is "Supybot" on #openttd @#coopetition @#openttdcoop.stable
00:25-!-theholyduck [] has quit [Server closed connection]
00:26-!-theholyduck [sid10277@2604:8300:100:200b:6667:2:0:2825] has joined #openttd
00:26-!-theholyduck is "Martin Frydenlund" on #openttd #openttdcoop
00:42-!-LadyHawk [] has quit [Server closed connection]
00:42-!-LadyHawk [] has joined #openttd
00:42-!-LadyHawk is "..." on #openttdcoop #openttd
00:53-!-Antheus [] has quit [Server closed connection]
00:53-!-Antheus [] has joined #openttd
00:53-!-Antheus is "Antheus" on #/r/openttd #openttd #linux
00:56-!-yorick [] has quit [Server closed connection]
00:56-!-yorick [] has joined #openttd
00:56-!-yorick is "Yorick" on #pentadactyl #awesome #suckless #openttd #limesco #openttdcoop.devzone #/r/openttd
01:21-!-berndj [] has quit [Server closed connection]
01:21-!-berndj [] has joined #openttd
01:21-!-berndj is "Bernd Jendrissek" on #oftc #tor #osm #gcc #geda #openttd #openttdcoop #osm-za
01:43-!-gnu_jj [] has quit [Server closed connection]
01:43-!-gnu_jj [] has joined #openttd
01:43-!-gnu_jj is "jj" on @#sfttech @#openage #openttd
01:53-!-luaduck [] has quit [Server closed connection]
01:53-!-luaduck [] has joined #openttd
01:53-!-luaduck is "Andrew L" on #openttdcoop #openttd #/r/openttd
02:05-!-sla_ro|master [] has joined #openttd
02:05-!-sla_ro|master is "slamaster" on #sla #openttd #love
02:17-!-andythenorth [] has joined #openttd
02:17-!-andythenorth is "Andy" on #openttd
02:18-!-Extrems [] has quit [Server closed connection]
02:18-!-Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has joined #openttd
02:18-!-mode/#openttd [+o Alberth] by ChanServ
02:18-!-Alberth is "purple" on @#openttd
02:18-!-Extrems [] has joined #openttd
02:18-!-Extrems is "" on #gcc #openttd
02:27-!-sim-al2 [] has quit [Ping timeout: 480 seconds]
02:29-!-Sheogorath [] has quit [Server closed connection]
02:29-!-Sheogorath [] has joined #openttd
02:29-!-Sheogorath is "Daedric prince of madness" on #gcc #openttd #openttdcoop #osm-de #tor #tor-de
02:35-!-Compu [~Compu@] has quit [Server closed connection]
02:36-!-Compu [~Compu@] has joined #openttd
02:36-!-Compu is "Compu" on #/r/openttd #openttdcoop #openttdcoop.stable #openttd
02:41-!-Mek [] has quit [Server closed connection]
02:41-!-Mek [] has joined #openttd
02:41-!-Mek is "Marijn Kruisselbrink" on #openttd
03:14-!-plp [] has quit [Server closed connection]
03:14-!-plp [~plp@] has joined #openttd
03:14-!-plp is "plp" on #openttd #tor #virt #romania #qemu
03:16<andythenorth>haz CHIPS
03:17<@Alberth>lo andy
03:19-!-Ttech [] has quit [Server closed connection]
03:20-!-Ttech [] has joined #openttd
03:20-!-Ttech is "Thomas Techinus" on #debian-mentors #archlinux @#botters #observium @#textual @#swift #openttd #oftc #linode-beta #qemu @#transcendence #linode #help #munin #moocows
03:27<andythenorth>such releases
03:28-!-zwamkat [] has quit [Server closed connection]
03:28-!-zwamkat [] has joined #openttd
03:28-!-zwamkat is "Not your avarage Zwamkat" on #openttdcoop #openttd #debian
03:30-!-Wolf01 [] has joined #openttd
03:30-!-Wolf01 is "Wolf01" on #openttd
03:30<andythenorth>lo Wolf01
03:30<Wolf01>WTF o'clock
03:32<Wolf01>I got up in time to feel the last earthquake :|
03:35-!-|JackYF| [] has quit [Quit: KVIrc KVIrc Equilibrium 4.2.0, revision: 420, sources date: 20120701, built on: 2015-12-17 17:01:37 UTC 420]
03:37-!-Arveen [] has joined #openttd
03:37-!-Arveen is "Arveen" on #openttd
03:38*andythenorth is patching nml for tramtypes
03:38<andythenorth>but it’s a huge copy-paste patch of roadtypes
03:39<andythenorth>~100% duplication, except for maybe an ID or two
03:39<Wolf01>Move same code in functions?
03:39<Wolf01>If there are "functions"
03:39<andythenorth>there are
03:39<andythenorth>it’s just a python app
03:39<andythenorth>but it’s slightly magic, becuase it’s a compile
03:39<andythenorth>compiler *
03:40-!-Progman [] has joined #openttd
03:40-!-Progman is "Peter Henschel" on #openttdcoop #openttd
03:40<Wolf01>Better keeping everything separate then, so it's easy to track bugs
03:41<andythenorth>at least copy-paste requires no skill
03:42<andythenorth>and I have a whole extra hour to do it in
03:50<andythenorth>all it has to do is substitute a different feature ID when writing out the grf
03:50<andythenorth>seems to be a lot of duplication to change a single byte
03:51<andythenorth>but making it conditional on [something] might cause failures, dunno :|
03:54<@Alberth>in theory, you can write the optimal code the first time
03:54<andythenorth>theory :)
03:54<@Alberth>in practice, you first figure out how it works and what you must do/change to make it work
03:54<andythenorth>concerned I might get colliding data structures
03:54<andythenorth>the parser might build structures for ‘roadtype’
03:55<andythenorth>and they’d collide with ‘tramtype'
03:55<@Alberth>and then you write it all again a second or third time for good code
03:55<andythenorth>this is tending to convince me I should just copy-paste the existing code :)
03:56<@Alberth>if you don't need to change anything, you might just as easily call the existing code :)
03:56<@Alberth>and make a duplicate when things do need to be changed
03:56<@Alberth>no point in making more mess you have to sort out later than needed
03:57<andythenorth>in this case, I think the mess comes in the other way, from trying to unify classes and functions
03:58<andythenorth>the copy-paste is clean
03:58<andythenorth>but I’m worried that no-one will review it, because it will look like a big patch
03:58<@Alberth>that fear is correct
03:59<@Alberth>lots of duplicate code is not something you want to add to the compiler
04:00<@Alberth>as it makes any future maintenance or extensions a big mess
04:00<andythenorth>I’m unclear atm on the goal
04:00<@Alberth>so it needs refactoring to better code
04:01<@Alberth>as I said, first make it work
04:01<andythenorth>nml has a pretty clear stance on NewGRF features
04:01<andythenorth>it doesn’t try to unify any code across features, except the most basic stuff
04:01<andythenorth>i.e. common language structures
04:01<@Alberth>it's very much newgrf spec driven, I think
04:01<andythenorth>each feature has self-contained code for what it needs
04:02<andythenorth>so extension is safe, because no surprises
04:02<andythenorth>tramtypes and roadtypes are being added as separate features
04:02<andythenorth>but they’re identical
04:02<andythenorth>they’re only being split for internal OpenTTD reasons, not newgrf spec reasons
04:02<@Alberth>nml follows newgrf specs afaik
04:03<@Alberth>ie it generates something that is newgrf compliant, it doesn't care about openttd
04:04<andythenorth>that suggests again to copy-paste everything
04:04<andythenorth>because they’re separate features under the spec
04:05<andythenorth>they just happen to be identical
04:05<@Alberth>but that's by design
04:06<andythenorth>I will see how vehicles do it wrt shared code versus duplicated
04:07-!-Lejving [] has joined #openttd
04:07-!-Lejving is "realname" on #factoriocoop #openttdcoop #/r/openttd #openttd
04:14-!-Tharbakim [] has quit [Server closed connection]
04:15-!-Tharbakim [] has joined #openttd
04:15-!-Tharbakim is "Tharbakim" on #slackware #openttd #lxde #linux #irssi #fish #bitlbee #/r/openttd
04:16<andythenorth>some of the ‘duplication’ would actually be the declaring of properties for the feature
04:17<andythenorth>which are identical - by coincidence, not by design
04:17<andythenorth>vehicles declare properties and such separately
04:17<andythenorth>even where the values are identical
04:27<Wolf01>I think that to avoid duplication you need to deduplicate things which do the exact same thing, doesn't matter if for trains or rvs or road or industry
04:32-!-greeter [] has quit [Server closed connection]
04:32-!-greeter [] has joined #openttd
04:32-!-greeter is "greeter" on #openttdcoop #openttd #oolite #oftc
05:01-!-Stimrol [~Stimrol@] has quit [Server closed connection]
05:01-!-Supercheese [] has quit [Ping timeout: 480 seconds]
05:02-!-Stimrol [~Stimrol@] has joined #openttd
05:02-!-Stimrol is "Stimrol" on #openttd
05:10<andythenorth>Wolf01: there are separate tables for road and tram labels?
05:10<andythenorth>labels / types
05:11<Wolf01>Yes, they are separate
05:11<Wolf01>I think you can define the "ROAD" label even for tram
05:13<Wolf01>I don't know how the function which finds by label will behave
05:14<andythenorth>we’ll find out :P
05:15<andythenorth>I could define ROAD for railtype as well :)
05:15<andythenorth>seems like road and tram get 100% separated for data structures
05:23-!-roidal [] has joined #openttd
05:23-!-roidal is "roland" on #openttd
05:23*andythenorth crosses fingers
05:24<andythenorth>for nml make
05:24<andythenorth>running tests
05:26<Wolf01> andy, next project? XD
05:29<andythenorth>something for V :)
05:31<Eddi|zuHause><Wolf01> It's like suing lego because they started producing your moc <-- that's totally a legitimate thing to do...
05:31-!-Lamp- [] has quit [Server closed connection]
05:31-!-Lamp- [] has joined #openttd
05:31-!-Lamp- is "Unknown" on #powerdns #openttd
05:33<Wolf01>Eddi, ideas website clearly states you give all rights to lego when you post it there, that already happened with the Ghostbuster's HQ and lego just sent a preview set to the original creator because even if they didn't accept the submission they produced the exact same thing
05:34<Wolf01>I don't know how the story is now with pepaquin's Johnny 5, he's selling the instructions on bricklink after it didn't pass the review process
05:34<Wolf01>I think lego could sue him
05:38<@Alberth>brickland project should get a home, so people aren't tempted to again make green-ish ground plates, and never get anywhere
05:39<Eddi|zuHause>Wolf01: there's always some doubt whether clauses like "you lose all rights" are even valid in a single-sided contract like that
05:40<Eddi|zuHause>Wolf01: at least in german law, any such doubt will be interpreted in favour of the person that didn't draft the contract
05:42<Wolf01>Usually here too
05:43<Wolf01> My last attempt.. I wonder if I still have it somewhere
05:43<@Alberth>:o new CHIPZ too!
05:43<Wolf01>Yes, I attached the ldr file to the topic
05:44<andythenorth>Alberth: there was a queue of stuff to do :)
05:44<@Alberth>great! now to find time to play with the new gadgets.... :)
05:46<@Alberth>in particular as it's such nice weather outside :)
05:48<andythenorth>not here :P
05:49<andythenorth>Wolf01: presumably NRT fork doesn’t yet read tramtypes on feature 0x13?
05:49<andythenorth>otoh, my grf isn’t crashing the game
05:49<Wolf01>It should
05:49<Wolf01>Read, not crash
05:50<andythenorth>grf might be borked
05:50*andythenorth will check
05:51-!-ToBeFree [] has quit [Server closed connection]
05:51-!-ToBeFree [] has joined #openttd
05:51-!-ToBeFree is "Tobias "ToBeFree" Frei" on #https-everywhere #linux @#freiwuppertal #oolite #oolite-dev #oolite-ger #openttd #tor #debian
05:52<andythenorth>grf _looks_ ok
05:52<andythenorth>bytecode is always a bit hard to check
05:58-!-frosch123 [] has joined #openttd
05:58-!-frosch123 is "frosch" on #openttdcoop.devzone #openttd
05:58-!-Keridos [~Keridos@2a00:5ba0:8000:64:2e0:4cff:fe23:44af] has quit [Server closed connection]
05:59-!-Keridos [~Keridos@2a00:5ba0:8000:64:2e0:4cff:fe23:44af] has joined #openttd
05:59-!-Keridos is "Nico" on #openttd #virt #awesome #qemu #debian-next
06:01<andythenorth>Wolf01: where do I find the code for loading newgrf roadtypes?
06:01<andythenorth>I tried searching, but I get a lot of results for ‘roadtype’ :P
06:01<frosch123>hoi btw :)
06:03<andythenorth>I am trying to see where it knows that roadtype is feature 0x12
06:03<Wolf01>What the actual fuck.... Argument const RoadTypeInfo * is incompatible with parameter RoadTypeInfo *
06:03<Wolf01>Fuck constants and pointers
06:04<andythenorth>frosch123: tramtype is now feature 0x13 :P
06:04<andythenorth>that was my understanding of what to do last time it was discussed
06:09<Wolf01>andythenorth, the grf works
06:09<Wolf01>It replaces the base tram
06:09<andythenorth>ha ha
06:09<andythenorth>of course :)
06:09<andythenorth>I have no fricking trams loaded in this test game :P
06:09*andythenorth forgot about that
06:10<andythenorth>ok I’ll add a second type to the example now
06:11<Wolf01>Let me commit some changes for sprite handling, maybe you can change sprites too
06:16<andythenorth>trying to get second type to show
06:17<andythenorth>can only get one tramtype currently
06:18<Wolf01>I copy/pasted the roadtype, it should work the same way
06:20<andythenorth>multiple roads I can add
06:20<andythenorth>is there still code checking for vehicles with tram type?
06:20<andythenorth>used to be :P
06:20<andythenorth>I’ll post a grf in a minute
06:20<Wolf01>But it enables the base type not the sub type, so every sub type should be enabled
06:22-!-welshdragon [] has joined #openttd
06:22-!-welshdragon is "Guest" on #tycoonexiles #tycoon #simsig #openttd
06:25<andythenorth>default road, two extra roads, default tram, two extra trams
06:25<andythenorth>I only see one tram, the last defined
06:26<Wolf01>I'll check
06:31<Wolf01>It seem that everything uses roadtype reserve info instead of tramtype reserve info
06:31<Wolf01>Roadtypes have grf spec feature 18, Tramtypes have 19
06:32-!-Dakkus [] has quit [Server closed connection]
06:32-!-Dakkus [] has joined #openttd
06:32-!-Dakkus is "Tuukka Ryyppö" on #openttd
06:32<andythenorth>must be an offset from newgrf spec, it’s 0x12 and 0x13 there :)
06:33<Wolf01>Oh, wait, I could have missed a check
06:33<Wolf01>Yes, was that
06:37<Wolf01>I think even spritegroups might work
06:38-!-gelignite [] has joined #openttd
06:38-!-gelignite is "gelignite" on #openttd #openttdcoop.devzone
06:38<andythenorth>Wolf01: awesome, that works :D
06:39<Wolf01>You can define 16 roadbits as an array (I don't know if it should be split up to 16 variables as rail bits are), slope offset, oneway base, excavation sprites
06:39<andythenorth>well maybe graphics next?
06:39<andythenorth>or vehicle compatibility? o-O
06:39<Wolf01>I would go with graphics
06:40<Wolf01>Vehicles are a different beast, try to keep the thing contained :P
06:41<Wolf01>Once we'll have a full working roadtytpes and a full patch against trunk, we'll revise it, clean and submit, then vehicles
06:41<andythenorth>I _think_ they’re probaly quite easy, but yeah
06:41<andythenorth>so currently the grf is encoding some sprites, but not sure what
06:41<andythenorth>I’ll dig
06:41-!-LongyanG [] has quit [Server closed connection]
06:41-!-LongyanG [] has joined #openttd
06:41-!-LongyanG is "long yang" on #ceph #tor #debian
06:42<Wolf01>Also it was requested to add a "cities don't build houses along this roadtype"-flag
06:42<andythenorth>grf has only UI sprites it seems
06:42<Wolf01>Which don't seem to work :|
06:43-!-Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has left #openttd []
06:45<Wolf01>I think we'll need to start to look for serious help here, because I'm reaching my limit too
06:46<andythenorth>maybe it’s quak-shaped
06:47<andythenorth>ok the test grf does encode some rail sprites (for legacy reasons, it’s copied from a railtype grf)
06:49<andythenorth>Wolf01: road_rti->base_sprites?
06:49<andythenorth>there’s some support for sprites already?
06:50<Wolf01><Wolf01> You can define 16 roadbits as an array (I don't know if it should be split up to 16 variables as rail bits are), slope offset, oneway base, excavation sprites <-
06:51<Wolf01>I think I'll remove slope offset as it should only be used to load base sprites in orig_roadtypes
06:51<Wolf01>And add 4 slope variables
06:52<frosch123>andythenorth: Wolf01 18=0x12, 19=0x13
06:52<andythenorth>oops :)
06:52<Wolf01>Yes, I know, I'm only lazy to do the conversion as VS tells me the decimal value
06:54<Wolf01>I was only surprised to find trams in the road code (0x12) while they should have been in the tram code
06:58<andythenorth>Wolf01: so what’s the goal?
06:58<andythenorth>get some sprites on the screen?
06:59<Wolf01>Code and spec might change a lot with this goal
06:59-!-tokai [] has joined #openttd
06:59-!-mode/#openttd [+v tokai] by ChanServ
06:59-!-tokai is "Christian Rosentreter" on +#openttd
07:04<Wolf01>Do you know what is missing on the settings? The real name of the setting...
07:04-!-tycoondemon [] has quit [Server closed connection]
07:04<Wolf01>Now I have to look up what to change with rcon
07:04-!-tycoondemon [] has joined #openttd
07:04-!-tycoondemon is "..." on @#RAILHYPE0.15FFF @#EXACTLYMOTHERFUCKER #openttdcoop.stable #openttdcoop #openttd
07:04<frosch123>yay, i managed to update git checkout
07:04<frosch123>million of warnings :p
07:05<Wolf01>Also why tab suggest city names in chat?
07:06-!-tokai|noir [] has quit [Ping timeout: 480 seconds]
07:06<andythenorth>it’s useful
07:06<andythenorth>although would be better if clickable :P
07:07<Wolf01> people, I would like to introduce you my friend
07:07<andythenorth>is it Sariel’s hamster?
07:07*andythenorth looks
07:08<Wolf01>He sent me a phone photo, because taking screenshots is too mainstream
07:09<frosch123>my customers always do that
07:10<frosch123>some also use the regular print function of the application and then scan the paper result to email
07:10<andythenorth>do they fax it?
07:10*andythenorth should draw some roads or something
07:10<frosch123>no, just modern copy machines being able to send emails
07:11<andythenorth>must be lots of GPL road sets
07:11-!-welshdragon [] has quit [Ping timeout: 480 seconds]
07:11<frosch123>at least they add handwriting notes to the latter to point out the issue
07:11<Wolf01>How do I change cargodist with rcon?
07:11<frosch123>it's better than an uncommented screenshot :)
07:12<Wolf01>andythenorth, start by using *cough*toyland*burp* sprites
07:13<Wolf01>*prot* also
07:16<Wolf01>Oh, I finally found the setting
07:18-!-czaks [] has quit [Server closed connection]
07:18-!-czaks [] has joined #openttd
07:18-!-czaks is "Unknown" on #openttd
07:23<frosch123> <- fix some warnings
07:23<frosch123>let's see whether it actually starts :p
07:29-!-wCPO [~kristian@] has joined #openttd
07:29-!-wCPO is "Kristian Klausen" on #debian-live #debian #debian-next #debian-lxqt #debian-mentors #openttd
07:30-!-JacobD88 [] has joined #openttd
07:30-!-JacobD88 is "JacobD88" on #openttd.notice #openttd
07:31<frosch123>i have 3 raodtypes in the menu
07:31<Wolf01>Add a tram grf
07:32<frosch123>what kind of sprites does the grf add for them?
07:32<andythenorth>it’s a copy of the railtype sprites in nml examples
07:32<andythenorth>obviously junk for a real grf, but anything will do to start with :P
07:33<andythenorth>and others
07:34<Wolf01>Ok, we should manage to have 16 sprites on the first line, and load them into the array
07:34<andythenorth>but the interpretation of spec within nml might be inappropriate currently, as it’s just straight copy of railtypes
07:34<andythenorth>dunno yet
07:38<frosch123> <- is this the target drawing order?
07:39<andythenorth>frosch123: yes
07:40<andythenorth>frosch123: are walkways in the drawing order list?
07:40<frosch123>at the bottom, via baseset
07:48-!-dpk [] has quit [Server closed connection]
07:48-!-[dpk] [] has joined #openttd
07:48-!-[dpk] is "David Preston Kendal" on #openttdcoop #openttd
07:58-!-JacobD88 [] has quit [Quit: JacobD88]
08:02-!-JacobD88 [] has joined #openttd
08:02-!-JacobD88 is "JacobD88" on #openttd.notice #openttd
08:04-!-asie [] has quit [Server closed connection]
08:04-!-asie [] has joined #openttd
08:04-!-asie is "asie" on #openttd
08:05-!-welshdragon [] has joined #openttd
08:05-!-welshdragon is "Guest" on #tycoonexiles #tycoon #simsig #openttd
08:08<frosch123>@calc 0x546 + 15
08:08<@DorpsGek>frosch123: 1365
08:08<frosch123>@calc 0x546 + 15 - 19
08:08<@DorpsGek>frosch123: 1346
08:09<Wolf01>Eddi already did the counts, I'll search it
08:11<Eddi|zuHause>that one probably:
08:12<frosch123>@calc 1343 - 1332
08:12<@DorpsGek>frosch123: 11
08:13<frosch123>hmm, so do we want to keep the hillarious ordering of the baseset
08:13<frosch123>or change it to something intuitive?
08:14<Eddi|zuHause>what would that solve?
08:14<frosch123>the rail ones is just as bonkers
08:14<Wolf01>Let's do the intuitive way, with a converter for the hardcoded ones
08:14<frosch123>so, i guess keep the baseset ordering
08:29<Eddi|zuHause>i think keeping the order makes it easier for a "dumb" person to just copy the baseset and overdraw it
08:29<Eddi|zuHause>being consistent might be more valuable than an intrinsic logic behind it
08:31<Eddi|zuHause>also, it's "hilarious", has nothing to do with "hillary" :p
08:34<frosch123>it compiles, but i have no custom graphics
08:35<Eddi|zuHause>there are about 5 basesets you could scramble together
08:38<frosch123>andythenorth: does the grf only provide bridge graphics?
08:38<frosch123>or it the loading borked?
08:41<frosch123>looks like the loading is borked
08:46-!-sim-al2 [] has joined #openttd
08:46-!-sim-al2 is "sim-al2" on #openttd @#/r/openttd
08:47<andythenorth>frosch123: FWIW
08:49-!-Fuco [] has quit [Server closed connection]
08:49-!-Fuco_ [] has joined #openttd
08:49-!-Fuco_ is "O_o" on #openttdcoop #openttd
08:49-!-efess [] has joined #openttd
08:49-!-efess is "afsd" on #openttdcoop #openttd @#/r/openttd
08:50<frosch123> <- obvious success :p
08:53-!-Eddi|zuHause [] has quit [Server closed connection]
08:53<andythenorth>ha ha
08:54<andythenorth>nearly done
08:54-!-Eddi|zuHause [] has joined #openttd
08:54-!-Eddi|zuHause is "Johannes E. Krause" on #openttd
08:54<frosch123>do i need to register to github to transmit the stuff to you?
08:55<Wolf01>Mmmh, my friend is still able to run trains without brake wagon
08:56<frosch123> <- the other two commits i made
09:00<andythenorth>frosch123: one of us can paste them in, or you can fork the repo on github and make pull requests...
09:00<andythenorth>Wolf01: do I have commit rights on your repo? o_O
09:00<Wolf01>No, I don't even know how it works
09:01<Wolf01>I would use yours as hub
09:06*andythenorth has to do chores
09:06<andythenorth>need a pumpkin
09:07<andythenorth>Wolf01: could you apply the patches from frosch123? o_O
09:08<Wolf01>I'll try
09:09<frosch123>"What are you interested in?" <- does github ban me, if i enter "mercurial"?
09:09<asie>try entering "subversion"
09:09<andythenorth>ha ha
09:09<andythenorth>github is a bit weird
09:10<andythenorth>and the fork->pull request workflow is weird for a small group
09:10<andythenorth>but it’s free and convenient :P
09:14<andythenorth>frosch123: got a username? o_O
09:14<frosch123>same as here
09:14<frosch123>without the number it was taken
09:14<frosch123>as usual :)
09:15<andythenorth>I just invited you to the NotRoadTypes repo
09:15<Wolf01>Always happen with animals :P
09:17<andythenorth>might need a new branch to pull Wolf’s current branch in
09:17<andythenorth>can’t remember
09:17<andythenorth>kids are fighting :P
09:17*andythenorth bbl
09:19-!-markjones [] has joined #openttd
09:19-!-markjones is "Guest" on #tycoonexiles #tycoon #simsig #openttd
09:20<Eddi|zuHause>in my experience, when kids are fighting, the older one wins...
09:20<Eddi|zuHause>nothing you can do about it
09:21<frosch123>were you the younger one?
09:21<Eddi|zuHause>some of the time...
09:23-!-welshdragon [] has quit [Ping timeout: 480 seconds]
09:28-!-Gja [] has joined #openttd
09:28-!-Gja is "Martin" on #bcache #openttd
09:37-!-argoneus [] has quit [Server closed connection]
09:37-!-argoneus [] has joined #openttd
09:37-!-argoneus is "Tomas" on #/r/openttd #openttdcoop #openttd
09:39-!-Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has joined #openttd
09:39-!-mode/#openttd [+o Alberth] by ChanServ
09:39-!-Alberth is "purple" on @#openttd
09:41-!-HerzogDeXtEr [] has joined #openttd
09:41-!-HerzogDeXtEr is "purple" on #openttd
09:44-!-JacobD88 [] has quit [Quit: JacobD88]
09:47-!-HerzogDeXtEr1 [] has quit [Ping timeout: 480 seconds]
09:49<frosch123>what is next?
09:50<frosch123>some grf with actual graphics, so you can tell what is going on?
09:50<frosch123>purr-style red/green/blue roads and trams should be possible
09:54<Wolf01>I was able to patch my working copy, but I should pull from your repo instead
09:54-!-JacobD88 [] has joined #openttd
09:54-!-JacobD88 is "JacobD88" on #openttd.notice #openttd
09:55<@Alberth>:o it's running?
09:55<Wolf01><frosch123> <- obvious success :p
09:56<@Alberth>:o congratulations to you and andy
09:56<Wolf01>And frosch123
09:56<@Alberth>and frosch :)
09:59<Ethereal_Whisper>Wolf01, I made a mistake again and have almost 1000 trains what do I do
09:59<Wolf01>Start from scratch? :O
10:00-!-JacobD88 [] has quit [Quit: JacobD88]
10:04-!-markjones [] has quit [Ping timeout: 480 seconds]
10:05-!-sla_ro|master [] has quit []
10:08-!-DDR [] has quit [Remote host closed the connection]
10:08<@Alberth>send all to the depot?
10:09<Wolf01>Load in scenario editor and remove the companies :D
10:13-!-OsteHovel [] has quit [Server closed connection]
10:14-!-OsteHovel [] has joined #openttd
10:14-!-OsteHovel is "Hovel on the Ost" on #openttd
10:22-!-welshdragon [] has joined #openttd
10:22-!-welshdragon is "Guest" on #tycoonexiles #tycoon #simsig #openttd
10:24-!-sim-al2 [] has quit [Ping timeout: 480 seconds]
10:34-!-Cursarion [] has quit [Server closed connection]
10:34-!-Cursarion [] has joined #openttd
10:34-!-Cursarion is "R.K." on #openttd
10:54-!-Myhorta [] has joined #openttd
10:54-!-Myhorta is "realname" on #/r/openttd #openttd
11:12<Wolf01> :o
11:17-!-LadyHawk [] has quit []
11:21*andythenorth back
11:23*andythenorth branch headache
11:23<andythenorth>so we’re keeping the UI branch separate, yes?
11:24<Wolf01>We could merge it if you want
11:26<andythenorth>I am going to tidy up branches
11:28-!-LadyHawk [] has joined #openttd
11:28-!-LadyHawk is "..." on #openttdcoop #openttd
11:29<andythenorth>Wolf01: we call this branch ‘newgrf’?
11:29<andythenorth>or something else?
11:30<Wolf01>Full patch will be in master
11:31<andythenorth>in my repo, ‘dev’ contains ‘gui’ :|
11:31<andythenorth>for reasons
11:32<andythenorth>I could revert it, but reverting merges can have surprising results :)
11:40-!-welshdragon [] has quit [Ping timeout: 480 seconds]
11:44<andythenorth>I made a road-and-tram-types branch
11:44<andythenorth>and merged your dev branch in Wolf01
11:44*andythenorth lives in a world where branch names match ticket numbers
11:45<andythenorth>don’t usually have to think about the name :D
11:48<Wolf01>I would have merged in my master dev+gui, and then you could pull my master to one of your branches
11:48<andythenorth>so frosch123 have you got patches? o_O
11:49<frosch123>i didn't know where to push :)
11:49<Wolf01>road-and-tram-types branch <- seem a god idea
11:50<andythenorth>Wolf01: pull that branch into your fork?
11:50<andythenorth>the fork stuff is overhead in github :|
11:51<Wolf01>I think I made a mistake with the first fork, I forked the entire repo instead of master
11:51<andythenorth>I think that’s how it works
11:51<andythenorth>but tbh, you could just work in my repo, but in a branch
11:52<Wolf01>So we now have different things in same branches and I don't even know how to push/pull :D
11:52<andythenorth>for small number of people, one repo, and many branches works well
11:52<Wolf01>Also we should sync with trunk
11:53<andythenorth>I’ll figure that out
11:56-!-Arveen [] has quit [Quit: Nettalk6 -]
11:58<andythenorth>Wolf01: looks like trunk conflicts with the NRT gui branch
11:58<andythenorth>saveload code changed
11:58<Wolf01>Yes, I know
11:58<andythenorth>can probably fix that later tbh
11:59<Wolf01>I'm trying to figure out the merge
11:59<andythenorth>frosch123: are all 3 patches one commit, or separate?
11:59<Wolf01>base (yours) -> head (mine)?
11:59<frosch123>andythenorth: separate :)
12:00<andythenorth>are they applied in the order you pasted them at 3.49?
12:00<frosch123>first one fixes warnings
12:00<frosch123>the rest have messages in them
12:00<frosch123>andythenorth: yes, but i guess they don't conflict
12:01-!-welshdragon [] has joined #openttd
12:01-!-welshdragon is "Guest" on #tycoonexiles #tycoon #simsig #openttd
12:03<Wolf01>Bah, why is github the reverse of how a decent VCS should work?
12:03<Wolf01>Ignore my pull request
12:04<andythenorth>Wolf01: I don’t really understand github :)
12:04<andythenorth>or any git gui tools
12:04<andythenorth>I just shell git
12:04<Wolf01>Neither do I...
12:04-!-Myhorta [] has quit [Quit: Leaving]
12:04<andythenorth>just clone the NRT main repo and work in that, our lives will be much simpler :)
12:04-!-funnel [] has quit [Server closed connection]
12:04-!-funnel [] has joined #openttd
12:04-!-funnel is "funnel" on #xen #vserver #virt #uml #tor #suckless #smuxi #sd #qemu #pwmt #powerdns #perl #pentadactyl #ovirt #openttd #openbox #oftc #munin #moocows #monkeysphere #mm #mci #linuxfs #linode #kvm #kernelnewbies #igloo #gcc #gc-linux #freedombox @#exvm #ext4 #dzen #debian #debian-mentors #debian-it #debian-ipv6 #debian-hurd #debian-glibc #debian-fr #debian-boot #debian-arm #davical @#cursive #ck #ceph #bitlbee #awesome #apparmor #antlr #acal
12:05-!-Myhorta [] has joined #openttd
12:05-!-Myhorta is "realname" on #/r/openttd #openttd
12:05<Wolf01>Nice, I can't merge your changes int mine, it won't let me do that
12:05<Wolf01>Only mine into yours
12:08-!-sla_ro|master [] has joined #openttd
12:08-!-sla_ro|master is "slamaster" on #sla #openttd #love
12:08<Wolf01>Wolfolo wants to merge 45 commits into Wolfolo:master from andythenorth:master ... then ... Add more commits by pushing to the master branch on andythenorth/NotRoadTypes.
12:08<Wolf01>What am I doing?
12:09<andythenorth>that looks right
12:09<andythenorth>accept that PR
12:09<andythenorth>I have never done it this way before, but let’s see
12:09<Wolf01>But I'm pushing into mine, why it says yours? Because it's a fork?
12:10<andythenorth>it’s just explaining how to get more commits in the PR
12:10<andythenorth>if I pushed more to master, this pull request might get bigger maybe
12:10<andythenorth>this won’t modify the andythenorth repo
12:10<andythenorth>if it does, I’ll go buy a hat and eat it
12:10<Wolf01>Github is a total mess
12:11<andythenorth>even if tried (which would be weird) it can’t modify andythenorth repo, becuase there’s no diff
12:11<andythenorth>all the commits in your master are already in mine
12:11<andythenorth>git isn’t magic, just fiddly sometimes :)
12:13<andythenorth>frosch123: I like the construction sprites for road :D
12:23<Wolf01>How do I select only the last 3 revisions to merge?
12:23*andythenorth looks
12:23<andythenorth>which fork:branch on each side?
12:23<andythenorth>usually that would be cherry-picked using the cherry-pick tool
12:24<Wolf01>Your road+tram to my master
12:24*andythenorth looks
12:25<Wolf01>If I do it as it tells, I'll revert trunk sync
12:25<Wolf01>Maybe I should have done it later
12:25<andythenorth>nah it will be fine, just needs a bit of care
12:26<andythenorth>problem is, your dev branch is in road-and-tram-types
12:27<andythenorth>so that will get merged to your master if we just merge last 5 commits
12:27<Wolf01>Ok, I'll do it with SVN
12:28<andythenorth>I could do it if I had access to your repo
12:28<Wolf01>Oh... SVN relies on rev number...
12:28<andythenorth>but I can’t push back to that
12:29<Wolf01>I think I sent you an invite
12:30<Wolf01>I only need the frosch commits
12:31*andythenorth cherry-picking
12:32<andythenorth>Wolf01: these into your master branch, yes?
12:32<Wolf01>I'll discard dev and guy once I'll merge the gui one
12:33<Wolf01>I'm hungry
12:34<andythenorth>Wolf01: pushed one of them
12:35<andythenorth>Wolf01: all there now
12:37<Wolf01>Github doesn't work well with svn... it timeouts everytime when I try to get the commits history of my branches to do a merge :|
12:37<andythenorth>I just did it with shell
12:37<andythenorth>git hashes are unique across repos, afaik
12:38<andythenorth>so you can cherry-pick individual commits in from another remote source
12:38-!-welshdragon [] has quit [Ping timeout: 480 seconds]
12:38<Wolf01>Yes, that's why git works between repos and svn doesn't
12:38<Wolf01>But with svn you just do a patch
12:39<andythenorth>before I learnt to cherry-pick, I was doing patch > foo.diff
12:41-!-welshdragon [] has joined #openttd
12:41-!-welshdragon is "Guest" on #tycoonexiles #tycoon #simsig #openttd
12:43*Wolf01 is still waiting for the revision history...
12:45<Wolf01>Tell it to tortoise svn :D
12:46-!-Supercheese [] has joined #openttd
12:46-!-Supercheese is "Supercheese" on #openttd #openttdcoop.devzone
12:46<andythenorth>are you using
12:47<Wolf01>No, tortoise svn, I don't even have git installed
12:47<Wolf01>I must use bash for git
12:47<Wolf01>And cli only
12:49<Wolf01>... still waiting...
12:55<Wolf01>Oh, at least not it managed to close the window
12:55*andythenorth must ISO 270001 for a bit
12:55<andythenorth>audit tomorrow
12:56<@Alberth>good luck
13:04<Wolf01>9MB transferred of what... the diff was 120kb
13:07<Wolf01>Bah, going out to dine, I'll leave it running... yes, it's still merging 1 revision
13:09<Wolf01>24MB now
13:10<andythenorth>I wonder what it’s doing
13:10<Wolf01>I'm wondering it too
13:10<andythenorth>I added andythenorth repo as a git remote so I could cherrypick from it
13:10<andythenorth>but git doesn’t need to copy all of the data for that, as it has it already
13:10<Wolf01>And it's a dry-run, so I'll have to run it again
13:10<andythenorth>would make no sense :P
13:11<Wolf01>It's downloading the entire source?
13:11<Wolf01>For a diff?
13:11<andythenorth>seems odd
13:11<Wolf01>Btw, got to go, see you later
13:14<frosch123>46.09 MiB was the whole clone for me :p
13:18-!-ccfreak2k [~ccfreak2k@] has quit [Server closed connection]
13:18-!-ccfreak2k [] has joined #openttd
13:18-!-ccfreak2k is "Got ZNC?" on #slackware #moocows #openttd
13:22<andythenorth>frosch123: if I get this ISO stuff done, I’ll draw some rainbow road style sprites
13:22<andythenorth>then we can have mario-kart trams
13:24-!-m1cr0man [] has quit [Server closed connection]
13:24-!-m1cr0man [] has joined #openttd
13:24-!-m1cr0man is "Lucas" on #openttd
13:26-!-heffer_ [] has quit [Server closed connection]
13:26-!-heffer [] has joined #openttd
13:26-!-heffer is "Felix Kaechele" on #openttd
13:29<@DorpsGek>Commit by frosch :: r27670 /trunk/src (13 files in 7 dirs) (2016-10-30 18:29:33 +0100 )
13:29<@DorpsGek>-Add: [FS#6471] Assign descriptive names to (GNU pthread) threads. (JGR)
13:31<@Alberth>rainbow road
13:37<@DorpsGek>Commit by frosch :: r27671 /trunk/src (toolbar_gui.cpp widgets/toolbar_widget.h) (2016-10-30 18:36:57 +0100 )
13:37<@DorpsGek>-Codechange: Replace magic numbers in the toolbar with the already existing WID_TN_xxx. (Wolf01)
14:04<@DorpsGek>Commit by frosch :: r27672 trunk/src/vehicle_gui.cpp (2016-10-30 19:04:20 +0100 )
14:04<@DorpsGek>-Doc [FS#6489]: Fix comment. (Yho)
14:17-!-ABCRic [~ABCRic@] has quit [Server closed connection]
14:17-!-ABCRic [~ABCRic@] has joined #openttd
14:17-!-ABCRic is "ABCRic" on #openttd
14:23<@DorpsGek>Commit by michi_cc :: r27673 /trunk/src (7 files in 5 dirs) (2016-10-30 19:22:55 +0100 )
14:23<@DorpsGek>-Add: [Win32] Thread names for windows debuggers.
14:29-!-Snail [] has joined #openttd
14:29-!-Snail is "Jacopo Coletto" on #openttd
14:30<andythenorth>Snail: o/
14:30<Snail>hi andythenorth
14:30<andythenorth>I shouldn’t get Sierra then
14:30<Snail>well, you can still use the precompiled version
14:30<Snail>and I still code my own set (through “make”)
14:31<Snail>and frankly, the new OS’s graphics totally sucks
14:32<Snail>it’s like a dumbed-down version of Mavericks… all the icons and windows are so simplistic, not to say plain ugly
14:32<andythenorth>it changed?
14:32<Snail>well, it changed a lot from Mavericks
14:32<Snail>don’t know about the newer OS
14:32<andythenorth>ah, I got Yosemite a while ago
14:32<andythenorth>you get used to it
14:32<goodger>it got turned into a ten-minute photoshop mockup of itself
14:32<andythenorth>got a retina screen Snail ?
14:38<Snail>yes I do… I have a 2013 macbook pro
14:38<Snail>I think you can get used to it, but I still think Mavericks was just the best with its nice 3d effects
14:40-!-Milek7 [] has quit [Server closed connection]
14:40-!-Milek7 [] has joined #openttd
14:40-!-Milek7 is "milek7" on #openttd
14:40<andythenorth>I got used to it quick :)
14:42-!-APTX [] has quit [Server closed connection]
14:42-!-APTX [] has joined #openttd
14:42-!-APTX is "APTX" on #kernelnewbies #openttd
14:47-!-welshdragon [] has quit [Ping timeout: 480 seconds]
15:01-!-DDR [] has joined #openttd
15:01-!-DDR is "David" on #openttd
15:03-!-DDR [] has quit [Remote host closed the connection]
15:04-!-DDR [] has joined #openttd
15:04-!-DDR is "David" on #openttd
15:25<andythenorth>Snail: you have up-to-date XCode, right?
15:25<Snail>yep, I updated it right after installing the new OS
15:25<andythenorth>what does /usr/bin/clang --version
15:27<Snail>Apple LLVM version 8.0.0 (clang-800.0.38)
15:27<Snail>Target: x86_64-apple-darwin16.0.0
15:27<Snail>Thread model: posix
15:27<Snail>InstalledDir: /Applications/
15:27<@DorpsGek>Commit by michi_cc :: r27674 trunk/src/os/windows/win32.h (2016-10-30 20:27:07 +0100 )
15:27<@DorpsGek>-Fix (r27673): Mingw...
15:29<andythenorth>so it’s there
15:29<Snail>yep… no idea why it’s giving me the error message
15:30<andythenorth>Snail: FWIW, CC=/usr/bin/clang ./configure works for me on Yosemite :|
15:31<Snail>If I do “cd /usr/bin/clang"
15:31<Snail>it gives me “not a directory"
15:31<andythenorth>it’s probably a binary
15:31<Snail>but if I do “ls”, it does list “clang” ...
15:31<Snail>I mean it’s in the list
15:31<Snail>no idea why I can’t go there
15:33<@Alberth>ls -l /usr/bin/clang
15:33<@Alberth>does the ourtput start with a "-" or a "d" ?
15:33<@Alberth>for comparison: ls -l /usr
15:34<@Alberth>"-" means it's a normal file
15:36-!-Defaultti [] has quit [Server closed connection]
15:36-!-Defaultti is "Defaultti" on #debian
15:36-!-Defaultti [] has joined #openttd
15:37<Snail>-rwxr-xr-x 1 root wheel 18240 Sep 13 20:57 /usr/bin/clang
15:37<Snail>Alberth: that’s the output of “ls -l /usr/bin/clang”
15:38<@Alberth>it starts with a - so it's a file
15:38<@Alberth>why do you want to cd into a file?
15:38<Snail>ah ok, I thought it was a directory
15:39<Snail>so if I go to /usr/bin and I type “clang ./configure”, this the output I get:
15:39<Snail>clang: error: no such file or directory: './configure'
15:39<Snail>clang: error: no input files
15:40<@Alberth>you can use ls -F then you get / at the end of a directory name, and * at the end of an executable program
15:40<@Alberth>the "CC=" is essential
15:41<@Alberth>FOO=bar program means "set environment var FOO to "bar", and run "program"
15:41<@Alberth>no spaces in FOO=bar or the shell breaks it into pieces
15:42<@Alberth>and yeah, I would hope you don't have the configure file in /usr/bin :)
15:42<Snail>ok, so I went into /usr/bin and tried "CC=clang ./configure"
15:42<Snail>well, what made me perplex, is that “CC=/usr/bin/clang ./configure” works for Andy on Yosemite
15:42<Snail>but not for me on Sierra
15:43<@Alberth>depends on directory
15:43<@Alberth>"./foo" means "in the current directory find 'foo', and run it"
15:45<@Alberth>it's a protection that you don't have "." in your path, so you don't run arbitrary programs by accident. Instead you have to explicitly say you want to run the thing in your current directory by prefixing it with "./"
15:45<@Alberth>or "./thing" rather :)
15:46<@Alberth>does plain ./configure work? (if you are in the directory with the configure file)
15:47<+michi_cc>Snail: I suspect you don't have your source checkout in /usr/bin. You need to be in the source directory and reference to clang and not the other way around.
15:47<Snail>Alberth: yes, if I go to the “trunk” directory of a freshly-downloaded openttd (from SVN), ./configure works
15:48<@Alberth>ok, so the file itself is fine
15:49<@Alberth>the CC=<stuff> doesn't work apparently?
15:49<@Alberth>what's your shell?
15:49<@Alberth>echo $SHELL
15:50<@Alberth>no doubt something insane :p
15:50<Snail>Alberth: "/bin/tcsh"
15:50<@Alberth>indeed :p
15:51<@Alberth>maybe it doesn't understand the CC=<stuff> prefix
15:51<Snail>is it strange? but I guess it’s the one that shipped with the OS
15:51<Snail>I never actively changed it
15:51<@Alberth>try CC=/usr/bin/clang
15:51<@Alberth>you don't actually trust Apple to do sane things do you?
15:51<Snail>“CC=/usr/bin/clang: Command not found.”
15:51<Snail>Alberth: you might have a point :)
15:52<@Alberth>setenv CC=/usr/bin/clang
15:52<@Alberth>thanks michi
15:52<Snail>setenv: Variable name must contain alphanumeric characters.
15:52-!-sim-al2 [] has joined #openttd
15:52-!-sim-al2 is "sim-al2" on #openttd @#/r/openttd
15:52<+michi_cc>no =
15:53<Snail>oh, so “setenv CC/usr/bin/clang"?
15:53<Snail>or “setenv CC /usr/bin/clang"?
15:53<@Alberth>(setenv CC /usr/bin/clang ; ./configure )
15:54<@Alberth>maybe add a space after (
15:54<+michi_cc>stackoverflow suggest the latter, or alternative env CC=/usr/bin/clang ./configure
15:55<Snail>ok it’s doing something
15:55<Snail>it gave me a long output
15:56<@Alberth>yep, all the stuff it found and did not find
15:56<Snail>it appears there are no errors. Should I attempt to “make” OTTD now?
15:56<@Alberth>never hurts :p
15:56<Snail>yeah, worst case, it fails, right
15:56-!-welshdragon [] has joined #openttd
15:56-!-welshdragon is "Guest" on #tycoonexiles #tycoon #simsig #openttd
15:56<Snail>ok let me give it a try
15:56<@Alberth>although you may be missing some crucial libraries to get it really working
15:57<@Alberth>you'll have to read the output more carefully for that
15:58<@Alberth>where "really working" means you have screen output, can load arbitrary save games and save them, and have sound
15:59<Snail>I’m getting many warnings, for example: “/roba/ottd2016/trunk/src/fontdetection.cpp:504:21: warning: 'ATSFontIteratorNext' is deprecated: first
15:59<Snail> deprecated in macOS 10.8 [-Wdeprecated-declarations]”
16:00<Snail>there ya go, error
16:00<Snail> AUGraphNodeInfo(graph, node, &desc, &unit);
16:00<Snail> ^~~~~~~~~~~~~~~
16:00<Snail>sorry here is the full text
16:00<Snail> AUGraphNodeInfo(graph, node, &desc, &unit);
16:00<Snail> ^~~~~~~~~~~~~~~
16:01<Snail>ottd2016/trunk/src/music/cocoa_m.cpp:76:4: error: no matching function for call to 'AUGraphNodeInfo'
16:01<Snail> AUGraphNodeInfo(graph, node, &desc, &unit);
16:01<Snail> ^~~~~~~~~~~~~~~
16:01<Snail>Applications/ note:
16:01<Snail> candidate function not viable: no known conversion from 'ComponentDescription *' to
16:01<Snail> 'AudioComponentDescription * _Nullable' (aka 'AudioComponentDescription *') for 3rd argument
16:01<Snail>AUGraphNodeInfo( AUGraph inGraph,
16:01-!-frosch123 [] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
16:01<Snail>ottd2016/trunk/src/music/cocoa_m.cpp:162:7: error: no matching function for call to
16:01<Snail> 'MusicSequenceFileLoad'
16:01<Snail> if (MusicSequenceFileLoad(_sequence, url, 0, 0) != noErr) {
16:01<Snail> ^~~~~~~~~~~~~~~~~~~~~
16:01<Snail>Applications/ note:
16:01<Snail> candidate function not viable: no known conversion from 'int' to 'MusicSequenceFileTypeID' for 3rd
16:01<Snail> argument
16:01<Snail>MusicSequenceFileLoad (MusicSequence inSequence,
16:01<Snail>looks like something’s wrong with the music?
16:02<@Alberth>probably you don't have a sound library
16:02<@Alberth>./configure output should indicate that
16:02-!-Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has left #openttd []
16:10<andythenorth>Snail: did you try it with the .configure option from ottd wiki?
16:10<andythenorth>./configure sorry - it links a different SDK
16:11<Snail>let me see
16:11<Snail>andythenorth: yes
16:11<Snail>tried them all. They worked before I upgraded
16:11<Snail>looks like neither works on Sierra
16:11<andythenorth>tried it now that you have the environment var set?
16:12<Snail>ok, let me try
16:13<Snail>so do you suggest —> ./ configure LDFLAGS="-stdlib=libstdc++"
16:14<Snail>think I tried it already, but I’m doing it again
16:18<Wolf01>Ha! Merge error after 60MB
16:18<Wolf01>"Malformed xml: no element found"
16:20<+michi_cc>Snail: Try commenting out (add a #) lines 1616, 1621, 1624 of config.lib (i.e. the CFLAGS="$CFLAGS ... lines). If that still doesn't work, I'd suspect that some older API was completely removed while OTTD doesn't support a replacement.
16:21<Wolf01>[18:37:04] <DorpsGek> -Codechange: Replace magic numbers in the toolbar with the already existing WID_TN_xxx. (Wolf01) <- funny, I was trying to merge exactly that
16:22<Snail>michi_cc: I’ll give it a try
16:23-!-plp [] has quit [Remote host closed the connection]
16:23-!-plp [~plp@] has joined #openttd
16:23-!-plp is "plp" on #romania #virt #openttd #tor #qemu
16:23<Snail>1616 —> CFLAGS="$CFLAGS -mmacosx-version-min=10.5"
16:23<Snail>1621 —> CFLAGS="$CFLAGS -mmacosx-version-min=10.3"
16:24<Snail>1624 —> CFLAGS="$CFLAGS -mmacosx-version-min=10.4"
16:24<Snail>I’ll comment these three
16:25<+michi_cc>Hmm, will probably not help. At least for the lines you quoted in your errors the min version isn't checked.
16:25<Snail>michi_cc: now ./configure gives me an error
16:25<Snail>line 1617: syntax error near unexpected token `else'
16:26<Snail>I think it’s because I’m commenting the only line in the “if-then-else” clause
16:26<Snail>i.e. it becomes meaningless now, because there are no commands in either “if” or “else”
16:26<+michi_cc>Yeah, but it won't help anyway I'd think.
16:27-!-txtsd [~txtsd@] has quit [Server closed connection]
16:28<Snail>let me revert back
16:28-!-txtsd [~txtsd@] has joined #openttd
16:28-!-txtsd is "Herpington Derpson" on #openttd #mitmproxy #lxde #bitlbee
16:30<+michi_cc>Better idea to try:
16:30<+michi_cc>It's coding by guessing tough, might work or might not work (and even if it works, it'll break all older SDKs :)
16:30-!-welshdragon [] has quit [Read error: Connection reset by peer]
16:33-!-welshdragon [] has joined #openttd
16:33-!-welshdragon is "Guest" on #tycoonexiles #tycoon #simsig #openttd
16:34-!-welshdragon [] has quit [Read error: Connection reset by peer]
16:35<andythenorth>michi_cc: I can test on Yosemite in a bit
16:36<+michi_cc>That's not old :) 10.5 is old (compile farm old :)
16:36-!-umgeher_ [~umgeher@] has joined #openttd
16:36-!-umgeher_ is "Umgeher Torgersen" on #vm #openttd #kontrl #awesome
16:36<andythenorth>I know :) I just don’t have old
16:37-!-welshdragon [] has joined #openttd
16:37-!-welshdragon is "Guest" on #tycoonexiles #tycoon #simsig #openttd
16:38<Snail>michi_cc: should I type all that into the terminal window?
16:38<Snail>line by line?
16:38<+michi_cc>No, it's a diff that you either apply with patch or by hand to the source file.
16:39<Snail>so just run “ diff --git a/src/music/cocoa_m.cpp b/src/music/cocoa_m.cpp “ right?
16:40<Snail>diff: unrecognized option `--git’
16:43-!-umgeher [] has quit [Ping timeout: 480 seconds]
16:43<andythenorth>Snail: 30s
16:43-!-welshdragon [] has quit [Read error: Connection reset by peer]
16:43<Eddi|zuHause>something makes my clock go wrong, and it's not the summer time shift
16:44<Eddi|zuHause>i put it correctly earlier today, and now it's like 15 minutes off
16:44<andythenorth>Snail: should be
16:44<andythenorth>curl | patch -p1
16:44<Snail>we haven’t shifted yet on this side
16:44<andythenorth>but that has failed hunks (on line-endings I think)
16:45<Eddi|zuHause>you can make patch ignore those?
16:45<Snail>2 out of 2 hunks FAILED -- saving rejects to file src/music/cocoa_m.cpp.rej
16:45-!-welshdragon [] has joined #openttd
16:45-!-welshdragon is "Guest" on #tycoonexiles #tycoon #simsig #openttd
16:45<Snail>you need to see what’s in that .rej file?
16:46<Eddi|zuHause>patch -l
16:46<andythenorth>I can’t figure out what’s wrong there
16:46*andythenorth doing too many things at once right now :)
16:47<Wolf01>Eddi, preordered TF
16:47<Wolf01>I lost my battle to it
16:48<Eddi|zuHause>i was just about to, when someone sent me some free game i should try
16:48<Wolf01>Oh, I purchased the Talos principle too
16:53<Eddi|zuHause>also, master of orion is on sale, and i was debating whether to get one or the other
16:55<Wolf01>I'm not too much on that genre, but I have some of its derivates
16:58-!-Ttech [] has quit [Quit: Este é o fim.]
16:59<andythenorth>Snail: I don’t know why those hunks failed
16:59<andythenorth>paste them?
17:01<andythenorth>looks like same failure I got
17:02-!-sla_ro|master [] has quit []
17:06-!-welshdragon [] has quit [Ping timeout: 480 seconds]
17:08-!-Ttech [] has joined #openttd
17:08-!-Ttech is "Thomas Techinus" on #munin #moocows @#botters #archlinux @#swift #qemu #debian-mentors #openttd #oftc #linode #help @#transcendence @#textual #linode-beta #observium
17:11-!-welshdragon [] has joined #openttd
17:11-!-welshdragon is "Guest" on #tycoonexiles #tycoon #simsig #openttd
17:13-!-Myhorta [] has quit [Read error: Connection reset by peer]
17:21<+michi_cc>andythenorth: Try instead. It might even work on the compile farm as well.
17:21<andythenorth>compiling now
17:26<andythenorth>music doesn’t play for me in game, but that’s not new
17:26<Snail>should I try that too?
17:27<andythenorth>curl | patch -p1
17:28<Snail>ok patched
17:28<Snail>should I run configure now?
17:28<Snail>or just make it?
17:28<andythenorth>try make
17:28<andythenorth>I didn’t need to configure
17:29<Snail>ok, making
17:30<Snail>I’m getting an incredible number of warnings...
17:31<Snail>all the warnings say, —> unused typedef ‘__ct_assert__’
17:31<Wolf01>Uhm, shit... I broke my working copy beyond any known imagination
17:32-!-Xaroth_ [] has quit [Server closed connection]
17:32-!-Xaroth [] has joined #openttd
17:32-!-Xaroth is "Xaroth" on #opendune #openttd
17:34<andythenorth>Wolf01: :P
17:34<Wolf01>I forgot to update before merge
17:35<andythenorth>you’re using svn as the client?
17:35<Wolf01>Luckily there are only 3 conflicts
17:35<andythenorth>got a mergetool?
17:35<Wolf01>I use tortoisemerge
17:35<Snail>nope, still get an error
17:36<Snail>ottd2016/trunk/src/video/cocoa/ error: use of undeclared identifier
17:36<Snail> 'CMGetSystemProfile'
17:36<Snail> if (CMGetSystemProfile(&sysProfile) == noErr) {
17:36<Snail> ^
17:36<andythenorth>Wolf01: it’s usually ok with git, unlesss 2 parts of the 3 way merge change same code
17:36<Snail>ottd2016/trunk/src/video/cocoa/ error: use of undeclared identifier
17:36<Snail> 'CMCloseProfile'
17:36<Snail> CMCloseProfile(sysProfile);
17:36<andythenorth>then it’s manual unpicking :P
17:36<Snail> ^
17:37<Wolf01>Thats not a problem even on svn merge, but I got 3 changes of the same code which I need to fix by hand
17:37-!-joho^_^ [] has quit [Server closed connection]
17:37<andythenorth>no magic for that :)
17:37-!-joho [] has joined #openttd
17:37-!-joho is "waiwaiwai" on #openttd
17:52<Wolf01>Nice, I need to convert a const StringID to WindowDesc*
17:54*andythenorth -> bed
17:54-!-andythenorth [] has quit [Quit: andythenorth]
17:54-!-Darkfirst [] has quit [Server closed connection]
17:54<+michi_cc>Snail: Try on top.
17:54-!-Darksecond [] has joined #openttd
17:54-!-Darksecond is "Tim Peters" on #openttd
18:16<Snail>same error as before
18:21<+michi_cc>Ah, of course, configure manually sets the min version. Change (patched) line 119 of from MAC_OS_X_VERSION_10_6 to MAC_OS_X_VERSION_10_5
18:32-!-Xaroth|Work [] has quit [Server closed connection]
18:32-!-Xaroth|Work [~XarothAtW@] has joined #openttd
18:32-!-Xaroth|Work is "XarothAtWork" on #openttd #opendune
18:35-!-DDR [] has quit [Remote host closed the connection]
18:41-!-Hirundo [] has quit [Server closed connection]
18:41-!-Hirundo [] has joined #openttd
18:41-!-Hirundo is "Hirundo" on #openttdcoop #openttd #openttdcoop.stable
18:46-!-michi_cc [] has quit [Server closed connection]
18:47-!-michi_cc [] has joined #openttd
18:47-!-mode/#openttd [+v michi_cc] by ChanServ
18:47-!-michi_cc is "Michael Lutz" on #openttdcoop.devzone #openttd.notice +#openttd
18:48-!-womble [~mjp16@2a01:4f8:121:3431:e2e4:22bb:25f5:6cad] has quit [Server closed connection]
18:49-!-womble [] has joined #openttd
18:49-!-womble is "Matt Palmer" on #openttd #ct
18:52-!-roidal [] has quit [Quit: WeeChat 1.5]
19:09<Wolf01> python programming
19:16-!-Ethereal_Whisper [] has quit [Server closed connection]
19:17-!-Ethereal_Whisper [] has joined #openttd
19:17-!-Ethereal_Whisper is "Tricia" on #openttd #openttdcoop #/r/openttd
19:23-!-Gja [] has quit [Quit: Going offline, see ya! (]
19:34-!-Progman [] has quit [Remote host closed the connection]
19:51-!-urdh [] has quit [Server closed connection]
19:52-!-urdh [] has joined #openttd
19:52-!-urdh is "Simon Sigurdhsson" on #openttd #fish #moocows
20:05-!-Cybertinus [] has quit [Server closed connection]
20:06-!-Cybertinus [] has joined #openttd
20:06-!-Cybertinus is "Cybertinus" on #powerdns #ovirt #osm-nl #ceph #openttd #virt
20:17-!-wCPO [~kristian@] has quit [Ping timeout: 480 seconds]
20:19-!-sim-al2 is now known as Guest176
20:19-!-sim-al2 [] has joined #openttd
20:19-!-sim-al2 is "sim-al2" on #openttd @#/r/openttd
20:20-!-Smedles [] has quit [Server closed connection]
20:20-!-Smedles [] has joined #openttd
20:20-!-Smedles is "Paul Smedley" on #openttd
20:20-!-Sylf [] has quit [Server closed connection]
20:23-!-Guest176 [] has quit [Ping timeout: 480 seconds]
20:42-!-welshdragon [] has quit [Ping timeout: 480 seconds]
20:47-!-bwn [] has quit [Server closed connection]
20:50-!-bwn [] has joined #openttd
20:50-!-bwn is "bwn" on #debian-offtopic #debian #qemu #openttd #virt
20:50-!-Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
20:52-!-umgeher_ is now known as umgeher
20:53-!-DDR [] has joined #openttd
20:53-!-DDR is "David" on #openttd
21:07-!-Speedy [] has quit [Server closed connection]
21:07-!-Speedy` [] has joined #openttd
21:07-!-Speedy` is "Speedy" on #openttd #openttdcoop.stable #sd
21:08-!-Speedy` is now known as Speedy
21:13-!-Rubidium [] has quit [Server closed connection]
21:14-!-Rubidium [~Rubidium@] has joined #openttd
21:14-!-mode/#openttd [+o Rubidium] by ChanServ
21:14-!-Rubidium is "Remko Bijker" on #openttdcoop.devzone @#openttd.notice @#openttd
21:34-!-techmagus [] has quit [Server closed connection]
21:34-!-techmagus [] has joined #openttd
21:34-!-techmagus is "Yahanan Xie" on #tor-project #tor #openttd
21:38-!-orudge [] has quit [Server closed connection]
21:38-!-orudge [] has joined #openttd
21:38-!-orudge is "Owen Rudge" on @#thesinner #openttdcoop.devzone @#bukkit @#jontylog #tycoonexiles @#z.aud #locomotion #transportempire #openttdcoop #openttd #tycoon
21:45-!-Sylf [] has joined #openttd
21:45-!-Sylf is "Sylf" on #openttdcoop.stable #openttdcoop.devzone #openttd #openttdcoop
21:51-!-TrueBrain [] has quit [Server closed connection]
21:52-!-TrueBrain [] has joined #openttd
21:52-!-TrueBrain is "Patric Stout" on #openttd #opendune
21:52-!-peter1138 [] has quit [Server closed connection]
21:52-!-peter1138 [] has joined #openttd
21:52-!-mode/#openttd [+o peter1138] by ChanServ
21:52-!-peter1138 is "Peter Nelson" on #qemu #debian #tycoon @#openttd
21:53-!-gelignite [] has quit [Quit:]
22:14-!-HerzogDeXtEr1 [] has joined #openttd
22:14-!-HerzogDeXtEr1 is "purple" on #openttd
22:19-!-HerzogDeXtEr [] has quit [Ping timeout: 480 seconds]
23:01-!-SpComb [] has quit [Server closed connection]
23:01-!-SpComb [] has joined #openttd
23:01-!-SpComb is "Tero Marttila" on #oftc #bitlbee #openttd #tycoon
23:03-!-NGC3982 [] has quit [Server closed connection]
23:03-!-NGC3982 [] has joined #openttd
23:03-!-NGC3982 is "milda" on #openttd
23:27-!-minimoo [quasselcor@2a01:4a0:44:118::2] has quit [Server closed connection]
23:27-!-minimoo [quasselcor@2a01:4a0:44:118::2] has joined #openttd
23:27-!-minimoo is "Paul" on #openttd
23:27-!-SpComb^ [] has quit [Server closed connection]
23:27-!-SpComb^ [] has joined #openttd
23:27-!-SpComb^ is "Tero Marttila" on #oftc #bitlbee #openttd #tycoon
---Logclosed Mon Oct 31 00:00:23 2016