summaryrefslogtreecommitdiff
path: root/src/effects_constructors.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects_constructors.cpp')
-rw-r--r--src/effects_constructors.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/effects_constructors.cpp b/src/effects_constructors.cpp
index 406cb08..4b87036 100644
--- a/src/effects_constructors.cpp
+++ b/src/effects_constructors.cpp
@@ -1,3 +1,7 @@
+#if SPECIAL
+#include "main.h"
+#endif
+
static void
Effect_AddEntry(project_state *State, char *Name, char *ID, void (*func)(real32 *, int, int, int, void *, uint16), const char *GL_Shader, effect_display_type DisplayType = effect_display_type_standard)
{
@@ -20,7 +24,7 @@ Effect_EndEntry(project_state *State)
}
static void
-Effect_AddProperty_Real(project_state *State, char *Name, real32 DefaultValue, real32 MinVal = -999999, real32 MaxVal = 999999, property_display_type DisplayType = property_display_type_standard)
+Effect_AddProperty_Real(project_state *State, char *Name, real32 DefaultValue, real32 MinVal, real32 MaxVal, property_display_type DisplayType)
{
header_effect *Effect = &State->Effect[State->Playhead_Effect];
Effect->Property_Count++;