summaryrefslogtreecommitdiff
path: root/effects.h
diff options
context:
space:
mode:
Diffstat (limited to 'effects.h')
-rw-r--r--effects.h15
1 files changed, 5 insertions, 10 deletions
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
-