I wonder though ... they say it's now pure open source that's been "rewritten" from scratch. Hate to be a party pooper but is that really true? It took all of two minutes to find this in the code:
https://github.com/dkfans/keeperfx/blob/master/src/engine_re...
//BucketKindPolygonStandard in this function could also be BucketKindPolygonSimple or BucketKindBasicUnk10 idk all 3 pretty similar
int z;
struct BucketKindPolygonStandard *v5;
int v6;
struct BasicQ *v7;
if ( (ec1->field_8 & (uint16_t)(ec2->field_8 & ec3->field_8) & 0x1F8) == 0
&& (ec3->view_width - ec2->view_width) * (ec1->view_height - ec2->view_height)
+ (ec3->view_height - ec2->view_height) * (ec2->view_width - ec1->view_width) > 0 )
{
I dunno, this looks a lot like decompiled code. There are lots of other variables with names like v15, v16 etc in other parts of the code too.