Browse Source

Travis CI: API documentation update at 2015-05-12 13:10:01 UTC.
[ci package]

urho3d-travis-ci 10 years ago
parent
commit
064b67aba8
4 changed files with 47 additions and 24 deletions
  1. 10 8
      Docs/AngelScriptAPI.h
  2. 7 5
      Docs/LuaScriptAPI.dox
  3. 29 10
      Docs/ScriptAPI.dox
  4. 1 1
      Source/Urho3D/.soversion

+ 10 - 8
Docs/AngelScriptAPI.h

@@ -3695,7 +3695,7 @@ void ApplyAttributes();
 void CreateCrowd();
 void DrawDebugGeometry(DebugRenderer, bool);
 Array<CrowdAgent> GetActiveAgents();
-float GetAreaTypeCost(uint, uint);
+float GetAreaCost(uint, uint);
 Variant GetAttribute(const String&) const;
 ValueAnimation GetAttributeAnimation(const String&) const;
 float GetAttributeAnimationSpeed(const String&) const;
@@ -3713,7 +3713,7 @@ bool Save(File) const;
 bool Save(VectorBuffer&) const;
 bool SaveXML(XMLElement&) const;
 void SendEvent(const String&, VariantMap& = VariantMap ( ));
-void SetAreaTypeCost(uint, uint, float);
+void SetAreaCost(uint, uint, float);
 bool SetAttribute(const String&, const Variant&);
 void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
 void SetAttributeAnimationSpeed(const String&, float);
@@ -4168,6 +4168,7 @@ void DrawDebugGeometry(DebugRenderer, bool);
 void DrawDebugGeometry(bool);
 Vector3 FindNearestPoint(const Vector3&, const Vector3& = Vector3 ( 1.0 , 1.0 , 1.0 ));
 Array<Vector3> FindPath(const Vector3&, const Vector3&, const Vector3& = Vector3 ( 1.0 , 1.0 , 1.0 ));
+float GetAreaCost(uint) const;
 Variant GetAttribute(const String&) const;
 ValueAnimation GetAttributeAnimation(const String&) const;
 float GetAttributeAnimationSpeed(const String&) const;
@@ -4190,7 +4191,7 @@ bool Save(File) const;
 bool Save(VectorBuffer&) const;
 bool SaveXML(XMLElement&) const;
 void SendEvent(const String&, VariantMap& = VariantMap ( ));
-void SetAreaTypeCost(uint, float);
+void SetAreaCost(uint, float);
 bool SetAttribute(const String&, const Variant&);
 void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
 void SetAttributeAnimationSpeed(const String&, float);
@@ -6130,7 +6131,7 @@ void SetInterceptNetworkUpdate(const String&, bool);
 
 // Properties:
 bool animationEnabled;
-uint areaType;
+uint areaID;
 /* readonly */
 Array<Variant> attributeDefaults;
 /* readonly */
@@ -6235,6 +6236,7 @@ void DrawDebugGeometry(DebugRenderer, bool);
 void DrawDebugGeometry(bool);
 Vector3 FindNearestPoint(const Vector3&, const Vector3& = Vector3 ( 1.0 , 1.0 , 1.0 ));
 Array<Vector3> FindPath(const Vector3&, const Vector3&, const Vector3& = Vector3 ( 1.0 , 1.0 , 1.0 ));
+float GetAreaCost(uint) const;
 Variant GetAttribute(const String&) const;
 ValueAnimation GetAttributeAnimation(const String&) const;
 float GetAttributeAnimationSpeed(const String&) const;
@@ -6257,7 +6259,7 @@ bool Save(File) const;
 bool Save(VectorBuffer&) const;
 bool SaveXML(XMLElement&) const;
 void SendEvent(const String&, VariantMap& = VariantMap ( ));
-void SetAreaTypeCost(uint, float);
+void SetAreaCost(uint, float);
 bool SetAttribute(const String&, const Variant&);
 void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
 void SetAttributeAnimationSpeed(const String&, float);
@@ -12589,9 +12591,9 @@ LOCAL,
 
 enum CrowdAgentState
 {
-NAV_AGENT_INVALID,
-NAV_AGENT_READY,
-NAV_AGENT_TRAVERSINGLINK,
+CROWD_AGENT_INVALID,
+CROWD_AGENT_READY,
+CROWD_AGENT_TRAVERSINGLINK,
 };
 
 enum CrowdTargetState

+ 7 - 5
Docs/LuaScriptAPI.dox

@@ -1843,10 +1843,10 @@ Methods:
 - bool CreateCrowd()
 - void SetNavigationMesh(NavigationMesh* navMesh)
 - void SetMaxAgents(unsigned agentCt)
-- void SetAreaTypeCost(unsigned filterID, unsigned areaType, float cost)
+- void SetAreaCost(unsigned filterID, unsigned areaID, float cost)
 - NavigationMesh* GetNavigationMesh()
 - unsigned GetMaxAgents() const
-- float GetAreaTypeCost(unsigned filterID, unsigned areaType) const
+- float GetAreaCost(unsigned filterID, unsigned areaID) const
 - unsigned GetAgentCount() const
 
 Properties:
@@ -3293,15 +3293,15 @@ Properties:
 
 Methods:
 
-- unsigned GetAreaType() const
-- void SetAreaType(unsigned tolua_var_3)
+- unsigned GetAreaID() const
+- void SetAreaID(unsigned tolua_var_3)
 - BoundingBox GetBoundingBox()
 - void SetBoundingBox(const BoundingBox& bnds)
 - BoundingBox GetWorldBoundingBox() const
 
 Properties:
 
-- unsigned areaType
+- unsigned areaID
 - BoundingBox boundingBox
 - BoundingBox worldBoundingBox (readonly)
 
@@ -3347,6 +3347,7 @@ Methods:
 - void SetDetailSampleDistance(float distance)
 - void SetDetailSampleMaxError(float error)
 - void SetPadding(const Vector3& padding)
+- void SetAreaCost(unsigned areaID, float cost)
 - bool Build()
 - bool Build(const BoundingBox& boundingBox)
 - Vector3 FindNearestPoint(const Vector3& point)
@@ -3377,6 +3378,7 @@ Methods:
 - float GetDetailSampleDistance() const
 - float GetDetailSampleMaxError() const
 - const Vector3& GetPadding() const
+- float GetAreaCost(unsigned areaID) const
 - bool IsInitialized() const
 - const BoundingBox& GetBoundingBox() const
 - BoundingBox GetWorldBoundingBox() const

+ 29 - 10
Docs/ScriptAPI.dox

@@ -233,26 +233,43 @@ namespace Urho3D
 - %Mesh : NavigationMesh pointer
 
 ### NavigationAreaRebuilt
+- %Node : Node pointer
+- %Mesh : NavigationMesh pointer
 - %BoundsMin : Vector3
 - %BoundsMax : Vector3
 
 ### CrowdAgentReposition
+- %Node : Node pointer
+- %CrowdAgent : CrowdAgent pointer
 - %Position : Vector3
 - %Velocity : Vector3
 
+### CrowdAgentFailure
+- %Node : Node pointer
+- %CrowdAgent : CrowdAgent pointer
+- %Position : Vector3
+- %Velocity : Vector3
+- %CrowdAgentState : int
+- %CrowdTargetState : int
+
 ### CrowdAgentStateChanged
+- %Node : Node pointer
+- %CrowdAgent : CrowdAgent pointer
 - %Position : Vector3
 - %Velocity : Vector3
-- %State : int
+- %CrowdAgentState : int
+- %CrowdTargetState : int
 
 ### NavigationObstacleAdded
 - %Node : Node pointer
+- %Obstacle : Obstacle pointer
 - %Position : Vector3
 - %Radius : float
 - %Height : float
 
 ### NavigationObstacleRemoved
 - %Node : Node pointer
+- %Obstacle : Obstacle pointer
 - %Position : Vector3
 - %Radius : float
 - %Height : float
@@ -1431,7 +1448,7 @@ namespace Urho3D
 ### NavArea
 - %Bounding %Box %Min : Vector3
 - %Bounding %Box %Max : Vector3
-- %Area %Type : int
+- %Area %ID : int
 
 ### Navigable
 - %Is %Enabled : bool
