git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@365 67975925-1194-0748-b3d5-c16f83f1a3a1

This commit is contained in:
tankefugl 2005-11-27 16:57:48 +00:00
parent 7bd9aab753
commit 1f7114f07a
7 changed files with 15 additions and 0 deletions

Binary file not shown.

View file

@ -826,6 +826,8 @@ extern const char* getModName(void);
#define kAlienStructureAttack2 "hud/alien_structureattack2.wav"
#define kAlienUpgradeLost "hud/alien_upgrade_lost.wav"
#define kAlienBlinkVoid "hud/blinkvoid.wav"
#define kSoundOrderMove1 "hud/marine_order_move1.wav"
#define kSoundOrderMove2 "hud/marine_order_move2.wav"
#define kSoundOrderMove3 "hud/marine_order_move3.wav"

View file

@ -656,6 +656,7 @@ void AvHHud::ClearData()
// :tankefugl
this->mMovementTimer = 0.0f;
this->mLastBlinksoundPlayedTime = 0.0f;
this->m_bConserveFOV = false;
}

View file

@ -447,6 +447,7 @@ public:
private:
float mMovementTimer;
float mLastBlinksoundPlayedTime;
// tankefugl:
std::string mCenterText;

View file

@ -3708,6 +3708,17 @@ void AvHHud::RenderAlienMovementUIEffect()
AvHSpriteDraw(mBlackSprite, 0, theX, theY1, theX + theWidth, theY1 + theHeight * alpha, 0, 0, 1, alpha);
AvHSpriteDraw(mBlackSprite, 0, theX, theY2 - theHeight * alpha, theX + theWidth, theY2, 0, 0, 1, alpha);
/* if (this->mMovementTimer >= theBlinkThresholdTime)
{
if (this->mLastBlinksoundPlayedTime + 2.533f <= this->mTimeOfLastUpdate)
{
this->mLastBlinksoundPlayedTime = this->mTimeOfLastUpdate;
// kAlienBlinkVoid 2533 ms
gEngfuncs.pfnPlaySoundByName(kAlienBlinkVoid, 1.0f);
}
}
*/
}
}
}