mirror of https://github.com/axmolengine/axmol.git
Merge branch 'gles20' of https://github.com/cocos2d/cocos2d-x into gles20
This commit is contained in:
commit
dacc4a4f64
|
@ -1 +1 @@
|
||||||
35ee36aee350134dbe3d44c7a91b309972ea00ad
|
bbbb2450a8de63794b1d5e2b00341086f5aee574
|
|
@ -1 +1 @@
|
||||||
dab2e1ed075027aac1e137daaa68542dfe2d7c63
|
57601a5ee61c442f04b4d1bbfd2697330dfc63cb
|
|
@ -16,25 +16,25 @@ class CCAction : public CCObject
|
||||||
CCObject* copyWithZone(CCZone* pZone);
|
CCObject* copyWithZone(CCZone* pZone);
|
||||||
};
|
};
|
||||||
|
|
||||||
class CCActionInterval : public CCAction
|
class CCFiniteTimeAction : public CCAction
|
||||||
{
|
|
||||||
float getElapsed(void);
|
|
||||||
bool isDone(void);
|
|
||||||
void setAmplitudeRate(float amp);
|
|
||||||
float getAmplitudeRate(void);
|
|
||||||
CCObject* copyWithZone(CCZone* pZone);
|
|
||||||
CCActionInterval* reverse(void);
|
|
||||||
|
|
||||||
CCActionInterval* create(float d);
|
|
||||||
};
|
|
||||||
|
|
||||||
class CCFiniteTimeAction : public CCActionInterval
|
|
||||||
{
|
{
|
||||||
float getDuration(void);
|
float getDuration(void);
|
||||||
void setDuration(float duration);
|
void setDuration(float duration);
|
||||||
CCFiniteTimeAction* reverse(void);
|
CCFiniteTimeAction* reverse(void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class CCActionInterval : public CCFiniteTimeAction
|
||||||
|
{
|
||||||
|
float getElapsed(void);
|
||||||
|
bool isDone(void);
|
||||||
|
void setAmplitudeRate(float amp);
|
||||||
|
float getAmplitudeRate(void);
|
||||||
|
CCObject* copyWithZone(CCZone* pZone);
|
||||||
|
CCActionInterval* reverse(void);
|
||||||
|
|
||||||
|
CCActionInterval* create(float d);
|
||||||
|
};
|
||||||
|
|
||||||
// CCActionInterval
|
// CCActionInterval
|
||||||
class CCSpeed : public CCAction
|
class CCSpeed : public CCAction
|
||||||
{
|
{
|
||||||
|
|
|
@ -10,8 +10,20 @@ typedef enum LanguageType
|
||||||
kLanguageRussian
|
kLanguageRussian
|
||||||
} ccLanguageType;
|
} ccLanguageType;
|
||||||
|
|
||||||
|
enum TargetPlatform
|
||||||
|
{
|
||||||
|
kTargetWindows,
|
||||||
|
kTargetLinux,
|
||||||
|
kTargetMacOS,
|
||||||
|
kTargetAndroid,
|
||||||
|
kTargetIphone,
|
||||||
|
kTargetIpad,
|
||||||
|
kTargetBlackBerry,
|
||||||
|
};
|
||||||
|
|
||||||
class CCApplication
|
class CCApplication
|
||||||
{
|
{
|
||||||
static CCApplication* sharedApplication();
|
static CCApplication* sharedApplication();
|
||||||
ccLanguageType getCurrentLanguage();
|
ccLanguageType getCurrentLanguage();
|
||||||
|
TargetPlatform getTargetPlatform();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue