axmol/tools/tolua++/CCTransition.pkg

169 lines
4.2 KiB
Plaintext
Raw Normal View History

2011-06-14 14:31:25 +08:00
typedef enum {
2012-02-02 14:26:38 +08:00
/// An horizontal orientation where the Left is nearer
kOrientationLeftOver = 0,
/// An horizontal orientation where the Right is nearer
kOrientationRightOver = 1,
/// A vertical orientation where the Up is nearer
kOrientationUpOver = 0,
/// A vertical orientation where the Bottom is nearer
kOrientationDownOver = 1,
2011-06-14 14:31:25 +08:00
} tOrientation;
class CCTransitionScene : public CCScene
{
static CCTransitionScene* create(float t, CCScene* scene);
};
2012-02-02 14:26:38 +08:00
class CCTransitionSceneOriented : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionSceneOriented* create(float t, CCScene* scene, tOrientation o);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionRotoZoom : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionRotoZoom* create(float t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionJumpZoom : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionJumpZoom* create(float t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionMoveInL : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionMoveInL* create(float t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionMoveInR : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionMoveInR* create(float t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionMoveInT : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionMoveInT* create(float t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionMoveInB : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionMoveInB* create(float t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionSlideInL : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionSlideInL* create(float t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionSlideInR : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionSlideInR* create(float t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionSlideInB : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionSlideInB* create(float t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionSlideInT : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionSlideInT* create(float t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionShrinkGrow : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionShrinkGrow* create(float t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionFlipX : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionFlipX* create(float t, CCScene* s, tOrientation o = kOrientationRightOver);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionFlipY : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionFlipY* create(float t, CCScene* s, tOrientation o = kOrientationUpOver);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionFlipAngular : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionFlipAngular* create(float t, CCScene* s, tOrientation o = kOrientationRightOver);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionZoomFlipX : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionZoomFlipX* create(float t, CCScene* s, tOrientation o = kOrientationRightOver);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionZoomFlipY : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionZoomFlipY* create(float t, CCScene* s, tOrientation o = kOrientationUpOver);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionZoomFlipAngular : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionZoomFlipAngular* create(float t, CCScene* s, tOrientation o = kOrientationRightOver);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionFade : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionFade* create(float duration,CCScene* scene, ccColor3B color = ccBLACK);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionCrossFade : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionCrossFade* create(float t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionTurnOffTiles : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionTurnOffTiles* create(float t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionSplitCols : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionSplitCols* create(float t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionSplitRows : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionSplitRows* create(float t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionFadeTR : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionFadeTR* create(float t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionFadeBL : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionFadeBL* create(float t, CCScene* scene);
2012-02-02 14:26:38 +08:00
};
2011-06-14 14:31:25 +08:00
2012-02-02 14:26:38 +08:00
class CCTransitionFadeUp : public CCScene
{
2012-06-20 11:59:35 +08:00
static CCTransitionFadeUp* create(float t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2012-02-02 14:26:38 +08:00
class CCTransitionFadeDown : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-06-20 11:59:35 +08:00
static CCTransitionFadeDown* create(float t, CCScene* scene);
2012-02-02 14:26:38 +08:00
};
2012-04-09 00:10:12 +08:00
/*
2012-02-02 14:26:38 +08:00
class CCTransitionRadialCCW : public CCScene
{
2012-06-20 11:59:35 +08:00
static CCTransitionRadialCCW* create(float t, CCScene* scene);
2012-02-02 14:26:38 +08:00
};
2011-06-14 14:31:25 +08:00
2012-02-02 14:26:38 +08:00
class CCTransitionRadialCW : public CCScene
{
2012-06-20 11:59:35 +08:00
static CCTransitionRadialCW* create(float t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2012-04-09 00:10:12 +08:00
*/
2012-02-02 14:26:38 +08:00
class CCTransitionPageTurn : public CCScene
2011-06-14 14:31:25 +08:00
{
2012-02-02 14:26:38 +08:00
CCActionInterval* actionWithSize(ccGridSize vector);
2011-06-14 14:31:25 +08:00
2012-06-20 11:59:35 +08:00
static CCTransitionPageTurn* create(float t,CCScene* scene,bool backwards);
2011-06-14 14:31:25 +08:00
};