Skip to content

Commit

Permalink
Merge pull request cocos2d#12080 from linshun/v3
Browse files Browse the repository at this point in the history
issue cocos2d#12078 added audio, network, physics, platform and storage group.
  • Loading branch information
pandamicro committed Jun 15, 2015
2 parents 707e9d4 + c54d4ba commit d0db40c
Show file tree
Hide file tree
Showing 36 changed files with 65 additions and 38 deletions.
2 changes: 1 addition & 1 deletion cocos/audio/include/AudioEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#endif // ERROR

/**
* @addtogroup core
* @addtogroup audio
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/audio/include/SimpleAudioEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ THE SOFTWARE.
#endif

/**
* @addtogroup core
* @addtogroup audio
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/network/HttpClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include "network/HttpCookie.h"

/**
* @addtogroup core
* @addtogroup network
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/network/HttpRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include "base/ccMacros.h"

/**
* @addtogroup core
* @addtogroup network
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/network/HttpResponse.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "network/HttpRequest.h"

/**
* @addtogroup core
* @addtogroup network
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/network/SocketIO.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ in the onClose method the pointer should be set to NULL or used to connect to a
#include <string>

/**
* @addtogroup core
* @addtogroup network
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/network/WebSocket.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ struct libwebsocket_context;
struct libwebsocket_protocols;

/**
* @addtogroup core
* @addtogroup network
* @{
*/

Expand Down
6 changes: 5 additions & 1 deletion cocos/physics/CCPhysicsBody.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ typedef Vec2 Vect;
const PhysicsMaterial PHYSICSBODY_MATERIAL_DEFAULT(0.1f, 0.5f, 0.5f);

/**
* @addtogroup core
* @addtogroup physics
* @{
* @addtogroup physics_2d
* @{
*/

Expand Down Expand Up @@ -560,6 +562,8 @@ class CC_DLL PhysicsBody : public Ref
};

/** @} */
/** @} */


NS_CC_END

Expand Down
5 changes: 4 additions & 1 deletion cocos/physics/CCPhysicsContact.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ typedef struct CC_DLL PhysicsContactData
}PhysicsContactData;

/**
* @addtogroup core
* @addtogroup physics
* @{
* @addtogroup physics_2d
* @{
*/

Expand Down Expand Up @@ -307,6 +309,7 @@ class CC_DLL EventListenerPhysicsContactWithGroup : public EventListenerPhysicsC
virtual ~EventListenerPhysicsContactWithGroup();
};

/** @} */
/** @} */

NS_CC_END
Expand Down
5 changes: 4 additions & 1 deletion cocos/physics/CCPhysicsHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
NS_CC_BEGIN

/**
* @addtogroup core
* @addtogroup physics
* @{
* @addtogroup physics_2d
* @{
*/

Expand Down Expand Up @@ -108,6 +110,7 @@ class PhysicsHelper
}
};

/** @} */
/** @} */

NS_CC_END
Expand Down
6 changes: 5 additions & 1 deletion cocos/physics/CCPhysicsJoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ class PhysicsBody;
class PhysicsWorld;

/**
* @addtogroup core
* @addtogroup physics
* @{
* @addtogroup physics_2d
* @{
*/

Expand Down Expand Up @@ -567,6 +569,8 @@ class CC_DLL PhysicsJointMotor : public PhysicsJoint
};

/** @} */
/** @} */


NS_CC_END

Expand Down
6 changes: 5 additions & 1 deletion cocos/physics/CCPhysicsShape.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,11 @@ typedef struct CC_DLL PhysicsMaterial
const PhysicsMaterial PHYSICSSHAPE_MATERIAL_DEFAULT;

/**
* @addtogroup core
* @addtogroup physics
* @{
* @addtogroup physics_2d
* @{
*/

/**
Expand Down Expand Up @@ -718,6 +721,7 @@ class CC_DLL PhysicsShapeEdgeChain : public PhysicsShape
friend class PhysicsBody;
};

/** @} */
/** @} */

NS_CC_END
Expand Down
6 changes: 5 additions & 1 deletion cocos/physics/CCPhysicsWorld.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ typedef std::function<bool(PhysicsWorld&, PhysicsShape&, void*)> PhysicsQueryRec
typedef PhysicsQueryRectCallbackFunc PhysicsQueryPointCallbackFunc;

