mirror of
https://github.com/GTAmodding/re3.git
synced 2025-01-14 17:56:36 +00:00
player mood enum
This commit is contained in:
parent
c5b411c1ed
commit
7aca08a954
3 changed files with 14 additions and 5 deletions
|
@ -3839,9 +3839,9 @@ cAudioManager::SetPlayersMood(uint8 mood, int32 time)
|
||||||
{
|
{
|
||||||
if (!m_bIsInitialised) return;
|
if (!m_bIsInitialised) return;
|
||||||
|
|
||||||
if (mood < 4) {
|
if (mood < MAX_PLAYER_MOODS) {
|
||||||
m_bPlayerMood = mood;
|
m_nPlayerMood = mood;
|
||||||
field_4B34 = CTimer::GetTimeInMilliseconds() + time;
|
m_nPlayerMoodTimer = CTimer::GetTimeInMilliseconds() + time;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -197,8 +197,8 @@ public:
|
||||||
|
|
||||||
// miami
|
// miami
|
||||||
uint8 m_bIsPlayerShutUp;
|
uint8 m_bIsPlayerShutUp;
|
||||||
uint8 m_bPlayerMood;
|
uint8 m_PlayerMood;
|
||||||
uint32 field_4B34;
|
uint32 m_nPlayerMoodTimer;
|
||||||
uint8 field_rest[4];
|
uint8 field_rest[4];
|
||||||
uint8 field_4B3C;
|
uint8 field_4B3C;
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,15 @@ enum eMusicMode
|
||||||
MUSICMODE_DISABLED,
|
MUSICMODE_DISABLED,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum ePlayerMood
|
||||||
|
{
|
||||||
|
PLAYER_MOOD_CALM = 0,
|
||||||
|
PLAYER_MOOD_PISSED_OFF,
|
||||||
|
PLAYER_MOOD_ANGRY,
|
||||||
|
PLAYER_MOOD_WISECRACKING,
|
||||||
|
MAX_PLAYER_MOODS,
|
||||||
|
};
|
||||||
|
|
||||||
enum eStreamedSounds
|
enum eStreamedSounds
|
||||||
{
|
{
|
||||||
STREAMED_SOUND_RADIO_WILD,
|
STREAMED_SOUND_RADIO_WILD,
|
||||||
|
|
Loading…
Reference in a new issue