mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement CUnkClass5 constructor
This commit is contained in:
parent
8ef36cc71e
commit
890477a533
@ -36,6 +36,7 @@ CUnkClass1 *pUnkClass1=NULL;
|
||||
CUnkClass2 *pUnkClass2=NULL;
|
||||
CUnkClass3 *pUnkClass3=NULL;
|
||||
CUnkClass4 *pUnkClass4=NULL;
|
||||
CUnkClass5 *pUnkClass5=NULL;
|
||||
|
||||
bool bShowDebugLabels = false;
|
||||
|
||||
@ -344,6 +345,7 @@ void DoInitStuff()
|
||||
pUnkClass2 = new CUnkClass2(pD3DDevice);
|
||||
pUnkClass3 = new CUnkClass3(pD3DDevice);
|
||||
pUnkClass4 = new CUnkClass4(pD3DDevice);
|
||||
pUnkClass5 = new CUnkClass5(pD3DDevice);
|
||||
}
|
||||
|
||||
|
||||
|
@ -65,6 +65,7 @@ typedef struct _GAME_SETTINGS {
|
||||
#include "unkclass2.h"
|
||||
#include "unkclass3.h"
|
||||
#include "unkclass4.h"
|
||||
#include "unkclass5.h"
|
||||
|
||||
void SetStringFromCommandLine(char *szCmdLine, char *szString);
|
||||
void SetStringFromQuotedCommandLine(char *szCmdLine, char *szString);
|
||||
|
@ -573,6 +573,12 @@
|
||||
<File
|
||||
RelativePath=".\unkclass4.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\unkclass5.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\unkclass5.h">
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath=".\audiostream.cpp">
|
||||
|
28
saco/unkclass5.cpp
Normal file
28
saco/unkclass5.cpp
Normal file
@ -0,0 +1,28 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
CUnkClass5::CUnkClass5(IDirect3DDevice9 *pD3DDevice)
|
||||
{
|
||||
field_0 = 0;
|
||||
field_4 = 0;
|
||||
m_pD3DDevice = pD3DDevice;
|
||||
field_28 = 0;
|
||||
field_30 = 0;
|
||||
field_14 = 640;
|
||||
field_18 = 300;
|
||||
field_1C = 210;
|
||||
field_20 = 30;
|
||||
field_34 = 3;
|
||||
|
||||
strcpy(field_38, "Type");
|
||||
strcpy(field_B9, "ID");
|
||||
strcpy(field_13A, "Progress");
|
||||
|
||||
field_23C = 180;
|
||||
field_240 = 220;
|
||||
field_24C = 0;
|
||||
field_250 = -1;
|
||||
field_25C = 0;
|
||||
field_258 = 0;
|
||||
field_254 = RakNet::GetTime();
|
||||
}
|
36
saco/unkclass5.h
Normal file
36
saco/unkclass5.h
Normal file
@ -0,0 +1,36 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
class CUnkClass5
|
||||
{
|
||||
private:
|
||||
int field_0;
|
||||
int field_4;
|
||||
IDirect3DDevice9* m_pD3DDevice;
|
||||
char _gapC[8];
|
||||
int field_14;
|
||||
int field_18;
|
||||
int field_1C;
|
||||
int field_20;
|
||||
char _gap24[4];
|
||||
int field_28;
|
||||
char _gap2C[4];
|
||||
int field_30;
|
||||
int field_34;
|
||||
char field_38[129];
|
||||
char field_B9[129];
|
||||
char field_13A[129];
|
||||
char _gap1BB[129];
|
||||
int field_23C;
|
||||
int field_240;
|
||||
char _gap244[8];
|
||||
int field_24C;
|
||||
int field_250;
|
||||
RakNetTime field_254;
|
||||
int field_258;
|
||||
int field_25C;
|
||||
|
||||
public:
|
||||
CUnkClass5(IDirect3DDevice9 *pD3DDevice);
|
||||
|
||||
};
|
Loading…
Reference in New Issue
Block a user