diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-06-29 22:15:55 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-06-29 22:15:55 +0200 |
commit | b2b750bc90648cce4e562e241668056f1cdc68b6 (patch) | |
tree | 27cc513b6ab828382a82595ac6f748afc86be8d0 /src/DamageManager.cpp | |
parent | CReplay::PlaybackThisFrame + fixes (diff) | |
download | re3-b2b750bc90648cce4e562e241668056f1cdc68b6.tar re3-b2b750bc90648cce4e562e241668056f1cdc68b6.tar.gz re3-b2b750bc90648cce4e562e241668056f1cdc68b6.tar.bz2 re3-b2b750bc90648cce4e562e241668056f1cdc68b6.tar.lz re3-b2b750bc90648cce4e562e241668056f1cdc68b6.tar.xz re3-b2b750bc90648cce4e562e241668056f1cdc68b6.tar.zst re3-b2b750bc90648cce4e562e241668056f1cdc68b6.zip |
Diffstat (limited to 'src/DamageManager.cpp')
-rw-r--r-- | src/DamageManager.cpp | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/DamageManager.cpp b/src/DamageManager.cpp index d4c8f16e..a065e187 100644 --- a/src/DamageManager.cpp +++ b/src/DamageManager.cpp @@ -1 +1,21 @@ -#include "DamageManager.h"
\ No newline at end of file +#include "common.h" +#include "patcher.h" +#include "DamageManager.h" + +#if 0 +WRAPPER void CDamageManager::SetDoorStatus(int door, unsigned int status) { EAXJMP(0x545920); } +#else +void CDamageManager::SetDoorStatus(int door, unsigned int status) +{ + m_bDoorStatus[door] = status; +} +#endif + +#if 0 +WRAPPER unsigned int CDamageManager::GetDoorStatus(int door) { EAXJMP(0x545930); } +#else +unsigned int CDamageManager::GetDoorStatus(int door) +{ + return m_bDoorStatus[door]; +} +#endif
\ No newline at end of file |