diff --git a/saco/helpdialog.cpp b/saco/helpdialog.cpp new file mode 100644 index 0000000..223c2da --- /dev/null +++ b/saco/helpdialog.cpp @@ -0,0 +1,7 @@ + +#include "main.h" + +CHelpDialog::CHelpDialog(IDirect3DDevice9 *pD3DDevice) +{ + m_pD3DDevice = pD3DDevice; +} diff --git a/saco/unkclass7.h b/saco/helpdialog.h similarity index 53% rename from saco/unkclass7.h rename to saco/helpdialog.h index 49e2af3..05e7ba7 100644 --- a/saco/unkclass7.h +++ b/saco/helpdialog.h @@ -1,12 +1,12 @@ #pragma once -class CUnkClass7 +class CHelpDialog { private: IDirect3DDevice9* m_pD3DDevice; public: - CUnkClass7(IDirect3DDevice9 *pD3DDevice); + CHelpDialog(IDirect3DDevice9 *pD3DDevice); }; diff --git a/saco/main.cpp b/saco/main.cpp index bce8bde..33ae6b6 100644 --- a/saco/main.cpp +++ b/saco/main.cpp @@ -43,7 +43,7 @@ CUnkClass11 *pUnkClass11=NULL; CUnkClass12 *pUnkClass12=NULL; CNetStats *pNetStats=NULL; CSvrNetStats *pSvrNetStats=NULL; -CUnkClass7 *pUnkClass7=NULL; +CHelpDialog *pHelpDialog=NULL; CUnkClass8 *pUnkClass8=NULL; bool bShowDebugLabels = false; @@ -357,7 +357,7 @@ void DoInitStuff() pUnkClass5 = new CUnkClass5(pD3DDevice); pNetStats = new CNetStats(pD3DDevice); pSvrNetStats = new CSvrNetStats(pD3DDevice); - pUnkClass7 = new CUnkClass7(pD3DDevice); + pHelpDialog = new CHelpDialog(pD3DDevice); pUnkClass8 = new CUnkClass8(); } diff --git a/saco/main.h b/saco/main.h index 1df93bb..cdcc3a2 100644 --- a/saco/main.h +++ b/saco/main.h @@ -64,6 +64,7 @@ typedef struct _GAME_SETTINGS { #include "label.h" #include "netstats.h" #include "svrnetstats.h" +#include "helpdialog.h" #include "audiostream.h" #include "archive/ArchiveFS.h" diff --git a/saco/saco.vcproj b/saco/saco.vcproj index b1c6538..bb3c369 100644 --- a/saco/saco.vcproj +++ b/saco/saco.vcproj @@ -609,12 +609,6 @@ - - - - @@ -703,6 +697,12 @@ + + + + diff --git a/saco/unkclass7.cpp b/saco/unkclass7.cpp deleted file mode 100644 index d1403db..0000000 --- a/saco/unkclass7.cpp +++ /dev/null @@ -1,7 +0,0 @@ - -#include "main.h" - -CUnkClass7::CUnkClass7(IDirect3DDevice9 *pD3DDevice) -{ - m_pD3DDevice = pD3DDevice; -}