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

BWMirror 2.7.1

Latest
Compare
Choose a tag to compare
@gered gered released this 20 Apr 03:07
  • Fix some lingering issues with JNI code mis-casting pointers to long instead of jlong when passing back to Java code. This resolves a number of issues with constant/type classes that are initially cached by BWMirror in std::maps being returned to Java code which don't compare for equality successfully in Java code even though they are actually identical to each other.
  • Add missing BWAPI classes to generator's internal list of constant type classes so JNI code returning them treats them properly and returns a correct value (e.g. fixes UnitSizeType's being null all the time).
  • Workaround for a bug in BWAPI's Unit::getUnitsInWeaponRange method which accepts a filter predicate but does not check if the filter passed in was null before trying to use it. Since BWMirror does not support these predicate filters (yet), we now just pass in a dummy filter that ensures nothing is filtered out from the returned list.