|
/*
FILE:Player2_c.h
*/
#ifndef PLAYER2_H
#define PLAYER2_H
#include "sme.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Pre-declare states that are referenced before they are defined */
SME_BEGIN_STATE_DECLARE(PowerUp)
SME_LEAF_STATE_DECLARE(Playing)
SME_LEAF_STATE_DECLARE(Pause)
SME_END_STATE_DECLARE
SME_BEGIN_EVENT_HANDLER(Player,PowerUp)
SME_EVENT_HANDLER_DEC(OnTimer2Proc)
SME_EVENT_HANDLER_DEC(PlayingTimeOut)
SME_EVENT_HANDLER_DEC(PowerUpTimeOut)
SME_EVENT_HANDLER_DEC(PlayerEntry)
SME_EVENT_HANDLER_DEC(PlayerExit)
SME_EVENT_HANDLER_DEC(PowerDownEntry)
SME_EVENT_HANDLER_DEC(PowerDownExit)
SME_EVENT_HANDLER_DEC(PowerUpEntry)
SME_EVENT_HANDLER_DEC(PowerUpExit)
SME_EVENT_HANDLER_DEC(PlayingEntry)
SME_EVENT_HANDLER_DEC(PlayingExit)
SME_EVENT_HANDLER_DEC(PauseEntry)
SME_EVENT_HANDLER_DEC(PauseExit)
SME_EVENT_HANDLER_DEC(OnPowerDownEXT_EVENT_ID_POWER)
SME_EVENT_HANDLER_DEC(OnPlayingEXT_EVENT_ID_PAUSE_RESUME)
SME_EVENT_HANDLER_DEC(OnPauseEXT_EVENT_ID_PAUSE_RESUME)
SME_EVENT_HANDLER_DEC(OnPowerUpEXT_EVENT_ID_POWER)
SME_EVENT_HANDLER_DEC(OnPowerUpInitChild)
SME_EVENT_HANDLER_DEC(Cond1_func)
SME_EVENT_HANDLER_DEC(CondAct1)
SME_EVENT_HANDLER_DEC(CondAct2)
SME_EVENT_HANDLER_DEC(CondActElse)
SME_EVENT_HANDLER_DEC(JoinAct)
SME_END_EVENT_HANDLER(Player,PowerUp)
BOOL Guard1_func(SME_OBJ_T *pDestApp, SME_EVENT_T *pEvent);
BOOL GuardTimer2_func(SME_OBJ_T *pDestApp, SME_EVENT_T *pEvent);
#ifdef __cplusplus
}
#endif
#endif
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.