#include <C4TransferZone.h>
Public Member Functions | |
C4TransferZone () | |
~C4TransferZone () | |
bool | GetEntryPoint (int32_t &rX, int32_t &rY, int32_t iToX, int32_t iToY) |
void | Draw (C4TargetFacet &cgo, bool fHighlight=false) |
bool | At (int32_t iX, int32_t iY) |
Public Attributes | |
C4Object * | Object |
int32_t | X |
int32_t | Y |
int32_t | Wdt |
int32_t | Hgt |
bool | Used |
Protected Attributes | |
C4TransferZone * | Next |
Friends | |
class | C4TransferZones |
Definition at line 23 of file C4TransferZone.h.
C4TransferZone::C4TransferZone | ( | ) |
Definition at line 29 of file C4TransferZone.cpp.
|
default |
bool C4TransferZone::At | ( | int32_t | iX, |
int32_t | iY | ||
) |
void C4TransferZone::Draw | ( | C4TargetFacet & | cgo, |
bool | fHighlight = false |
||
) |
Definition at line 124 of file C4TransferZone.cpp.
References C4RGB, C4Draw::DrawFrameDw(), Hgt, pDraw, C4Facet::Surface, C4TargetFacet::TargetX, C4TargetFacet::TargetY, Used, Wdt, C4Facet::X, X, C4Facet::Y, and Y.
bool C4TransferZone::GetEntryPoint | ( | int32_t & | rX, |
int32_t & | rY, | ||
int32_t | iToX, | ||
int32_t | iToY | ||
) |
Definition at line 160 of file C4TransferZone.cpp.
References AdjustMoveToTarget(), GBackSolid(), Hgt, Wdt, X, and Y.
Referenced by C4PathFinderRay::Execute(), and C4Command::Transfer().
|
friend |
Definition at line 25 of file C4TransferZone.h.
int32_t C4TransferZone::Hgt |
Definition at line 31 of file C4TransferZone.h.
Referenced by C4TransferZones::Add(), At(), C4TransferZone(), Draw(), GetEntryPoint(), and C4TransferZones::Set().
|
protected |
Definition at line 34 of file C4TransferZone.h.
Referenced by C4TransferZones::Add(), C4TransferZone(), C4TransferZones::Clear(), C4TransferZones::ClearPointers(), C4TransferZones::ClearUsed(), C4TransferZones::Draw(), C4TransferZones::Find(), and C4TransferZones::RemoveNullZones().
C4Object* C4TransferZone::Object |
Definition at line 30 of file C4TransferZone.h.
Referenced by C4TransferZones::Add(), C4TransferZone(), C4TransferZones::RemoveNullZones(), and C4PathFinderRay::SetCompletePath().
bool C4TransferZone::Used |
Definition at line 32 of file C4TransferZone.h.
Referenced by C4TransferZone(), Draw(), and C4PathFinderRay::Execute().
int32_t C4TransferZone::Wdt |
Definition at line 31 of file C4TransferZone.h.
Referenced by C4TransferZones::Add(), At(), C4TransferZone(), Draw(), GetEntryPoint(), C4TransferZones::Set(), and C4Command::Transfer().
int32_t C4TransferZone::X |
Definition at line 31 of file C4TransferZone.h.
Referenced by C4TransferZones::Add(), At(), C4TransferZone(), Draw(), GetEntryPoint(), C4TransferZones::Set(), and C4Command::Transfer().
int32_t C4TransferZone::Y |
Definition at line 31 of file C4TransferZone.h.
Referenced by C4TransferZones::Add(), At(), C4TransferZone(), Draw(), GetEntryPoint(), and C4TransferZones::Set().