2023-11-14 22:58:51 +08:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2024-04-08 22:11:49 +08:00
|
|
|
#define MAX_MESSAGES 100
|
|
|
|
|
|
|
|
|
|
|
|
#pragma pack(1)
|
|
|
|
typedef struct _CHAT_WINDOW_ENTRY
|
|
|
|
{
|
|
|
|
char _gap0[252];
|
|
|
|
} CHAT_WINDOW_ENTRY;
|
|
|
|
|
2023-11-14 22:58:51 +08:00
|
|
|
class CChatWindow // size: 25578
|
|
|
|
{
|
|
|
|
private:
|
2024-03-20 23:39:55 +08:00
|
|
|
|
|
|
|
int field_0;
|
|
|
|
char _gap4[4];
|
|
|
|
int field_8;
|
|
|
|
char field_C;
|
|
|
|
int field_D;
|
|
|
|
char field_11[261];
|
2024-07-23 19:02:41 +08:00
|
|
|
CDXUTDialog *m_pGameUI;
|
2024-03-20 23:39:55 +08:00
|
|
|
int field_11A;
|
2024-07-23 19:02:41 +08:00
|
|
|
CDXUTScrollBar *m_pScrollBar;
|
2024-03-20 23:39:55 +08:00
|
|
|
DWORD m_dwChatTextColor;
|
|
|
|
DWORD m_dwChatInfoColor;
|
|
|
|
DWORD m_dwChatDebugColor;
|
|
|
|
char _gap12E[4];
|
2024-04-08 22:11:49 +08:00
|
|
|
CHAT_WINDOW_ENTRY m_ChatWindowEntries[MAX_MESSAGES];
|
2024-03-20 23:39:55 +08:00
|
|
|
CFontRender *m_pFontRender;
|
|
|
|
ID3DXSprite *field_63A6;
|
|
|
|
ID3DXSprite *field_63AA;
|
|
|
|
IDirect3DDevice9 *m_pD3DDevice;
|
|
|
|
int field_63B2;
|
|
|
|
ID3DXRenderToSurface *field_63B6;
|
|
|
|
IDirect3DTexture9* field_63BA;
|
|
|
|
int field_63BE;
|
|
|
|
D3DDISPLAYMODE field_63C2;
|
|
|
|
DWORD field_63D2;
|
|
|
|
int field_63D6;
|
|
|
|
int field_63DA;
|
|
|
|
int field_63DE;
|
2024-07-23 19:02:41 +08:00
|
|
|
int field_63E2;
|
|
|
|
char _gap63E6[4];
|
|
|
|
|
2024-03-20 23:39:55 +08:00
|
|
|
|
|
|
|
void CreateFonts();
|
2023-11-14 22:58:51 +08:00
|
|
|
|
2024-07-23 19:02:41 +08:00
|
|
|
void FUNC_10067200();
|
|
|
|
|
2023-11-14 22:58:51 +08:00
|
|
|
public:
|
2024-01-31 23:55:30 +08:00
|
|
|
|
|
|
|
void AddDebugMessage(CHAR *szFormat, ...);
|
2024-03-20 23:45:19 +08:00
|
|
|
|
2024-07-23 19:02:41 +08:00
|
|
|
void ResetDialogControls(CDXUTDialog *pGameUI);
|
|
|
|
|
2024-03-20 23:45:19 +08:00
|
|
|
CChatWindow(IDirect3DDevice9 *pD3DDevice, CFontRender *pFontRender, CHAR *szChatLogFile);
|
2023-11-14 22:58:51 +08:00
|
|
|
};
|