From 69209c38968c6f4066a772e0a51a2928749217de Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Fri, 9 Dec 2011 19:00:23 +0000 Subject: Re-indenting the code to use standard tabs. Yes, I know this is pretty pointless, but who cares? --- Stars45/NetPlayer.h | 88 ++++++++++++++++++++++++++--------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) (limited to 'Stars45/NetPlayer.h') diff --git a/Stars45/NetPlayer.h b/Stars45/NetPlayer.h index 7c44e40..7a207b4 100644 --- a/Stars45/NetPlayer.h +++ b/Stars45/NetPlayer.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: NetPlayer.h - AUTHOR: John DiCamillo + SUBSYSTEM: Stars.exe + FILE: NetPlayer.h + AUTHOR: John DiCamillo - OVERVIEW - ======== - Network Player (Director) class + OVERVIEW + ======== + Network Player (Director) class */ #ifndef NetPlayer_h @@ -43,53 +43,53 @@ class NetCommMsg; class NetPlayer : public Director, public SimObserver { public: - static const char* TYPENAME() { return "NetPlayer"; } + static const char* TYPENAME() { return "NetPlayer"; } - NetPlayer(DWORD nid) : netid(nid), objid(0), ship(0), iff(0) { } - ~NetPlayer(); + NetPlayer(DWORD nid) : netid(nid), objid(0), ship(0), iff(0) { } + ~NetPlayer(); - int operator == (const NetPlayer& p) const { return netid == p.netid; } + int operator == (const NetPlayer& p) const { return netid == p.netid; } - DWORD GetNetID() const { return netid; } - DWORD GetObjID() const { return objid; } - void SetObjID(DWORD o) { objid = o; } + DWORD GetNetID() const { return netid; } + DWORD GetObjID() const { return objid; } + void SetObjID(DWORD o) { objid = o; } - int GetIFF() const { return iff; } - Ship* GetShip() const { return ship; } - void SetShip(Ship* s); + int GetIFF() const { return iff; } + Ship* GetShip() const { return ship; } + void SetShip(Ship* s); - const char* Name() const { return name; } - void SetName(const char* n) { name = n; } - const char* SerialNumber() const { return serno; } - void SetSerialNumber(const char* n) { serno = n; } + const char* Name() const { return name; } + void SetName(const char* n) { name = n; } + const char* SerialNumber() const { return serno; } + void SetSerialNumber(const char* n) { serno = n; } - virtual void ExecFrame(double seconds); + virtual void ExecFrame(double seconds); - bool DoObjLoc(NetObjLoc* obj_loc); - bool DoObjHyper(NetObjHyper* obj_hyper); - bool DoObjTarget(NetObjTarget* obj_target); - bool DoObjEmcon(NetObjEmcon* obj_emcon); - bool DoWepTrigger(NetWepTrigger* trigger); - bool DoWepRelease(NetWepRelease* release); - bool DoCommMessage(NetCommMsg* comm_msg); - bool DoSysDamage(NetSysDamage* sys_damage); - bool DoSysStatus(NetSysStatus* sys_status); + bool DoObjLoc(NetObjLoc* obj_loc); + bool DoObjHyper(NetObjHyper* obj_hyper); + bool DoObjTarget(NetObjTarget* obj_target); + bool DoObjEmcon(NetObjEmcon* obj_emcon); + bool DoWepTrigger(NetWepTrigger* trigger); + bool DoWepRelease(NetWepRelease* release); + bool DoCommMessage(NetCommMsg* comm_msg); + bool DoSysDamage(NetSysDamage* sys_damage); + bool DoSysStatus(NetSysStatus* sys_status); - virtual int Type() const { return 2; } + virtual int Type() const { return 2; } - virtual bool Update(SimObject* obj); - virtual const char* GetObserverName() const; + virtual bool Update(SimObject* obj); + virtual const char* GetObserverName() const; protected: - DWORD netid; - DWORD objid; - Text name; - Text serno; - Ship* ship; - int iff; - - Point loc_error; - double bleed_time; + DWORD netid; + DWORD objid; + Text name; + Text serno; + Ship* ship; + int iff; + + Point loc_error; + double bleed_time; }; // +--------------------------------------------------------------------+ -- cgit v1.1