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/NetUtil.h | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'Stars45/NetUtil.h') diff --git a/Stars45/NetUtil.h b/Stars45/NetUtil.h index d0b277e..632cc40 100644 --- a/Stars45/NetUtil.h +++ b/Stars45/NetUtil.h @@ -1,15 +1,15 @@ /* Project STARSHATTER - John DiCamillo - Copyright © 1997-2002. All Rights Reserved. + John DiCamillo + Copyright © 1997-2002. All Rights Reserved. - SUBSYSTEM: Stars.exe - FILE: NetUtil.h - AUTHOR: John DiCamillo + SUBSYSTEM: Stars.exe + FILE: NetUtil.h + AUTHOR: John DiCamillo - OVERVIEW - ======== - Utility class to simplify sending NetData messages. + OVERVIEW + ======== + Utility class to simplify sending NetData messages. */ @@ -34,23 +34,23 @@ class Weapon; class NetUtil { public: - static void SendObjDamage(SimObject* obj, double damage, Shot* shot=0); - static void SendObjKill(Ship* obj, const Ship* killer, int type=0, int deck=0); - static void SendObjHyper(Ship* obj, const char* rgn, const Point& loc, const Ship* fc1=0, const Ship* fc2=0, int ttype=0); - static void SendObjTarget(Ship* obj); - static void SendObjEmcon(Ship* obj); - static void SendSysDamage(Ship* obj, System* sys, double damage); - static void SendSysStatus(Ship* obj, System* sys); - static void SendWepTrigger(Weapon* wep, int count=1); - static void SendWepRelease(Weapon* wep, Shot* shot); - static void SendWepDestroy(Shot* shot); - static void SendChat(DWORD dst, const char* name, const char* text); - static void SendElemRequest(const char* name); - static void SendElemCreate(Element* elem, int squadron, int* slots, bool alert, bool in_flight=false); - static void SendShipLaunch(Ship* carrier, int squadron, int slot); - static void SendNavData(bool add, Element* elem, int index, Instruction* navpt); - static void SendNavDelete(Element* elem, int index); - static void SendSelfDestruct(Ship* ship, double damage); + static void SendObjDamage(SimObject* obj, double damage, Shot* shot=0); + static void SendObjKill(Ship* obj, const Ship* killer, int type=0, int deck=0); + static void SendObjHyper(Ship* obj, const char* rgn, const Point& loc, const Ship* fc1=0, const Ship* fc2=0, int ttype=0); + static void SendObjTarget(Ship* obj); + static void SendObjEmcon(Ship* obj); + static void SendSysDamage(Ship* obj, System* sys, double damage); + static void SendSysStatus(Ship* obj, System* sys); + static void SendWepTrigger(Weapon* wep, int count=1); + static void SendWepRelease(Weapon* wep, Shot* shot); + static void SendWepDestroy(Shot* shot); + static void SendChat(DWORD dst, const char* name, const char* text); + static void SendElemRequest(const char* name); + static void SendElemCreate(Element* elem, int squadron, int* slots, bool alert, bool in_flight=false); + static void SendShipLaunch(Ship* carrier, int squadron, int slot); + static void SendNavData(bool add, Element* elem, int index, Instruction* navpt); + static void SendNavDelete(Element* elem, int index); + static void SendSelfDestruct(Ship* ship, double damage); }; #endif NetUtil_h \ No newline at end of file -- cgit v1.1