Landscape height and texture bindings for Lua (Revised)

This is a revision of !4328 (closed)

Changes to the original MR:

  • rebased to current master
  • try to deduplicate the code
  • use MWBase::Environment::get().getWorld()->getTerrainHeightAt(pos, worldspace); when getting the height at pos
  • change return value of getTextureAt to (texture path, plugin name) and ommit textureId

Merge request reports

Loading