macressler / bwapi

Automatically exported from code.google.com/p/bwapi
1 stars 0 forks source link

CompleteMapInformation #457

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
How can I enbale CompleteMapInformation?? With which method?

Original issue reported on code.google.com by snake__p...@hotmail.com on 28 Aug 2012 at 2:51

GoogleCodeExporter commented 9 years ago
This is mentioned briefly at http://code.google.com/p/bwapi/wiki/Misc, but the 
short answer is:

To set it:
BWAPI::Broodwar->enableFlag(BWAPI::Flag::CompleteMapInformation);

To check whether it is enabled:
if ( BWAPI::Broodwar->isFlagEnabled(BWAPI::Flag::CompleteMapInformation) )
{
    ...
}

Original comment by chris.c...@gmail.com on 2 Sep 2012 at 10:15

GoogleCodeExporter commented 9 years ago

Original comment by AHeinerm on 13 Dec 2012 at 8:40