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 584 by gumby, Mon Jan 24 06:45:07 2011 UTC vs.
Revision 586 by gumby, Wed Feb 2 08:17:19 2011 UTC

# Line 100 | Line 100 | typedef struct {
100          float MouseDeltaY;
101          uint32_t Actions1;
102          uint32_t Actions2;
103 <        unsigned int Time;
103 >        float DesiredFacing;
104 >        //unsigned int Time;
105   } input_struct;
106  
107   //TODO:
# Line 181 | Line 182 | typedef struct {
182                  flatline_event  flatline_event;
183                  uint32_t                ping;
184                  //player_input  all_input[33];
185 +                uint32_t                integer; //generic integer ;)
186          };
187   } flatline_packet;
188   #define FLATLINE_HEADER (sizeof(flatline_packet)-sizeof(char)*1080)
# Line 210 | Line 212 | enum {
212          PK_PONG,
213          //PK_ALL_INPUT,
214          PK_PLAYER_DATA,
215 +        PK_MISSING_PLAYER,
216   };
217  
218   enum FlatlineEvent {
# Line 251 | Line 254 | typedef struct {
254          uint16_t list_slot;
255  
256          PlayerInput InputFromClient;
257 +        float FacingFromClient;
258  
259          ////////////////////////////
260          //Sync stuff
# Line 262 | Line 266 | typedef struct {
266          PlayerFacing Facings;
267          PlayerScore Score;
268          void* Animation;
269 +        char AnimationString[32];
270          uint16_t Frame;
271          PlayerThrowData ThrowData;
272          void* Class;
273 +        char ClassString[32];
274          PlayerInventory Inventory;
275          Vector3 Position;
276          ////////////////////////////
# Line 273 | Line 279 | typedef struct {
279          unsigned int LastInputTime;
280  
281  
276
282          uint16_t state;
283          int flags;
284          int DeathTime;

Diff Legend

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