mirror of https://github.com/axmolengine/axmol.git
CCParticleSystemPoint now derive from CCParticleSystemQuade in linux
This commit is contained in:
parent
717698bf65
commit
91f8ed7eb4
|
@ -27,7 +27,10 @@ THE SOFTWARE.
|
||||||
#define __CC_PARTICLE_SYSTEM_POINT_MOBILE_H__
|
#define __CC_PARTICLE_SYSTEM_POINT_MOBILE_H__
|
||||||
|
|
||||||
/*#include "Availability.h"*/
|
/*#include "Availability.h"*/
|
||||||
#include "CCParticleSystem.h"
|
#include "CCParticleSystem.h"
|
||||||
|
#if (CC_TARGET_PLATFORM == CC_PLATFORM_LINUX)
|
||||||
|
#include "CCParticleSystemQuad.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace cocos2d {
|
namespace cocos2d {
|
||||||
|
|
||||||
|
@ -44,7 +47,12 @@ Features:
|
||||||
|
|
||||||
Limitations:
|
Limitations:
|
||||||
* On 3rd gen iPhone devices and iPads, this node performs MUCH slower than CCParticleSystemQuad.
|
* On 3rd gen iPhone devices and iPads, this node performs MUCH slower than CCParticleSystemQuad.
|
||||||
*/
|
*/
|
||||||
|
#if (CC_TARGET_PLATFORM == CC_PLATFORM_LINUX)
|
||||||
|
class CC_DLL CCParticleSystemPoint : public CCParticleSystemQuad{
|
||||||
|
//nothing to do
|
||||||
|
};
|
||||||
|
#else
|
||||||
class CC_DLL CCParticleSystemPoint : public CCParticleSystem
|
class CC_DLL CCParticleSystemPoint : public CCParticleSystem
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -76,7 +84,8 @@ protected:
|
||||||
# if CC_USES_VBO
|
# if CC_USES_VBO
|
||||||
GLuint m_uVerticesID;
|
GLuint m_uVerticesID;
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
}// namespace cocos2d
|
}// namespace cocos2d
|
||||||
|
|
||||||
|
|
|
@ -85,7 +85,7 @@
|
||||||
</toolChain>
|
</toolChain>
|
||||||
</folderInfo>
|
</folderInfo>
|
||||||
<sourceEntries>
|
<sourceEntries>
|
||||||
<entry excluding="tests/PerformanceTest|tests/ParticleTest" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
||||||
</sourceEntries>
|
</sourceEntries>
|
||||||
</configuration>
|
</configuration>
|
||||||
</storageModule>
|
</storageModule>
|
||||||
|
@ -173,7 +173,7 @@
|
||||||
</toolChain>
|
</toolChain>
|
||||||
</folderInfo>
|
</folderInfo>
|
||||||
<sourceEntries>
|
<sourceEntries>
|
||||||
<entry excluding="tests/PerformanceTest|tests/ParticleTest" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
||||||
</sourceEntries>
|
</sourceEntries>
|
||||||
</configuration>
|
</configuration>
|
||||||
</storageModule>
|
</storageModule>
|
||||||
|
|
|
@ -27,7 +27,7 @@ static TestScene* CreateTestScene(int nIdx)
|
||||||
case TEST_ROTATE_WORLD:
|
case TEST_ROTATE_WORLD:
|
||||||
pScene = new RotateWorldTestScene(); break;
|
pScene = new RotateWorldTestScene(); break;
|
||||||
case TEST_PARTICLE:
|
case TEST_PARTICLE:
|
||||||
// pScene = new ParticleTestScene(); break;
|
pScene = new ParticleTestScene(); break;
|
||||||
case TEST_EASE_ACTIONS:
|
case TEST_EASE_ACTIONS:
|
||||||
pScene = new EaseActionsTestScene(); break;
|
pScene = new EaseActionsTestScene(); break;
|
||||||
case TEST_MOTION_STREAK:
|
case TEST_MOTION_STREAK:
|
||||||
|
@ -93,7 +93,7 @@ static TestScene* CreateTestScene(int nIdx)
|
||||||
case TEST_COCOSDENSHION:
|
case TEST_COCOSDENSHION:
|
||||||
pScene = new CocosDenshionTestScene(); break;
|
pScene = new CocosDenshionTestScene(); break;
|
||||||
case TEST_PERFORMANCE:
|
case TEST_PERFORMANCE:
|
||||||
// pScene = new PerformanceTestScene(); break;
|
pScene = new PerformanceTestScene(); break;
|
||||||
case TEST_ZWOPTEX:
|
case TEST_ZWOPTEX:
|
||||||
pScene = new ZwoptexTestScene(); break;
|
pScene = new ZwoptexTestScene(); break;
|
||||||
#if (CC_TARGET_PLATFORM != CC_PLATFORM_AIRPLAY)
|
#if (CC_TARGET_PLATFORM != CC_PLATFORM_AIRPLAY)
|
||||||
|
|
Loading…
Reference in New Issue