[saco] Implement CUnkClass9 constructor

This commit is contained in:
RD42 2024-03-28 23:29:42 +08:00
parent a4ae2c88df
commit efb3a5a812
5 changed files with 30 additions and 0 deletions

View File

@ -37,6 +37,7 @@ CUnkClass2 *pUnkClass2=NULL;
CUnkClass3 *pUnkClass3=NULL;
CUnkClass4 *pUnkClass4=NULL;
CUnkClass5 *pUnkClass5=NULL;
CUnkClass9 *pUnkClass9=NULL;
CUnkClass6 *pUnkClass6=NULL;
CSvrNetStats *pSvrNetStats=NULL;
CUnkClass7 *pUnkClass7=NULL;
@ -356,6 +357,7 @@ void DoInitStuff()
pUnkClass8 = new CUnkClass8();
}
pUnkClass9 = new CUnkClass9(pD3DDevice);
// TODO: DoInitStuff

View File

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

View File

@ -597,6 +597,12 @@
<File
RelativePath=".\unkclass8.h">
</File>
<File
RelativePath=".\unkclass9.cpp">
</File>
<File
RelativePath=".\unkclass9.h">
</File>
</Filter>
<File
RelativePath=".\audiostream.cpp">

8
saco/unkclass9.cpp Normal file
View File

@ -0,0 +1,8 @@
#include "main.h"
CUnkClass9::CUnkClass9(IDirect3DDevice9 *pD3DDevice)
{
m_pD3DDevice = pD3DDevice;
D3DXCreateSprite(pD3DDevice, &m_pD3DSprite);
}

13
saco/unkclass9.h Normal file
View File

@ -0,0 +1,13 @@
#pragma once
class CUnkClass9
{
private:
IDirect3DDevice9 *m_pD3DDevice;
ID3DXSprite *m_pD3DSprite;
public:
CUnkClass9(IDirect3DDevice9 *pD3DDevice);
};