Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

BWMirror 2.7

Compare
Choose a tag to compare
@gered gered released this 14 Apr 22:57
· 6 commits to master since this release
  • Add equals() and hashCode() implementations for:
    • bwta.BaseLocation
    • bwapi.Bullet
    • bwapi.Force
    • bwapi.Player
    • bwapi.Region
    • bwapi.Unit
  • Mirror.startGame now implemented in mostly Java code and responds appropriately if running in a separate thread that is interrupt with Thread.interrupt(), etc. Additionally, this method now takes a boolean parameter which controls whether the game loop runs infinitely and keeps waiting for new matches to begin when previous ones end. Pass false to keep the old behaviour and loop infinitely, or pass true to cause startGame to return and disconnect from Broodwar as soon as a match ends.
  • Improved method of checking for a 32-bit JVM on startup which shouldn't produce any (?) incorrect results even on some less common setups.
  • Fix for on-startup extraction of native libraries / BWTA data for certain scenarios that were pretty much only limited to during development/testing when running from an IDE or some kind of build tool.
  • Some minor tweaks to console output generated by BWMirror to make it easier to distinguish from BWAPI's own console output.