Observer is now at the bottom of the screen in positional sounds; tuned
attenuation to be less severe git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1055 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -102,7 +102,7 @@ SetPositionalObject (COUNT channel, void *positional_object)
|
||||
void
|
||||
UpdateSoundPosition (COUNT channel, SoundPosition pos)
|
||||
{
|
||||
const float ATTENUATION = 70.0f;
|
||||
const float ATTENUATION = 160.0f;
|
||||
float fpos[3];
|
||||
|
||||
if (pos.positional)
|
||||
|
||||
@@ -1216,7 +1216,7 @@ CalcSoundPosition (ELEMENTPTR ElementPtr)
|
||||
}
|
||||
|
||||
pos.x -= (SPACE_WIDTH >> 1);
|
||||
pos.y -= (SPACE_HEIGHT >> 1);
|
||||
pos.y -= (SPACE_HEIGHT);
|
||||
pos.positional = TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user