-/*
-This file is part of GtkRadiant.
-
-GtkRadiant is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-GtkRadiant is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GtkRadiant; if not, write to the Free Software
-Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-*/
-
-#if !defined(INCLUDED_FILTERS_H)
-#define INCLUDED_FILTERS_H
-
-void filter_level(int flag);
-void filter_stepon(void);
-void filter_actorclip(void);
-
-#define CONTENTS_LEVEL8 0x8000
-#define CONTENTS_LEVEL7 0x4000
-#define CONTENTS_LEVEL6 0x2000
-#define CONTENTS_LEVEL5 0x1000
-#define CONTENTS_LEVEL4 0x0800
-#define CONTENTS_LEVEL3 0x0400
-#define CONTENTS_LEVEL2 0x0200
-#define CONTENTS_LEVEL1 0x0100
-#define CONTENTS_ACTORCLIP 0x10000
-
-#define CONTENTS_STEPON 0x40000000
-
-#endif
+
+enum FILTERS {
+ FILTER_ACTORCLIP,
+ FILTER_WEAPONCLIP,
+ FILTER_NODRAW,
+ FILTER_STEPON,
+ FILTER_LEVEL1,
+ FILTER_LEVEL2,
+ FILTER_LEVEL3,
+ FILTER_LEVEL4,
+ FILTER_LEVEL5,
+ FILTER_LEVEL6,
+ FILTER_LEVEL7,
+ FILTER_LEVEL8,
+
+ FILTER_MAX
+};
+
+#define UFOAI_CONTENTS_LEVEL_1 0x0100
+#define UFOAI_CONTENTS_LEVEL_2 0x0200
+#define UFOAI_CONTENTS_LEVEL_3 0x0400
+#define UFOAI_CONTENTS_LEVEL_4 0x0800
+#define UFOAI_CONTENTS_LEVEL_5 0x1000
+#define UFOAI_CONTENTS_LEVEL_6 0x2000
+#define UFOAI_CONTENTS_LEVEL_7 0x4000
+#define UFOAI_CONTENTS_LEVEL_8 0x8000
+
+#define UFOAI_CONTENTS_ACTORCLIP 0x00010000
+#define UFOAI_CONTENTS_WEAPONCLIP 0x02000000
+#define UFOAI_CONTENTS_STEPON 0x40000000
+
+#define UFOAI_SURF_NODRAW 0x00000080
+
+
+void DoSteponFiltering( void );
+void DoWeaponClipFiltering( void );
+void DoActorClipFiltering( void );
+void DoNoDrawFiltering( void );
+void DoLevel1Filtering( void );
+void DoLevel2Filtering( void );
+void DoLevel3Filtering( void );
+void DoLevel4Filtering( void );
+void DoLevel5Filtering( void );
+void DoLevel6Filtering( void );
+void DoLevel7Filtering( void );
+void DoLevel8Filtering( void );
+
+// add the ufoai filters
+void UFOAIFilterInit( void );