Port of the MACT support library used by Duke3D and Shadow Warrior