www.pudn.com > XmudOSr.rar > CmdDazuoAndTuna.cpp


#include "stdafx.h" 
#include "XMudClient.h" 
#include "CommandCheck.h" 
#include "MenuCreateNew.h" 
#include "CommunicateMsg.h" 
#include "midi.h" 
#include "faceplate.h" 
#include "CmdFunction.h" 
#include "FileFunctionItem.h" 
#include "D3DRMScreen.h" 
#include "MainScreen.h" 
 
extern rmfullglobals myglobs; 
extern int g_nGameState; 
extern int g_playerState; 
extern CMenuCreateNew m_MenuCreateNew; 
extern SOCKET hLCltForRSvrSock; 
extern BOOL g_bGetInputMessage; 
extern CStringList g_strlistChannel; 
extern CStringList g_strlistSelfMsg; 
extern CStringList g_strlistMesssage; 
extern CStringList g_strlistPlayerOnline; 
extern CListplayerlist; 
extern CListequiplist; 
extern CListequiprentlist; 
extern CList	 itemlist; 
extern CRITICAL_SECTION csAnimation; 
extern CList  animationlist; 
extern CMainScreen m_MainScreen; 
void DoMappingProc(CString szDataMsg,CString szDataMsg2) 
{ 
	CString szSend; 
	CSkillInfo *lpSkillInfo; 
	lpSkillInfo = GetSkillPtr(szDataMsg); 
	if(szDataMsg == szDataMsg2) { 
		lpSkillInfo->m_sMAPPING.Empty(); 
		szSend.Format("%s你把配置在%s上的技能解除", szGreenLow, szDataMsg); 
		AddSelfMsg(szSend); 
	} else { 
		lpSkillInfo->m_sMAPPING = szDataMsg2; 
		szSend.Format("%s你把%s配置到%s上。", szGreenLow, szDataMsg2, szDataMsg); 
		AddSelfMsg(szSend); 
	} 
 
	if(m_MainScreen.mFirstFD.nShowState == SHOWSKILL){ 
  	m_MainScreen.mFirstFD.bReDraw[0] = TRUE; 
  	m_MainScreen.mFirstFD.bReDraw[1] = TRUE; 
		m_MainScreen.mFirstFD.ResetCount(); 
	} 
}