CSearchBitmap Class


Overview

Note

The CSearchBitmap class handles

The structure used for this class is CSearchBitmap


Quick Reference

Quick Ref

void CSearchBitmap::CSearchBitmap()

void CSearchBitmap::~CSearchBitmap()

void CSearchBitmap::AddDoor(CPoint* pPoints, unsigned short nPoints, int bGate, int bOpaque)

void CSearchBitmap::AddObject(CPoint& point, unsigned char sourceSide, unsigned char personalSpaceRange, int bBumpable)

unsigned char CSearchBitmap::CanToggleDoor(CPoint* pPoints, unsigned short nPoints)

unsigned char CSearchBitmap::GetCost(CPoint& point, const unsigned char* terrainTable, unsigned char snapshotPersonalSpace, short& nTableIndex, int bCheckBump)

unsigned char CSearchBitmap::GetLOSCost(CPoint& point, const unsigned char* terrainTable, short& nTableIndex, unsigned char bVisibilityOutDoor)

unsigned char CSearchBitmap::GetMobileCost(CPoint& point, const unsigned char* terrainTable, unsigned char snapshotPersonalSpace, int bCheckBump)

CPoint CSearchBitmap::GetNearestOpenSquare(CPoint cPoint, const unsigned char* terrainTable, unsigned char snapshotPersonalSpace, short facing)

short CSearchBitmap::GetStructureHeight(short nTableIndex)

short CSearchBitmap::GetTableIndex(CPoint& pt)

void CSearchBitmap::Init(CGameArea* pArea, CString szResRef)

void CSearchBitmap::RemoveDoor(CPoint* pPoints, unsigned short nPoints, int bGate, int bOpaque)

void CSearchBitmap::RemoveObject(CPoint& point, unsigned char sourceSide, unsigned char personalSpaceRange, int bBumpable)

void CSearchBitmap::RenderDynamic()

void CSearchBitmap::RenderStatic()

void CSearchBitmap::SnapshotAddObjectDiagonals(CPoint point, unsigned char personalSpaceRange, int bBumpable)

unsigned char CSearchBitmap::SnapshotGetCost(CPoint point, int bBump)

void CSearchBitmap::SnapshotRemoveObject(CPoint point, unsigned char personalSpaceRange, int bBumpable)

void CSearchBitmap::Uninit()


Constructors

Name

Description

CSearchBitmap::CSearchBitmap

Constructs a CSearchBitmap object

CSearchBitmap::CSearchBitmap

Destroys a CSearchBitmap object

CSearchBitmap::CSearchBitmap

Constructs a CSearchBitmap object

void CSearchBitmap::CSearchBitmap();

Remarks

Constructs a CSearchBitmap object


CSearchBitmap::~CSearchBitmap

Destroys the CSearchBitmap object

virtual void CSearchBitmap::~CSearchBitmap();

Remarks

Destroys the CSearchBitmap object


Methods

Name

Description

CSearchBitmap::AddDoor

CSearchBitmap::AddObject

CSearchBitmap::CanToggleDoor

CSearchBitmap::GetCost

CSearchBitmap::GetLOSCost

CSearchBitmap::GetMobileCost

CSearchBitmap::GetNearestOpenSquare

CSearchBitmap::GetStructureHeight

CSearchBitmap::GetTableIndex

CSearchBitmap::Init

CSearchBitmap::RemoveDoor

CSearchBitmap::RemoveObject

CSearchBitmap::RenderDynamic

CSearchBitmap::RenderStatic

CSearchBitmap::SnapshotAddObjectDiagonals

CSearchBitmap::SnapshotGetCost

CSearchBitmap::SnapshotRemoveObject

CSearchBitmap::Uninit


CSearchBitmap::AddDoor

x;

Parameters

Return Value

Returns

Remarks


CSearchBitmap::AddObject

x;

Parameters

Return Value

Returns

Remarks


CSearchBitmap::CanToggleDoor

x;

Parameters

Return Value

Returns

Remarks


CSearchBitmap::GetCost

x;

Parameters

Return Value

Returns

Remarks


CSearchBitmap::GetLOSCost

x;

Parameters

Return Value

Returns

Remarks


CSearchBitmap::GetMobileCost

x;

Parameters

Return Value

Returns

Remarks


CSearchBitmap::GetNearestOpenSquare

x;

Parameters

Return Value

Returns

Remarks


CSearchBitmap::GetStructureHeight

x;

Parameters

Return Value

Returns

Remarks


CSearchBitmap::GetTableIndex

x;

Parameters

Return Value

Returns

Remarks


CSearchBitmap::Init

x;

Parameters

Return Value

Returns

Remarks


CSearchBitmap::RemoveDoor

x;

Parameters

Return Value

Returns

Remarks


CSearchBitmap::RemoveObject

x;

Parameters

Return Value

Returns

Remarks


CSearchBitmap::RenderDynamic

x;

Parameters

Return Value

Returns

Remarks


CSearchBitmap::RenderStatic

x;

Parameters

Return Value

Returns

Remarks


CSearchBitmap::SnapshotAddObjectDiagonals

x;

Parameters

Return Value

Returns

Remarks


CSearchBitmap::SnapshotGetCost

x;

Parameters

Return Value

Returns

Remarks


CSearchBitmap::SnapshotRemoveObject

x;

Parameters

Return Value

Returns

Remarks


CSearchBitmap::Uninit

x;

Parameters

Return Value

Returns

Remarks