1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-06 10:15:19 +01:00

Break include chains and tidy (#16640)

Co-authored-by: cx384 <cx384@proton.me>
This commit is contained in:
SmallJoker
2025-11-02 21:33:10 +01:00
committed by GitHub
parent f2eabdd1d5
commit 329e210326
15 changed files with 222 additions and 187 deletions

View File

@@ -4,8 +4,8 @@
#pragma once
#include "irrlichttypes.h"
#include "socket.h"
#include "networkprotocol.h" // session_t
#include "socket.h" // Address
class NetworkPacket;
class PeerHandler;
@@ -13,7 +13,7 @@ class PeerHandler;
namespace con
{
enum rtt_stat_type {
enum rtt_stat_type : int {
MIN_RTT,
MAX_RTT,
AVG_RTT,
@@ -22,7 +22,7 @@ enum rtt_stat_type {
AVG_JITTER
};
enum rate_stat_type {
enum rate_stat_type : int {
CUR_DL_RATE,
AVG_DL_RATE,
CUR_INC_RATE,