@@ -5521,7 +5538,7 @@ Methods:
 - void CreateCrowd()
 - void DrawDebugGeometry(DebugRenderer@, bool)
 - CrowdAgent@[]@ GetActiveAgents()
-- float GetAreaTypeCost(uint, uint)
+- float GetAreaCost(uint, uint)
 - Variant GetAttribute(const String&) const
 - ValueAnimation@ GetAttributeAnimation(const String&) const
 - float GetAttributeAnimationSpeed(const String&) const
@@ -5539,7 +5556,7 @@ Methods:
 - bool Save(VectorBuffer&) const
 - bool SaveXML(XMLElement&) const
 - void SendEvent(const String&, VariantMap& = VariantMap ( ))
-- void SetAreaTypeCost(uint, uint, float)
+- void SetAreaCost(uint, uint, float)
 - bool SetAttribute(const String&, const Variant&)
 - void SetAttributeAnimation(const String&, ValueAnimation@, WrapMode = WM_LOOP, float = 1.0f)
 - void SetAttributeAnimationSpeed(const String&, float)
@@ -5928,6 +5945,7 @@ Methods:
 - void DrawDebugGeometry(bool)
 - Vector3 FindNearestPoint(const Vector3&, const Vector3& = Vector3 ( 1.0 , 1.0 , 1.0 ))
 - Vector3[]@ FindPath(const Vector3&, const Vector3&, const Vector3& = Vector3 ( 1.0 , 1.0 , 1.0 ))
+- float GetAreaCost(uint) const
 - Variant GetAttribute(const String&) const
 - ValueAnimation@ GetAttributeAnimation(const String&) const
 - float GetAttributeAnimationSpeed(const String&) const
@@ -5950,7 +5968,7 @@ Methods:
 - bool Save(VectorBuffer&) const
 - bool SaveXML(XMLElement&) const
 - void SendEvent(const String&, VariantMap& = VariantMap ( ))
-- void SetAreaTypeCost(uint, float)
+- void SetAreaCost(uint, float)
 - bool SetAttribute(const String&, const Variant&)
 - void SetAttributeAnimation(const String&, ValueAnimation@, WrapMode = WM_LOOP, float = 1.0f)
 - void SetAttributeAnimationSpeed(const String&, float)
@@ -7616,7 +7634,7 @@ Methods:
 Properties:
 
 - bool animationEnabled
-- uint areaType
+- uint areaID
 - Variant[] attributeDefaults // readonly
 - AttributeInfo[] attributeInfos // readonly
 - Variant[] attributes
@@ -7701,6 +7719,7 @@ Methods:
 - void DrawDebugGeometry(bool)
 - Vector3 FindNearestPoint(const Vector3&, const Vector3& = Vector3 ( 1.0 , 1.0 , 1.0 ))
 - Vector3[]@ FindPath(const Vector3&, const Vector3&, const Vector3& = Vector3 ( 1.0 , 1.0 , 1.0 ))
+- float GetAreaCost(uint) const
 - Variant GetAttribute(const String&) const
 - ValueAnimation@ GetAttributeAnimation(const String&) const
 - float GetAttributeAnimationSpeed(const String&) const
@@ -7723,7 +7742,7 @@ Methods:
 - bool Save(VectorBuffer&) const
 - bool SaveXML(XMLElement&) const
 - void SendEvent(const String&, VariantMap& = VariantMap ( ))
-- void SetAreaTypeCost(uint, float)
+- void SetAreaCost(uint, float)
 - bool SetAttribute(const String&, const Variant&)
 - void SetAttributeAnimation(const String&, ValueAnimation@, WrapMode = WM_LOOP, float = 1.0f)
 - void SetAttributeAnimationSpeed(const String&, float)
@@ -13235,9 +13254,9 @@ Properties:
 
 ### CrowdAgentState
 
-- NAV_AGENT_INVALID
-- NAV_AGENT_READY
-- NAV_AGENT_TRAVERSINGLINK
+- CROWD_AGENT_INVALID
+- CROWD_AGENT_READY
+- CROWD_AGENT_TRAVERSINGLINK
 
 
 ### CrowdTargetState

+ 1 - 1
Source/Urho3D/.soversion

@@ -1 +1 @@
-0.0.98
+0.0.99