Wiki
Clone wikiBWTA2 / Release Notes
BWTA (master)
Changes:
- BWAPI library not longer included in the project (using environment variable BWAPI_DIR).
Bug Fixes:
- Fixed problem generating polygons not simple under some circumstances.
- Fixed crash when calling
BWTA::getGroundDistance2()
with a non walkable tile. - Fixed an issue where positions initially occupied by neutral moving creatures are indicated as unwalkable.
BWTA 2.2
Changes:
- BWTA2 dir is created automatically (to help people who don't read the starting guide )
- New method
BWTA::cleanMemory()
to clean all internal data.BWTA::analyze()
calls this method to avoid corrupted memory on consecutive calls. - Debug version of the library.
Updated dependencies:
- BWAPI 4.1.0
Bug Fixes:
- Fixing incorrect minerals from
BaseLocation::getMinerals()
on certain conditions. - Fixed some memory leaks.
BWTA 2.1
Updated dependencies:
- Boost 1.56 (from 1.54)
- Project in Visual Studio 2013 using vc120 (from VS2010 and vc110). CGAL and Boost were recompiled using vc120.
Bug Fixes:
Player
pointer hidden to meet BWAPI 4.0.1 definitions.
BWTA 2.0
Changes:
- Neutral static building are considered as nonwalkable areas, i.e. better region decomposition.
- Distance transform calculated for each regions using
computeDistanceTransform()
. Maximum distance transform accessible byRegion::getMaxDistance()
. - Balance map statistics
balanceAnalysis()
using the following metrics:- Starting location openness.
- Distance (A* and euclidean) between starting locations.
- Average distance starting_location-expansion1-expansion2.
- Average distance starting_location-all_expansions.
- Choke point symmetry.
- HPA* implemented for faster pathfinding. After analyzing the map we need to call once
buildChokeNodes()
to generate the cache data. After that we can use the following functions:
std::list<Chokepoint*> getShortestPath2(BWAPI::TilePosition start, BWAPI::TilePosition target);
int getGroundDistance2(BWAPI::TilePosition start, BWAPI::TilePosition end);
Updated dependencies:
- BWAPI 4.0.1 (from 3.7.4)
- Boost 1.54 (from 1.40)
- CGAL 4.4 (from 3.5)
- Qt 5.3.0 (from 4.6.3, only needed for debugging)
- Project in Visual Studio 2010 using vc110 (from VS2008 and vc80)
Updated