Changeset View
Changeset View
Standalone View
Standalone View
source/simulation2/components/CCmpObstruction.cpp
Show First 20 Lines • Show All 447 Lines • ▼ Show 20 Lines | virtual void SetDisableBlockMovementPathfinding(bool movementDisabled, bool pathfindingDisabled, int32_t shape) | ||||
} | } | ||||
} | } | ||||
virtual bool GetBlockMovementFlag() const | virtual bool GetBlockMovementFlag() const | ||||
{ | { | ||||
return (m_TemplateFlags & ICmpObstructionManager::FLAG_BLOCK_MOVEMENT) != 0; | return (m_TemplateFlags & ICmpObstructionManager::FLAG_BLOCK_MOVEMENT) != 0; | ||||
} | } | ||||
virtual bool GetBlockPathfindingFlag() const | |||||
{ | |||||
return (m_TemplateFlags & ICmpObstructionManager::FLAG_BLOCK_PATHFINDING) != 0; | |||||
} | |||||
virtual ICmpObstructionManager::tag_t GetObstruction() const | virtual ICmpObstructionManager::tag_t GetObstruction() const | ||||
{ | { | ||||
return m_Tag; | return m_Tag; | ||||
} | } | ||||
virtual bool GetPreviousObstructionSquare(ICmpObstructionManager::ObstructionSquare& out) const | virtual bool GetPreviousObstructionSquare(ICmpObstructionManager::ObstructionSquare& out) const | ||||
{ | { | ||||
return GetObstructionSquare(out, true); | return GetObstructionSquare(out, true); | ||||
▲ Show 20 Lines • Show All 339 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator