BWAPI
Classes | Defines | Functions | Variables
trunk/bwapi/BWScriptEmulator/ScriptThread.cpp File Reference
#include "ScriptThread.h"
#include "ScriptEnum.h"
#include "BWScriptEmulator.h"
#include "Controller.h"
#include <BWAPI.h>
Include dependency graph for ScriptThread.cpp:

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< aithreadaiThreadList
BYTEpbAIScriptBinary
int creep = 0
DWORD AISavedCall = 0
int threadCount = 0
bool retryBlock = false

Define Documentation

#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

Function Documentation

void AICreateThread ( WORD  wStartBlock,
Position  location,
void *  pTown 
)

Here is the caller graph for this function:

void AICreateThread ( char *  pszScriptID,
Position  location 
)

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

int GetStandardUnitCount ( UnitType  type,
bool  bCompleted,
Player player 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int GetTerranRushScore ( Player player)

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

bool LoadAIBinary ( const char *  pszFileName)

Here is the call graph for this function:

Here is the caller graph for this function:

void UpdateScripts ( )

Here is the caller graph for this function:


Variable Documentation

std::list<aithread> aiThreadList
int creep = 0
bool retryBlock = false
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines