Re3/src/core/PlayerInfo.cpp

15 lines
413 B
C++
Raw Normal View History

2019-06-14 19:34:19 -04:00
#include "common.h"
#include "patcher.h"
#include "PlayerInfo.h"
2019-07-10 03:57:08 -04:00
#include "Frontend.h"
2019-07-03 18:16:24 -04:00
2019-07-09 17:49:44 -04:00
WRAPPER void CPlayerInfo::MakePlayerSafe(bool) { EAXJMP(0x4A1400); }
2019-07-10 03:57:08 -04:00
WRAPPER void CPlayerInfo::LoadPlayerSkin() { EAXJMP(0x4A1700); }
2019-07-09 17:49:44 -04:00
WRAPPER void CPlayerInfo::AwardMoneyForExplosion(CVehicle *vehicle) { EAXJMP(0x4A15F0); }
2019-07-10 03:57:08 -04:00
void CPlayerInfo::SetPlayerSkin(char *skin)
{
strncpy(m_aSkinName, skin, 32);
LoadPlayerSkin();
}