mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement CUnkClass8 constructor
This commit is contained in:
parent
1297e79a38
commit
a4ae2c88df
@ -40,6 +40,7 @@ CUnkClass5 *pUnkClass5=NULL;
|
||||
CUnkClass6 *pUnkClass6=NULL;
|
||||
CSvrNetStats *pSvrNetStats=NULL;
|
||||
CUnkClass7 *pUnkClass7=NULL;
|
||||
CUnkClass8 *pUnkClass8=NULL;
|
||||
|
||||
bool bShowDebugLabels = false;
|
||||
|
||||
@ -352,6 +353,7 @@ void DoInitStuff()
|
||||
pUnkClass6 = new CUnkClass6(pD3DDevice);
|
||||
pSvrNetStats = new CSvrNetStats(pD3DDevice);
|
||||
pUnkClass7 = new CUnkClass7(pD3DDevice);
|
||||
pUnkClass8 = new CUnkClass8();
|
||||
}
|
||||
|
||||
|
||||
|
@ -69,6 +69,7 @@ typedef struct _GAME_SETTINGS {
|
||||
#include "unkclass5.h"
|
||||
#include "unkclass6.h"
|
||||
#include "unkclass7.h"
|
||||
#include "unkclass8.h"
|
||||
|
||||
void SetStringFromCommandLine(char *szCmdLine, char *szString);
|
||||
void SetStringFromQuotedCommandLine(char *szCmdLine, char *szString);
|
||||
|
@ -591,6 +591,12 @@
|
||||
<File
|
||||
RelativePath=".\unkclass7.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\unkclass8.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\unkclass8.h">
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath=".\audiostream.cpp">
|
||||
|
7
saco/unkclass8.cpp
Normal file
7
saco/unkclass8.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
CUnkClass8::CUnkClass8()
|
||||
{
|
||||
memset(field_0, 0, sizeof(struc_157) * MAX_PLAYERS);
|
||||
}
|
17
saco/unkclass8.h
Normal file
17
saco/unkclass8.h
Normal file
@ -0,0 +1,17 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
struct struc_157
|
||||
{
|
||||
char _gap0[280];
|
||||
};
|
||||
|
||||
class CUnkClass8
|
||||
{
|
||||
private:
|
||||
struc_157 field_0[MAX_PLAYERS];
|
||||
|
||||
public:
|
||||
CUnkClass8();
|
||||
|
||||
};
|
Loading…
Reference in New Issue
Block a user