From a7b92a2f3d257f08a31074453723b16407125ada Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Wed, 20 Mar 2024 23:46:57 +0800 Subject: [PATCH] [saco] Add CDeathWindow stub constructor --- saco/deathwindow.cpp | 9 +++++++++ saco/deathwindow.h | 2 ++ saco/main.cpp | 3 +++ 3 files changed, 14 insertions(+) diff --git a/saco/deathwindow.cpp b/saco/deathwindow.cpp index 6ae8a28..0426002 100644 --- a/saco/deathwindow.cpp +++ b/saco/deathwindow.cpp @@ -1,6 +1,15 @@ #include "main.h" +//---------------------------------------------------- + +CDeathWindow::CDeathWindow(IDirect3DDevice9 *pD3DDevice) +{ + // TODO: CDeathWindow::CDeathWindow +} + +//---------------------------------------------------- + void CDeathWindow::AddMessage(CHAR *a1, CHAR *a2, DWORD a3, DWORD a4, BYTE a5) { // TODO: CDeathWindow::AddMessage .text:1006A6B0 diff --git a/saco/deathwindow.h b/saco/deathwindow.h index e9da639..56a1f25 100644 --- a/saco/deathwindow.h +++ b/saco/deathwindow.h @@ -8,6 +8,8 @@ class CDeathWindow private: public: void AddMessage(CHAR *a1, CHAR *a2, DWORD a3, DWORD a4, BYTE a5); + + CDeathWindow(IDirect3DDevice9 *pD3DDevice); }; //---------------------------------------------------- diff --git a/saco/main.cpp b/saco/main.cpp index db1d0ee..a7f4072 100644 --- a/saco/main.cpp +++ b/saco/main.cpp @@ -333,6 +333,9 @@ void DoInitStuff() pChatWindow = new CChatWindow(pD3DDevice,pDefaultFont,szChatLogFile); pCmdWindow = new CCmdWindow(pD3DDevice); + if(tSettings.bPlayOnline) { + pDeathWindow = new CDeathWindow(pD3DDevice); + } // TODO: DoInitStuff