IRC logs for #openttd on OFTC at 2025-06-28
⏴ go to previous day
00:08:14 *** dh1 has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)
00:40:33 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
00:40:36 *** WormnestAndroid has joined #openttd
02:19:46 *** Wormnest has quit IRC (Quit: Leaving)
02:22:56 *** gnu_jj_ has quit IRC (Ping timeout: 480 seconds)
04:11:29 *** dh1 has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)
04:17:32 *** Ttech has quit IRC (Quit: Este é o fim.)
04:19:58 *** dh1 has quit IRC (Ping timeout: 480 seconds)
04:26:39 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
04:26:41 *** WormnestAndroid has joined #openttd
04:26:44 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
04:26:50 *** WormnestAndroid has joined #openttd
04:42:47 <DorpsGek> - Update: Translations from eints (by translators)
05:48:46 *** dh1 has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)
06:39:26 *** dh1 has quit IRC (Ping timeout: 480 seconds)
08:24:17 *** Smedles has joined #openttd
08:50:13 *** dh1 has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)
08:58:43 *** dh1 has quit IRC (Ping timeout: 480 seconds)
09:14:26 *** Flygon has quit IRC (Read error: Connection reset by peer)
09:23:01 *** dh1 has quit IRC (Ping timeout: 480 seconds)
10:53:36 *** toktik has quit IRC (Remote host closed the connection)
11:22:46 *** Smedles has joined #openttd
12:12:58 *** jfkuayue has joined #openttd
12:55:03 <pickpacket> Shit... I asked something about 32bpp here a couple of days ago and then got workstracted. Don't remember when or what but I sure didn't see if someone answered 🫤
12:55:27 <pickpacket> Forgot about it totally until just now
12:58:13 <pickpacket> Pretty sure my NewGRFs are 8bpp
12:59:08 <pickpacket> I'm going to have to re-do the sprites at some point because I want to add zoom levels. I'll look up how to do 32bpp sprites then
12:59:26 <pickpacket> ... Whenever I get to that item on my projects list
13:03:41 <peter1138[d]> So you are completely ignoring the answer?
13:11:28 *** emperorjake has joined #openttd
13:11:28 <emperorjake> Extrazoom = more pixels, 32bpp = more colours. NewGRFs can be neither, either, or both.
13:11:52 <pickpacket> I know, I just figure I may as well do them at the same time
13:13:59 *** Wormnest has joined #openttd
13:14:48 <pickpacket> Have other sprite changes I want to do, too. May as well do a complete overhaul while I'm at it
13:15:38 <pickpacket> So no, not ignoring the answer 🙂 thanks for clarifying
13:15:56 <emperorjake> Might want to provide both normal and extrazoom sprites, as many players disable extrazoom for graphical consistency
13:16:15 <emperorjake> and downscaled doesn't look very good 😉
13:38:02 *** dh1 has quit IRC (Ping timeout: 480 seconds)
13:56:06 *** dh1 has quit IRC (Ping timeout: 480 seconds)
14:00:29 *** Wormnest has quit IRC (Ping timeout: 480 seconds)
14:04:11 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
14:05:17 *** WormnestAndroid has joined #openttd
14:27:47 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
14:28:25 *** WormnestAndroid has joined #openttd
14:32:56 *** dh1 has quit IRC (Ping timeout: 480 seconds)
14:59:54 <peter1138[d]> > src/cargotype.h:173 - 'argument': conversion from 'size_t' to 'const TBaseType', possible loss of data
15:00:24 <peter1138[d]> As far as I can tell, the only conversion is by `static_cast<CargoType>()`
15:04:31 <_glx_> size_t to anything smaller will warn
15:05:43 <_glx_> but explicit cast should prevent it
15:08:26 <_glx_> hmm maybe the warning is actually for something else, because I don't see TBaseType on this line
15:09:55 <peter1138[d]> Well, also complains about 168, which has the same cast.
15:10:46 *** dh1 has quit IRC (Ping timeout: 480 seconds)
15:10:49 <peter1138[d]> There's an assert on line 139, but I would imagine that would throw up a ton more errors if it was that.
15:12:57 <_glx_> my guess is the warning is actually for strong_typedef_type.hpp:137
15:15:20 <_glx_> but I'm quite sure it's not the first time we downcast size_t into a strong type
15:20:04 <_glx_> keeping size_t parameter for Get should also work
15:21:51 <_glx_> or TypedIndexContainer forces the change
15:24:33 <_glx_> I think it's because static_cast<CargoType>(<size_t>) implicitely casts size_t into TBaseType (uint8) before returning CargoType
15:25:44 <_glx_> so explicit cast still implies an implicit one and the implicit cast triggers the warning
15:27:52 <peter1138[d]> /me clutches some straws.
15:31:32 <_glx_> CargoType::BaseType might be better than uint8_t
15:45:05 <peter1138[d]> Well, that did something different.
15:46:01 <peter1138[d]> args.GetNextParameter<CargoType>();
15:46:59 <peter1138[d]> Funny how it's reported backwards.
15:48:28 <andythenorth> what if the buy menu variant tree was composed from badges?
15:48:37 <andythenorth> sure we rejected that idea already 😛
15:54:17 *** akimoto has joined #openttd
16:00:21 *** dh1 has quit IRC (Ping timeout: 480 seconds)
16:02:41 <peter1138[d]> Oh, that wasn't the line. Hmm.
16:18:16 *** dh1 has quit IRC (Ping timeout: 480 seconds)
17:05:54 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
17:07:41 *** WormnestAndroid has joined #openttd
17:14:09 *** WormnestAndroid has quit IRC (Remote host closed the connection)
17:14:11 *** WormnestAndroid has joined #openttd
17:37:29 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
17:38:12 *** WormnestAndroid has joined #openttd
17:39:58 <andythenorth> watch Glasto maybe
17:40:46 <peter1138[d]> cba, accoustics suck :p
17:41:02 <peter1138[d]> Also there's the nagging feeling of "wish I'd gone when I was younger and it was still affordable"
17:45:45 <andythenorth> I've been once, in a good year
17:46:04 <andythenorth> cloudless skies, 5 full days
17:51:36 <andythenorth> expandable industries was it?
18:08:23 *** WormnestAndroid has quit IRC (Remote host closed the connection)
18:08:26 *** WormnestAndroid has joined #openttd
18:08:47 <kuhnovic> I was at Graspop a week ago. Got sick after two days and had to go home. Great festival 😛
18:19:36 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
18:20:09 *** WormnestAndroid has joined #openttd
18:25:39 <andythenorth> oof wallclock games are long eh 😄
18:34:35 *** WormnestAndroid has quit IRC (Remote host closed the connection)
18:34:40 *** WormnestAndroid has joined #openttd
18:40:09 <peter1138[d]> How do I join strings together in GS?
18:45:36 <peter1138[d]> I want to send multiple strings to the extra text of an industry.
18:52:01 <andythenorth> I don't know if you can plain concatenate or not
18:52:16 <andythenorth> but I'd expect multiple params to a GSText to work
18:52:54 *** Wormnest has joined #openttd
18:53:03 <andythenorth> `return GSText(GSText.STR_TOWN_STORY_INDUSTRY_REPORT_CARGO_STATS, extra_params[0], extra_params[1])`
18:54:09 <andythenorth> is params and substrs
18:59:17 <peter1138[d]> I was missing the requirement for {STRINGx} rather than {STRING}
19:05:27 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
19:05:49 *** WormnestAndroid has joined #openttd
19:07:48 <_glx_> yeah the format is the same as openttd
19:39:44 *** dh1 has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)
19:58:41 *** Wormnest has quit IRC (Ping timeout: 480 seconds)
20:06:54 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
20:07:43 *** WormnestAndroid has joined #openttd
21:40:10 *** keikoz has quit IRC (Ping timeout: 480 seconds)
22:10:34 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
22:36:22 *** ChanServ sets mode: +v tokai
22:51:36 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
23:28:58 *** WormnestAndroid has joined #openttd
23:45:11 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
23:51:12 *** SigHunter has joined #openttd
continue to next day ⏵