IRC logs for #openttd on OFTC at 2025-10-08
⏴ go to previous day
00:24:01 *** Wormnest has quit IRC (Ping timeout: 480 seconds)
01:14:49 *** Wormnest has joined #openttd
01:27:51 *** Wormnest has quit IRC (Quit: Leaving)
02:02:05 *** herms has quit IRC (Quit: bye)
02:26:27 *** gnu_jj_ has joined #openttd
02:29:44 *** gnu_jj has quit IRC (Ping timeout: 480 seconds)
02:44:50 *** WormnestAndroid has quit IRC (Remote host closed the connection)
02:44:52 *** WormnestAndroid has joined #openttd
03:19:16 *** Zathras_11 has joined #openttd
03:22:50 *** Zathras has quit IRC (Ping timeout: 480 seconds)
09:39:27 *** saladcritter has joined #openttd
09:56:28 *** saladcritter has quit IRC ()
10:09:17 *** saladcritter has joined #openttd
11:05:07 *** saladcritter has quit IRC ()
11:25:41 *** dh1 has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)
13:08:30 *** Flygon has quit IRC (Read error: Connection reset by peer)
14:02:59 *** peter1138 has quit IRC (Read error: Connection reset by peer)
14:03:17 *** peter1138 has joined #openttd
14:03:17 *** ChanServ sets mode: +o peter1138
14:04:09 <peter1138> I really need to protect that power switch.
14:05:15 <talltyler> Put a big red cover on it, like missile launch and self-destruct buttons 😄
14:24:39 <LordAro> even if it's not a good design
14:46:19 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
14:50:45 *** WormnestAndroid has joined #openttd
14:57:06 <dwfreed> talltyler: fun fact, those are called mollyguards
14:57:49 <talltyler> That is a fun fact!
14:59:01 <dwfreed> they're named after a programmer's daughter
15:00:24 <dwfreed> also 'mollyguard' is a linux program that interposes the various shutdown commands to ask you what host you're shutting down to make sure you're shutting down the right one :)
15:01:00 <LordAro> never knew that's where the name of the program came from
15:36:57 *** gelignite has joined #openttd
15:40:48 <LordAro> WHY WERE YOU STORING THAT DATA YOU USELESS FUCKWITS
15:43:16 <_glx_> yeah it's the kind of discard after use data
16:01:38 *** gelignite has quit IRC (Read error: Connection reset by peer)
16:08:31 *** gelignite has joined #openttd
16:15:46 <rito12_51026> Is using a bitmask in values of WidgetID a good idea?
16:15:46 <rito12_51026> /* Use number that is a power of two, so bitwise OR and XOR can be used. */
16:15:46 <rito12_51026> static const uint8_t WID_EP_TOGGLES_MASK = 1U << 6;
16:15:48 <rito12_51026> /** Widgets of the #EnginePreviewWindow class. */
16:15:48 <rito12_51026> enum EnginePreviewWidgets : WidgetID {
16:15:50 <rito12_51026> /* Make sure that following ids do not collide with BV ones. */
16:15:50 <rito12_51026> WID_EP_TRAIN_TOGGLE = WID_EP_TOGGLES_MASK | VEH_TRAIN, ///< Toggles visibility of trains.
16:15:52 <rito12_51026> WID_EP_ROAD_VEHICLE_TOGGLE = WID_EP_TOGGLES_MASK | VEH_ROAD, ///< Toggles visibility of road vehicles.
16:15:52 <rito12_51026> WID_EP_SHIP_TOGGLE = WID_EP_TOGGLES_MASK | VEH_SHIP, ///< Toggles visibility of ships.
16:15:54 <rito12_51026> WID_EP_AIRCRAFT_TOGGLE = WID_EP_TOGGLES_MASK | VEH_AIRCRAFT, ///< Toggles visibility of aircrafts
16:15:56 <rito12_51026> static_assert((WID_EP_TRAIN_TOGGLE ^ WID_EP_TOGGLES_MASK) == VEH_TRAIN);
16:15:56 <rito12_51026> static_assert((WID_EP_ROAD_VEHICLE_TOGGLE ^ WID_EP_TOGGLES_MASK) == VEH_ROAD);
16:15:58 <rito12_51026> static_assert((WID_EP_SHIP_TOGGLE ^ WID_EP_TOGGLES_MASK) == VEH_SHIP);
16:15:58 <rito12_51026> static_assert((WID_EP_AIRCRAFT_TOGGLE ^ WID_EP_TOGGLES_MASK) == VEH_AIRCRAFT);
16:19:53 <LordAro> if you have to ask...
16:20:52 <_glx_> does script_window.cpp generator even support it ?
16:21:41 <peter1138> Answer is no. it's not a good idea.
16:45:21 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
16:49:36 *** WormnestAndroid has joined #openttd
17:11:39 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
17:13:49 *** WormnestAndroid has joined #openttd
18:10:51 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
18:14:29 *** WormnestAndroid has joined #openttd
18:31:51 *** dh1 has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)
19:00:56 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
19:00:57 *** WormnestAndroid has joined #openttd
19:18:24 *** tokai|noir has joined #openttd
19:18:24 *** ChanServ sets mode: +v tokai|noir
19:25:30 *** tokai has quit IRC (Ping timeout: 480 seconds)
19:55:49 *** Wormnest has joined #openttd
20:11:54 *** gelignite has quit IRC (Read error: Connection reset by peer)
20:13:37 <andythenorth[d]> IS IT NAPTIME?
21:01:49 *** Wormnest has quit IRC (Ping timeout: 480 seconds)
21:02:49 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
21:03:13 *** WormnestAndroid has joined #openttd
21:16:45 <andythenorth[d]> I'll tell you in the morning
21:20:14 *** reldred has quit IRC (Quit: User went offline on Discord a while ago)
21:31:55 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
21:32:30 *** keikoz1 has quit IRC (Ping timeout: 480 seconds)
21:35:13 *** WormnestAndroid has joined #openttd
21:50:28 *** reldred has joined #openttd
21:50:28 <reldred> It’s morning here. Nearly time for breakfast I do think.
21:55:11 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
21:58:49 *** WormnestAndroid has joined #openttd
22:04:02 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
22:19:22 *** WormnestAndroid has quit IRC (Remote host closed the connection)
22:20:35 *** WormnestAndroid has joined #openttd
continue to next day ⏵