Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_particle_types.h
| Show First 20 Lines • Show All 426 Lines • ▼ Show 20 Lines | #endif | ||||
| PART_DRAW_NO_SCALE_OB = (1 << 16), /* used with instance object/collection */ | PART_DRAW_NO_SCALE_OB = (1 << 16), /* used with instance object/collection */ | ||||
| PART_DRAW_GUIDE_HAIRS = (1 << 17), | PART_DRAW_GUIDE_HAIRS = (1 << 17), | ||||
| PART_DRAW_HAIR_GRID = (1 << 18), | PART_DRAW_HAIR_GRID = (1 << 18), | ||||
| } eParticleDrawFlag; | } eParticleDrawFlag; | ||||
| /* part->type */ | /* part->type */ | ||||
| /* hair is always baked static in object/geometry space */ | /* hair is always baked static in object/geometry space */ | ||||
| /* other types (normal particles) are in global space and not static baked */ | /* other types (normal particles) are in global space and not static baked */ | ||||
| #define PART_EMITTER 0 | #define PART_EMITTER (1 << 0) | ||||
| //#define PART_REACTOR 1 | //#define PART_REACTOR (1<<0) | ||||
| #define PART_HAIR 2 | #define PART_HAIR (1 << 2) | ||||
mont29: That one should probably be removed? | |||||
| #define PART_FLUID 3 | #define PART_FLUID (1 << 3) /* deprecated (belonged to elbeem) */ | ||||
| #define PART_MANTA_FLIP (1 << 4) | |||||
| #define PART_MANTA_SPRAY (1 << 5) | |||||
| #define PART_MANTA_BUBBLE (1 << 6) | |||||
| #define PART_MANTA_FOAM (1 << 7) | |||||
| #define PART_MANTA_TRACER (1 << 8) | |||||
Done Inline ActionsUse anonymous enum, allowing to access values from gdb. sergey: Use anonymous enum, allowing to access values from `gdb`. | |||||
| /* mirroring mantaflow particle types from particle.h */ | |||||
| #define PNONE (0 << 0) | |||||
| #define PNEW (1 << 0) | |||||
| #define PSPRAY (1 << 1) | |||||
| #define PBUBBLE (1 << 2) | |||||
| #define PFOAM (1 << 3) | |||||
| #define PTRACER (1 << 4) | |||||
| #define PDELETE (1 << 10) | |||||
| #define PINVALID (1 << 30) | |||||
Done Inline ActionsPARTICLE_TYPE_FOO, not POO. sergey: `PARTICLE_TYPE_FOO`, not `POO`. | |||||
| /* part->flag */ | /* part->flag */ | ||||
| #define PART_REACT_STA_END 1 | #define PART_REACT_STA_END 1 | ||||
| #define PART_REACT_MULTIPLE 2 | #define PART_REACT_MULTIPLE 2 | ||||
| //#define PART_LOOP 4 /* not used anymore */ | //#define PART_LOOP 4 /* not used anymore */ | ||||
| /* for dopesheet */ | /* for dopesheet */ | ||||
| #define PART_DS_EXPAND 8 | #define PART_DS_EXPAND 8 | ||||
| ▲ Show 20 Lines • Show All 225 Lines • Show Last 20 Lines | |||||
That one should probably be removed?