1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-11-18 07:07:45 +00:00
re3/src/render/WeaponEffects.cpp

26 lines
598 B
C++
Raw Normal View History

#include "common.h"
#include "patcher.h"
#include "WeaponEffects.h"
WRAPPER void CWeaponEffects::Render(void) { EAXJMP(0x564D70); }
2019-07-04 20:31:21 +00:00
CWeaponEffects &gCrossHair = *(CWeaponEffects*)0x6503BC;
2020-01-23 20:21:50 +00:00
void
CWeaponEffects::ClearCrossHair()
2019-07-04 20:31:21 +00:00
{
gCrossHair.m_bCrosshair = false;
}
2020-01-23 20:21:50 +00:00
void
CWeaponEffects::MarkTarget(CVector pos, uint8 red, uint8 green, uint8 blue, uint8 alpha, float size)
{
gCrossHair.m_bCrosshair = true;
gCrossHair.m_vecPos = pos;
gCrossHair.m_red = red;
gCrossHair.m_green = green;
gCrossHair.m_blue = blue;
gCrossHair.m_alpha = alpha;
gCrossHair.m_size = size;
}