BWAPI
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
BW Namespace Reference

Namespaces

namespace  Actions
namespace  Anims
namespace  BNET
namespace  CheatFlags
namespace  Conditions
namespace  ctrls
namespace  DamageID
namespace  ExplosionID
namespace  FlingyID
namespace  gameType
namespace  GroupFlags
namespace  Latency
namespace  MiniTileFlags
namespace  MovementFlags
namespace  OrderFlags
namespace  OrderID
namespace  Orders
namespace  PlayerGroups
namespace  PlayerID
namespace  PlayerType
namespace  Race
namespace  StatusFlags
namespace  TechID
namespace  TriggerEntryFlags
namespace  TriggerFlags
namespace  Triggers
namespace  UnitID
namespace  UnitPrototypeFlags
namespace  UnitSizeType
namespace  UpgradeID
namespace  WeaponID
namespace  WeaponTargetFlags

Classes

struct  Bullet
struct  pt
struct  bitmap
struct  dlgEvent
struct  fntChr
struct  fntHead
class  dialog
struct  grpFrame
struct  grpHead
class  Image
struct  DatLoad
struct  PlayerResources
struct  ForceName
struct  PlayerInfo
struct  PlayerAlliance
struct  swishTimer
struct  bounds
struct  layer
struct  unitFinder
struct  _gametext
struct  MapVectorEntry
struct  TransVectorEntry
struct  BlizzVectorEntry
struct  BlizzVectorController
struct  AllScores
struct  UnitPlacement_type
struct  UnitsDimensions_type
struct  _uavail
struct  _scUpgrs
struct  _bwUpgrs
struct  _scTechs
struct  _bwTechs
struct  MiniTileMaps_type
struct  activeTile
struct  baseLocation
struct  Order
struct  Path
struct  pathCreate
struct  pathPoint
struct  pathBox
struct  pathRect
class  region
struct  contour
struct  contourHub
struct  split
struct  SAI_Paths
class  Position
class  PositionUnitTarget
class  Sprite
class  TilePosition
class  TileSet
class  TileType
class  Unit
class  UnitTarget

Typedefs

typedef u16 TileID

Enumerations

enum  GamePosition {
  GAME_INTRO, GAME_RUNINIT, GAME_EXIT, GAME_RUN,
  GAME_GLUES, GAME_RESTART, GAME_WIN, GAME_LOSE,
  GAME_CREDITS, GAME_EPILOG, GAME_CINEMATIC, GAME_MAX
}
enum  MenuPosition {
  GLUE_MAIN_MENU, GLUE_SIMULATE, GLUE_CONNECT, GLUE_CHAT,
  GLUE_BATTLE, GLUE_LOGIN, GLUE_CAMPAIGN, GLUE_READY_T,
  GLUE_READY_Z, GLUE_READY_P, GLUE_GAME_SELECT, GLUE_CREATE,
  GLUE_CREATE_MULTI, GLUE_LOAD, GLUE_SCORE_Z_DEFEAT, GLUE_SCORE_Z_VICTORY,
  GLUE_SCORE_T_DEFEAT, GLUE_SCORE_T_VICTORY, GLUE_SCORE_P_DEFEAT, GLUE_SCORE_P_VICTORY,
  GLUE_MODEM, GLUE_DIRECT, GLUE_EX_CAMPAIGN, GLUE_GAME_MODE,
  GLUE_EX_GAME_MODE, GLUE_GENERIC, GLUE_MAX
}

Functions

 CTASSERT (sizeof(Bullet)==112)
CheatFlags::Enum getCheatFlag (const char *name)
bool __fastcall InteractTemplate (dialog *dlg, dlgEvent *evt)
bool __fastcall TinyButtonInteract (dialog *dlg, dlgEvent *evt)
bool __fastcall WindowInteract (dialog *dlg, dlgEvent *evt)
dialogCreateDialogWindow (const char *pszText, WORD wLeft, WORD wTop, WORD wWidth, WORD wHeight)
dialogFindDialogGlobal (const char *pszName)
int GetTextWidth (const char *pszString, BYTE bSize)
int GetTextHeight (const char *pszString, BYTE bSize)
bool BlitText (const char *pszString, bitmap *dst, int x, int y, BYTE bSize)
 CTASSERT (sizeof(Image)==64)
