MapInfo.h
上传用户:garry_shen
上传日期:2015-04-15
资源大小:45647k
文件大小:1k
- #ifndef __MAPINFO_H__
- #define __MAPINFO_H__
- typedef struct tagMapInfo{
- CString m_sTITLE;
- CString m_sCNAME;
- CString m_sENAME;
- CString m_sITEM_DBF;
- CString m_sNPC_DBF;
- CString m_sPLAYER_DBF;
- CString m_sXFILENAME;
- double m_fSCALE;
- double m_fPOSITION_X;
- double m_fPOSITION_Y;
- double m_fPOSITION_Z;
- CString m_sEXIT_DBF;
- CString m_sMAPINFO;
- CString szPerson;
- CString szPlayerIP;
- tagMapInfo()
- {
- m_sCNAME.Empty();
- m_sENAME.Empty();
- m_sITEM_DBF.Empty();
- m_sITEM_DBF.Empty();
- m_sNPC_DBF.Empty();
- m_sPLAYER_DBF.Empty();
- m_sXFILENAME.Empty();
- m_sEXIT_DBF.Empty();
- m_sMAPINFO.Empty();
- szPerson.Empty();
- m_fPOSITION_X = 0.0f;
- m_fPOSITION_Y = 0.0f;
- m_fPOSITION_Z = 0.0f;
- };
- }CMapInfo;
- BOOL GetNewMap(CString strtmp);
- CString GetMapMessage(CString sFileName);
- BOOL EnterNewMap(CString sMapInfo);
- BOOL CheckExitCondiInt(int iTempInt,int iCheck,int iString);
- BOOL CheckExitCondiString(CString sTempStr,int iCheck,CString sString);
- void ShowExitmsg(CString sExitMsg);
- BOOL ChangeMapReceive();
- BOOL CreateNewScreen();
- #endif