mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
Moved fire.ogg to Data\Ambient
Moved SSA folder to Data\Ambient git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8746 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -421,7 +421,7 @@ void StartFireAmbient(void)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
strcpy(filename, "Sounds\\ambient\\fire.ogg");
|
strcpy(filename, "Ambient\\fire.ogg");
|
||||||
//gubAmbientFireVolume = LOWVOLUME;
|
//gubAmbientFireVolume = LOWVOLUME;
|
||||||
|
|
||||||
// start sound
|
// start sound
|
||||||
@@ -455,12 +455,12 @@ void SetSSA(void)
|
|||||||
SOUNDPARMS spParms;
|
SOUNDPARMS spParms;
|
||||||
|
|
||||||
SECTORINFO *pSector = NULL;
|
SECTORINFO *pSector = NULL;
|
||||||
UNDERGROUND_SECTORINFO *pUnderground;
|
//UNDERGROUND_SECTORINFO *pUnderground;
|
||||||
CHAR16 zString[1024];
|
//CHAR16 zString[1024];
|
||||||
UINT16 usTownSectorIndex;
|
UINT16 usTownSectorIndex;
|
||||||
BOOLEAN fFoundSAM = FALSE;
|
BOOLEAN fFoundSAM = FALSE;
|
||||||
UINT8 ubMineIndex;
|
UINT8 ubMineIndex;
|
||||||
MINE_STATUS_TYPE *pMineStatus;
|
//MINE_STATUS_TYPE *pMineStatus;
|
||||||
|
|
||||||
memset(TownName, 0, 1024 * sizeof(char));
|
memset(TownName, 0, 1024 * sizeof(char));
|
||||||
memset(name16, 0, 1024 * sizeof(wchar_t));
|
memset(name16, 0, 1024 * sizeof(wchar_t));
|
||||||
@@ -521,7 +521,7 @@ void SetSSA(void)
|
|||||||
// check generic file
|
// check generic file
|
||||||
|
|
||||||
// prepare name
|
// prepare name
|
||||||
strcpy(filename, "Sounds\\SSA\\");
|
strcpy(filename, "Ambient\\SSA\\");
|
||||||
strcat(filename, SectorName);
|
strcat(filename, SectorName);
|
||||||
if (fUnderground)
|
if (fUnderground)
|
||||||
{
|
{
|
||||||
@@ -553,7 +553,7 @@ void SetSSA(void)
|
|||||||
if (ubNumSounds == 0 && !fUnderground && ubTownID != BLANK_SECTOR)
|
if (ubNumSounds == 0 && !fUnderground && ubTownID != BLANK_SECTOR)
|
||||||
{
|
{
|
||||||
// prepare name
|
// prepare name
|
||||||
strcpy(filename, "Sounds\\SSA\\");
|
strcpy(filename, "Ambient\\SSA\\");
|
||||||
strcat(filename, TownName);
|
strcat(filename, TownName);
|
||||||
strcat(filename, "_");
|
strcat(filename, "_");
|
||||||
if (fNight)
|
if (fNight)
|
||||||
@@ -682,7 +682,7 @@ void SetSSA(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// prepare name
|
// prepare name
|
||||||
strcpy(filename, "Sounds\\SSA\\");
|
strcpy(filename, "Ambient\\SSA\\");
|
||||||
strcat(filename, GenericName);
|
strcat(filename, GenericName);
|
||||||
strcat(filename, "_");
|
strcat(filename, "_");
|
||||||
if (!fUnderground)
|
if (!fUnderground)
|
||||||
|
|||||||
Reference in New Issue
Block a user