diff --git a/saco/main.cpp b/saco/main.cpp index 14b2760..d152fb2 100644 --- a/saco/main.cpp +++ b/saco/main.cpp @@ -41,7 +41,7 @@ CLabel *pLabel=NULL; CUnkClass10 *pUnkClass10=NULL; CUnkClass11 *pUnkClass11=NULL; CUnkClass12 *pUnkClass12=NULL; -CUnkClass6 *pUnkClass6=NULL; +CNetStats *pNetStats=NULL; CSvrNetStats *pSvrNetStats=NULL; CUnkClass7 *pUnkClass7=NULL; CUnkClass8 *pUnkClass8=NULL; @@ -355,7 +355,7 @@ void DoInitStuff() pUnkClass3 = new CUnkClass3(pD3DDevice); pUnkClass4 = new CUnkClass4(pD3DDevice); pUnkClass5 = new CUnkClass5(pD3DDevice); - pUnkClass6 = new CUnkClass6(pD3DDevice); + pNetStats = new CNetStats(pD3DDevice); pSvrNetStats = new CSvrNetStats(pD3DDevice); pUnkClass7 = new CUnkClass7(pD3DDevice); pUnkClass8 = new CUnkClass8(); diff --git a/saco/main.h b/saco/main.h index 2affa97..34e5358 100644 --- a/saco/main.h +++ b/saco/main.h @@ -60,6 +60,7 @@ typedef struct _GAME_SETTINGS { #include "spawnscreen.h" #include "playertags.h" #include "label.h" +#include "netstats.h" #include "svrnetstats.h" #include "audiostream.h" #include "archive/ArchiveFS.h" @@ -69,7 +70,6 @@ typedef struct _GAME_SETTINGS { #include "unkclass3.h" #include "unkclass4.h" #include "unkclass5.h" -#include "unkclass6.h" #include "unkclass7.h" #include "unkclass8.h" #include "unkclass10.h" diff --git a/saco/unkclass6.cpp b/saco/netstats.cpp similarity index 71% rename from saco/unkclass6.cpp rename to saco/netstats.cpp index 624480c..4cc2fff 100644 --- a/saco/unkclass6.cpp +++ b/saco/netstats.cpp @@ -1,7 +1,7 @@ #include "main.h" -CUnkClass6::CUnkClass6(IDirect3DDevice9 *pD3DDevice) +CNetStats::CNetStats(IDirect3DDevice9 *pD3DDevice) { field_8 = GetTickCount(); field_4 = 0; diff --git a/saco/unkclass6.h b/saco/netstats.h similarity index 70% rename from saco/unkclass6.h rename to saco/netstats.h index de4b611..bd28ba0 100644 --- a/saco/unkclass6.h +++ b/saco/netstats.h @@ -1,7 +1,7 @@ #pragma once -class CUnkClass6 +class CNetStats { private: int field_0; @@ -12,6 +12,6 @@ private: IDirect3DDevice9* m_pD3DDevice; public: - CUnkClass6(IDirect3DDevice9 *pD3DDevice); + CNetStats(IDirect3DDevice9 *pD3DDevice); }; diff --git a/saco/saco.vcproj b/saco/saco.vcproj index 8066c50..ba89f12 100644 --- a/saco/saco.vcproj +++ b/saco/saco.vcproj @@ -621,12 +621,6 @@ - - - - @@ -748,6 +742,12 @@ + + + +