[saco] Implement/match CDeathWindow::AddMessage(...)

This commit is contained in:
RD42 2024-07-27 17:31:21 +08:00
parent 8656815697
commit cbd7949bd4
2 changed files with 7 additions and 3 deletions

View File

@ -21,9 +21,13 @@ void CDeathWindow::CreateAuxFonts()
field_14B = TRUE;
}
void CDeathWindow::AddMessage(CHAR *a1, CHAR *a2, DWORD a3, DWORD a4, BYTE a5)
void CDeathWindow::AddMessage( CHAR *szKiller,
CHAR *szKillee,
DWORD dwKillerColor,
DWORD dwKilleeColor,
BYTE byteWeaponID )
{
// TODO: CDeathWindow::AddMessage .text:1006A6B0
AddToDeathWindowBuffer(szKiller,szKillee,dwKillerColor,dwKilleeColor,byteWeaponID);
}
void CDeathWindow::AddToDeathWindowBuffer( CHAR *szKiller,

View File

@ -32,7 +32,7 @@ private:
void AddToDeathWindowBuffer(CHAR *szKiller,CHAR *szKillee,DWORD dwKillerColor,DWORD dwKilleeColor,BYTE byteWeaponID);
public:
void AddMessage(CHAR *a1, CHAR *a2, DWORD a3, DWORD a4, BYTE a5);
void AddMessage(CHAR *szKiller, CHAR *szKillee, DWORD dwKillerColor, DWORD dwKilleeColor, BYTE byteWeaponID);
PCHAR SpriteIDForWeapon(BYTE byteWeaponID);