2019-07-03 15:26:15 +00:00
|
|
|
#pragma once
|
|
|
|
|
2019-09-28 18:39:58 +00:00
|
|
|
#define DEFAULT_SKIN_NAME "$$\"\""
|
|
|
|
|
|
|
|
static RpClump *gpPlayerClump;// = *(RpClump**)0x660FF8;
|
|
|
|
static float gOldFov;// = *(float*)0x660FFC;
|
|
|
|
|
|
|
|
void LoadPlayerDff(void);
|
|
|
|
void FindPlayerDff(uint32 &offset, uint32 &size);
|
|
|
|
|
2019-07-03 15:26:15 +00:00
|
|
|
class CPlayerSkin
|
|
|
|
{
|
2019-09-28 18:39:58 +00:00
|
|
|
static int m_txdSlot;
|
2019-07-03 15:26:15 +00:00
|
|
|
public:
|
2019-09-28 18:39:58 +00:00
|
|
|
static void Initialise();
|
|
|
|
static void Shutdown();
|
|
|
|
static RwTexture *GetSkinTexture(const char *texName);
|
|
|
|
static void BeginFrontendSkinEdit();
|
|
|
|
static void EndFrontendSkinEdit();
|
|
|
|
static void RenderFrontendSkinEdit();
|
2019-07-03 15:26:15 +00:00
|
|
|
};
|