mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement CUnkClass6 constructor
This commit is contained in:
parent
890477a533
commit
531911be69
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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
12
saco/unkclass6.cpp
Normal 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
17
saco/unkclass6.h
Normal 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);
|
||||
|
||||
};
|
Loading…
Reference in New Issue
Block a user