From 93b0d9ea8f4c3f7c69c82c0c4cae78273ee5b690 Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Mon, 5 Feb 2024 21:59:11 +0800 Subject: [PATCH] [saco] Add `CDeathWindow::AddMessage(...)` stub --- saco/deathwindow.cpp | 7 +++++++ saco/deathwindow.h | 13 +++++++++++++ saco/main.cpp | 2 +- saco/main.h | 1 + saco/saco.vcproj | 6 ++++++ 5 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 saco/deathwindow.cpp create mode 100644 saco/deathwindow.h diff --git a/saco/deathwindow.cpp b/saco/deathwindow.cpp new file mode 100644 index 0000000..6ae8a28 --- /dev/null +++ b/saco/deathwindow.cpp @@ -0,0 +1,7 @@ + +#include "main.h" + +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 new file mode 100644 index 0000000..e9da639 --- /dev/null +++ b/saco/deathwindow.h @@ -0,0 +1,13 @@ + +#pragma once + +//---------------------------------------------------- + +class CDeathWindow +{ +private: +public: + void AddMessage(CHAR *a1, CHAR *a2, DWORD a3, DWORD a4, BYTE a5); +}; + +//---------------------------------------------------- diff --git a/saco/main.cpp b/saco/main.cpp index f598d99..a46b1f8 100644 --- a/saco/main.cpp +++ b/saco/main.cpp @@ -13,7 +13,7 @@ CHAR szCacheDir[MAX_PATH+1]; CConfig *pConfig=0; CChatWindow *pChatWindow=0; CCmdWindow *pCmdWindow=0; -//DWORD dword_1026EB88=0; +CDeathWindow *pDeathWindow=0; CAudioStream *pAudioStream=0; //DWORD dword_1026EB90=0; CNetGame *pNetGame=0; diff --git a/saco/main.h b/saco/main.h index 268195e..7471417 100644 --- a/saco/main.h +++ b/saco/main.h @@ -33,6 +33,7 @@ typedef struct _GAME_SETTINGS { #include "fontrender.h" #include "chatwindow.h" #include "cmdwindow.h" +#include "deathwindow.h" #include "audiostream.h" #include "archive/ArchiveFS.h" diff --git a/saco/saco.vcproj b/saco/saco.vcproj index d03bb79..fb53810 100644 --- a/saco/saco.vcproj +++ b/saco/saco.vcproj @@ -411,6 +411,12 @@ + + + +