[saco] Implement CUnkClass12 constructor

This commit is contained in:
RD42 2024-04-02 22:20:14 +08:00
parent 12b5c7433d
commit fdde0ffe60
5 changed files with 29 additions and 0 deletions

View File

@ -40,6 +40,7 @@ CUnkClass5 *pUnkClass5=NULL;
CUnkClass9 *pUnkClass9=NULL; CUnkClass9 *pUnkClass9=NULL;
CUnkClass10 *pUnkClass10=NULL; CUnkClass10 *pUnkClass10=NULL;
CUnkClass11 *pUnkClass11=NULL; CUnkClass11 *pUnkClass11=NULL;
CUnkClass12 *pUnkClass12=NULL;
CUnkClass6 *pUnkClass6=NULL; CUnkClass6 *pUnkClass6=NULL;
CSvrNetStats *pSvrNetStats=NULL; CSvrNetStats *pSvrNetStats=NULL;
CUnkClass7 *pUnkClass7=NULL; CUnkClass7 *pUnkClass7=NULL;
@ -362,6 +363,7 @@ void DoInitStuff()
pUnkClass9 = new CUnkClass9(pD3DDevice); pUnkClass9 = new CUnkClass9(pD3DDevice);
pUnkClass10 = new CUnkClass10(pD3DDevice); pUnkClass10 = new CUnkClass10(pD3DDevice);
pUnkClass11 = new CUnkClass11(); pUnkClass11 = new CUnkClass11();
pUnkClass12 = new CUnkClass12();
// TODO: DoInitStuff // TODO: DoInitStuff

View File

@ -73,6 +73,7 @@ typedef struct _GAME_SETTINGS {
#include "unkclass9.h" #include "unkclass9.h"
#include "unkclass10.h" #include "unkclass10.h"
#include "unkclass11.h" #include "unkclass11.h"
#include "unkclass12.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

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

2
saco/unkclass12.cpp Normal file
View File

@ -0,0 +1,2 @@
#include "main.h"

18
saco/unkclass12.h Normal file
View File

@ -0,0 +1,18 @@
#pragma once
class CUnkClass12
{
private:
int field_0;
int field_4;
short field_8;
public:
CUnkClass12() {
field_0 = 0;
field_8 = -1;
field_4 = -1;
}
};