diff options
author | Fox Caminiti <fox@foxcam.net> | 2022-08-22 15:57:38 -0400 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2022-08-22 15:57:38 -0400 |
commit | e25257a0431ef475e5106f7534319b161b81fcae (patch) | |
tree | 0db25278f054eca42d5aff8346051a26536f7e8c /effects.h | |
parent | d03d7187c1881237b1a98404a125507d33d85a0e (diff) |
windows buildable; needs debugging
Diffstat (limited to 'effects.h')
-rw-r--r-- | effects.h | 15 |
1 files changed, 5 insertions, 10 deletions
@@ -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 - |