Changed slaveshield throbbing rate to match the 3DO.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2317 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -616,7 +616,7 @@ CreateShieldMask (void)
|
|||||||
// SetShieldThrobEffect adjusts the red levels in the shield glow graphic
|
// SetShieldThrobEffect adjusts the red levels in the shield glow graphic
|
||||||
// the throbbing cycle MUST be == 0 (mod MAP_WIDTH), or it will go
|
// the throbbing cycle MUST be == 0 (mod MAP_WIDTH), or it will go
|
||||||
// out of sync with RenderLevelMasks()
|
// out of sync with RenderLevelMasks()
|
||||||
#define SHIELD_THROBS 6
|
#define SHIELD_THROBS 12
|
||||||
// throb cycles per revolution
|
// throb cycles per revolution
|
||||||
#define THROB_CYCLE ((MAP_WIDTH << 8) / SHIELD_THROBS)
|
#define THROB_CYCLE ((MAP_WIDTH << 8) / SHIELD_THROBS)
|
||||||
#define THROB_HALF_CYCLE (THROB_CYCLE >> 1)
|
#define THROB_HALF_CYCLE (THROB_CYCLE >> 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user