mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-26 19:14:15 +01:00
Moved CCutsceneMgr::ms_cutsceneProcessing to private
This commit is contained in:
parent
52cef5b157
commit
9d4140734f
@ -67,7 +67,7 @@ CGameLogic::Update()
|
|||||||
CVector vecRestartPos;
|
CVector vecRestartPos;
|
||||||
float fRestartFloat;
|
float fRestartFloat;
|
||||||
|
|
||||||
if (CCutsceneMgr::ms_cutsceneProcessing) return;
|
if (CCutsceneMgr::IsCutsceneProcessing()) return;
|
||||||
|
|
||||||
CPlayerInfo &pPlayerInfo = CWorld::Players[CWorld::PlayerInFocus];
|
CPlayerInfo &pPlayerInfo = CWorld::Players[CWorld::PlayerInFocus];
|
||||||
switch (pPlayerInfo.m_WBState) {
|
switch (pPlayerInfo.m_WBState) {
|
||||||
|
@ -107,8 +107,7 @@ const struct {
|
|||||||
int
|
int
|
||||||
FindCutsceneAudioTrackId(const char *szCutsceneName)
|
FindCutsceneAudioTrackId(const char *szCutsceneName)
|
||||||
{
|
{
|
||||||
for (int i = 0; musicNameIdAssoc[i].szTrackName; i++)
|
for (int i = 0; musicNameIdAssoc[i].szTrackName; i++) {
|
||||||
{
|
|
||||||
if (!strcmpi(musicNameIdAssoc[i].szTrackName, szCutsceneName))
|
if (!strcmpi(musicNameIdAssoc[i].szTrackName, szCutsceneName))
|
||||||
return musicNameIdAssoc[i].iTrackId;
|
return musicNameIdAssoc[i].iTrackId;
|
||||||
}
|
}
|
||||||
|
@ -21,10 +21,10 @@ class CCutsceneMgr
|
|||||||
static CAnimBlendAssocGroup &ms_cutsceneAssociations;
|
static CAnimBlendAssocGroup &ms_cutsceneAssociations;
|
||||||
static CVector &ms_cutsceneOffset;
|
static CVector &ms_cutsceneOffset;
|
||||||
static float &ms_cutsceneTimer;
|
static float &ms_cutsceneTimer;
|
||||||
|
static bool &ms_cutsceneProcessing;
|
||||||
public:
|
public:
|
||||||
static CDirectory *&ms_pCutsceneDir;
|
static CDirectory *&ms_pCutsceneDir;
|
||||||
static uint32 &ms_cutsceneLoadStatus;
|
static uint32 &ms_cutsceneLoadStatus;
|
||||||
static bool &ms_cutsceneProcessing;
|
|
||||||
|
|
||||||
static bool IsRunning(void) { return ms_running; }
|
static bool IsRunning(void) { return ms_running; }
|
||||||
static bool IsCutsceneProcessing(void) { return ms_cutsceneProcessing; }
|
static bool IsCutsceneProcessing(void) { return ms_cutsceneProcessing; }
|
||||||
|
Loading…
Reference in New Issue
Block a user