mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement/match CDeathWindow::CreateAuxFonts()
This commit is contained in:
parent
86bd34be76
commit
b9608184d4
@ -10,6 +10,17 @@ CDeathWindow::CDeathWindow(IDirect3DDevice9 *pD3DDevice)
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
void CDeathWindow::CreateAuxFonts()
|
||||
{
|
||||
D3DXCreateFont(m_pD3DDevice, 20, 0, FW_NORMAL, 1, FALSE,
|
||||
SYMBOL_CHARSET, OUT_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH, "SAMPAUX3", &field_14F);
|
||||
|
||||
D3DXCreateFont(m_pD3DDevice, 22, 0, FW_NORMAL, 1, FALSE,
|
||||
SYMBOL_CHARSET, OUT_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH, "SAMPAUX3", &field_153);
|
||||
|
||||
field_14B = TRUE;
|
||||
}
|
||||
|
||||
void CDeathWindow::AddMessage(CHAR *a1, CHAR *a2, DWORD a3, DWORD a4, BYTE a5)
|
||||
{
|
||||
// TODO: CDeathWindow::AddMessage .text:1006A6B0
|
||||
|
@ -9,7 +9,10 @@
|
||||
class CDeathWindow
|
||||
{
|
||||
private:
|
||||
char _gap0[343];
|
||||
char _gap0[331];
|
||||
BOOL field_14B;
|
||||
ID3DXFont *field_14F;
|
||||
ID3DXFont *field_153;
|
||||
|
||||
public:
|
||||
void AddMessage(CHAR *a1, CHAR *a2, DWORD a3, DWORD a4, BYTE a5);
|
||||
@ -17,6 +20,9 @@ public:
|
||||
PCHAR SpriteIDForWeapon(BYTE byteWeaponID);
|
||||
|
||||
CDeathWindow(IDirect3DDevice9 *pD3DDevice);
|
||||
|
||||
void CreateAuxFonts();
|
||||
|
||||
};
|
||||
|
||||
//----------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user