This patch does the following:
- Remove WalkPosition, BWAPI4 has a WalkPosition.
- Remove Vector, use BWAPI::Point<double> with a dotProduct and normalise function.
- Remove dependencies on boost, use C++11 equivalents (and windows API for directory structure).
- Fix any sendText/printf issues with the % identifier.
- Use Broodwar operator << instead of printf.
- Use Position drawing variants instead of splitting up x and y components (draw function calls are much cleaner).
- Use BWAPI::Point operators instead of splitting up x and y components.
- Draw debug lines differently. It looks way cooler and uses less lines.
- Replace BufferedDrawing with Broodwar->registerEvent.
Also this patch disables the gg'ing for now.
This helped me address this issue:
https://code.google.com/p/bwapi/source/detail?r=4459
I did encounter 2 issues with this:
1. Sometimes the bot does nothing? I encountered it a few times in my tests,
but I played against multiple opponents of different races.
2. I've seen a very rare crash in RegionClass::getChokepoints for some reason?
3. Later larger games crawl to a very slow pace when Skynet has several units.
Original issue reported on code.google.com by AHeinerm on 19 Dec 2013 at 9:17
Original issue reported on code.google.com by
AHeinerm
on 19 Dec 2013 at 9:17Attachments: