📄 mmiboxman.c
字号:
/*******************************************************************************
CONDAT (UK)
********************************************************************************
This software product is the property of Condat (UK) Ltd and may not be
disclosed to any third party without the express permission of the owner.
********************************************************************************
$Project name: eg730
$Project code: BMI (6349)
$Module: Game
$File: mmiboxman.c
$Revision: 1.0
$Author: tangyan
$Date: 08/08/02
********************************************************************************
Description
This provides the main game (boxman) functionality
////////////////////////////////////////////////////////////////////////////////
//作者:唐彦
//添加日期:2002.5.24
//唐彦5.27添加了3个结构BitmapInfo,SaveMap,MapInfo
//唐彦6.9添加了paint,loadgame,paintselcet,checkforwinner,forregret
//唐彦6.10在cerate dialog 时为mapinfo分配内存否则会有问题
//
////////////////////////////////////////////////////////////////////////////////
********************************************************************************/
/*******************************************************************************
Include files
*******************************************************************************/
#include "mfw_sys.h"
//#include "stddefs.h"
#include "custom.h"
#include "gsm.h"
//#include "vsi.h"
#include "ffs.h"
#include "p_sim.h"
#include "cus_aci.h"
#include "mfw_mfw.h"
#include "mfw_win.h"
#include "mfw_kbd.h"
#include "mfw_edt.h"
#include "mfw_tim.h"
#include "mfw_icn.h"
#include "mfw_mnu.h"
#include "mfw_sat.h"
#include "mfw_mnu.h"
#include "mfw_ffs.h"
#include "dspl.h"
#include "gamedisplay.h"
#include "MmiMmi.h"
#include "MmiDummy.h"
#include "MmiDialogs.h"
#include "MmiSoftkeys.h"
//#include "Mmigameicons.h"
#include "MmiMenu.h"
#include "mmisettings.h"
#include "gdi.h"
#include "Audio.h"
#include "MmiSounds.h"
#include "mmiicons.h"
#include "MmiBookShared.h"
#include "mmiboxman.h"
#include "MmiBlkLangDB.h"
#include "mmi3dframe.h"
#include "Mmiboxmanmap.h"
#include "mmidialogs.h"
#include "..\bmi\icons\GameBoxmanIcn.h"
#include "..\bmi\icons\GameIcn.h"
#if(MAIN_LCD_SIZE==3)
#define MAXLEN_GAMEHELP 300
char boxmanHelp_Buffer[MAXLEN_GAMEHELP];
#endif
/*******************************************************************************
internal data
*******************************************************************************/
//2004/05/27 yhf modify
#if ( MAIN_LCD_SIZE==2 )
#define bmgame 111
#define bmrow 12
#define bmcol 16
#define mapwh 7
#define bmtimelong 200
#define BMHELPINIT 22
#endif
#define bmgame 111
#define bmrow 16
#define bmcol 12
#define mapwh 10
#define wight 12
#define bmtimelong 200
#define BMHELPINIT 22
/*
* The information related to every window must be encapsulated in such an structure
*/
////////////////////////////////////////////////////////////////////
//唐彦5.27添加
typedef struct
{
U8 row;
//指定的bitmap所处的行
U8 col;
//指定的bitmap所处的列s
U8 value;
//指定的bitmap所有的值
} BitmapInfo;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -