Skip to content

Releases: MinchinWeb/openttd-metalibrary

Version 9

11 Jan 00:14
Compare
Choose a tag to compare
  • bug fix to Python build script (specifically, fix NoGo library version)
  • update build script to work with Python 3000

Version 8

10 Mar 21:02
Compare
Choose a tag to compare

This update speeds up Lakes by 9-30x.

MetaLibrary v7

02 Mar 06:15
Compare
Choose a tag to compare

The biggest change is the inclusion of Lakes as a replacement from Waterbody Check. It serves the same purpose of checking if two points are within the same waterbody. However, Lakes maintains a memory, and so rechecks are very fast (the order of 4 ticks). It is also much more definitive about figuring out if there is NO connection between the two points.

Other improvements include:

  • Ship Pathfinder now uses Lakes rather than WaterBodyCheck
  • Ship Pathfinder now makes sure every point is in the same waterbody before adding it to the path
  • WaterBodyCheck is now deprecated in favour of Lakes
  • Documentation for MetaLibrary is now online at Minchin.ca
  • Fix array creation bugs in Array.Create2D(), Array.Create3D()
  • Added Array.RemoveDuplicates(Array)
  • Added Array.ToAIList(Array)
  • Added Extras.MinDistance(TileID, TargetArray); can be used as a valuator
  • Split Constants from Extras (file only, function access remains the same)
  • Split Industry from Extras (file only, function access remains the same)
  • Split Station from Extras (file only, function access remains the same)
  • Bumped maximum Log Debug_Level to 8
  • Added separate Changelog file
  • Rename Readme.txt to Readme.md
  • Update requirement to Fibonacci Heap, v.3 (AI version only)
  • Automated creation of tar files for upload to BaNaNaS
  • Automated translation for the Game Script verision

It is recommended that you download the update through the in-game downloader. If you download them here, you will also need the dependencies (for the AI version):

or find the GS version of these libraries on BaNaNaS.