[saco] Rename CUnkClass7 to CHelpDialog

This commit is contained in:
RD42 2024-04-21 21:59:15 +08:00
parent 14f26cc6f7
commit 2ee12dfee5
6 changed files with 18 additions and 17 deletions

7
saco/helpdialog.cpp Normal file
View File

@ -0,0 +1,7 @@
#include "main.h"
CHelpDialog::CHelpDialog(IDirect3DDevice9 *pD3DDevice)
{
m_pD3DDevice = pD3DDevice;
}

View File

@ -1,12 +1,12 @@
#pragma once #pragma once
class CUnkClass7 class CHelpDialog
{ {
private: private:
IDirect3DDevice9* m_pD3DDevice; IDirect3DDevice9* m_pD3DDevice;
public: public:
CUnkClass7(IDirect3DDevice9 *pD3DDevice); CHelpDialog(IDirect3DDevice9 *pD3DDevice);
}; };

View File

@ -43,7 +43,7 @@ CUnkClass11 *pUnkClass11=NULL;
CUnkClass12 *pUnkClass12=NULL; CUnkClass12 *pUnkClass12=NULL;
CNetStats *pNetStats=NULL; CNetStats *pNetStats=NULL;
CSvrNetStats *pSvrNetStats=NULL; CSvrNetStats *pSvrNetStats=NULL;
CUnkClass7 *pUnkClass7=NULL; CHelpDialog *pHelpDialog=NULL;
CUnkClass8 *pUnkClass8=NULL; CUnkClass8 *pUnkClass8=NULL;
bool bShowDebugLabels = false; bool bShowDebugLabels = false;
@ -357,7 +357,7 @@ void DoInitStuff()
pUnkClass5 = new CUnkClass5(pD3DDevice); pUnkClass5 = new CUnkClass5(pD3DDevice);
pNetStats = new CNetStats(pD3DDevice); pNetStats = new CNetStats(pD3DDevice);
pSvrNetStats = new CSvrNetStats(pD3DDevice); pSvrNetStats = new CSvrNetStats(pD3DDevice);
pUnkClass7 = new CUnkClass7(pD3DDevice); pHelpDialog = new CHelpDialog(pD3DDevice);
pUnkClass8 = new CUnkClass8(); pUnkClass8 = new CUnkClass8();
} }

View File

@ -64,6 +64,7 @@ typedef struct _GAME_SETTINGS {
#include "label.h" #include "label.h"
#include "netstats.h" #include "netstats.h"
#include "svrnetstats.h" #include "svrnetstats.h"
#include "helpdialog.h"
#include "audiostream.h" #include "audiostream.h"
#include "archive/ArchiveFS.h" #include "archive/ArchiveFS.h"

View File

@ -609,12 +609,6 @@
<File <File
RelativePath=".\unkclass5.h"> RelativePath=".\unkclass5.h">
</File> </File>
<File
RelativePath=".\unkclass7.cpp">
</File>
<File
RelativePath=".\unkclass7.h">
</File>
<File <File
RelativePath=".\unkclass8.cpp"> RelativePath=".\unkclass8.cpp">
</File> </File>
@ -703,6 +697,12 @@
<File <File
RelativePath=".\fontrender.h"> RelativePath=".\fontrender.h">
</File> </File>
<File
RelativePath=".\helpdialog.cpp">
</File>
<File
RelativePath=".\helpdialog.h">
</File>
<File <File
RelativePath=".\httpclient.cpp"> RelativePath=".\httpclient.cpp">
</File> </File>

View File

@ -1,7 +0,0 @@
#include "main.h"
CUnkClass7::CUnkClass7(IDirect3DDevice9 *pD3DDevice)
{
m_pD3DDevice = pD3DDevice;
}