Config
Log for #openttd on 2nd November 2024:
Times are UTC Toggle Colours
01:38:36  *** Wormnest has quit IRC
03:33:45  *** D-HUND has joined #openttd
04:47:25  <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/9193d69e0b8cfc2e55defb9b65bb473469389a30
04:47:26  <DorpsGek>   - Update: Translations from eints (by translators)
05:12:55  *** keikoz has joined #openttd
06:00:52  *** keikoz has quit IRC
14:16:30  <peter1138> IIRC, drying up is only for replacing shore tiles with regular dirt tiles. Nothing else.
14:19:10  <xarick> ah, so it needs to do something
14:20:32  <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1302276163342831667/image.png?ex=672786b0&is=67263530&hm=f983c526b97cc5547adccd9d45f6ec8e24120ed2868a3ac75b1e002dfb81d4c6&
14:20:32  <xarick> I see...
14:21:46  <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1302276471645012068/image.png?ex=672786f9&is=67263579&hm=995d561d624610ebb21a0c8ba4e28440d5c3b69312919c58e6a957ae50959743&
14:21:58  <xarick> dang, feels like I'm reinventing the wheel
14:29:15  <johnfranklin> Transfer between Newark Castle and Newark Northgate is fun.
14:30:10  <johnfranklin> I used 18 minutes, including time for photography.
23:13:03  *** SigHunter has joined #openttd
23:26:49  <xarick> have you considered casting TileType as uint8_t?
23:27:04  <xarick> enum TileType : uint8_t
23:27:17  <peter1138> That isn't casting.
23:27:24  <xarick> enumerating or whatever
23:30:39  <xarick> does it speed?
23:31:06  <xarick> I'm trying weird stuff
23:31:24  <xarick> ```inline bool HasTileWaterClass(Tile t)
23:31:24  <xarick> {
23:31:24  <xarick> static constexpr int WITH_WATERCLASS_MASK = (1 << MP_INDUSTRY) | (1 << MP_OBJECT) | (1 << MP_STATION) | (1 << MP_TREES) | (1 << MP_WATER);
23:31:24  <xarick> return HasBit(WITH_WATERCLASS_MASK, GetTileType(t));
23:31:24  <xarick> }```

Powered by YARRSTE version: svn-trunk