* updated ufoai plugin
[xonotic/netradiant.git] / contrib / ufoai / ufoai_filters.h
1
2 enum FILTERS {
3         FILTER_ACTORCLIP,
4         FILTER_WEAPONCLIP,
5         FILTER_NODRAW,
6         FILTER_STEPON,
7         FILTER_LEVEL1,
8         FILTER_LEVEL2,
9         FILTER_LEVEL3,
10         FILTER_LEVEL4,
11         FILTER_LEVEL5,
12         FILTER_LEVEL6,
13         FILTER_LEVEL7,
14         FILTER_LEVEL8,
15
16         FILTER_MAX
17 };
18
19 #define UFOAI_CONTENTS_LEVEL_1 0x0100
20 #define UFOAI_CONTENTS_LEVEL_2 0x0200
21 #define UFOAI_CONTENTS_LEVEL_3 0x0400
22 #define UFOAI_CONTENTS_LEVEL_4 0x0800
23 #define UFOAI_CONTENTS_LEVEL_5 0x1000
24 #define UFOAI_CONTENTS_LEVEL_6 0x2000
25 #define UFOAI_CONTENTS_LEVEL_7 0x4000
26 #define UFOAI_CONTENTS_LEVEL_8 0x8000
27
28 #define UFOAI_CONTENTS_ACTORCLIP   0x00010000
29 #define UFOAI_CONTENTS_WEAPONCLIP  0x02000000
30 #define UFOAI_CONTENTS_STEPON      0x40000000
31
32 #define UFOAI_SURF_NODRAW    0x00000080
33
34
35 void DoSteponFiltering(void);
36 void DoWeaponClipFiltering(void);
37 void DoActorClipFiltering(void);
38 void DoNoDrawFiltering(void);
39 void DoLevel1Filtering(void);
40 void DoLevel2Filtering(void);
41 void DoLevel3Filtering(void);
42 void DoLevel4Filtering(void);
43 void DoLevel5Filtering(void);
44 void DoLevel6Filtering(void);
45 void DoLevel7Filtering(void);
46 void DoLevel8Filtering(void);
47
48 // add the ufoai filters
49 void UFOAIFilterInit(void);