Explorar el Código

Travis CI: API documentation update at 2015-05-18 16:19:29 UTC.
[ci package]

Commit: https://github.com/urho3d/Urho3D/commit/562700fceb4e71cafa64074d974e9a9f53319033

Message: Added more navigation bindings
Also added global toggle for NavArea::DrawDebugGeometry()
and OffMeshConnection::DrawDebugGeometry()
Also added lua binding for DrawDebugGeometry() in Component.pkg

urho3d-travis-ci hace 10 años
padre
commit
058ba0a4c3
Se han modificado 4 ficheros con 27 adiciones y 3 borrados
  1. 6 0
      Docs/AngelScriptAPI.h
  2. 14 2
      Docs/LuaScriptAPI.dox
  3. 6 0
      Docs/ScriptAPI.dox
  4. 1 1
      Source/Urho3D/.soversion

+ 6 - 0
Docs/AngelScriptAPI.h

@@ -4220,7 +4220,9 @@ float cellHeight;
 float cellSize;
 float cellSize;
 float detailSampleDistance;
 float detailSampleDistance;
 float detailSampleMaxError;
 float detailSampleMaxError;
+bool drawNavAreas;
 bool drawObstacles;
 bool drawObstacles;
+bool drawOffMeshConnections;
 float edgeMaxError;
 float edgeMaxError;
 float edgeMaxLength;
 float edgeMaxLength;
 bool enabled;
 bool enabled;
@@ -6290,6 +6292,8 @@ float cellHeight;
 float cellSize;
 float cellSize;
 float detailSampleDistance;
 float detailSampleDistance;
 float detailSampleMaxError;
 float detailSampleMaxError;
+bool drawNavAreas;
+bool drawOffMeshConnections;
 float edgeMaxError;
 float edgeMaxError;
 float edgeMaxLength;
 float edgeMaxLength;
 bool enabled;
 bool enabled;
@@ -6830,6 +6834,7 @@ void SetInterceptNetworkUpdate(const String&, bool);
 
 
 // Properties:
 // Properties:
 bool animationEnabled;
 bool animationEnabled;
+uint areaID;
 /* readonly */
 /* readonly */
 Array<Variant> attributeDefaults;
 Array<Variant> attributeDefaults;
 /* readonly */
 /* readonly */
@@ -6846,6 +6851,7 @@ bool enabledEffective;
 Node endPoint;
 Node endPoint;
 /* readonly */
 /* readonly */
 uint id;
 uint id;
+uint mask;
 /* readonly */
 /* readonly */
 Node node;
 Node node;
 /* readonly */
 /* readonly */

+ 14 - 2
Docs/LuaScriptAPI.dox

@@ -1104,6 +1104,7 @@ Methods:
 
 
 - void SetEnabled(bool enable)
 - void SetEnabled(bool enable)
 - void Remove()
 - void Remove()
+- void DrawDebugGeometry(DebugRenderer* debug, bool depthTest)
 - unsigned GetID() const
 - unsigned GetID() const
 - Node* GetNode() const
 - Node* GetNode() const
 - Scene* GetScene() const
 - Scene* GetScene() const
@@ -1863,6 +1864,7 @@ Properties:
 
 
 - NavigationMesh* navigationMesh
 - NavigationMesh* navigationMesh
 - int maxAgents
 - int maxAgents
+- unsigned agentCount (readonly)
 
 
 <a name="Class_Drawable"></a>
 <a name="Class_Drawable"></a>
 ### Drawable : Component
 ### Drawable : Component
@@ -3370,6 +3372,8 @@ Methods:
 - bool Build()
 - bool Build()
 - bool Build(const BoundingBox& boundingBox)
 - bool Build(const BoundingBox& boundingBox)
 - void SetPartitionType(NavmeshPartitionType aType)
 - void SetPartitionType(NavmeshPartitionType aType)
+- void SetDrawOffMeshConnections(bool enable)
+- void SetDrawNavAreas(bool enable)
 - Vector3 FindNearestPoint(const Vector3& point)
 - Vector3 FindNearestPoint(const Vector3& point)
 - Vector3 FindNearestPoint(const Vector3& point, const Vector3& extents)
 - Vector3 FindNearestPoint(const Vector3& point, const Vector3& extents)
 - Vector3 MoveAlongSurface(const Vector3& start, const Vector3& end)
 - Vector3 MoveAlongSurface(const Vector3& start, const Vector3& end)
@@ -3404,6 +3408,8 @@ Methods:
 - BoundingBox GetWorldBoundingBox() const
 - BoundingBox GetWorldBoundingBox() const
 - IntVector2 GetNumTiles() const
 - IntVector2 GetNumTiles() const
 - NavmeshPartitionType GetPartitionType()
 - NavmeshPartitionType GetPartitionType()
