From 396fe092cda69fd384933ca1750797c062c917a0 Mon Sep 17 00:00:00 2001 From: stpohle Date: Fri, 4 Apr 2008 10:39:05 +0000 Subject: [PATCH] just make it look nice --- include/packets.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/include/packets.h b/include/packets.h index 32406fc..6c50694 100644 --- a/include/packets.h +++ b/include/packets.h @@ -1,4 +1,4 @@ -/* $Id: packets.h,v 1.37 2007/02/22 21:32:58 stpohle Exp $ +/* $Id: packets.h,v 1.38 2008/04/04 10:39:05 stpohle Exp $ * network packets.. */ #ifndef _PACKETS_H_ @@ -13,27 +13,27 @@ * only packets between client and server, all packets behinf PKG_field * are between all clients so they will be forwarded. */ enum _network_data { - PKG_error = 0, + PKG_error = 0, PKG_gameinfo, PKG_joingame, // every packet below here will checked // if it comes from a orginal player PKG_contest, - PKG_playerid, - PKG_servermode, - PKG_pingreq, - PKG_pingack, - PKG_getfield, - PKG_getplayerdata, + PKG_playerid, + PKG_servermode, + PKG_pingreq, + PKG_pingack, + PKG_getfield, + PKG_getplayerdata, PKG_teamdata, - PKG_fieldline, + PKG_fieldline, PKG_pkgack, PKG_mapinfo, PKG_tunneldata, PKG_updateinfo, - PKG_field, // forward - always be the first field - PKG_playerdata, // forward - PKG_bombdata, // forward - PKG_playerstatus, // forward + PKG_field, // forward - always be the first field + PKG_playerdata, // forward + PKG_bombdata, // forward + PKG_playerstatus, // forward PKG_playermove, // forward PKG_chat, // forward PKG_ill, // forward @@ -51,15 +51,15 @@ enum _pkgflags { struct pkgheader { - unsigned char typ; + unsigned char typ; unsigned char flags; - Sint16 id; + Sint16 id; Sint16 len; } __attribute__((packed)); struct pkg { struct pkgheader h; - char data[0]; + char data[0]; } __attribute__((packed)); struct pkg_bcmservchat {