BVB Source Codes

CRYENGINE Show Free2DNavRegion.h Source code

Return Download CRYENGINE: download Free2DNavRegion.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. #ifndef FREE2DNAVREGION_H
  4. #define FREE2DNAVREGION_H
  5.  
  6. #if _MSC_VER > 1000
  7.         #pragma once
  8. #endif
  9.  
  10. #include "NavRegion.h"
  11.  
  12. class CFree2DNavRegion : public CNavRegion
  13. {
  14. public:
  15.         CFree2DNavRegion(CGraph* pGraph);
  16.         virtual ~CFree2DNavRegion();
  17.  
  18.         /// inherited
  19.         virtual void BeautifyPath(
  20.           const VectorConstNodeIndices& inPath, TPathPoints& outPath,
  21.           const Vec3& startPos, const Vec3& startDir,
  22.           const Vec3& endPos, const Vec3& endDir,
  23.           float radius,
  24.           const AgentMovementAbility& movementAbility,
  25.           const NavigationBlockers& navigationBlockers);
  26.  
  27.         /// inherited
  28.         virtual void UglifyPath(const VectorConstNodeIndices& inPath, TPathPoints& outPath,
  29.                                 const Vec3& startPos, const Vec3& startDir,
  30.                                 const Vec3& endPos, const Vec3& endDir);
  31.  
  32.         /// inherited
  33.         virtual unsigned GetEnclosing(const Vec3& pos, float passRadius = 0.0f, unsigned startIndex = 0,
  34.                                       float range = -1.0f, Vec3* closestValid = 0, bool returnSuspect = false, const char* requesterName = "", bool omitWalkabilityTest = false);
  35.  
  36.         /// inherited
  37.         virtual void Clear();
  38.  
  39.         /// inherited
  40.         virtual void Serialize(TSerialize ser) {}
  41.  
  42.         /// inherited
  43.         virtual bool CheckPassability(const Vec3& from, const Vec3& to, float radius, const NavigationBlockers& navigationBlockers, IAISystem::tNavCapMask) const;
  44.  
  45.         /// inherited
  46.         virtual bool GetSingleNodePath(const GraphNode* pNode, const Vec3& startPos, const Vec3& endPos, float radius,
  47.                                        const NavigationBlockers& navigationBlockers, std::vector<PathPointDescriptor>& points, IAISystem::tNavCapMask) const;
  48.  
  49.         /// inherited
  50.         virtual size_t MemStats();
  51.  
  52. private:
  53.         GraphNode* m_pDummyNode;
  54.         unsigned   m_dummyNodeIndex;
  55. };
  56.  
  57. #endif
  58.  
downloadFree2DNavRegion.h Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top