[saco] Implement CUnkClass6 constructor

This commit is contained in:
RD42 2024-03-27 22:47:09 +08:00
parent 890477a533
commit 531911be69
5 changed files with 38 additions and 0 deletions

View File

@ -37,6 +37,7 @@ CUnkClass2 *pUnkClass2=NULL;
CUnkClass3 *pUnkClass3=NULL;
CUnkClass4 *pUnkClass4=NULL;
CUnkClass5 *pUnkClass5=NULL;
CUnkClass6 *pUnkClass6=NULL;
bool bShowDebugLabels = false;
@ -346,6 +347,7 @@ void DoInitStuff()
pUnkClass3 = new CUnkClass3(pD3DDevice);
pUnkClass4 = new CUnkClass4(pD3DDevice);
pUnkClass5 = new CUnkClass5(pD3DDevice);
pUnkClass6 = new CUnkClass6(pD3DDevice);
}

View File

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

View File

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

12
saco/unkclass6.cpp Normal file
View File

@ -0,0 +1,12 @@
#include "main.h"
CUnkClass6::CUnkClass6(IDirect3DDevice9 *pD3DDevice)
{
field_8 = GetTickCount();
field_4 = 0;
field_0 = 0;
field_10 = 0;
field_C = 0;
m_pD3DDevice = pD3DDevice;
}

17
saco/unkclass6.h Normal file
View File

@ -0,0 +1,17 @@
#pragma once
class CUnkClass6
{
private:
int field_0;
int field_4;
DWORD field_8;
int field_C;
int field_10;
IDirect3DDevice9* m_pD3DDevice;
public:
CUnkClass6(IDirect3DDevice9 *pD3DDevice);
};