From e25257a0431ef475e5106f7534319b161b81fcae Mon Sep 17 00:00:00 2001 From: Fox Caminiti Date: Mon, 22 Aug 2022 15:57:38 -0400 Subject: windows buildable; needs debugging --- effects.h | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'effects.h') diff --git a/effects.h b/effects.h index 58787c2..fdd311e 100644 --- a/effects.h +++ b/effects.h @@ -43,15 +43,12 @@ struct effect { }; -#if WINDOWS -static effect_header EffectList[3]; -#else static effect_header EffectList[] { { "Solid Color", &Effect_DrawColor, 2, standard, { - {"Color", {.col = V4(0.0f, 0.0f, 0.0f, 1.0f)}, type_color, NORMALIZED_COL_MIN, NORMALIZED_COL_MAX}, - {"Blend mode", {.blendmode = blend_normal}, type_blendmode}, + {"Color", { V4(0.0f, 0.0f, 0.0f, 1.0f) }, type_color, { NORMALIZED_COL_MIN }, { NORMALIZED_COL_MAX} }, + {"Blend mode", { blend_normal }, type_blendmode}, } }, { @@ -60,9 +57,9 @@ static effect_header EffectList[] { {"Start point", {0.0f}, type_real}, {"Mid point", {1.0f}, type_real}, {"End point", {1.0f}, type_real}, - {"Start Col", {.col = V4(0.0f)}, type_color}, - {"Mid Col", {.col = V4(1.0f)}, type_color}, - {"End Col", {.col = V4(1.0f)}, type_color}, + {"Start Col", { V4(0.0f)}, type_color}, + {"Mid Col", { V4(1.0f)}, type_color}, + {"End Col", { V4(1.0f)}, type_color}, } }, { @@ -72,5 +69,3 @@ static effect_header EffectList[] { } } }; -#endif - -- cgit v1.2.3