mirror of
https://github.com/halpz/re3.git
synced 2025-07-21 09:59:45 +00:00
Overhaul MusicManager - fix radio bugs, scroll to prev station, radio off text
This commit is contained in:
@ -67,16 +67,16 @@ bool StillToFadeOut;
|
||||
uint32 TimeStartedCountingForFade;
|
||||
uint32 TimeToStayFadedBeforeFadeOut = 1750;
|
||||
|
||||
uint32 RadioStationPosition[NUM_RADIOS];
|
||||
int32 RadioStationPosition[NUM_RADIOS];
|
||||
|
||||
void
|
||||
InitRadioStationPositionList()
|
||||
{
|
||||
for (int i = 0; i < NUM_RADIOS; i++)
|
||||
RadioStationPosition[i] = 0;
|
||||
RadioStationPosition[i] = -1;
|
||||
}
|
||||
|
||||
uint32
|
||||
int32
|
||||
GetSavedRadioStationPosition(int32 station)
|
||||
{
|
||||
return RadioStationPosition[station];
|
||||
|
@ -6,7 +6,7 @@
|
||||
#define SLOT_COUNT (8)
|
||||
|
||||
void InitRadioStationPositionList();
|
||||
uint32 GetSavedRadioStationPosition(int32 station);
|
||||
int32 GetSavedRadioStationPosition(int32 station);
|
||||
void PopulateRadioStationPositionList();
|
||||
bool GenericSave(int file);
|
||||
bool GenericLoad();
|
||||
|
Reference in New Issue
Block a user