summaryrefslogtreecommitdiffstats
path: root/src/core/PlayerInfo.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-10 11:08:31 +0200
committerGitHub <noreply@github.com>2019-07-10 11:08:31 +0200
commit0d3cdcc01c4a9d4fded56407aab782cb2180e1ff (patch)
tree54ae7abb3a1584f65d089a3bc96e9b6d9c1d8dcb /src/core/PlayerInfo.h
parentMerge pull request #126 from Nick007J/master (diff)
parentMore frontend inputs. (diff)
downloadre3-0d3cdcc01c4a9d4fded56407aab782cb2180e1ff.tar
re3-0d3cdcc01c4a9d4fded56407aab782cb2180e1ff.tar.gz
re3-0d3cdcc01c4a9d4fded56407aab782cb2180e1ff.tar.bz2
re3-0d3cdcc01c4a9d4fded56407aab782cb2180e1ff.tar.lz
re3-0d3cdcc01c4a9d4fded56407aab782cb2180e1ff.tar.xz
re3-0d3cdcc01c4a9d4fded56407aab782cb2180e1ff.tar.zst
re3-0d3cdcc01c4a9d4fded56407aab782cb2180e1ff.zip
Diffstat (limited to 'src/core/PlayerInfo.h')
-rw-r--r--src/core/PlayerInfo.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/PlayerInfo.h b/src/core/PlayerInfo.h
index a9763766..d8128424 100644
--- a/src/core/PlayerInfo.h
+++ b/src/core/PlayerInfo.h
@@ -63,11 +63,13 @@ public:
bool m_bFastReload;
bool m_bGetOutOfJailFree;
bool m_bGetOutOfHospitalFree;
- uint8 m_aSkinName[32];
+ char m_aSkinName[32];
RwTexture *m_pSkinTexture;
void MakePlayerSafe(bool);
- void AwardMoneyForExplosion(CVehicle *vehicle);
+ void LoadPlayerSkin();
+ void AwardMoneyForExplosion(CVehicle *vehicle);
+ void SetPlayerSkin(char* skin);
};
static_assert(sizeof(CPlayerInfo) == 0x13C, "CPlayerInfo: error");