]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/connection.h
Add selectionbox_color, crosshair_color, and crosshair_alpha options
[dragonfireclient.git] / src / connection.h
index e03c7983f77516bebf42dbc73322835dcbb006b5..f99cd1bf94f1661c53f1bc85a32755a6d26118a8 100644 (file)
@@ -20,7 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #ifndef CONNECTION_HEADER
 #define CONNECTION_HEADER
 
-#include "irrlichttypes.h"
+#include "irrlichttypes_bloated.h"
 #include "socket.h"
 #include "exceptions.h"
 #include "constants.h"
@@ -394,7 +394,11 @@ class Peer
        float m_max_packets_per_second;
        int m_num_sent;
        int m_max_num_sent;
-       
+
+       // Updated from configuration by Connection
+       float congestion_control_aim_rtt;
+       float congestion_control_max_rate;
+       float congestion_control_min_rate;
 private:
 };