这是整套横扫千军3D版游戏的源码
源代码在线查看: script.h
#ifndef SCRIPT_H
#define SCRIPT_H
// Script.h: interface for the CScript class.
//
//////////////////////////////////////////////////////////////////////
#include "Object.h"
#include
class CScript : public CObject
{
public:
virtual void SetCamera();
virtual void Update();
virtual void GotChatMsg(const std::string& msg, int player);
CScript(const std::string& name);
virtual ~CScript();
virtual void ScriptSelected();
virtual std::string GetMapName();
virtual std::string GetModName();
bool wantCameraControl;
bool onlySinglePlayer;
bool loadGame;
};
#endif /* SCRIPT_H */