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 580 by gumby, Fri Jan 14 07:39:14 2011 UTC vs.
Revision 581 by gumby, Fri Jan 14 08:36:34 2011 UTC

# Line 120 | Line 120 | typedef struct {
120          float DesiredFacing;
121          uint32_t Health;
122          uint32_t MaxHealth;
123 <        input_struct Inputs;
123 >        //input_struct Inputs;
124          int rare_sync_index;
125          char Animation[32];
126          uint16_t Frame;
# Line 144 | Line 144 | typedef struct {
144          int intArray[];
145   } flatline_event;
146  
147 + typedef struct {
148 +        float MouseDeltaX;
149 +        float MouseDeltaY;
150 +        uint32_t Actions1;
151 +        uint32_t Actions2;
152 + } player_input;
153 +
154   //used for storing data about each player
155   typedef struct {
156          int     FLATLINE;
# Line 162 | Line 169 | typedef struct {
169                  uint16_t                sync_request;
170                  flatline_event  flatline_event;
171                  uint32_t                ping;
172 +                player_input    all_input[32];
173          };
174   } flatline_packet;
175   #define FLATLINE_HEADER (sizeof(flatline_packet)-sizeof(char)*1080)
# Line 189 | Line 197 | enum {
197          FLATLINE_EVENT,
198          PK_PING,
199          PK_PONG,
200 +        PK_ALL_INPUT,
201   };
202  
203   enum FlatlineEvent {

Diff Legend

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