BWAPI
|
#include "ScriptThread.h"
#include "ScriptEnum.h"
#include "BWScriptEmulator.h"
#include "Controller.h"
#include <BWAPI.h>
Classes | |
struct | ais_entry |
Defines | |
#define | MACRO_BUILD 0 |
#define | MACRO_UPGRADE 1 |
#define | MACRO_TECH 2 |
#define | AIS_ENTRY_REQUIRES_LOCATION 0x01 |
#define | AIS_ENTRY_STAREDIT_INVISIBLE 0x02 |
#define | AIS_ENTRY_REQUIRES_BROODWAR 0x04 |
Functions | |
void | UpdateScripts () |
bool | LoadAIBinary (const char *pszFileName) |
void | AICreateThread (WORD wStartBlock, Position location, void *pTown) |
void | AICreateThread (char *pszScriptID, Position location) |
int | GetTerranRushScore (Player *player) |
int | GetZergGroundRushScore (Player *player) |
int | GetZergAirRushScore (Player *player) |
int | GetProtossAirRushScore (Player *player) |
int | GetStandardUnitCount (UnitType type, bool bCompleted, Player *player) |
Variables | |
std::list< aithread > | aiThreadList |
BYTE * | pbAIScriptBinary |
int | creep = 0 |
DWORD | AISavedCall = 0 |
int | threadCount = 0 |
bool | retryBlock = false |
#define AIS_ENTRY_REQUIRES_BROODWAR 0x04 |
#define AIS_ENTRY_REQUIRES_LOCATION 0x01 |
#define AIS_ENTRY_STAREDIT_INVISIBLE 0x02 |
#define MACRO_BUILD 0 |
#define MACRO_TECH 2 |
#define MACRO_UPGRADE 1 |
void AICreateThread | ( | WORD | wStartBlock, |
Position | location, | ||
void * | pTown | ||
) |
void AICreateThread | ( | char * | pszScriptID, |
Position | location | ||
) |
int GetProtossAirRushScore | ( | Player * | player | ) |
int GetStandardUnitCount | ( | UnitType | type, |
bool | bCompleted, | ||
Player * | player | ||
) |
int GetTerranRushScore | ( | Player * | player | ) |
int GetZergAirRushScore | ( | Player * | player | ) |
int GetZergGroundRushScore | ( | Player * | player | ) |
bool LoadAIBinary | ( | const char * | pszFileName | ) |
void UpdateScripts | ( | ) |
DWORD AISavedCall = 0 |
std::list<aithread> aiThreadList |
bool retryBlock = false |
int threadCount = 0 |