geometry, gamedata, worldgen, and viewport ported from old game