Log for #openttd on 24th January 2021:
Times are UTC Toggle Colours
00:55:09  *** gelignite has quit IRC
01:02:07  *** snail_UES_ is now known as Guest11209
01:02:08  *** snail_UES_ has joined #openttd
01:05:16  *** Guest11209 has quit IRC
01:56:34  *** Flygon has joined #openttd
02:01:10  *** Progman has quit IRC
02:50:19  *** Wormnest has quit IRC
02:56:31  *** glx has quit IRC
03:56:10  *** D-HUND has joined #openttd
03:59:32  *** debdog has quit IRC
04:07:56  *** Gustavo6046 has quit IRC
04:45:12  *** Gustavo6046 has joined #openttd
05:23:16  *** nielsm has quit IRC
05:31:16  *** supermop_Home has quit IRC
06:00:56  *** Gustavo6046_ has joined #openttd
06:01:54  *** snail_UES_ has quit IRC
06:03:19  *** Gustavo6046 has quit IRC
06:03:19  *** Gustavo6046_ is now known as Gustavo6046
07:05:52  *** Gustavo6046 has quit IRC
07:38:22  *** andythenorth has joined #openttd
08:04:48  *** andythenorth has quit IRC
08:07:38  *** andythenorth has joined #openttd
08:19:49  *** andythenorth has quit IRC
08:23:03  *** Gustavo6046 has joined #openttd
08:27:16  *** Wolf01 has joined #openttd
09:15:53  *** jottyfan has joined #openttd
09:20:00  *** jottyfan has quit IRC
09:22:20  *** andythenorth has joined #openttd
09:31:38  <andythenorth> yo
09:34:57  *** Progman has joined #openttd
10:05:09  <DorpsGek> [OpenTTD/nml] david-geiger opened issue #186: check fails with new python3-pillow 8.1.0
10:28:37  *** qwebirc43687 has joined #openttd
10:47:48  *** jottyfan has joined #openttd
10:50:01  *** jottyfan has joined #openttd
10:50:12  *** nielsm has joined #openttd
10:52:04  *** roadt__ has joined #openttd
10:53:17  *** jottyfan has quit IRC
10:56:57  *** gelignite has joined #openttd
10:58:27  *** Samu has joined #openttd
10:59:11  *** roadt_ has quit IRC
11:27:00  <DorpsGek> [OpenTTD/OpenTTD] TrueBrain opened pull request #8605: Codechanges to SDL2 driver to increase readability (and make it more like Win32 driver)
11:29:29  <TrueBrain> michi_cc: I made it myself a bit more difficult .. this PR ^^ will be a huge merge-conflict with my current OpenGL work for SDL :P But I cherry-picked out those blobs that are not related to OpenGL changes :) I did push a new OpenGL version to my branch before, with your latest work integrated :)
11:29:45  <TrueBrain> there is 1 commit in there to make a minor change to Win32; just see if you agree with that. It just confused me for a bit :P
11:30:05  <TrueBrain> if/when the above PR is merged, I will rebase my work again. Should after that only be a few commits, similar to what you have for Win32 :)
11:30:35  <TrueBrain> Eddi|zuHause: if you are a bit bored or what-ever, I wouldn't mind someone testing the above PR if I didn't screw anything up on Linux .. I tested it only on Windows :)
11:30:55  <Wolf01> Test it in WSL2 :P
11:31:36  <TrueBrain> yeah, I am doing that now too; still not really like the real thing :)
11:32:45  <Wolf01> Did you find a way to connect to vcxsrv (or any other)? I'm not able to do it since I upgraded to WSL2
11:33:06  <TrueBrain> yeah, works without trouble for me
11:33:14  <TrueBrain> you do need to disable the ACL in vcxsrv
11:33:32  <TrueBrain> and set DISPLAY=
11:34:08  <TrueBrain> k, works on WSL2 too without issue
11:34:14  <TrueBrain> didn't expect any
11:34:20  <TrueBrain> still would love to know if it works on Linux too :D
11:37:32  <andythenorth> there's no way to dump newgrf callback variables to log, right?
11:37:35  <andythenorth> it would be insanely noisy
11:37:41  <andythenorth> variables / return values /s
11:41:08  <michi_cc> TrueBrain: I don't mind renaming any function, except that the original is called WGLGetProcCallback and not WGLGetProcAddress like your commit message suggests :p
11:43:14  <DorpsGek> [OpenTTD/nml] glx22 closed issue #186: check fails with new python3-pillow 8.1.0
11:45:25  <DorpsGek> [OpenTTD/nml] glx22 commented on issue #186: check fails with new python3-pillow 8.1.0
11:52:15  <Wolf01> Oh, it works now, I had a wrong setup in .bashrc
11:52:32  <Wolf01> Ewww OpenTTD 1.7.1
11:55:39  <LordAro> TrueBrain: you've introduced a warning :)
12:00:49  <TrueBrain> michi_cc: lol ... okay, I totally missed that :D Sorry :P
12:01:29  <TrueBrain> LordAro: funny how the other compilers don't noticed :P
12:02:30  <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #8605: Codechanges to SDL2 driver to increase readability (and make it more like Win32 driver)
12:03:52  <TrueBrain> michi_cc: ah, I see what confused me there :) GetProcCallback calling GetProcAddress, yeah :) GetProcAddressCallback?
12:03:54  <TrueBrain> dunno :P
12:04:47  <TrueBrain> or just OGLGetProcAddress, without the "callback".. dunno ..
12:05:03  <TrueBrain> just see if/what you want to do with it :)
12:05:51  <michi_cc> We have GetOGLProcAddress in opengl.cpp
12:06:22  <michi_cc> If you want to be fancy, GetProcAddressCallback would be the most explicit.
12:07:21  <TrueBrain> well, it doesn't return GetProcAddress, but the result of it
12:07:24  <TrueBrain> so is it a callback? :)
12:07:48  <michi_cc>  GetProcAddressProc :)
12:08:47  <TrueBrain> isn't it just GetProcAddress, and we give the pointer to that function to the backend? Not sure if it needs a postfix .. as you noticed, it confused me :P But I can be completely me, don't get me wrong :D
12:09:28  <TrueBrain> so just think about it for 2 more minutes, pick one or leave the current, and I mimic it in SDL :P
12:11:07  <Eddi|zuHause> TrueBrain: didn't encounter any problems with the PR
12:11:11  <TrueBrain> Eddi|zuHause: \o/
12:11:13  <TrueBrain> thank you!
12:19:51  <michi_cc> I can't call it GetProcAddress, as that is a Windows function. It has to have some prefix and/or postfix. OGLGetProcAddress would be one way (except that opengl.cpp has a GetOGLProcAddress), something like Proc or Callback as a suffix another way.
12:20:27  <TrueBrain> owh, prefixing with OGL is fine by me; so yeah, postfix it with something, fine by me :)
12:20:29  <michi_cc> I could name it OGLGetProcAddressCallback (or OGLGetProcAddressProc if you don't like callback), if you like it more.
12:20:35  <TrueBrain> I mostly misread it, and couldn't figure out what the intention was :P
12:20:48  <TrueBrain> but again, it can be fully me :) Take that into account :P
12:21:11  <michi_cc> Hmm, maybe GetOGLProcAddressCallback, as it ends up as GetOGLProcAddress in opengl.cpp?
12:21:18  <TrueBrain> +1
12:21:33  <Eddi|zuHause> TrueBrain: "-d driver=2" output, if that's relevant for anything
12:21:58  <TrueBrain> that looks fine; means I didn't break anything with my PR :D
12:22:00  <TrueBrain> that makes me happy :)
12:30:09  <Wolf01> That cmakes me sad instead... Every time I run it I get a different error :S
12:30:50  <Wolf01> Target "openttd" requires the language dialect "CXX17" , but CMake does not know the compile flags to use to enable it.
12:31:17  <Eddi|zuHause> that sounds like your cmake version is too old
12:31:24  <Wolf01> I... just installed it
12:31:29  <LordAro> or VS version is too old
12:31:43  <Eddi|zuHause> well, you could have installed an old version :p
12:32:01  <Wolf01> I'm on linux, maybe my distro is too old
12:32:26  <TrueBrain> 16.04, yes :)
12:34:33  <Wolf01> Yes, that, I'll update
12:35:18  <Wolf01> Installing the update may teke several hours... ZZZzzz
12:35:23  <Wolf01> *take also
12:46:04  <DorpsGek> [OpenTTD/OpenTTD] michicc updated pull request #7744: Draft Feature: OpenGL video driver
12:46:47  <TrueBrain> michi_cc: how is OSX going? Already pulled all your hair out of your head?
12:47:17  <michi_cc> Not yet :D
12:47:48  <michi_cc> Haven't done much during the week though as I had some other stuff to do.
12:48:51  <TrueBrain> wait, a world exist outside OpenTTD? :P
12:49:27  *** iSoSyS has joined #openttd
12:54:50  *** iSoSyS has quit IRC
13:00:54  *** Progman has quit IRC
13:15:43  <Wolf01> Ooooh ffs, faulty freetype now
13:16:36  <Wolf01> Also missing SDL2
13:24:51  *** blathijs has quit IRC
13:33:30  *** blathijs has joined #openttd
13:56:33  *** asdfasdf has joined #openttd
14:05:10  *** WormnestAndroid has quit IRC
14:07:07  *** WormnestAndroid has joined #openttd
14:09:06  *** glx has joined #openttd
14:09:06  *** ChanServ sets mode: +v glx
14:10:10  *** frosch123 has joined #openttd
14:14:08  <Wolf01> Mmmmh even VS won't compile, not finding zlib, liblzma and an error about cannot convert const char [3] to char
14:14:25  <Wolf01> The libraries are there, it's just stupid
14:14:51  <michi_cc> Did you do the vcpgk integrate step?
14:14:57  <Wolf01> Yes
14:15:49  <michi_cc> Also, if you did it according to the readme, you'll have built x64-windows-static, but CMake/vcpkg defaults to x64-windows. You need to change that yourself in the cmake config/variables.
14:17:37  <Wolf01> I did it before... maybe it was one of the changes git was bitching about when I tried to push from master and so I hard reset the repo?
14:18:00  <glx> it's not stored in git
14:18:11  <michi_cc> The config is not a tracked file, so that shouldn't matter unless you deleted the whole build dir.
14:18:56  <Wolf01> Yes, I did
14:19:03  <glx> you can set VCPKG_TARGET_TRIPLET in manage configuration menu
14:23:34  <glx> (which is stored in clone_root/CMakeSettings.json)
14:36:55  <Wolf01> I think this stuff should be included in, the current one makes a lot of guessing on how to forward to the next step on some points
14:37:15  <TrueBrain> PRs are welcome :D
14:37:50  <Wolf01> I couldn't even write it in italian :P
14:38:17  <glx> I think shows what needs to be set (via command line example)
14:39:36  <glx> but indeed it's not very clear
14:51:17  <glx> so what would be the best solution for #8599 ?
15:14:33  <Samu> wentbourne no longer crashes!
15:57:58  *** Flygon has quit IRC
16:01:41  *** _Artea has quit IRC
16:02:50  *** supermop_Home_ has joined #openttd
16:12:11  <Wolf01> Oh shit, cmake still generating cache, no way to cancel it (cancel doesn't work)
16:13:07  *** Artea has joined #openttd
16:18:07  <Samu> the tram savegame example i got is drive on left... only to slow my progress
16:18:57  <glx> Wolf01: happens sometimes, you need to close folder, or just close VS
16:29:55  <Wolf01> Already done both, as I reopen the project it restarts caching
16:30:08  <Wolf01> I think I'll start the repo from scratch
16:32:40  <glx> you can clear the cache manually, I think it's in out/build/<configuration> by default
16:32:49  *** jottyfan has joined #openttd
16:33:38  <glx> but yeah cmake always run at least once when you open the folder
16:36:20  <Wolf01> Yeah, but still caching stuff after 2 hours...
16:36:41  <Wolf01> BTW I'm at the same point as before, missing dependencies
16:37:10  <glx> cache generation should be quite fast
16:37:13  <Wolf01> ZLIB, LIBLZMA and PNG now...
16:38:09  <glx> using VS2019 or 2017 ?
16:38:33  <Wolf01> 2017
16:38:58  <glx> ok for 2017 you also need to set CMAKE_TOOLCHAIN_FILE
16:39:44  <glx> 2019 does it by itself, but 2017 is from before vcpkg I think
16:40:20  <Wolf01> I might update to 2019
16:41:19  <Wolf01> There are updates to the cmake components for 2017, maybe they help
16:42:05  <glx> possible, but we rely on very old cmake feature (3.5)
16:56:24  <Wolf01> Wtf... manually specified variables were not used in the project: CMAKE_TOOLCHAIN_FILE and VCPKG_TARGET_TRIPLET
16:57:01  <glx> triplet is used via toolchain
16:57:29  <glx> you cleared the cache ?
16:58:37  <Wolf01> Ok, seem working now
17:00:22  <Wolf01> Dependencies problems seem to be gone, I still have this one btw: Error	C2440	'initializing': cannot convert from 'const char [3]' to 'char'	C:\WINDOWS\CMakeLists.t	E:\progetti\OpenTTD\master\src\currency.cpp	69
17:03:42  *** snail_UES_ has joined #openttd
17:03:55  <glx> what do you have on this line ? because in master it's only a closing curly brace
17:04:41  <Wolf01> Nothing, just cloned master, changed the cmake settings to add the parameters and compiled
17:06:27  <Wolf01> The problem might be in the CurrencySpec btw
17:07:10  <Wolf01> Or the declaration of origin_currency_specs constant
17:08:05  *** Wormnest has joined #openttd
17:08:40  *** WormnestAndroid has quit IRC
17:08:50  <glx> yes some prefix or postfix seem to be rejected by your compiler
17:08:55  *** WormnestAndroid has joined #openttd
17:09:15  <Wolf01> NBSP ones?
17:09:50  <Wolf01> Or the utf8 ones, I can't see many other weird things
17:10:44  <glx> but the struct use char[8] or char[16]
17:11:33  <Wolf01> 8 on separator, which is always blank and 16 in the other cases, so...
17:11:42  <glx> so I don't get why it errors
17:12:55  <Wolf01> I don't see any encoding problem or newline mismatch
17:14:00  <LordAro> that sounds like the \uxxxx escape codes
17:19:14  <glx> testing something switched from windows-latest (windows-2019 = VS2019) to windows-2016 (VS2017)
17:19:44  <glx> should have disabled other builds
17:24:37  <glx> confirmed failure with VS2017 :)
17:24:45  <Wolf01> Yep
17:35:10  <glx> seems similar too
17:35:19  *** jottyfan has quit IRC
17:38:30  <Wolf01> So... install 2019 and gtfo?
17:38:58  <glx> I'm trying something based on my reading of
17:58:32  <supermop_Home_> should i go get tacos pizza or noodles?
17:59:52  <supermop_Home_> how are you doing Wolf01
18:01:37  <Wolf01> Bored
18:06:11  <supermop_Home_> recovered?
18:07:21  <Wolf01> Not yet
18:17:22  *** nielsm has quit IRC
18:24:01  *** sla_ro|master has joined #openttd
18:50:39  <glx> ok now I have 2017 compiler installed so I can try things locally
19:01:42  <Wolf01> An I installed 2019, I'm planning to remove at least 2015 if I manage to compile UWP with 2017 for old targets
19:08:54  *** Wormnest has quit IRC
19:12:49  *** WormnestAndroid has quit IRC
19:13:57  *** WormnestAndroid has joined #openttd
19:28:19  *** jottyfan has joined #openttd
19:33:41  *** iSoSyS has joined #openttd
19:42:14  *** jottyfan has quit IRC
19:46:10  *** tokai|noir has joined #openttd
19:46:10  *** ChanServ sets mode: +v tokai|noir
19:46:22  *** Wormnest has joined #openttd
19:53:06  *** tokai has quit IRC
19:58:45  *** asdfasdf has quit IRC
20:27:26  *** WormnestAndroid has quit IRC
20:27:48  *** WormnestAndroid has joined #openttd
20:36:56  *** Progman has joined #openttd
20:40:01  <Samu> i'm not getting more crashes
20:40:05  <Samu>
20:40:24  <Samu> it is done :p, now how to describe the whole
20:40:39  <Samu> the whole deal
20:47:07  *** sla_ro|master has quit IRC
21:13:17  *** gelignite has quit IRC
21:46:38  <DorpsGek> [OpenTTD/OpenTTD] frosch123 commented on pull request #8604: Feature: allow limiting zoom level of NewGRF-provided sprites
21:47:31  *** frosch123 has quit IRC
21:54:57  *** Samu has quit IRC
21:58:56  <supermop_Home_> andythenorth top and tailing DMUs with DVTs looks neat
21:59:02  <andythenorth> lol
21:59:45  <supermop_Home_> pointy = fancier
22:03:10  <supermop_Home_> time to gather up portfolio photos
22:03:30  <supermop_Home_> 2 rounds of layoffs scheduled between now and q2
22:03:43  <andythenorth> oof
22:05:09  *** nielsm has joined #openttd
22:08:21  <supermop_Home_> they are actually dissolving the interior design team and replacing it with 'experience design' so i am puzzled how anyone will be left standing
22:32:28  *** iSoSyS has quit IRC
22:37:47  <DorpsGek> [OpenTTD/OpenTTD] perezdidac commented on pull request #8603: Feature: Object class selection string filtering
22:44:06  <supermop_Home_> ah i guess i din't have improved town layouts loaded afterall
22:44:24  <supermop_Home_> and this was such a nice little map
22:46:55  <supermop_Home_> i guess i have a lot of work to do on my roads now
22:55:53  <andythenorth> supermop_Home_ new job time? o_O
22:56:40  *** Progman has quit IRC
23:04:34  *** HerzogDeXtEr has quit IRC
23:09:30  *** jottyfan has joined #openttd
23:17:30  *** andythenorth has quit IRC
23:18:00  *** Wolf01 has quit IRC
23:23:48  *** iSoSyS has joined #openttd

Powered by YARRSTE version: svn-trunk