mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement CUnkClass9 constructor
This commit is contained in:
parent
a4ae2c88df
commit
efb3a5a812
@ -37,6 +37,7 @@ CUnkClass2 *pUnkClass2=NULL;
|
||||
CUnkClass3 *pUnkClass3=NULL;
|
||||
CUnkClass4 *pUnkClass4=NULL;
|
||||
CUnkClass5 *pUnkClass5=NULL;
|
||||
CUnkClass9 *pUnkClass9=NULL;
|
||||
CUnkClass6 *pUnkClass6=NULL;
|
||||
CSvrNetStats *pSvrNetStats=NULL;
|
||||
CUnkClass7 *pUnkClass7=NULL;
|
||||
@ -356,6 +357,7 @@ void DoInitStuff()
|
||||
pUnkClass8 = new CUnkClass8();
|
||||
}
|
||||
|
||||
pUnkClass9 = new CUnkClass9(pD3DDevice);
|
||||
|
||||
// TODO: DoInitStuff
|
||||
|
||||
|
@ -70,6 +70,7 @@ typedef struct _GAME_SETTINGS {
|
||||
#include "unkclass6.h"
|
||||
#include "unkclass7.h"
|
||||
#include "unkclass8.h"
|
||||
#include "unkclass9.h"
|
||||
|
||||
void SetStringFromCommandLine(char *szCmdLine, char *szString);
|
||||
void SetStringFromQuotedCommandLine(char *szCmdLine, char *szString);
|
||||
|
@ -597,6 +597,12 @@
|
||||
<File
|
||||
RelativePath=".\unkclass8.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\unkclass9.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\unkclass9.h">
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath=".\audiostream.cpp">
|
||||
|
8
saco/unkclass9.cpp
Normal file
8
saco/unkclass9.cpp
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
CUnkClass9::CUnkClass9(IDirect3DDevice9 *pD3DDevice)
|
||||
{
|
||||
m_pD3DDevice = pD3DDevice;
|
||||
D3DXCreateSprite(pD3DDevice, &m_pD3DSprite);
|
||||
}
|
13
saco/unkclass9.h
Normal file
13
saco/unkclass9.h
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
class CUnkClass9
|
||||
{
|
||||
private:
|
||||
IDirect3DDevice9 *m_pD3DDevice;
|
||||
ID3DXSprite *m_pD3DSprite;
|
||||
|
||||
public:
|
||||
CUnkClass9(IDirect3DDevice9 *pD3DDevice);
|
||||
|
||||
};
|
Loading…
Reference in New Issue
Block a user