Skip to content

Version 0.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@0x7CFE 0x7CFE released this 11 Jun 11:35
· 25 commits to master since this release

This release brings new iterators as well as code refactoring. Also, some bugs were fixed so we strongly recommend to update.

New iterators were added:

  • PositionIterator
  • TilePositionIterator
  • EventIterator
  • UnitTypeIterator

Note that these iterators yield pointers to values that are represented by plain C structures instead of opaque pointers to BWAPI objects.

These iterators are now used in functions like:

  • Game_getNukeDots()
  • Game_getEvents()
  • Game_getStartLocations()
  • Unit_getTrainingQueue()

You may check out the example DLL for usage hints.

At this point nearly all BWAPI is wrapped so after some testing we'll probably do the major release.