www.pudn.com > vzgame_playhamster.rar > mmigame_playhamster_internal.h, change:2015-01-04,size:7628b


/***************************************************************************** 
** File Name:      mmigame_suplane_internal.h                                                   * 
** Author:                                                                   * 
** Date:           26/01/2011                                               * 
** Copyright:      2003 Spreadtrum, Incoporated. All Rights Reserved.         * 
** Description:    This file is used to describe the internal api of game              * 
***************************************************************************** 
**                         Important Edit History                            * 
** --------------------------------------------------------------------------* 
** DATE           NAME             DESCRIPTION                               * 
** 26/01/2011  peilong.zhou      Create 
******************************************************************************/ 
 
#ifndef _MMIGAME_PLAYHAMSTER_INTERNAL_H_ 
#define _MMIGAME_PLAYHAMSTER_INTERNAL_H_ 
 
/**--------------------------------------------------------------------------* 
 **                         Include Files                                    * 
 **--------------------------------------------------------------------------*/ 
#include "sci_types.h" 
#ifdef __VLCZ_MS__ 
#include "os_api.h" 
#include "mmk_type.h" 
#include "guicommon.h" 
#include "guilcd.h" 
#include "mmidisplay_data.h" 
#include "mmi_position.h" 
 
//#include "vz_ph_common_gfx.h" 
 
/**--------------------------------------------------------------------------* 
 **                         Compiler Flag                                    * 
 **--------------------------------------------------------------------------*/ 
#ifdef __cplusplus 
    extern   "C" 
    { 
#endif 
 
 
typedef enum{ 
	VZMS_STATE_MAIN_MENU = 0, 
	VZMS_GAMEOVER_MENU, 
	VZMS_STATE_SHOW_ACTIVE_MSG, 
	VZMS_STATE_LINK_ERROR, 
	VZMS_STATE_LINK_WAITING, 
	VZMS_STATE_SHOW_COMFIRM_MSG, 
	VZMS_STATE_ACTIVER_WAITING, 
	VZMS_STATE_ACTIVER_SUCCESS, 
	VZMS_STATE_ACTIVER_FAIL, 
	VZMS_STATE_MAX 
}VZBS_STATUS;//ʾ״̬  
 
/**--------------------------------------------------------------------------* 
 **                         MACRO DEFINITION                                 * 
 **--------------------------------------------------------------------------*/ 
 
#if defined(__VZGAME_240X320__) 
 
#elif defined(__VZGAME_176X220__) 
 
#elif defined(__VZGAME_220X176__) 
 
#elif defined(__VZGAME_240X400__) 
 
#elif defined(__VZGAME_320X480__) 
#endif 
 
#define  VZ_IMAGE_PUBWIN_SUCCESS  IMAGE_PUBWIN_SUCCESS  
#define   VZ_IMAGE_PUBWIN_QUERY IMAGE_PUBWIN_QUERY 
 
#define   VZGA_IMG_VZ_SP_BOMB IMG_VZ_SP_BOMB 
#define   VZGA_IMG_VZ_SP_BUTTON IMG_VZ_SP_BUTTON 
#define   VZGA_IMG_VZ_SP_ENEMY IMG_VZ_SP_ENEMY 
#define   VZGA_IMG_VZ_SP_OVER IMG_VZ_SP_OVER 
#define   VZGA_IMG_VZ_SP_PLANE  IMG_VZ_SP_PLANE 
#define   VZGA_IMG_VZ_SP_SHELL IMG_VZ_SP_SHELL 
#define   VZGA_IMG_VZ_SP_UI IMG_VZ_SP_UI 
#define   VZGA_IMG_VZ_SP_HEART IMG_VZ_SP_HEART 
#define   VZGA_IMG_VZ_SP_STOP IMG_VZ_SP_STOP 
 
#define   VZGA_STR_VZ_SP STR_VZ_SP 
#define   VZGA_STR_VZ_SP_GAME_SCORE STR_VZ_SP_GAME_SCORE  
#define   VZGA_STR_VZ_SP_ENEMY_DIE STR_VZ_SP_ENEMY_DIE 
#define   VZGA_STR_VZ_SP_REWARD_SCORE STR_VZ_SP_REWARD_SCORE 
#define   VZGA_STR_VZ_SP_PLANE_SCORE STR_VZ_SP_PLANE_SCORE 
#define   VZGA_STR_VZ_SP_MAX_SCORE STR_VZ_SP_MAX_SCORE 
#define   VZGA_STR_VZ_SP_REPLAY STR_VZ_SP_REPLAY 
#define   VZGA_STR_VZ_SP_EXIT STR_VZ_SP_EXIT 
#define   VZGA_STR_VZ_SP_CONTINUE STR_VZ_SP_CONTINUE 
#define   VZGA_STR_VZ_SP_RESTART STR_VZ_SP_RESTART 
#define   VZGA_STR_VZ_SP_EXITGAME STR_VZ_SP_EXITGAME 
   
extern uint8 VzPlayhamster_timer; 
 
extern MMI_WIN_ID_T ms_newwin_id; 
/**---------------------------------------------------------------------------* 
 **                         TYPE AND CONSTANT                                 * 
 **---------------------------------------------------------------------------*/ 
 
/*****************************************************************************/ 
//  FUNCTION:      MMIGMQUT_Init(void) 
//  Description :    
//  Global resource dependence :  
//  Author:        peilong.zhou 
//  Note:    
/*****************************************************************************/ 
PUBLIC  BOOLEAN  MMIGMPLAYHAMSTER_Init(void); 
 
/*****************************************************************************/ 
//  FUNCTION:    MMIGMQUT_RegNv(void) 
//  Description :    
//  Global resource dependence :  
//  Author:        peilong.zhou 
//  Note:    
/*****************************************************************************/ 
PUBLIC void MMIGMPLAYHAMSTER_RegNv(void); 
 
/*****************************************************************************/ 
//  FUNCTION:      MMIGMQUT_InitModule 
//  Description :    
//  Global resource dependence :  
//  Author:        taul.zhu 
//  Note:    
/*****************************************************************************/ 
PUBLIC void MMIGMPLAYHAMSTER_InitModule(void); 
 
/*****************************************************************************/ 
//  FUNCTION:      reg quintet nenu group 
//  Description :    
//  Global resource dependence :  
//  Author:        peilong.zhou 
//  Note:    
/*****************************************************************************/ 
PUBLIC void MMIGMPLAYHAMSTER_RegMenuGroup(void); 
 
/*****************************************************************************/ 
//  FUNCTION:     MMIGMSNAKE_AddTwoString 
//  Description :    
//  Global resource dependence :  
//  Author:       peilong.zhou 
//  Note:    
/*****************************************************************************/ 
PUBLIC MMI_STRING_T MMIGMPLAYHAMSTER_AddTwoString(MMI_STRING_T first,MMI_STRING_T second); 
/*****************************************************************************/ 
//  Description : MMIGMPLAYHAMSTER_OpenGameWin       
//  Global resource dependence :  
//  Author:        peilong.zhou 
//  RETRUN:    
//  Note:    
/*****************************************************************************/ 
PUBLIC BOOLEAN MMIGMPLAYHAMSTER_OpenGameWin(void); 
 
/*****************************************************************************/ 
//  FUNCTION:     MMIGMPLAYHAMSTER_RsetGameDate 
//  Description :    
//  Global resource dependence :  
//  Author:       
//  Note:    
/*****************************************************************************/ 
PUBLIC void MMIGMPLAYHAMSTER_RsetGameDate(void); 
/*****************************************************************************/ 
//  FUNCTION:     Playhamster_GameGoing 
//  Description :    
//  Global resource dependence :  
//  Author:       peilong.zhou 
//  Note:    
/*****************************************************************************/ 
PUBLIC void Playhamster_GameGoing( 
                            MMI_WIN_ID_T win_id 
                            ); 
 
/*****************************************************************************/ 
//  Description : Register acc menu group 
//  Global resource dependence : none 
//  Author:   peilong.zhou 
//  Note: 
/*****************************************************************************/ 
PUBLIC void MMIGAME_PLAYHAMSTER_RegWinIdNameArr(void); 
 
/**--------------------------------------------------------------------------* 
 **                         Compiler Flag                                    * 
 **--------------------------------------------------------------------------*/ 
#ifdef   __cplusplus 
    } 
#endif 
#endif 
#endif//_MMIGAME_PLAYHAMSTER_INTERNAL_H_