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

Comparing Daodan/src/flatline/Flatline.c (file contents):
Revision 880 by alloc, Sun Jun 2 16:51:21 2013 UTC vs.
Revision 881 by alloc, Mon Jun 3 17:01:38 2013 UTC

# Line 13 | Line 13
13  
14   #define isnan(x) ((x) != (x))
15  
16 uint32_t last1 = 0; uint32_t last2 = 0;
16   player_info Players[MAX_PLAYERS];
17   player_info * PlayerList[MAX_CONNECTIONS] = {0};
18   multiplayer_status MultiplayerStatus;
# Line 27 | Line 26 | const char * Rejection_Messages[][255] =
26          {"-5"},
27   };
28  
29 < #define BETTER_SYNC
30 <
29 > typedef struct
30 > {
31 >        uint16_t x;
32 >        uint16_t y;
33 > } IMtPoint2D;
34  
35 + extern uint16_t max_connections;
36  
37  
38   short TRrAnimation_GetType(const void* anim)
# Line 76 | Line 79 | player_info *FLr_FindEmptySlot() {
79          return 0;
80   }
81  
79 extern uint16_t max_connections;
82   uint16_t FLr_FindEmptyListSlot() {
83          int j;
84          for(j = 0; j < max_connections; j++) {
# Line 86 | Line 88 | uint16_t FLr_FindEmptyListSlot() {
88          }
89          return -1;
90   }
89 typedef struct
90 {
91        uint16_t x;
92        uint16_t y;
93 } IMtPoint2D;
94 static flatline_packet cache_input = {0};
91  
92  
93   void * ONICALL FLrInput_Update_Keys(void)
94   {
95 <        uint32_t i;
95 >        int32_t i;
96          flatline_packet all_input = {0};
97          int16_t InputIndex = 0;
98          

Diff Legend

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