[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
class CUnkClass7
class CHelpDialog
{
private:
IDirect3DDevice9* m_pD3DDevice;
public:
CUnkClass7(IDirect3DDevice9 *pD3DDevice);
CHelpDialog(IDirect3DDevice9 *pD3DDevice);
};

View File

@ -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();
}

View File

@ -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"

View File

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

View File

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