Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
ObjectPlayerClone.cpp
Upload User: tt_chan
Upload Date: 2009-12-03
Package Size: 4523k
Code Size: 1k
Category:
Game Server Simulator
Development Platform:
Visual C++
- #include "stdafx.h"
- void CPlayerCloneObject::Create(CPlayerObject* pPlayerObject)
- {
- m_dwRunTime = GetTickCount();
- m_dwRunNextTick = 5000;
- strcpy(m_szName, "啊力飘");
- m_nCurrX = pPlayerObject->m_nCurrX;
- m_nCurrY = pPlayerObject->m_nCurrY;
- m_nDirection = GetBack(pPlayerObject->m_nDirection);
- m_pMap = pPlayerObject->m_pMap;
- m_tFeature = pPlayerObject->m_tFeature;
- m_pMap->AddNewObject(m_nCurrX, m_nCurrY, OS_MOVINGOBJECT, this);
- AddRefMsg(RM_TURN, m_nDirection, m_nCurrX, m_nCurrY, 0, m_szName);
- }
- void CPlayerCloneObject::Operate()
- {
- }