/************************************************************************
 ************************************************************************
 ****							*****************
 ****	ac_countdown.h					*****************
 ****	カウントダウンのヘッダファイル			*****************
 ****	sumiyosi					*****************
 ****	2000/09/20(WED)					*****************
 ****							*****************
 ************************************************************************
 ************************************************************************/
#ifndef AC_COUNTDOWNh
#define AC_COUNTDOWNh


#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif	/* _LANGUAGE_C_PLUS_PLUS	*/

    
#include "m_play.h"


/************************************************
 *						*
 *	クラス					*
 *						*
 ************************************************/
typedef struct Count_actor_s	COUNT_ACTOR;


/************************************************
 *						*
 *	プロファイル				*
 *						*
 ************************************************/
extern Actor_profile	Count_Profile;


/************************************************
 *						*
 *	クリップ登録情報			*
 *						*
 ************************************************/
/*----------------------------------------------*
 *	アニメーション開始指示			*
 *----------------------------------------------*/
typedef void	(*aCOU_CLIP_PROC)(void);


/*----------------------------------------------*
 *	クラス					*
 *----------------------------------------------*/
typedef struct {
    
    aCOU_CLIP_PROC	clip_proc;		/* アニメ再生処理	*/
    int			play_flag;		/* アニメ再生フラグ	*/
    
} aCOU_CLIP_c;


/*----------------------------------------------*
 *	DEFINE					*
 *----------------------------------------------*/
#define	aCOU_CLIP_P		ZCommonGet(clip.countdown_clip)
#define aCOU_CLIP_P2		((aCOU_CLIP_c *)aCOU_CLIP_P)
#define aCOU_ANIME_RESTART	(aCOU_CLIP_P2->clip_proc)
#define aCOU_PLAY_FLAG		(aCOU_CLIP_P2->play_flag)


#ifdef _LANGUAGE_C_PLUS_PLUS
}	/* extern "C"			*/
#endif	/* _LANGUAGE_C_PLUS_PLUS	*/

#endif	/* AC_COUNTDOWNh		*/
/***	END OF ac_countdown.h	*********/
