ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/MSVC/Flatline.h
(Generate patch)

Comparing Daodan/MSVC/Flatline.h (file contents):
Revision 582 by gumby, Wed Jan 19 04:35:43 2011 UTC vs.
Revision 583 by gumby, Sat Jan 22 16:28:52 2011 UTC

# Line 163 | Line 163 | typedef struct {
163  
164   //used for storing data about each player
165   typedef struct {
166 <        int     FLATLINE;
167 <        char    id;
166 >        //int   FLATLINE;
167 >        int             id;
168          int             packet_index;
169          union  
170          {
# Line 179 | Line 179 | typedef struct {
179                  uint16_t                sync_request;
180                  flatline_event  flatline_event;
181                  uint32_t                ping;
182 <                player_input    all_input[32];
182 >                player_input    all_input[33];
183          };
184   } flatline_packet;
185   #define FLATLINE_HEADER (sizeof(flatline_packet)-sizeof(char)*1080)
# Line 212 | Line 212 | enum {
212  
213   enum FlatlineEvent {
214          EV_RESPAWN,
215 +        EV_KILLED,
216          EV_DISCONNECT,
217          EV_DOOR_OPEN,
218          EV_CONSOLE_USE,
# Line 268 | Line 269 | typedef struct {
269          int DeathTime;
270          uint32_t Ping;
271          bool DataApplied;
272 <        
272 >        bool NeedToSetFP;
273          uint32_t ShapeshiftCooldown;
274   } player_info;
275  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)