/**
* @addtogroup core
* @addtogroup physics
* @{
* @addtogroup physics_2d
* @{
*/

Expand Down Expand Up @@ -415,6 +417,8 @@ class CC_DLL PhysicsDebugDraw
extern const float CC_DLL PHYSICS_INFINITY;

/** @} */
/** @} */

NS_CC_END

#endif // CC_USE_PHYSICS
Expand Down
2 changes: 1 addition & 1 deletion cocos/platform/CCApplicationProtocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ THE SOFTWARE.
NS_CC_BEGIN

/**
* @addtogroup core
* @addtogroup platform
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/platform/CCDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ NS_CC_BEGIN
struct FontDefinition;

/**
* @addtogroup support
* @addtogroup platform
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/platform/CCFileUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ THE SOFTWARE.
NS_CC_BEGIN

/**
* @addtogroup support
* @addtogroup platform
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/platform/CCGLView.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ struct GLContextAttrs
NS_CC_BEGIN

/**
* @addtogroup core
* @addtogroup platform
* @{
*/
/**
Expand Down
2 changes: 1 addition & 1 deletion cocos/renderer/CCBatchCommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include "renderer/CCRenderCommand.h"

/**
* @addtogroup support
* @addtogroup renderer
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/renderer/CCCustomCommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "renderer/CCRenderCommand.h"

/**
* @addtogroup support
* @addtogroup renderer
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/renderer/CCGLProgram.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ THE SOFTWARE.
#include "math/CCMath.h"

/**
* @addtogroup support
* @addtogroup renderer
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/renderer/CCGLProgramCache.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ THE SOFTWARE.
#include "base/CCRef.h"

/**
* @addtogroup support
* @addtogroup renderer
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/renderer/CCGLProgramState.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ THE SOFTWARE.
#include "math/Vec4.h"

/**
* @addtogroup support
* @addtogroup renderer
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/renderer/CCGLProgramStateCache.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ THE SOFTWARE.
#include "math/Vec4.h"

/**
* @addtogroup support
* @addtogroup renderer
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/renderer/CCGroupCommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include "CCRenderCommand.h"

/**
* @addtogroup support
* @addtogroup renderer
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/renderer/CCPrimitive.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include "renderer/CCVertexIndexData.h"

/**
* @addtogroup support
* @addtogroup renderer
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/renderer/CCPrimitiveCommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "renderer/CCRenderCommand.h"

/**
* @addtogroup support
* @addtogroup renderer
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/renderer/CCQuadCommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "renderer/CCGLProgramState.h"

/**
* @addtogroup support
* @addtogroup renderer
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/renderer/CCRenderCommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include "base/ccTypes.h"

/**
* @addtogroup support
* @addtogroup renderer
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/renderer/CCRenderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include "platform/CCGL.h"

/**
* @addtogroup support
* @addtogroup renderer
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/renderer/CCTrianglesCommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "renderer/CCGLProgramState.h"

/**
* @addtogroup support
* @addtogroup renderer
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/renderer/CCVertexIndexBuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "platform/CCGL.h"

/**
* @addtogroup support
* @addtogroup renderer
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/renderer/CCVertexIndexData.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <map>

/**
* @addtogroup support
* @addtogroup renderer
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/renderer/ccGLStateCache.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ THE SOFTWARE.
NS_CC_BEGIN

/**
* @addtogroup support
* @addtogroup renderer
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/renderer/ccShaders.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ THE SOFTWARE.
#include "platform/CCPlatformMacros.h"

/**
* @addtogroup support
* @addtogroup renderer
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion cocos/storage/local-storage/LocalStorage.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ THE SOFTWARE.
#include "CCPlatformMacros.h"

/**
* @addtogroup core
* @addtogroup storage
* @{
*/

Expand Down
11 changes: 8 additions & 3 deletions docs/Groups.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
/**
@defgroup actions Actions
@defgroup _2d 2D Nodes
@defgroup _3d 3D Nodes
@defgroup core Core
@defgroup actions Actions
@defgroup audio Audio
@defgroup base Base
@defgroup support Support
@defgroup network Network
@defgroup physics Physics
@defgroup physics_2d Physics 2D
@defgroup platform Platform Specific
@defgroup renderer Renderer
@defgroup storage Storage
@defgroup ui UI Nodes
@defgroup lua Lua Binding
*/

0 comments on commit d0db40c

Please sign in to comment.