Times are UTC Toggle Colours
00:03:07 *** wallabra has quit IRC 00:03:07 *** wallabra_ is now known as wallabra 00:05:30 *** wallabra has quit IRC 00:10:00 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler opened pull request #10034: Feature: Button to honk a vehicle's horn https://github.com/OpenTTD/OpenTTD/pull/10034 00:10:13 *** nielsm has quit IRC 00:15:37 *** Wormnest has quit IRC 00:17:25 *** nielsm has joined #openttd 00:53:13 *** Wormnest has joined #openttd 01:32:00 <DorpsGek> [OpenTTD/team] glx22 commented on issue #348: [cy_GB] Translator access request https://github.com/OpenTTD/team/issues/348 01:42:01 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #10034: Feature: Button to honk a vehicle's horn https://github.com/OpenTTD/OpenTTD/pull/10034#issuecomment-1250172143 01:45:54 *** Wormnest has quit IRC 01:53:51 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #10034: Feature: Button to honk a vehicle's horn https://github.com/OpenTTD/OpenTTD/pull/10034 02:04:06 <glx[d]> TallTyler: that's when you manually run `grfcodec -e openttd .` ? 02:10:17 <glx[d]> you can't run it that way as openttd.nfo is not directly usable 02:12:00 <glx[d]> cmake parses it and replace the `#include` lines with the actual content of included files, then run `renum` to set sprite 0 and all the -1, and finally do the grfcodec call 02:21:50 <glx[d]> and all is done somewhere in `build` subdirs 02:23:22 *** Wormnest has joined #openttd 02:23:59 <glx[d]> then the resulting grf is copied to media/baseset 02:27:22 <glx[d]> if cmake doesn't find grfcodec or renum, you can tell it their full path in `NFORENUM_EXECUTABLE` and `GRFCODEC_EXECUTABLE` variables 02:35:49 *** WormnestAndroid has quit IRC 02:39:33 *** WormnestAndroid has joined #openttd 02:43:23 <TallTyler> glx[d]: Yes, but that explains why it doesnβt work. 02:51:29 <TallTyler> glx[d]: In `cmake/CreateGrfCommand.cmake`? I tried that and it still didn't work. Is the path given as a string? 02:52:13 <glx[d]> when configuring 02:54:23 <glx[d]> `cmake .. -DNFORENUM_EXECUTABLE="full path to renum" -DGRFCODEC_EXECUTABLE="full path to grfcodec"` 02:54:48 <glx[d]> or if using VS you can set them in the GUI 02:55:12 <TallTyler> I am using VS, but don't know where to find the CMake settings π€ 02:55:29 <TallTyler> Ah, maybe this is it 02:55:38 *** D-HUND has joined #openttd 02:59:02 *** debdog has quit IRC 02:59:15 <TallTyler> https://cdn.discordapp.com/attachments/1008473233844097104/1020891727709614251/honk.png 02:59:15 <TallTyler> \o/ 02:59:23 <TallTyler> Thank you for your help π 02:59:46 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #10034: Feature: Button to honk a vehicle's horn https://github.com/OpenTTD/OpenTTD/pull/10034 03:12:32 *** D-HUND is now known as debdog 03:14:03 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #10034: Feature: Button to honk a vehicle's horn https://github.com/OpenTTD/OpenTTD/pull/10034 03:15:11 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #10034: Feature: Button to honk a vehicle's horn https://github.com/OpenTTD/OpenTTD/pull/10034#issuecomment-1250181904 03:16:09 *** Wormnest has quit IRC 03:26:19 *** WormnestAndroid has quit IRC 03:26:33 *** WormnestAndroid has joined #openttd 03:30:49 *** Wormnest has joined #openttd 04:23:59 *** Wormnest has quit IRC 05:01:10 *** Wormnest has joined #openttd 05:53:49 *** Wormnest has quit IRC 06:31:17 *** Wormnest has joined #openttd 06:54:07 <andythenorth> lol 07:24:00 *** Wormnest has quit IRC 07:51:31 <andytheno2022-09-18T10:32:22 *** lobstarooo_ has joined #openttd 10:39:19 *** lobstarooo has quit IRC 10:39:23 *** lobstarooo_ is now known as lobstarooo 10:46:58 <reldred> dynamic poo covered tiles and buildings confirmed for firs 4 10:47:08 <NGC3982> < reldred> dynamic poo 10:47:56 <Eddi|zuHause> dP: does i increase monotonously or do you need random access to stay consistent? 10:49:06 <DorpsGek> [OpenTTD/OpenTTD] frosch123 commented on pull request #10034: Feature: Button to honk a vehicle's horn https://github.com/OpenTTD/OpenTTD/pull/10034#issuecomment-1250242543 10:51:49 <dP> Eddi|zuHause: I need it stateless so random access I guess 10:53:34 <DorpsGek> [OpenTTD/OpenTTD] frosch123 commented on pull request #10034: Feature: Button to honk a vehicle's horn https://github.com/OpenTTD/OpenTTD/pull/10034#pullrequestreview-1111524318 10:54:29 <Eddi|zuHause> so, let's say you have a sequence [0 .. (a1-1), 0 .. (a2-1), 0..(a3-2), ... ]. i'd store the sequence [a1, a1+a2, a1+a2+a3, ...] 10:55:02 <Eddi|zuHause> in that second sequence, you can make a binary lookup for i 10:55:45 <Eddi|zuHause> a1+..+ak <= i < a1+..+ak+a(k+1) 10:56:45 <Eddi|zuHause> then the result will be i%(a1+..+ak) 10:56:52 <Eddi|zuHause> (double check for some obiwans) 10:57:35 <Eddi|zuHause> i-(a1+..ak) should work as well 10:57:43 <dP> if I'm to store a sequience I can just directly pre-generate rng and use seq[i%lengthof(seq)]] 10:58:12 <andythenorth> nmlc info: Object items: 222/256 10:58:19 <andythenorth> goes it throw out limit? 10:58:56 <andythenorth> or shall I try sharding them? (FIRS only uses about 30% of objects in any economy, so this could work) 10:59:15 *** gelignite has joined #openttd 11:00:01 <Eddi|zuHause> the idea here would be that you don't store the big sequence, bvt only the smaller one 11:01:16 <dP> it'd rather have a longer sequence with faster lookup 11:02:17 <Eddi|zuHause> that'll get into fuzzy territory whether lookup in a long sequence is actually O(1) 11:02:55 <Eddi|zuHause> due to the binary search the second way would be O(log(n)) 11:03:32 *** Wormnest has joined #openttd 11:04:55 <Eddi|zuHause> lookup in a long sequence is very implementation dependent 11:05:11 * andythenorth would like git to not try and autocomplete names of deleted branches 11:05:18 <andythenorth> maybe I can clean something 11:05:39 <andythenorth> oh it's a tagname 11:05:41 <andythenorth> lol 11:05:42 <dP> I don't think I need that long of a sequence to make it look sufficiently random 11:07:19 <Eddi|zuHause> you could replace the second sequence with a clever random generator 11:09:02 <Eddi|zuHause> but dynamic programming has all these tradeoffs... do you want to be more space efficient, do you want to be more time efficient, ... 11:29:00 <andythenorth> "do you want to trust GitHub CoPilot to do it for you?" π 11:29:56 <Eddi|zuHause> is that any better than clippy? :p 11:30:53 <glx[d]> It's scary, it wrote a lot of truegrf 11:33:54 <andythenorth> it's probably got a better heuristic in many cases than the user 11:56:10 *** Wormnest has quit IRC 11:56:18 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1021026866833915924/unknown.png 11:56:18 <andythenorth> such 11:56:21 <andythenorth> snow things 11:58:26 <andythenorth> I guess objects can be animated 11:58:28 <andythenorth> let's see 12:11:45 *** wallabra has joined #openttd 12:32:34 *** wallabra has quit IRC 12:33:39 *** Wormnest has joined #openttd 12:44:42 * andythenorth will be using callback not properties :P 12:44:50 <andythenorth> guess I have to check relative position a lot π 12:49:31 *** virtualrandomnumber has joined #openttd 12:49:50 *** virtualrandomnumber has quit IRC 13:09:00 <andythenorth> hmm 13:09:04 <andythenorth> animation_info is an action 0 prop 13:09:06 <andythenorth> no callback 13:09:42 <andythenorth> but some multi-tile objects are derived in the compile from industry tiles with different animation action 0 props 13:09:51 <andythenorth> I guess that's a challenge π 13:17:38 *** wallabra has joined #openttd 13:23:31 <frosch> there is a callback for animation_info 13:23:52 <frosch> anim_next_frame 13:26:25 *** Wormnest has quit IRC 13:29:51 <TallTyler> Object tiles are π¨βπ³π 13:35:41 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #10034: Feature: Button to honk a vehicle's horn https://github.com/OpenTTD/OpenTTD/pull/10034 13:37:02 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #10034: Feature: Button to honk a vehicle's horn https://github.com/OpenTTD/OpenTTD/pull/10034#issuecomment-1250304634 13:50:54 *** virtualrandomnumber has joined #openttd 13:51:05 *** virtualrandomnumber has quit IRC 14:03:49 *** Wormnest has joined #openttd 14:39:01 <andythenorth> frosch: I went to the shops, but thanks π 14:39:34 *** Smedles has quit IRC 14:39:38 <andythenorth> I figured I can normalise animations somehow π 14:39:45 <andythenorth> everything is some subset of 256 frames π 14:39:48 *** Smedles has joined #openttd 14:48:19 <petern> It cold 14:50:01 *** WormnestAndroid has quit IRC 14:50:03 *** WormnestAndroid has joined #openttd 14:57:05 *** Wormnest has quit IRC 15:04:25 <andythenorth> it sweeney time 15:04:29 <andythenorth> I should get 2 screens 15:04:41 <andythenorth> can't write grf and watch TV in same screen 15:09:49 *** Wormnest has joined #openttd 15:31:30 *** Tass has joined #openttd 15:33:16 <petern> Uh, why is this code working now? 15:34:27 <petern> Oh right, Uniscribe is commented out. Hmm. 15:39:58 <LordAro> petern: nice 15:40:07 <andythenorth> seems I can just unify tiles where they don't match π 15:40:09 <andythenorth> GG 15:40:17 <LordAro> think you've beaten me this weekend 15:40:45 <Wolf01> Guess who probably got covid again? 15:43:33 <petern> Beaten? 15:44:06 <petern> Ohh 15:44:50 <petern> That was a pretty sedate 80 miles though. 15:56:07 <andythenorth> covid is a bad habit to persist in at this point 15:56:11 <andythenorth> becoming unfashionable 15:56:33 <dP> https://cdn.discordapp.com/attachments/1008473233844097104/1021087342645223435/Peek_2022-09-18_18-55.gif 15:56:33 <dP> there, i fixed trees 15:56:49 <petern> That's pretty bad. 15:56:59 <andythenorth> hmm now I have to learn how animation works again 15:57:12 <andythenorth> I touch it every 5 years, then back away carefully as soon as it works 15:57:20 <andythenorth> we have so many animation options π 15:58:37 <andythenorth> are `animation_triggers` supported for objects? 15:58:57 <andythenorth> nvm, found it 15:59:00 <andythenorth> missing link in wiki 15:59:02 <andythenorth> will fix 16:02:24 <petern> Changed one little header and now there's a big recompile π 16:14:58 <dP> sounds like c++ :p 16:15:04 *** ckb has quit IRC 16:18:23 <andythenorth> objection generation from industry tiles is fun 16:18:28 <andythenorth> it's 90% magically just works 16:18:31 <andythenorth> and 10% fuck about 16:20:26 *** ckb has joined #openttd 16:23:45 *** nielsm is now known as Guest876 16:23:57 *** lobstarooo_ has joined #openttd 16:29:14 *** Guest876 has quit IRC 16:29:21 <andythenorth> animation kinda works now π 16:29:23 <andythenorth> so much faff 16:29:29 <andythenorth> special flags and whatnot 16:29:56 <andythenorth> surprised nml doesn't magic the flag based on the callback 16:30:19 *** lobstarooo has quit IRC 16:30:28 *** lobstarooo_ is now known as lobstarooo 16:32:46 <petern> Hmm would it be sensible to standardise how we show expand/collapsed lists? 16:35:13 <petern> Settings and vehicle groups use the same visuals which is nice. 16:35:25 <petern> Cargo waiting in stations uses a text +/- instead. 16:35:38 <petern> Not sure if there are any others 16:38:33 <andythenorth> it would make sense 16:38:36 <andythenorth> you won't enjoy it π 16:39:19 <andythenorth> the cargo waiting in stations is a bit odd 16:39:32 <andythenorth> not really obvious it's a disclosure widget 16:40:12 <andythenorth> the settings one is also used in the livery refit window if there are subtypes 16:41:08 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1021098560260943943/unknown.png 16:41:08 <andythenorth> object groups you say? π 16:41:17 <andythenorth> because 2 levels of nesting is even more faff to navigate? 16:41:31 <petern> Those ARE the groups π 16:41:46 <andythenorth> sorry groups / endlessly nested subgroups π 16:42:03 <andythenorth> vehicle buy menu groups π 16:42:25 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1021098884136706138/unknown.png 16:42:25 <andythenorth> anyway these are ugly 16:42:28 <andythenorth> the station UI is creaking eh 16:42:33 <andythenorth> all that cdist crap π 16:43:46 *** nielsm has joined #openttd 16:43:52 <andythenorth> hmm wonder if I can make sprites float 128px above station tiles, flat, as an indicator of how much cargo is waiting 16:44:05 <andythenorth> probably industries could do that too 16:44:30 <nielsm> it would probably behave weirdly with sprite sorting 16:45:13 <andythenorth> railroad tycoon 3 had something like it 16:45:38 <andythenorth> can't find a picture 16:45:49 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1021099738604507138/unknown.png 16:45:49 <andythenorth> but this is well played by someone on wikipedia π 16:45:51 <andythenorth> English readers will understand 16:46:21 <petern> Too blurry. 16:48:15 <andythenorth> SLOUGH is quite blurry 16:48:34 <andythenorth> ok, perhaps right about now is when I regret writing fancy custom animations for FIRS industry tiles https://github.com/andythenorth/firs/blob/main/src/templates/animation_macros.pynml 16:48:44 <andythenorth> porting all that to objects is blah blah 16:49:33 <andythenorth> maybe I can just template the FEAT as well 16:49:39 <andythenorth> maybe it will just work 17:35:36 <petern> Well that was easy, assignment by name instead of unicode number. 17:52:43 <petern> https://cdn.discordapp.com/attachments/1008473233844097104/1021116575702581308/unknown.png 17:52:43 <petern> andythenorth: Never 17:52:54 <andythenorth> oo 17:53:09 <andythenorth> such crispy 18:19:15 <petern> https://cdn.discordapp.com/attachments/1008473233844097104/1021123254531936266/unknown.png 18:19:16 <petern> Alternatively 18:19:40 <petern> But, I'm not doing this π 18:20:09 <petern> Getting the crossing point of the outer radiuseseseses is a pain 18:20:20 <petern> There's probably a simple calculation but I'm dumb. 18:30:34 <andythenorth> I liked the crunchy one π 18:33:38 <petern> > UK to observe minute's silence in memory of Queen at 8pm 18:33:42 <petern> Oh we are, are we? 18:43:25 <andythenorth> I thought it was tomorrow 18:43:39 * andythenorth has kind of stopped reading news 18:59:01 *** m1cr0man has quit IRC 18:59:16 *** m1cr0man has joined #openttd 19:09:00 <andythenorth> hmm maybe a newgrf UI redesign? π 19:09:11 <petern> Go for it. 19:09:11 <andythenorth> I could do with parameters not being so far from the actual grf name π 19:09:19 <andythenorth> our UI is easy right π 19:09:25 <andythenorth> I mean, I have patched it 3 times 19:09:27 *** esselfe has quit IRC 19:09:37 <petern> I'm busy breaking it all the time. 19:09:59 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1021136019468324984/unknown.png 19:09:59 <andythenorth> wasn't there someone talking about fixing padding? π 19:10:33 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1021136164398321795/unknown.png 19:10:52 <andythenorth> Toggle palette is lolz, and occasionally I hit it because I miss Set parameters 19:10:59 <andythenorth> I just realised what Upgrade does today also π 19:11:02 <andythenorth> never used that 19:11:56 <andythenorth> triggered the responsive view π 19:12:02 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1021136537745899560/unknown.png 19:13:01 <andythenorth> looks neat 19:13:01 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1021136786073854014/unknown.png 19:13:02 <andythenorth> ha if I could always make this industry build like this π 19:13:49 <petern> Yeah but that mishmash of buttons 19:14:29 <andythenorth> it was an improvement at the time π 19:15:33 <andythenorth> hmm, let's do some BadNorth 19:20:52 *** geli has joined #openttd 19:22:05 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1021139064394633226/unknown.png 19:22:05 <andythenorth> ok found it 19:22:40 <andythenorth> https://www.tt-forums.net/viewtopic.php?p=1240207&hilit=newgrf#p1240207 19:27:14 *** gelignite has quit IRC 19:28:51 <Brickblock1> it doesn't fit with the rest of the gui in my opinion. 19:35:22 <andythenorth> it's really terrible 19:35:26 <andythenorth> I am BadNorth 19:35:38 <andythenorth> but actually, looking beyond the crap, the button adjustments make sense 19:35:42 <andythenorth> stopped clock, twice a day 19:39:01 <petern> Biscuits & cheese? 19:39:52 <petern> https://cdn.discordapp.com/attachments/1008473233844097104/1021143539721175163/unknown.png 19:39:52 <petern> Oops π 19:40:29 <andythenorth> nice 19:40:35 <andythenorth> RTL support anticipated 19:40:43 <andythenorth> more Sweeney? 19:40:46 <andythenorth> or objects π 19:41:05 <petern> RTL was already there. 19:41:42 *** Wormnest has quit IRC 19:51:17 *** WormnestAndroid has quit IRC 19:53:54 *** WormnestAndroid has joined #openttd 20:01:09 <petern> https://cdn.discordapp.com/attachments/1008473233844097104/1021148897466384544/unknown.png 20:01:09 <petern> Meh 20:01:34 <petern> It's just 1x sprites innit 20:01:44 *** esselfe has joined #openttd 20:09:37 <andythenorth> such vektors 20:10:18 <Flygon> Someday I'll get a 300dpi monitor just to play OpenTTD with vectors on. 20:10:26 <Flygon> And to also more easily zoom out on the 4K Hokkaido scenario. 20:11:15 *** nielsm has quit IRC 20:16:36 *** geli has quit IRC 20:17:57 *** nielsm has joined #openttd 20:19:28 <petern> Hmm, shadow failure 20:19:43 <petern> https://cdn.discordapp.com/attachments/1008473233844097104/1021153568423677992/unknown.png 20:19:43 <petern> Orange text, should have a shadow... 20:20:14 <petern> Not sure why, white icons elsewhere have a shadow 20:21:36 *** Flygon has quit IRC 20:25:59 *** nielsm has quit IRC 20:33:12 *** Wormnest has joined #openttd 20:50:10 *** wallabra_ has joined #openttd 20:53:23 *** wallabra has quit IRC 20:53:23 *** wallabra_ is now known as wallabra 21:11:00 <andythenorth> glx[d]: so how 'done' is nml stations? π 21:11:10 <andythenorth> might be time for FIRS stations π 21:11:43 <glx[d]> for me it's finished and usable 21:12:23 <reldred> firs stations firs stations firs stations 21:12:41 <andythenorth> not sure what they'll do yet 21:12:57 <andythenorth> there's no point moving all of CHIPs into FIRS 21:13:04 <andythenorth> stations are not industries π 21:15:30 <andythenorth> I want to do some magical multi-tile station layouts 21:19:46 <petern> Do it. 21:20:11 <reldred> No I think it would make sense for firs stations to be itβs own monster, doing things outside the scope of what chips was made for 21:20:16 <petern> NMLify reldred's stations! 21:20:25 <reldred> I mean youβre not going to supersede it overnight 21:20:48 <reldred> petern: Please do, I have sprites ready to go im just so lazy 21:21:00 <petern> I only ever did buffer stops, I'm lazier. 21:21:14 <reldred> Fair 21:21:29 <reldred> Iβll get around to it once a nice template drops 21:21:42 <reldred> I do want pax loading sprites though 21:21:47 <reldred> Need to draw those 21:24:20 <dP> reldred: if you have sprites lying around I can make grf out of them with grf-py if you are interested. 21:25:48 * andythenorth making a list of industries where trains should be able to drive into sheds :P 21:25:57 *** Wormnest has quit IRC 21:26:00 <andythenorth> oh there's the fancy doors opening thing? 21:27:29 <reldred> Yup 21:27:43 <reldred> Check if pbs path reserved through 21:27:51 <reldred> And open da door 21:30:39 <petern> https://cdn.discordapp.com/attachments/1008473233844097104/1021171421185069056/unknown.png 21:30:39 <petern> andythenorth: Did I do it justice? :p 21:31:04 <andythenorth> improved 21:38:12 *** berndj has quit IRC 21:38:18 *** wallabra_ has joined #openttd 21:43:04 *** HerzogDeXtEr has quit IRC 21:43:55 *** wallabra has quit IRC 21:43:55 *** wallabra_ is now known as wallabra 21:44:02 *** berndj has joined #openttd 21:48:38 *** WormnestAndroid has quit IRC 21:51:54 *** Wormnest has joined #openttd 21:52:29 <petern> > Tycoon of the century 21:52:29 <petern> > By Alistair Ford 21:52:48 <petern> Super blocky 21:53:20 *** WormnestAndroid has joined #openttd 21:55:02 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1021177555258183720/unknown.png 21:55:02 <andythenorth> trains going in pokey sheds 21:55:28 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1021177666038140978/unknown.png 21:55:49 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1021177753896235099/unknown.png 21:55:49 <andythenorth> more coke vicar? 21:55:54 <andythenorth> red hot 21:55:57 <reldred> I like big sheds and I cannot lie 22:03:54 *** berndj has quit IRC 22:04:08 *** berndj has joined #openttd 22:13:50 *** Wolf01 has quit IRC 22:19:00 <DorpsGek> [OpenTTD/OpenTTD] ldpl opened pull request #10035: Change: Make _tick_counter 64bit to avoid wrapping https://github.com/OpenTTD/OpenTTD/pull/10035 22:20:17 <petern> Oh right, that's why there's no shadow. It's not drawn using the string routines. 23:07:22 <DorpsGek> [OpenTTD/OpenTTD] ldpl updated pull request #10035: Change: Make _tick_counter 64bit to avoid wrapping https://github.com/OpenTTD/OpenTTD/pull/10035 23:16:20 *** lobstarooo_ has joined #openttd 23:23:07 *** lobstarooo has quit IRC 23:23:11 *** lobstarooo_ is now known as lobstarooo 23:59:31 *** Wormnest has quit IRC