axmol/tools/tolua++/CCTransition.pkg

169 lines
4.4 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
kCCTransitionOrientationLeftOver = 0,
2012-02-02 14:26:38 +08:00
/// An horizontal orientation where the Right is nearer
kCCTransitionOrientationRightOver = 1,
2012-02-02 14:26:38 +08:00
/// A vertical orientation where the Up is nearer
kCCTransitionOrientationUpOver = 0,
2012-02-02 14:26:38 +08:00
/// A vertical orientation where the Bottom is nearer
kCCTransitionOrientationDownOver = 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
{
static CCTransitionFlipX* create(float t, CCScene* s, tOrientation o = kCCTransitionOrientationRightOver);
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
{
static CCTransitionFlipY* create(float t, CCScene* s, tOrientation o = kCCTransitionOrientationUpOver);
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
{
static CCTransitionFlipAngular* create(float t, CCScene* s, tOrientation o = kCCTransitionOrientationRightOver);
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
{
static CCTransitionZoomFlipX* create(float t, CCScene* s, tOrientation o = kCCTransitionOrientationRightOver);
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
{
static CCTransitionZoomFlipY* create(float t, CCScene* s, tOrientation o = kCCTransitionOrientationUpOver);
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
{
static CCTransitionZoomFlipAngular* create(float t, CCScene* s, tOrientation o = kCCTransitionOrientationRightOver);
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-12-10 14:04:56 +08:00
class CCTransitionProgressRadialCCW : public CCScene
2012-02-02 14:26:38 +08:00
{
2012-12-10 14:04:56 +08:00
static CCTransitionProgressRadialCCW* create(float t, CCScene* scene);
2012-02-02 14:26:38 +08:00
};
2011-06-14 14:31:25 +08:00
2012-12-10 14:04:56 +08:00
class CCTransitionProgressRadialCW : public CCScene
2012-02-02 14:26:38 +08:00
{
2012-12-10 14:04:56 +08:00
static CCTransitionProgressRadialCW* create(float t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2012-12-10 14:04:56 +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
};