1 | using System;
|
---|
2 |
|
---|
3 | namespace Oni.Particles
|
---|
4 | {
|
---|
5 | [Flags]
|
---|
6 | internal enum ParticleFlags1
|
---|
7 | {
|
---|
8 | None = 0,
|
---|
9 |
|
---|
10 | Decorative = 0x00000001,
|
---|
11 | UseSeparateYScale = 0x00000008,
|
---|
12 |
|
---|
13 | SpriteMode0 = 0x00000020,
|
---|
14 | SpriteMode1 = 0x00000040,
|
---|
15 | SpriteMode2 = 0x00000080,
|
---|
16 |
|
---|
17 | Geometry = 0x00000100,
|
---|
18 | CollideWithWalls = 0x00000200,
|
---|
19 | CollideWithChars = 0x00000400,
|
---|
20 | ScaleToVelocity = 0x00000800,
|
---|
21 |
|
---|
22 | HasVelocity = 0x00001000, // 0x0c, vector3
|
---|
23 | HasOrientation = 0x00002000, // 0x24, matrix3x3
|
---|
24 | HasPositionOffset = 0x00004000, // 0x0c, vector3
|
---|
25 | HasAttachmentMatrix = 0x00008000, // 0x04, pointer to object transform matrix
|
---|
26 |
|
---|
27 | HasUnknown = 0x00010000, // 0x10,
|
---|
28 | HasDecalState = 0x00020000, // 0x14
|
---|
29 | HasTextureStartTick = 0x00040000, // 0x04
|
---|
30 | HasTextureTick = 0x00080000, // 0x04
|
---|
31 |
|
---|
32 | HasDamageOwner = 0x00100000, // 0x04,
|
---|
33 | HasContrailData = 0x00200000, // 0x20,
|
---|
34 | HasLensFlareState = 0x00400000, // 0x04,
|
---|
35 | HasAttractor = 0x00800000, // 0x08,
|
---|
36 |
|
---|
37 | HasCollisionCache = 0x01000000, // 0x14,
|
---|
38 |
|
---|
39 | /// <summary>
|
---|
40 | /// SpriteModeMask
|
---|
41 | /// </summary>
|
---|
42 |
|
---|
43 | SpriteModeMask = 0x000000e0,
|
---|
44 | }
|
---|
45 |
|
---|
46 | [Flags]
|
---|
47 | internal enum ParticleFlags2 : uint
|
---|
48 | {
|
---|
49 | None = 0,
|
---|
50 |
|
---|
51 | UseSpecialTint = 0x00000001,
|
---|
52 | DontAttractThroughWalls = 0x00000002,
|
---|
53 | ExpireOnCutscene = 0x00000008,
|
---|
54 |
|
---|
55 | DieOnCutscene = 0x00000010,
|
---|
56 | DisableLevel0 = 0x00000020,
|
---|
57 | DisableLevel1 = 0x00000040,
|
---|
58 |
|
---|
59 | DrawAsSky = 0x00100000,
|
---|
60 | DecalFullBrightness = 0x00200000,
|
---|
61 | Decal = 0x00800000,
|
---|
62 |
|
---|
63 | InitiallyHidden = 0x01000000,
|
---|
64 | Invisible = 0x02000000,
|
---|
65 | FadeOutOnEdge = 0x04000000,
|
---|
66 | Vector = 0x08000000,
|
---|
67 |
|
---|
68 | LockPositionToLink = 0x10000000,
|
---|
69 | IsContrailEmitter = 0x20000000,
|
---|
70 | LensFlare = 0x40000000,
|
---|
71 | OneSidedEdgeFade = 0x80000000,
|
---|
72 |
|
---|
73 | /// <summary>
|
---|
74 | /// DisableLevelMask
|
---|
75 | /// </summary>
|
---|
76 |
|
---|
77 | DisableLevelMask = 0x00000060
|
---|
78 | }
|
---|
79 | }
|
---|