X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=network_msg.h;h=42976ebb5e6e699828821ce66bf051b9a9bf8cea;hb=603805f69c5484316a52ee099d03254c5a1096f3;hp=ba1fefef309bc6a62cebdb0a2ea2829277425203;hpb=074fa69f479724f9800849430bad5caf730b01ef;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/network_msg.h b/network_msg.h index ba1fefe..42976eb 100644 --- a/network_msg.h +++ b/network_msg.h @@ -87,7 +87,7 @@ struct netmsg_playerframe{ f64 timestamp; u8 client, subsystem, - instance_id; + instance_id, sound_effects; u16 boundary_hash; /* used for animating correctly through gates, teleport.. msb is a flip flop for teleporting second msb is flip flop for gate @@ -139,6 +139,13 @@ enum netmsg_playeritem_type { k_netmsg_playeritem_max }; +typedef struct netmsg_chat netmsg_chat; +enum{ k_inetmsg_chat = 205 }; +struct netmsg_chat { + u16 inetmsg_id; + u8 client; + char msg[]; +}; #pragma pack(pop) #endif /* NETWORK_MSG_H */