[saco] Implement CUnkClass7 constructor

This commit is contained in:
RD42 2024-03-27 23:29:41 +08:00
parent 408b637e3c
commit 1c679ea374
5 changed files with 28 additions and 0 deletions

View File

@ -39,6 +39,7 @@ CUnkClass4 *pUnkClass4=NULL;
CUnkClass5 *pUnkClass5=NULL; CUnkClass5 *pUnkClass5=NULL;
CUnkClass6 *pUnkClass6=NULL; CUnkClass6 *pUnkClass6=NULL;
CSvrNetStats *pSvrNetStats=NULL; CSvrNetStats *pSvrNetStats=NULL;
CUnkClass7 *pUnkClass7=NULL;
bool bShowDebugLabels = false; bool bShowDebugLabels = false;
@ -350,6 +351,7 @@ void DoInitStuff()
pUnkClass5 = new CUnkClass5(pD3DDevice); pUnkClass5 = new CUnkClass5(pD3DDevice);
pUnkClass6 = new CUnkClass6(pD3DDevice); pUnkClass6 = new CUnkClass6(pD3DDevice);
pSvrNetStats = new CSvrNetStats(pD3DDevice); pSvrNetStats = new CSvrNetStats(pD3DDevice);
pUnkClass7 = new CUnkClass7(pD3DDevice);
} }

View File

@ -68,6 +68,7 @@ typedef struct _GAME_SETTINGS {
#include "unkclass4.h" #include "unkclass4.h"
#include "unkclass5.h" #include "unkclass5.h"
#include "unkclass6.h" #include "unkclass6.h"
#include "unkclass7.h"
void SetStringFromCommandLine(char *szCmdLine, char *szString); void SetStringFromCommandLine(char *szCmdLine, char *szString);
void SetStringFromQuotedCommandLine(char *szCmdLine, char *szString); void SetStringFromQuotedCommandLine(char *szCmdLine, char *szString);

View File

@ -585,6 +585,12 @@
<File <File
RelativePath=".\unkclass6.h"> RelativePath=".\unkclass6.h">
</File> </File>
<File
RelativePath=".\unkclass7.cpp">
</File>
<File
RelativePath=".\unkclass7.h">
</File>
</Filter> </Filter>
<File <File
RelativePath=".\audiostream.cpp"> RelativePath=".\audiostream.cpp">

7
saco/unkclass7.cpp Normal file
View File

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

12
saco/unkclass7.h Normal file
View File

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