/* $Id: m_pause.h,v 1.1 2003/06/06 00:15:12 tong Exp $ */	


#ifndef INCLUDE_M_PAUSE_H
#define INCLUDE_M_PAUSE_H

#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif


/************************************************************************
 *
 *	ポーズクラス
 *
 ************************************************************************/

#define	PAUSE_WAIT	8

typedef struct {
    int		flag;	/* ポーズフラグ	    */	
    int		timer;	/* コマ送りタイマー */
} Pause;

/*-----------------------------------------------------------------------
 *
 *	ポーズクラス コンストラクト
 *
 *----------------------------------------------------------------------*/
extern void Pause_ct(
    Pause *this
);
/*-----------------------------------------------------------------------
 *
 *	ポーズ処理
 *
 *----------------------------------------------------------------------*/
extern int Pause_proc(
    Pause *this,
    pad_t *pad		/* コントロールパッド情報ポインター */
);

/*-----------------------------------------------------------------------
 *
 *	ポーズ処理
 *
 *----------------------------------------------------------------------*/
#define	Pause_on_off_check(this)	((this)->flag)


#ifdef _LANGUAGE_C_PLUS_PLUS
} /* extern "C" */
#endif

#endif

/*** m_pause.h end ***/

