IRC logs for #openttd on OFTC at 2017-03-08
            
00:05:13 *** jonty-comp has quit IRC
00:09:08 *** Progman has quit IRC
00:09:16 *** jonty-comp has joined #openttd
00:15:13 *** FLHerne has quit IRC
00:17:21 *** FLHerne has joined #openttd
00:20:18 *** Wolf01 has quit IRC
00:21:17 *** Wolf01 has joined #openttd
00:24:02 *** HerzogDeXtEr1 has joined #openttd
00:26:22 *** sim-al2 has joined #openttd
00:30:28 *** HerzogDeXtEr has quit IRC
00:40:39 *** gelignite has quit IRC
00:41:43 *** HerzogDeXtEr1 has quit IRC
00:46:14 *** Cybert1nus has joined #openttd
00:46:25 *** Biolunar has quit IRC
00:50:36 *** Cybertinus has quit IRC
01:08:55 *** JezK has joined #openttd
01:19:53 *** Guest498 has quit IRC
01:26:15 <Wolf01> 'night
01:26:17 *** Wolf01 has quit IRC
01:27:20 *** Wormnest has quit IRC
01:32:23 *** FLHerne has quit IRC
01:34:25 *** markasoftware has joined #openttd
01:38:00 *** supermop__ has joined #openttd
01:42:26 *** supermop_ has quit IRC
02:00:40 *** Samu has quit IRC
02:27:38 *** maciozo has quit IRC
03:55:38 *** tokai|noir has quit IRC
04:51:16 *** Compu has quit IRC
04:52:52 *** Compu has joined #openttd
04:53:24 *** glx has quit IRC
04:59:02 *** tokai has joined #openttd
04:59:03 *** ChanServ sets mode: +v tokai
06:02:53 *** iSoSyS has quit IRC
06:03:28 *** JezK has quit IRC
06:11:25 *** JezK has joined #openttd
06:29:48 *** markasoftware has quit IRC
08:29:23 *** sim-al2 has quit IRC
08:30:27 *** smoke_fumus has joined #openttd
08:31:07 *** JezK has quit IRC
08:44:31 *** Biolunar has joined #openttd
09:04:01 *** chomwitt has quit IRC
09:11:34 *** efess has quit IRC
09:12:57 *** Sova has joined #openttd
09:18:51 *** gelignite has joined #openttd
09:26:46 *** ZirconiumX has joined #openttd
09:38:00 <ZirconiumX> I'm attempting to build OpenTTD on a raspberry pi. This ought to be an interesting exercise in waiting.
09:38:10 <ZirconiumX> (dedicated server)
09:45:44 *** supermop has quit IRC
09:45:55 *** supermop has joined #openttd
09:46:44 *** Samu has joined #openttd
09:54:55 <Samu> ST2, your server kicked me for some weird reasons
09:56:32 <Samu> it decided to change my name "gato preto Xarick" to "Otken" upon join
09:57:07 <Samu> I was never Otken, never used that name
10:08:07 <crem> Maybe you just don't remember.
10:08:11 <crem> Morning.
10:08:55 <Samu> I am 100% certain I never used "Otken", the server decided to rename me to that
10:10:18 <Samu> I've seen someone named Otken yesterday in the server, but that's it
10:11:46 <Samu> it wrongly renamed me to Otken is the issue hre
10:11:47 <Samu> here
10:12:53 <crem> I still think it did that rightfully.
10:16:12 <Samu> ...
10:16:54 <Samu> do you work on btpro, crem?
10:17:11 <Samu> i never used "Otken", that's one thing I can garantee
10:17:22 <Samu> the server messed up somehow
10:17:50 <Samu> don't know if you have access to logs, to see what happened
10:18:31 *** rellig has joined #openttd
10:20:02 *** gelignite has quit IRC
10:24:09 <crem> That sounds unplausible. :)
10:25:46 <Samu> whatever, doesn't matter
10:26:04 <Samu> the second time I joined with "gato preto Xarick" it didn't rename me
10:30:16 *** smoke_fumus has quit IRC
10:39:21 *** supermop has quit IRC
10:45:35 *** Biolunar has quit IRC
10:56:51 *** supermop has joined #openttd
11:04:15 *** efess has joined #openttd
11:45:11 *** supermop_ has joined #openttd
11:50:42 *** JacobD88 has joined #openttd
11:50:54 *** supermop__ has quit IRC
11:59:37 *** ZirconiumX has quit IRC
12:22:18 *** Sova has quit IRC
12:36:47 <Samu> i'm a terrible bit wise mather
12:56:36 *** Sova has joined #openttd
13:15:31 *** TheMask96 has quit IRC
13:17:50 *** TheMask96 has joined #openttd
13:20:24 *** maciozo has joined #openttd
13:30:26 *** Wolf01 has joined #openttd
13:30:27 <Samu> I did it, yay, i had to store both
13:30:45 <Samu> _transparency_opt and _transparency_lock
13:36:39 <Wolf01> https://img-9gag-fun.9cache.com/photo/aLD0GX5_460s.jpg eh
13:37:06 *** gelignite has joined #openttd
13:41:40 *** iSoSyS has joined #openttd
13:48:47 <Samu> there's a difference between 0 and NULL, let's hope it accepts NULL
13:49:00 <Wolf01> Really?
13:50:08 <Samu> 0 - nothing is transparent, NULL - I didn't even start yet
13:50:23 <Wolf01> Really?
13:50:32 <__ln__> what language are you talking aboot?
13:50:48 <Samu> bitwise stuff
13:50:54 <Samu> bit language
13:50:57 <Samu> dunno
13:51:14 <Wolf01> Harrrr, let's the infamous pirate DeMorgan haunt you
13:52:05 <Samu> just did it for building a dock
13:52:14 <Samu> it werks!
13:52:43 <Samu> now, for all other cases... ugh... have to identify such situations 1 by 1
13:54:09 <Samu> https://paste.openttdcoop.org/pvzyrl5w2
13:54:23 <Samu> any improvement?
14:25:49 <Wolf01> Are you ready for this? https://img-9gag-fun.9cache.com/photo/a3qRzy1_460s.jpg
14:27:38 *** sla_ro|master has joined #openttd
14:31:13 <V453000> :D
14:34:03 <peter1138> hmm
14:34:43 <__ln__> http://i.imgur.com/K7XPBuR.png
14:35:05 <peter1138> ow
14:45:57 <__ln__> they probably didn't mean it that way, and the tweet has been removed now... but pretty amazing
15:18:49 *** chomwitt has joined #openttd
15:42:45 *** sla_ro|master has quit IRC
15:43:42 *** sla_ro|master has joined #openttd
16:14:53 *** Compu has quit IRC
16:15:51 *** JacobD88 has quit IRC
16:18:16 <Wolf01> Meh... the remove overlay button from a plugin disappeared from firefox :|
16:18:50 *** Compu has joined #openttd
16:23:31 <supermop_> ok so have a few isr looking depots to add to docklands, now need to draw a few variants of the chips looking ones
16:26:51 *** JacobD88 has joined #openttd
16:42:40 <Samu> darn window classes window by id, widgets and nested crap
16:42:43 <Samu> hard to follow
16:55:04 <Samu> why is it so hard to find the cases where windowses are focused
16:55:23 *** Alberth has joined #openttd
16:55:23 *** ChanServ sets mode: +o Alberth
16:55:35 *** JacobD88 has quit IRC
16:55:46 <Alberth> o/
16:56:26 <crem> \o
16:57:38 <Samu> Alberth: are you the windows/widget stuff in openttd expert? :o
16:59:36 *** Sova has quit IRC
16:59:39 <Wolf01> o/
17:01:47 <Samu> looks like i got this
17:06:02 <Alberth> I wrote some of the stuff
17:06:18 <Alberth> around 8 years ago
17:10:23 <Samu> nice :)
17:11:43 <Samu> HandlePlacePushButton is probably what I'm looking for
17:11:59 <Samu> but i can't generalize
17:20:33 <Alberth> search through all files for the function definition, when you found it, you found it!
17:21:10 <Alberth> otherwise, I have absolutely no idea what that function does
17:21:25 <Alberth> probably somerhing with push buttons
17:30:58 <Samu> i'm working with the dock toolbar gui at the moment, trying to implement this "smart" transparency
17:31:37 <Samu> ship depot button is behaving different than all the others...
17:33:23 <Samu> i click on it, transparency is set, if i click it again, it closes, but the transparency doesn't revert
17:33:45 <Samu> seems like there is a closing method that wasn't taken care
17:34:04 <Samu> but it cant be
17:34:07 <Samu> it's being closed
17:36:02 <Samu> it was probably my error, trying again, brb
17:36:54 <Samu> nop, still behaves wrong, grrr
17:39:30 <Samu> ah, got it
17:39:57 <Samu> it was missing in the code, i had to write a bit of it
17:40:40 <Samu> dock toolbar is finished :)
17:40:52 <Samu> let me copy paste patch
17:40:58 <Samu> the work so far
17:41:50 <Samu> https://paste.openttdcoop.org/p3ylqawqb
17:45:29 <supermop_> what do depots have to do with transparency?
17:46:19 <Samu> it's temporary
17:46:29 <Alberth> or why does it gets NULL assigned?
17:47:15 <Samu> because i can modify the transparency settings while I'm building
17:47:43 <Samu> and to better adapt between the old, the new and the modified
17:48:53 <Alberth> I am not even sure we talk about the same code :p
17:50:10 <Samu> line 145 and 153
17:51:19 <Samu> if i start building, i start the temporary transparency which makes those variables non-null anymore
17:51:56 <Samu> if, in the middle of build, i toggle some transparency setting, lines 145 and 153 will act upon it
17:52:11 <Wolf01> Oh, windows updates
17:52:59 <Samu> if using NULL is wrong, then i dunno what to do
17:53:03 <Samu> it can't be 0
17:53:37 <Samu> 0 means that nothing is transparent, which can certainly be a temporary value
17:58:14 <Samu> do you think it could be 0? now that i'm looking at it more closely... perhaps it can? hmm
17:59:47 <Samu> how would i detect that I have started the temporary transparency?
18:02:19 <Alberth> NULL is likely interpreted as 0
18:02:49 <Alberth> you can of course always add another variable to denote whether you started or not
18:07:51 *** ZirconiumX has joined #openttd
18:08:21 <ZirconiumX> In case anybody was morbidly curious, the RPi build of OpenTTD took about 3 hours.
18:09:58 <Wolf01> Nice
18:10:26 <Wolf01> But the most important question is: does it work well as dedicated server?
18:15:23 <Samu> oh, NULL is 0 ? t.t
18:16:16 <Samu> CRAP
18:16:20 <Samu> NULL is 0 indeed
18:22:20 <Samu> i got this bugged yet, after all
18:22:27 <Samu> thx for noticing
18:25:17 <ZirconiumX> Wolf01: Well, I naively built with LTO, and my pi ran out of memory.
18:25:26 <ZirconiumX> So now I gotta repeat the process without LTO
18:25:30 <ZirconiumX> And hope it links
18:28:01 <Samu> it can't be 0 t.t, i need another variable
18:32:47 <supermop_> Is there any reason for someone to ever want to change depot styles to have fewer styles?
18:33:26 <supermop_> like if i have 8 waytypes with 8 types of depot, would someone want a param to make them all the same style of depot?
18:35:18 *** APTX has joined #openttd
18:35:56 <Alberth> it's perhaps simpler to automagically build the correct type
18:37:00 <supermop_> Alberth: but will someone out there want the non corect type?
18:37:28 <Alberth> I have no doubt that person exists
18:37:41 *** chomwitt has quit IRC
18:37:41 <supermop_> and is it worth it to have a param
18:38:07 <Alberth> for every button in openttd, there is at least one person that wanrts an extra setting for it
18:39:01 <Alberth> I would say, the grf decides. Some authors believe that the user should be in control, other authors believe they know best
18:39:08 <Alberth> both are right
18:40:12 <Alberth> for me personally, I probably will not even bother playing with road types or tram types, I am not a modeller person
18:41:02 <Alberth> people that care for such things may also prefer authentic depots
18:41:52 *** HerzogDeXtEr has joined #openttd
18:41:59 <supermop_> Alberth: some people may want them visually distinct to tell what is ROAD and what is ELRD, some people might want them to all match?
18:42:13 <supermop_> NRT allows depots based on year too
18:49:15 <supermop_> i feel like the people who want to model things in detail though would want to be able to build certain styles regardless of year
18:50:40 <Alberth> every player wants something else :p
18:51:05 <Alberth> ie you can't make everyone happy
18:51:39 <Alberth> thus everyone uses a different subset of grfs, which are useful to him/her
18:51:54 *** frosch123 has joined #openttd
18:54:00 *** glx has joined #openttd
18:54:00 *** ChanServ sets mode: +v glx
18:55:30 <frosch123> hoi
18:57:40 <ZirconiumX> Hello
19:02:55 *** Progman has joined #openttd
19:04:41 *** Wormnest has joined #openttd
19:11:37 *** supermop__ has joined #openttd
19:11:41 <ZirconiumX> Considering trying to build a NoAI.
19:11:47 <ZirconiumX> Another one, anyway
19:12:16 <LordAro> ZirconiumX: do it :>
19:12:40 <LordAro> frosch123: https://gist.github.com/LordAro/cb4fc96f86c52e7af013f22a675baf42 have a patch, btw
19:12:47 <ZirconiumX> LordAro: if you'll blow the dust off AroAI
19:12:58 <ZirconiumX> Or write your own
19:13:06 <ZirconiumX> *write a new one
19:13:09 <Samu> i hate asserts
19:13:13 <Samu> can't even use them like I want
19:13:41 <LordAro> ZirconiumX: heh
19:13:50 <LordAro> i'd probably start from scratch if i did
19:14:06 <LordAro> i dare not look at the code, it'll be awful
19:14:15 <LordAro> Samu: how do you want to use them?
19:14:39 <frosch123> LordAro: what does it do?
19:14:46 <planetmaker> good evening :)
19:14:48 <LordAro> frosch123: fixes a warning with clang(3.9)
19:14:56 <planetmaker> LordAro, https://www.joelonsoftware.com/2000/04/06/things-you-should-never-do-part-i/ ;)
19:15:01 <LordAro> planetmaker: ;)
19:15:13 <LordAro> you have no idea how often i have to remind people of that
19:15:22 *** Gja has joined #openttd
19:15:26 <planetmaker> oh, by the hour, I'd recon :P
19:15:34 <LordAro> ^^
19:16:15 <ZirconiumX> Since you're all devs, what's the formula for profit?
19:16:20 <Samu> window class management is a mess for me
19:16:33 <ZirconiumX> It's more cargo over more distance, faster right? Any of these makes you more money
19:16:40 <Samu> window class, or window id, :(
19:16:46 *** supermop_ has quit IRC
19:16:48 <Samu> don't even know what is what
19:17:05 <frosch123> why does usa switch to dst on the 12th this year? isn't it usually the first sunday in march?
19:17:07 <planetmaker> samu the difference is like family name vs. given name
19:19:09 <Alberth> hi hi
19:19:13 <ZirconiumX> Hi Alberth
19:20:28 <Samu> i don't understand widgets, windows class, windows id, parent, child
19:20:29 <ZirconiumX> Also, LordAro, I thought you'd disabled +g
19:20:48 <Samu> and the 999 ways to close them
19:21:32 <Alberth> that many? I thought there was only one, ie "delete w"
19:22:07 <Samu> some of them don't close because it's a parent or a child or a related
19:22:21 <LordAro> ZirconiumX: oh, apparently i haven't
19:22:30 <ZirconiumX> Welp
19:22:50 <Alberth> window class is like a family of windows, ie all train lists, or all depot windows
19:23:19 <Alberth> window id is a unique identifier within the class, so you can point to a specific depot window
19:23:49 <Samu> i can't use the asserts to track down if it was started, because of the way these windows are managed
19:23:58 <Samu> if the transparency was started
19:24:17 <Alberth> construction toolbars often have child windows. Press the 'station' button, and a child 'station picker window' opens
19:24:18 <Samu> they don't all follow the same rules
19:24:47 <Alberth> press the 'depot' or 'bridge' window and the depot build or bridge build window opens
19:25:03 <Alberth> a toolbar only allows one child window to open
19:25:17 <Alberth> so if you open one, all others get closed, usually
19:25:26 <Alberth> there might be a few exceptions here
19:25:41 <Alberth> object window comes to mind
19:25:55 <Samu> when i click build dock, then i click build ship depot, i get an assert... :(
19:26:17 <Samu> click build dock - starts transparency
19:26:25 <Samu> click ship depot - starts transparency
19:26:33 <Samu> the asserts catches that i'm starting it again
19:27:26 <Alberth> that seems like a good idea, one open child window from the ship build toolbar
19:28:22 <Alberth> so likely you should not just start transparency, but instead first check if the window is already open, and if not, then open it
19:28:25 <glx> when are you stopping transparency ?
19:29:22 <Alberth> glx: you skipped "why do you start transparency while building a dock" :)
19:29:29 <glx> that too :)
19:30:05 <glx> well I guess it helps to see where to place it
19:30:43 <Samu> too confusing
19:31:18 <Samu> how to check if the window is already open
19:31:41 <glx> I think there's a function to search window class
19:31:46 <Alberth> something FindWindow ... ByClass or so
19:31:57 <Alberth> or ById
19:39:53 *** Progman has quit IRC
19:50:16 <Samu> nevermind, i'm stupid
19:50:28 <Samu> i was really starting it twice
19:51:42 <Samu> yeah, the assert doesn't complain anymore
19:53:23 <Samu> https://paste.openttdcoop.org/p3ylqawqb line 113 and 52, was starting it twice
19:53:23 *** FLHerne has joined #openttd
19:53:31 <Samu> my fault
19:54:13 <Samu> removed the one at line 113
19:54:21 <Samu> no more asserts
19:56:34 <ZirconiumX> Ah, the joys of AI development
19:58:24 <ZirconiumX> Is there a list of used four character GetShortName() strings?
19:59:03 *** FLHerne has quit IRC
19:59:48 <frosch123> there uses to be one
20:00:41 <ZirconiumX> Oh joy. Oh well
20:01:02 <ZirconiumX> ZXAI it is
20:01:17 <frosch123> https://www.tt-forums.net/viewtopic.php?t=41499
20:01:53 <ZirconiumX> >last updated 2011-06-21
20:02:12 <ZirconiumX> It runs at least
20:02:21 <frosch123> aparently there is also a wiki page
20:02:25 <planetmaker> there really hasn't been much AI development in the last years
20:02:39 <frosch123> https://wiki.openttd.org/AI:ShortNames_In_Use
20:02:52 <frosch123> the forum topic ends with the list moved to the wiki there
20:02:58 <frosch123> but, well, i guess bananas also has a list
20:16:07 *** Supercheese has joined #openttd
20:28:40 *** andythenorth has joined #openttd
20:29:51 <ZirconiumX> Okay, NoAI devs, who feels like helping me debug some code?
20:30:38 <ZirconiumX> https://github.com/ZirconiumX/Electron/blob/master/main.nut#L22
20:30:43 <ZirconiumX> Why does this never trigger?
20:30:55 * ZirconiumX says, as an event triggers.
20:30:58 <ZirconiumX> >.>
20:31:43 <frosch123> there is an irc-bridge event
20:32:15 <ZirconiumX> How do I convert an AIEvent to string for debugging?
20:33:03 <ZirconiumX> *AIEventType
20:33:44 <frosch123> maybe it's possible to query the classname
20:33:52 <frosch123> but i do no know squirrel well enough
20:33:57 <andythenorth> o/
20:34:06 <frosch123> ho
20:34:07 <ZirconiumX> Since "Don't know how to handle a 3" is not very helpful and may change.
20:34:10 <ZirconiumX> Hi andythenorth
20:35:42 <supermop__> andythenorth: a new road grf has appeared
20:35:45 <andythenorth> eh another NRT grf
20:35:50 <andythenorth> yes
20:36:23 <Supercheese> could make another one with insulting names, call it RudeTypes
20:36:24 <supermop__> we are trying to goad you in to rereleasing tonka trucks
20:36:25 <Samu> when to stop transparency asserts all over the place, t.t
20:36:54 <supermop__> do you have tonka as a brand of big toy mining trucks in UK?
20:36:59 <LordAro> ZirconiumX: i recommend stealing from other AIs :p
20:37:41 <ZirconiumX> Call me an ascetic, but I was planning to MIT license it
20:37:46 <ZirconiumX> So stealing is an issue
20:39:52 <supermop__> how does the tonka wikipedia page not have a single photo of the archetypal tonka truck
20:40:52 <supermop__> mine was like this: http://cdn.toy-tma.com/wp-content/uploads/2009/09/Tonka-Image1.jpg
20:43:30 <andythenorth> I had generic brand, not tonka
20:43:34 <Samu> oh boy, i can't do this by the means of FindWindow
20:43:49 <andythenorth> there was a watercooler moment where they ran an actual mining truck off a quarry face
20:43:55 <andythenorth> alongside a tonka toy
20:43:59 <andythenorth> one survived, one didn’t :P
20:44:05 <Samu> i got to check which the cursor is active
20:44:10 <Samu> which*
20:44:25 <Samu> cursor mode, or whatever, hmmm grrr
20:44:59 <ZirconiumX> If AISubsidy.GetSourceType() returns SPT_TOWN, can I assume AISubsidy.GetDestinationType() will also return SPT_TOWN?
20:45:12 <ZirconiumX> And vice versa for SPT_INDUSTRY
20:45:31 <ZirconiumX> ...No, that wouldn't work for goods, would it?
20:46:28 <andythenorth> supermop__: https://www.youtube.com/watch?v=1oGjFGFA1OA
20:46:31 <frosch123> gamescripts can spawn all kind of subsidies
20:46:42 <andythenorth> which seemed insane at the time, but eh, it’s a 25 year old life expired mining truck
20:46:45 <frosch123> pax from town to oilrig is fine
20:47:08 <ZirconiumX> Thanks, frosch
20:47:17 <frosch123> maybe we should make an oilrig focused gamescript
20:47:25 <frosch123> oilrigs have all kind of weirdnesses
20:47:32 <andythenorth> don’t they just :P
20:47:59 <andythenorth> I am supposed to refactor this tonight http://dev.openttdcoop.org/projects/firs/repository/entry/src/templates/refactor/refactor_oil_rig.pypnml
20:48:01 <ZirconiumX> I have a switch statement, inside a switch statement, inside a while loop, inside a while loop.
20:48:07 <andythenorth> to work like the rest of FIRS :P
20:48:20 <ZirconiumX> I should probably put that into a function.
20:50:18 <Supercheese> Refactor? Meh, I'd rather play Factorio once more time.... Refactorio
20:50:40 <ZirconiumX> Factorio is good
20:51:29 <supermop__> i feel like they had that ad here too
20:55:08 <andythenorth> maybe I should revisit farm vehicles :P
20:55:14 <andythenorth> they never panned out in HEQS though
20:55:34 <andythenorth> tractors have very little to offer the game, unless I OP them somehow
20:55:48 *** smoke_fumus has joined #openttd
20:56:57 <Supercheese> Give them a nice cargo decay bonus to offset the extreme slowness?
20:57:30 <andythenorth> nah
20:57:49 <supermop__> they are to look cute driving around
20:58:03 <ZirconiumX> Probably for the same reason there are car GRFs
20:58:12 <supermop__> they are overpowered in cuteness
21:01:34 <andythenorth> anyway good to see more grfs
21:01:46 <andythenorth> usually I am the consumer of the spec, not part of the creation
21:01:55 <andythenorth> different
21:02:06 <Supercheese> other side of the aisle, eh?
21:02:11 <andythenorth> yup
21:03:50 <andythenorth> frosch123: I am trying to think of a funny name for that GS…Rig King doesn’t work :P
21:04:00 <andythenorth> Run Rigg
21:04:21 <andythenorth> nah, I have nothing
21:05:28 <frosch123> andythenorth: rigs of rods?
21:05:35 <andythenorth> ha
21:06:31 *** dihedral has quit IRC
21:06:45 *** dihedral has joined #openttd
21:10:10 <ZirconiumX> Squirrel produces such wonderful errors.
21:10:23 <ZirconiumX> "Expression expected"
21:11:43 <andythenorth> provide an expression :)
21:11:47 <andythenorth> :P
21:12:30 <ZirconiumX> My brace counting skills are good enough to notice there's nothing missing
21:13:13 <Samu> I'm back to HandlePlacePushButton, apparently this is the holy grail function I need to work with, not windowses
21:13:27 <Alberth> I tpyically rely on the editor for counting brackets :)
21:14:02 <ZirconiumX> Likewise.
21:14:06 <planetmaker> ^^
21:14:20 <planetmaker> and 2nd order I rely on proper indentation :)
21:15:14 <ZirconiumX> And my indentation is also working
21:15:39 <ZirconiumX> https://github.com/ZirconiumX/Electron/blob/master/main.nut
21:15:58 <ZirconiumX> I should prbably at least make the indentation consistent
21:16:07 <supermop__> hmm where should depot graphic switch go... switch what file the spriteset references, or switch which spriteset the graphics black asks for?
21:16:31 <Alberth> consistent indentation is quite useful in the long run
21:17:22 <ZirconiumX> Like so.
21:17:57 <ZirconiumX> Well, I found the missing bracket
21:17:58 <Samu> damn it, it's not the holy grail function, I'm so bad at this
21:18:31 <Alberth> isn't the holy grail non-reachable by definition?
21:19:27 <Samu> :O
21:19:33 <Alberth> no worries, I also always start at a wrong end :)
21:22:01 <andythenorth> I usually start at the right end, then discover I have the wrong goal :P
21:24:56 <Alberth> haha :)
21:26:24 <Alberth> I tried to decipher your iron horse makefile, but it's so horrible, it may be quicker to ask you what it should do :)
21:26:30 <Alberth> somewhen next weekend?
21:27:10 <Alberth> mercurial info program may need a bit more extension, but we'll see
21:27:51 <andythenorth> ok :)
21:28:02 <andythenorth> weekends can be quite chores or family oriented :)
21:28:12 * andythenorth will see how it goes
21:28:43 <andythenorth> ‘what should it do’ is mostly set some shell parameters and then call some python scripts
21:28:48 <andythenorth> then zip the result
21:29:03 <andythenorth> preferably cross platform :P
21:30:20 <frosch123> andythenorth: btw. do you have the password to upload bananas stuff with the "openttdcoop" user?
21:30:27 <andythenorth> yes
21:30:42 <frosch123> cool, noone bothered to upload the past 2 released of ogfx :p
21:31:12 *** chomwitt has joined #openttd
21:33:57 <supermop__> haha
21:34:52 <andythenorth> jenkins pipeline -> bananas
21:34:58 <andythenorth> if the tests greenlight, just ship it
21:35:29 <frosch123> some projects have a "make bananas" target
21:37:04 <andythenorth> could have jenkins call musa if the build works :P
21:37:19 <andythenorth> something seems odd about the makefile doing it, dunno why
21:39:26 <frosch123> so you can generated the text entries :p
21:40:31 <andythenorth> :P
21:40:33 <Alberth> if you want the scripts I wrote to make a new makefile, that would be an option too
21:40:55 <andythenorth> auto-generating makefile? o_O
21:41:15 <Alberth> not that automatic :)
21:41:20 <frosch123> i think in ogfx i added a generated makefile
21:41:22 <andythenorth> can make write the makefile as it goes? o_O
21:41:32 <Supercheese> Wizardry
21:41:41 <frosch123> it is used to make the version detection work with both a hg checkout and a bundle
21:41:42 <Alberth> pure andy magic
21:41:44 <andythenorth> trolling
21:42:01 <frosch123> it is generated, if hg is present, otherwise it is used from the bundle
21:43:08 <frosch123> anyway, make checks whether any of the read Makefiles are targets, and then tries to rebuild them. if they change it, make starts over from the beginning
21:43:17 <frosch123> not sure whether you can make loops with that
21:49:57 <Alberth> doit: $(MAKE) doit :p
21:52:12 *** ZirconiumX has quit IRC
22:00:08 *** Supercheese has quit IRC
22:01:28 *** supermop_ has joined #openttd
22:05:42 *** ZirconiumX has joined #openttd
22:06:01 <ZirconiumX> I return, with 100% more BNC
22:06:23 *** supermop__ has quit IRC
22:10:45 *** Supercheese has joined #openttd
22:13:53 *** Alberth has left #openttd
22:15:47 *** iSoSyS has quit IRC
22:18:21 *** FLHerne has joined #openttd
22:26:00 <andythenorth> supermop: ROAD, HAUL….FARM? :P
22:26:12 <andythenorth> “cannot be built in towns”
22:26:13 <andythenorth> :P
22:48:27 *** frosch123 has quit IRC
22:48:31 *** FLHerne has quit IRC
22:49:48 *** FLHerne has joined #openttd
22:53:24 *** sla_ro|master has quit IRC
23:01:22 *** gelignite has quit IRC
23:21:09 *** andythenorth has left #openttd
23:37:24 *** HerzogDeXtEr has quit IRC
23:43:41 <supermop_> HA
23:49:48 <Samu> gonna give up on this automated transparency thing, I can't do it