+- bool GetDrawOffMeshConnections() const
+- bool GetDrawNavAreas() const
 
 
 Properties:
 Properties:
 
 
@@ -3422,6 +3428,8 @@ Properties:
 - float detailSampleMaxError
 - float detailSampleMaxError
 - Vector3& padding
 - Vector3& padding
 - NavmeshPartitionType partitionType
 - NavmeshPartitionType partitionType
+- bool drawOffMeshConnections
+- bool drawNavAreas
 - bool initialized (readonly)
 - bool initialized (readonly)
 - BoundingBox& boundingBox (readonly)
 - BoundingBox& boundingBox (readonly)
 - BoundingBox worldBoundingBox (readonly)
 - BoundingBox worldBoundingBox (readonly)
@@ -3768,15 +3776,21 @@ Methods:
 - void SetEndPoint(Node* node)
 - void SetEndPoint(Node* node)
 - void SetRadius(float radius)
 - void SetRadius(float radius)
 - void SetBidirectional(bool enabled)
 - void SetBidirectional(bool enabled)
+- void SetMask(unsigned newMask)
+- void SetAreaID(unsigned newAreaID)
 - Node* GetEndPoint() const
 - Node* GetEndPoint() const
 - float GetRadius() const
 - float GetRadius() const
 - bool IsBidirectional() const
 - bool IsBidirectional() const
+- unsigned GetMask() const
+- unsigned GetAreaID() const
 
 
 Properties:
 Properties:
 
 
 - Node* endPoint
 - Node* endPoint
 - float radius
 - float radius
 - bool bidirectional
 - bool bidirectional
+- unsigned mask
+- unsigned areaID
 
 
 <a name="Class_PackageEntry"></a>
 <a name="Class_PackageEntry"></a>
 ### PackageEntry
 ### PackageEntry
@@ -5883,7 +5897,6 @@ Properties:
 
 
 Methods:
 Methods:
 
 
-- void DrawDebugGeometry(DebugRenderer* debug, bool depthTest)
 - void SetTmxFile(TmxFile2D* tmxFile)
 - void SetTmxFile(TmxFile2D* tmxFile)
 - TmxFile2D* GetTmxFile() const
 - TmxFile2D* GetTmxFile() const
 - const TileMapInfo2D& GetInfo() const
 - const TileMapInfo2D& GetInfo() const
@@ -5922,7 +5935,6 @@ Properties:
 
 
 Methods:
 Methods:
 
 
-- void DrawDebugGeometry(DebugRenderer* debug, bool depthTest)
 - void SetDrawOrder(int drawOrder)
 - void SetDrawOrder(int drawOrder)
 - void SetVisible(bool visible)
 - void SetVisible(bool visible)
 - int GetDrawOrder() const
 - int GetDrawOrder() const

+ 6 - 0
Docs/ScriptAPI.dox

@@ -5993,7 +5993,9 @@ Properties:
 - float cellSize
 - float cellSize
 - float detailSampleDistance
 - float detailSampleDistance
 - float detailSampleMaxError
 - float detailSampleMaxError
+- bool drawNavAreas
 - bool drawObstacles
 - bool drawObstacles
+- bool drawOffMeshConnections
 - float edgeMaxError
 - float edgeMaxError
 - float edgeMaxLength
 - float edgeMaxLength
 - bool enabled
 - bool enabled
@@ -7769,6 +7771,8 @@ Properties:
 - float cellSize
 - float cellSize
 - float detailSampleDistance
 - float detailSampleDistance
 - float detailSampleMaxError
 - float detailSampleMaxError
+- bool drawNavAreas
+- bool drawOffMeshConnections
 - float edgeMaxError
 - float edgeMaxError
 - float edgeMaxLength
 - float edgeMaxLength
 - bool enabled
 - bool enabled
@@ -8232,6 +8236,7 @@ Methods:
 Properties:
 Properties:
 
 
 - bool animationEnabled
 - bool animationEnabled
+- uint areaID
 - Variant[] attributeDefaults // readonly
 - Variant[] attributeDefaults // readonly
 - AttributeInfo[] attributeInfos // readonly
 - AttributeInfo[] attributeInfos // readonly
 - Variant[] attributes
 - Variant[] attributes
@@ -8242,6 +8247,7 @@ Properties:
 - bool enabledEffective // readonly
 - bool enabledEffective // readonly
 - Node@ endPoint
 - Node@ endPoint
 - uint id // readonly
 - uint id // readonly
+- uint mask
 - Node@ node // readonly
 - Node@ node // readonly
 - uint numAttributes // readonly
 - uint numAttributes // readonly
 - ObjectAnimation@ objectAnimation
 - ObjectAnimation@ objectAnimation

+ 1 - 1
Source/Urho3D/.soversion

@@ -1 +1 @@
-0.0.103
+0.0.104