47 lines
1.3 KiB
C++
47 lines
1.3 KiB
C++
//////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Game Source Code
|
|
//
|
|
// File: XSystemClient.h
|
|
// Description: IXSystem interface for the client.
|
|
//
|
|
// History:
|
|
// - August 8, 2001: Created by Alberto Demichelis
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef GAME_XSYSTEMCLIENT_H
|
|
#define GAME_XSYSTEMCLIENT_H
|
|
#if _MSC_VER > 1000
|
|
# pragma once
|
|
#endif
|
|
|
|
#include "XSystemBase.h"
|
|
|
|
///////////////////////////////////////////////
|
|
/*!Implements a the XSystem for a remote client
|
|
*/
|
|
class CXSystemClient : public CXSystemBase
|
|
{
|
|
public:
|
|
CXSystemClient(CXGame *pGame,ILog *pLog);
|
|
virtual ~CXSystemClient();
|
|
|
|
//// IXSystem ///////////////////////////////
|
|
void Release();
|
|
bool LoadLevel(const char *szLevelDir,const char *szMissionName, bool bEditor=false);
|
|
IEntity* SpawnEntity(class CEntityDesc &ed);
|
|
void RemoveEntity(EntityId wID, bool bRemoveNow=false);
|
|
void DeleteAllEntities();
|
|
void Disconnected(const char *szCause);
|
|
void SetVariable(const char *sName,const char *sValue);
|
|
// bool LoadCharacter(IEntity* pEntity, const char *szModel);
|
|
// void SetMyPlayer(EntityId wID);
|
|
|
|
bool WriteTeams(CStream &stm){return true;}
|
|
|
|
/////////////////////////////////////////////
|
|
};
|
|
|
|
#endif // GAME_XSYSTEMCLIENT_H
|