]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - netconn.h
fs: Use unsigned short for extra field and file comment lengths
[xonotic/darkplaces.git] / netconn.h
index fc13054fb34e063584f0f5b8d90308830073156b..82557bd5e98c59759aea15b5c24fc42612de5575 100755 (executable)
--- a/netconn.h
+++ b/netconn.h
@@ -197,14 +197,14 @@ typedef struct netconn_s
                int                     qport;
 
        // sequencing variables
-               int                     incoming_sequence;
-               int                     incoming_acknowledged;
-               int                     incoming_reliable_acknowledged; ///< single bit
+               unsigned int            incoming_sequence;
+               unsigned int            incoming_acknowledged;
+               qboolean                incoming_reliable_acknowledged; ///< single bit
 
-               int                     incoming_reliable_sequence;             ///< single bit, maintained local
+               qboolean                incoming_reliable_sequence;             ///< single bit, maintained local
 
-               int                     reliable_sequence;                      ///< single bit
-               int                     last_reliable_sequence;         ///< sequence number of last send
+               qboolean                reliable_sequence;                      ///< single bit
+               unsigned int            last_reliable_sequence;         ///< sequence number of last send
        }
        qw;
 
@@ -282,7 +282,7 @@ typedef struct serverlist_info_s
        /// qc-defined short status string
        char qcstatus[128];
        /// frags/ping/name list (if they fit in the packet)
-       char players[1400];
+       char players[2800];
        /// max client number
        int maxplayers;
        /// number of currently connected players (including bots)
@@ -482,7 +482,7 @@ typedef struct challenge_s
 }
 challenge_t;
 
-extern challenge_t challenge[MAX_CHALLENGES];
+extern challenge_t challenges[MAX_CHALLENGES];
 
 #endif