BWAPI
Classes | Functions | Variables
trunk/bwapi/ExampleTournamentModule/Source/ExampleTournamentModule.cpp File Reference
#include <windows.h>
#include <Shlwapi.h>
#include <vector>
#include "ExampleTournamentModule.h"
Include dependency graph for ExampleTournamentModule.cpp:

Classes

class  coolevent

Functions

void AddEvent (Position pos, int priority, int timer=25, const char *pszDebug=NULL)
void AddEvent (Unit *unit, int priority, int timer=25)
void RemoveEvent (Unit *unit)
void ClearEvent (const coolevent &evt)
void RunEvents ()

Variables

bool leader = false
char szBotName [MAX_PATH]
char * pszBotName
bool isJoiner = false
std::vector< cooleventevents
coolevent currentEvent
Playerself
int maxAPM

Function Documentation

void AddEvent ( Position  pos,
int  priority,
int  timer = 25,
const char *  pszDebug = NULL 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void AddEvent ( Unit unit,
int  priority,
int  timer = 25 
)
void ClearEvent ( const coolevent evt)

Here is the caller graph for this function:

void RemoveEvent ( Unit unit)

Here is the caller graph for this function:

void RunEvents ( )

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

std::vector<coolevent> events
bool isJoiner = false
bool leader = false
char* pszBotName
char szBotName[MAX_PATH]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines