OpenMW is an open implementation of the Morrowind engine

Version history of components/terrain/world.cpp