axmol/tools/tolua++/CCTransition.pkg

147 lines
4.1 KiB
Plaintext
Raw Normal View History

2011-06-14 14:31:25 +08:00
typedef enum {
/// 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;
2011-11-21 00:30:55 +08:00
class CCTransitionSceneOriented : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionSceneOriented* transitionWithDuration(ccTime t, CCScene* scene, tOrientation o);
2011-06-14 14:31:25 +08:00
};
2011-11-21 00:30:55 +08:00
class CCTransitionRotoZoom : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionRotoZoom* transitionWithDuration(ccTime t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2011-11-21 00:30:55 +08:00
class CCTransitionJumpZoom : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionJumpZoom* transitionWithDuration(ccTime t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2011-11-21 00:30:55 +08:00
class CCTransitionMoveInL : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionMoveInL* transitionWithDuration(ccTime t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2011-11-21 00:30:55 +08:00
class CCTransitionMoveInR : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionMoveInR* transitionWithDuration(ccTime t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2011-11-21 00:30:55 +08:00
class CCTransitionMoveInT : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionMoveInT* transitionWithDuration(ccTime t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2011-11-21 00:30:55 +08:00
class CCTransitionMoveInB : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionMoveInB* transitionWithDuration(ccTime t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2011-11-21 00:30:55 +08:00
class CCTransitionSlideInL : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionSlideInL* transitionWithDuration(ccTime t, CCScene* scene);
};
2011-11-21 00:30:55 +08:00
class CCTransitionSlideInR : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionSlideInR* transitionWithDuration(ccTime t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2011-11-21 00:30:55 +08:00
class CCTransitionSlideInB : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionSlideInB* transitionWithDuration(ccTime t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2011-11-21 00:30:55 +08:00
class CCTransitionSlideInT : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionSlideInT* transitionWithDuration(ccTime t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2011-11-21 00:30:55 +08:00
class CCTransitionShrinkGrow : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionShrinkGrow* transitionWithDuration(ccTime t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2011-11-21 00:30:55 +08:00
class CCTransitionFlipX : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionFlipX* transitionWithDuration(ccTime t, CCScene* s, tOrientation o = kOrientationRightOver);
};
2011-11-21 00:30:55 +08:00
class CCTransitionFlipY : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionFlipY* transitionWithDuration(ccTime t, CCScene* s, tOrientation o = kOrientationUpOver);
};
2011-11-21 00:30:55 +08:00
class CCTransitionFlipAngular : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionFlipAngular* transitionWithDuration(ccTime t, CCScene* s, tOrientation o = kOrientationRightOver);
};
2011-11-21 00:30:55 +08:00
class CCTransitionZoomFlipX : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionZoomFlipX* transitionWithDuration(ccTime t, CCScene* s, tOrientation o = kOrientationRightOver);
};
2011-11-21 00:30:55 +08:00
class CCTransitionZoomFlipY : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionZoomFlipY* transitionWithDuration(ccTime t, CCScene* s, tOrientation o = kOrientationUpOver);
};
2011-11-21 00:30:55 +08:00
class CCTransitionZoomFlipAngular : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionZoomFlipAngular* transitionWithDuration(ccTime t, CCScene* s, tOrientation o = kOrientationRightOver);
};
2011-11-21 00:30:55 +08:00
class CCTransitionFade : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionFade* transitionWithDuration(ccTime duration,CCScene* scene, ccColor3B color = ccBLACK);
2011-06-14 14:31:25 +08:00
};
2011-11-21 00:30:55 +08:00
class CCTransitionCrossFade : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionCrossFade* transitionWithDuration(ccTime t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2011-11-21 00:30:55 +08:00
class CCTransitionTurnOffTiles : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionTurnOffTiles* transitionWithDuration(ccTime t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2011-11-21 00:30:55 +08:00
class CCTransitionSplitCols : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionSplitCols* transitionWithDuration(ccTime t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2011-11-21 00:30:55 +08:00
class CCTransitionSplitRows : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionSplitRows* transitionWithDuration(ccTime t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2011-11-21 00:30:55 +08:00
class CCTransitionFadeTR : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionFadeTR* transitionWithDuration(ccTime t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2011-11-21 00:30:55 +08:00
class CCTransitionFadeBL : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionFadeBL* transitionWithDuration(ccTime t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2011-11-21 00:30:55 +08:00
class CCTransitionFadeUp : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionFadeUp* transitionWithDuration(ccTime t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};
2011-11-21 00:30:55 +08:00
class CCTransitionFadeDown : public CCScene
2011-06-14 14:31:25 +08:00
{
static CCTransitionFadeDown* transitionWithDuration(ccTime t, CCScene* scene);
2011-06-14 14:31:25 +08:00
};