Add flicker effect to chrome (replaces zooms)

This commit is contained in:
elasota
2020-05-18 03:30:25 -04:00
parent 5c07ce08bb
commit 8135c68c49
11 changed files with 292 additions and 63 deletions

View File

@@ -11,6 +11,11 @@ struct GpDisplayDriverSurfaceEffects
GpDisplayDriverSurfaceEffects();
bool m_darken;
bool m_flicker;
int32_t m_flickerAxisX;
int32_t m_flickerAxisY;
int32_t m_flickerStartThreshold;
int32_t m_flickerEndThreshold;
};
// Display drivers are responsible for timing and calling the game tick function.
@@ -38,5 +43,10 @@ public:
inline GpDisplayDriverSurfaceEffects::GpDisplayDriverSurfaceEffects()
: m_darken(false)
{
, m_flicker(false)
, m_flickerAxisX(0)
, m_flickerAxisY(0)
, m_flickerStartThreshold(0)
, m_flickerEndThreshold(0)
{
}