summaryrefslogtreecommitdiffhomepage
path: root/Stars45/NetGameClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/NetGameClient.h')
-rw-r--r--Stars45/NetGameClient.h110
1 files changed, 55 insertions, 55 deletions
diff --git a/Stars45/NetGameClient.h b/Stars45/NetGameClient.h
index 71b8b02..ecb4ba7 100644
--- a/Stars45/NetGameClient.h
+++ b/Stars45/NetGameClient.h
@@ -1,15 +1,15 @@
/* Project Starshatter 4.5
- Destroyer Studios LLC
- Copyright © 1997-2004. All Rights Reserved.
+ Destroyer Studios LLC
+ Copyright © 1997-2004. All Rights Reserved.
- SUBSYSTEM: Stars.exe
- FILE: NetGameClient.h
- AUTHOR: John DiCamillo
+ SUBSYSTEM: Stars.exe
+ FILE: NetGameClient.h
+ AUTHOR: John DiCamillo
- OVERVIEW
- ========
- Network Game Manager class
+ OVERVIEW
+ ========
+ Network Game Manager class
*/
#ifndef NetGameClient_h
@@ -27,58 +27,58 @@ class NetJoinAnnounce;
class NetGameClient : public NetGame, public SimObserver
{
public:
- NetGameClient();
- virtual ~NetGameClient();
+ NetGameClient();
+ virtual ~NetGameClient();
- virtual bool IsClient() const { return true; }
- virtual bool IsServer() const { return false; }
+ virtual bool IsClient() const { return true; }
+ virtual bool IsServer() const { return false; }
- virtual void ExecFrame();
- virtual void Send();
- virtual void SendData(NetData* data);
- virtual void Respawn(DWORD objid, Ship* spawn);
+ virtual void ExecFrame();
+ virtual void Send();
+ virtual void SendData(NetData* data);
+ virtual void Respawn(DWORD objid, Ship* spawn);
- virtual bool Update(SimObject* obj);
- virtual const char* GetObserverName() const;
+ virtual bool Update(SimObject* obj);
+ virtual const char* GetObserverName() const;
protected:
- virtual void DoJoinRequest(NetMsg* msg);
- virtual void DoJoinAnnounce(NetMsg* msg);
- virtual void DoQuitRequest(NetMsg* msg);
- virtual void DoQuitAnnounce(NetMsg* msg);
- virtual void DoGameOver(NetMsg* msg);
- virtual void DoDisconnect(NetMsg* msg);
-
- virtual void DoObjLoc(NetMsg* msg);
- virtual void DoObjDamage(NetMsg* msg);
- virtual void DoObjKill(NetMsg* msg);
- virtual void DoObjSpawn(NetMsg* msg);
- virtual void DoObjHyper(NetMsg* msg);
- virtual void DoObjTarget(NetMsg* msg);
- virtual void DoObjEmcon(NetMsg* msg);
- virtual void DoSysDamage(NetMsg* msg);
- virtual void DoSysStatus(NetMsg* msg);
-
- virtual void DoElemCreate(NetMsg* msg);
- virtual void DoShipLaunch(NetMsg* msg);
- virtual void DoNavData(NetMsg* msg);
- virtual void DoNavDelete(NetMsg* msg);
-
- virtual void DoWepTrigger(NetMsg* msg);
- virtual void DoWepRelease(NetMsg* msg);
- virtual void DoWepDestroy(NetMsg* msg);
-
- virtual void DoCommMsg(NetMsg* msg);
- virtual void DoChatMsg(NetMsg* msg);
- virtual void DoSelfDestruct(NetMsg* msg);
-
- virtual void SendJoinRequest();
-
- virtual bool DoJoinBacklog(NetJoinAnnounce* join_ann);
-
- DWORD server_id;
- DWORD join_req_time;
- List<NetJoinAnnounce> join_backlog;
+ virtual void DoJoinRequest(NetMsg* msg);
+ virtual void DoJoinAnnounce(NetMsg* msg);
+ virtual void DoQuitRequest(NetMsg* msg);
+ virtual void DoQuitAnnounce(NetMsg* msg);
+ virtual void DoGameOver(NetMsg* msg);
+ virtual void DoDisconnect(NetMsg* msg);
+
+ virtual void DoObjLoc(NetMsg* msg);
+ virtual void DoObjDamage(NetMsg* msg);
+ virtual void DoObjKill(NetMsg* msg);
+ virtual void DoObjSpawn(NetMsg* msg);
+ virtual void DoObjHyper(NetMsg* msg);
+ virtual void DoObjTarget(NetMsg* msg);
+ virtual void DoObjEmcon(NetMsg* msg);
+ virtual void DoSysDamage(NetMsg* msg);
+ virtual void DoSysStatus(NetMsg* msg);
+
+ virtual void DoElemCreate(NetMsg* msg);
+ virtual void DoShipLaunch(NetMsg* msg);
+ virtual void DoNavData(NetMsg* msg);
+ virtual void DoNavDelete(NetMsg* msg);
+
+ virtual void DoWepTrigger(NetMsg* msg);
+ virtual void DoWepRelease(NetMsg* msg);
+ virtual void DoWepDestroy(NetMsg* msg);
+
+ virtual void DoCommMsg(NetMsg* msg);
+ virtual void DoChatMsg(NetMsg* msg);
+ virtual void DoSelfDestruct(NetMsg* msg);
+
+ virtual void SendJoinRequest();
+
+ virtual bool DoJoinBacklog(NetJoinAnnounce* join_ann);
+
+ DWORD server_id;
+ DWORD join_req_time;
+ List<NetJoinAnnounce> join_backlog;
};
// +--------------------------------------------------------------------+