[saco] Implement CUnkClass11 constructor

This commit is contained in:
RD42 2024-04-02 22:19:13 +08:00
parent e20485de35
commit 12b5c7433d
5 changed files with 30 additions and 0 deletions

View File

@ -39,6 +39,7 @@ CUnkClass4 *pUnkClass4=NULL;
CUnkClass5 *pUnkClass5=NULL;
CUnkClass9 *pUnkClass9=NULL;
CUnkClass10 *pUnkClass10=NULL;
CUnkClass11 *pUnkClass11=NULL;
CUnkClass6 *pUnkClass6=NULL;
CSvrNetStats *pSvrNetStats=NULL;
CUnkClass7 *pUnkClass7=NULL;
@ -360,6 +361,7 @@ void DoInitStuff()
pUnkClass9 = new CUnkClass9(pD3DDevice);
pUnkClass10 = new CUnkClass10(pD3DDevice);
pUnkClass11 = new CUnkClass11();
// TODO: DoInitStuff

View File

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

View File

@ -561,6 +561,12 @@
<File
RelativePath=".\unkclass10.h">
</File>
<File
RelativePath=".\unkclass11.cpp">
</File>
<File
RelativePath=".\unkclass11.h">
</File>
<File
RelativePath=".\unkclass2.cpp">
</File>

8
saco/unkclass11.cpp Normal file
View File

@ -0,0 +1,8 @@
#include "main.h"
CUnkClass11::CUnkClass11()
{
field_0 = 0;
field_4 = -1;
}

13
saco/unkclass11.h Normal file
View File

@ -0,0 +1,13 @@
#pragma once
class CUnkClass11
{
private:
int field_0;
short field_4;
public:
CUnkClass11();
};