char * getMoveStateName (u8 bMoveState)
bool isCollidingWithContour (contourHub *hub, int x, int y, int left, int top, int right, int bottom)
 CTASSERT (sizeof(region)==64)
 CTASSERT (sizeof(Sprite)==36)
 CTASSERT (sizeof(Unit)==336)

Variables

TileIDBWDATA_MapTileArray = NULL
TileTypeBWDATA_TileSet = NULL
SAI_PathsBWDATA_SAIPathing = NULL
char * BWDATA_StringTableOff = NULL
activeTileBWDATA_ActiveTileArray = NULL
MiniTileMaps_typeBWDATA_MiniTileFlags = NULL
void(__stdcall
*pOldDrawGameProc)(BW void(__stdcall
*pOldDrawDialogProc)(BW const
char * 
GetStatString (int index)
static dlgEvent *static int

Detailed Description

Todo:
Investigate

Typedef Documentation

typedef u16 BW::TileID

Higher 12 bits for tile group, lower 4 bits for variant of tile in the tile group.


Enumeration Type Documentation

Enumerator:
GAME_INTRO 
GAME_RUNINIT 
GAME_EXIT 
GAME_RUN 
GAME_GLUES 
GAME_RESTART 
GAME_WIN 
GAME_LOSE 
GAME_CREDITS 
GAME_EPILOG 
GAME_CINEMATIC 
GAME_MAX 
Enumerator:
GLUE_MAIN_MENU 
GLUE_SIMULATE 
GLUE_CONNECT 
GLUE_CHAT 
GLUE_BATTLE 
GLUE_LOGIN 
GLUE_CAMPAIGN 
GLUE_READY_T 
GLUE_READY_Z 
GLUE_READY_P 
GLUE_GAME_SELECT 
GLUE_CREATE 
GLUE_CREATE_MULTI 
GLUE_LOAD 
GLUE_SCORE_Z_DEFEAT 
GLUE_SCORE_Z_VICTORY 
GLUE_SCORE_T_DEFEAT 
GLUE_SCORE_T_VICTORY 
GLUE_SCORE_P_DEFEAT 
GLUE_SCORE_P_VICTORY 
GLUE_MODEM 
GLUE_DIRECT 
GLUE_EX_CAMPAIGN 
GLUE_GAME_MODE 
GLUE_EX_GAME_MODE 
GLUE_GENERIC 
GLUE_MAX 

Function Documentation

bool BW::BlitText ( const char *  pszString,
bitmap *  dst,
int  x,
int  y,
BYTE  bSize 
)

Here is the call graph for this function:

Here is the caller graph for this function:

dialog * BW::CreateDialogWindow ( const char *  pszText,
WORD  wLeft,
WORD  wTop,
WORD  wWidth,
WORD  wHeight 
)

Here is the call graph for this function:

Here is the caller graph for this function:

BW::CTASSERT ( sizeof(Sprite)  = =36)
BW::CTASSERT ( sizeof(Bullet)  = =112)
BW::CTASSERT ( sizeof(region)  = =64)
BW::CTASSERT ( sizeof(Image)  = =64)
BW::CTASSERT ( sizeof(Unit)  = =336)
dialog * BW::FindDialogGlobal ( const char *  pszName)

Here is the call graph for this function:

Here is the caller graph for this function:

CheatFlags::Enum BW::getCheatFlag ( const char *  name)

Here is the caller graph for this function:

char * BW::getMoveStateName ( u8  bMoveState)
int BW::GetTextHeight ( const char *  pszString,
BYTE  bSize 
)

Here is the caller graph for this function:

int BW::GetTextWidth ( const char *  pszString,
BYTE  bSize 
)

Here is the caller graph for this function:

bool __fastcall BW::InteractTemplate ( dialog *  dlg,
dlgEvent *  evt 
)

Here is the call graph for this function:

bool BW::isCollidingWithContour ( contourHub *  hub,
int  x,
int  y,
int  left,
int  top,
int  right,
int  bottom 
)

Here is the caller graph for this function:

bool __fastcall BW::TinyButtonInteract ( dialog *  dlg,
dlgEvent *  evt 
)

Here is the call graph for this function:

Here is the caller graph for this function:

bool __fastcall BW::WindowInteract ( dialog *  dlg,
dlgEvent *  evt 
)

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

bool (__fastcall **BWDATA_TriggerActionFxnTable)(BW const char* BW::GetStatString(int index)
static dlgEvent *static BW::int
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines