mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-11-13 01:29:16 +00:00
player mood enum
This commit is contained in:
parent
c5b411c1ed
commit
7aca08a954
|
@ -3839,9 +3839,9 @@ cAudioManager::SetPlayersMood(uint8 mood, int32 time)
|
|||
{
|
||||
if (!m_bIsInitialised) return;
|
||||
|
||||
if (mood < 4) {
|
||||
m_bPlayerMood = mood;
|
||||
field_4B34 = CTimer::GetTimeInMilliseconds() + time;
|
||||
if (mood < MAX_PLAYER_MOODS) {
|
||||
m_nPlayerMood = mood;
|
||||
m_nPlayerMoodTimer = CTimer::GetTimeInMilliseconds() + time;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -197,8 +197,8 @@ public:
|
|||
|
||||
// miami
|
||||
uint8 m_bIsPlayerShutUp;
|
||||
uint8 m_bPlayerMood;
|
||||
uint32 field_4B34;
|
||||
uint8 m_PlayerMood;
|
||||
uint32 m_nPlayerMoodTimer;
|
||||
uint8 field_rest[4];
|
||||
uint8 field_4B3C;
|
||||
|
||||
|
|
|
@ -27,6 +27,15 @@ enum eMusicMode
|
|||
MUSICMODE_DISABLED,
|
||||
};
|
||||
|
||||
enum ePlayerMood
|
||||
{
|
||||
PLAYER_MOOD_CALM = 0,
|
||||
PLAYER_MOOD_PISSED_OFF,
|
||||
PLAYER_MOOD_ANGRY,
|
||||
PLAYER_MOOD_WISECRACKING,
|
||||
MAX_PLAYER_MOODS,
|
||||
};
|
||||
|
||||
enum eStreamedSounds
|
||||
{
|
||||
STREAMED_SOUND_RADIO_WILD,
|
||||
|
|
Loading…
Reference in a new issue