research into TiltedEngine library from hammerwatch