2024-02-05 21:59:11 +08:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2024-07-27 17:26:10 +08:00
|
|
|
#define MAX_DISP_DEATH_MESSAGES 5
|
|
|
|
|
|
|
|
#pragma pack(1)
|
|
|
|
typedef struct _DEATH_WINDOW_ENTRY
|
|
|
|
{
|
|
|
|
char _gap0[59];
|
|
|
|
|
|
|
|
} DEATH_WINDOW_ENTRY;
|
|
|
|
|
2024-07-26 19:12:51 +08:00
|
|
|
#define SPECIAL_ENTRY_CONNECT 200
|
|
|
|
#define SPECIAL_ENTRY_DISCONNECT 201
|
|
|
|
|
2024-02-05 21:59:11 +08:00
|
|
|
//----------------------------------------------------
|
|
|
|
|
|
|
|
class CDeathWindow
|
|
|
|
{
|
|
|
|
private:
|
2024-07-27 17:26:10 +08:00
|
|
|
char _gap0[4];
|
|
|
|
DEATH_WINDOW_ENTRY m_DeathWindowEntries[MAX_DISP_DEATH_MESSAGES];
|
|
|
|
char _gap012B[24];
|
2024-07-26 19:19:31 +08:00
|
|
|
BOOL field_14B;
|
|
|
|
ID3DXFont *field_14F;
|
|
|
|
ID3DXFont *field_153;
|
2024-07-27 17:26:10 +08:00
|
|
|
|
|
|
|
void PushBack();
|
2024-07-26 19:12:51 +08:00
|
|
|
|
2024-02-05 21:59:11 +08:00
|
|
|
public:
|
|
|
|
void AddMessage(CHAR *a1, CHAR *a2, DWORD a3, DWORD a4, BYTE a5);
|
2024-03-20 23:46:57 +08:00
|
|
|
|
2024-07-26 19:12:51 +08:00
|
|
|
PCHAR SpriteIDForWeapon(BYTE byteWeaponID);
|
|
|
|
|
2024-03-20 23:46:57 +08:00
|
|
|
CDeathWindow(IDirect3DDevice9 *pD3DDevice);
|
2024-07-26 19:19:31 +08:00
|
|
|
|
|
|
|
void CreateAuxFonts();
|
|
|
|
|
2024-02-05 21:59:11 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
//----------------------------------------------------
|