mirror of
https://github.com/blendogames/thirtyflightsofloving.git
synced 2025-02-19 10:22:05 +00:00
68 lines
1.5 KiB
C
68 lines
1.5 KiB
C
|
|
||
|
//psychospaz's particle system
|
||
|
|
||
|
typedef enum
|
||
|
{
|
||
|
particle_generic,
|
||
|
particle_freongeneric,
|
||
|
particle_smoke,
|
||
|
particle_blood,
|
||
|
particle_blooddrop,
|
||
|
particle_blooddrip,
|
||
|
particle_redblood,
|
||
|
particle_bubble,
|
||
|
particle_blaster,
|
||
|
particle_beam,
|
||
|
particle_beam2,
|
||
|
particle_lightning,
|
||
|
particle_lensflare,
|
||
|
particle_lightflare,
|
||
|
particle_inferno,
|
||
|
particle_shield,
|
||
|
particle_rflash,
|
||
|
particle_rexplosion1,
|
||
|
particle_rexplosion2,
|
||
|
particle_rexplosion3,
|
||
|
particle_rexplosion4,
|
||
|
particle_rexplosion5,
|
||
|
particle_rexplosion6,
|
||
|
particle_rexplosion7,
|
||
|
particle_dexplosion1,
|
||
|
particle_dexplosion2,
|
||
|
particle_dexplosion3,
|
||
|
particle_bulletmark,
|
||
|
particle_shadow,
|
||
|
particle_burnmark,
|
||
|
particle_blooddecal1,
|
||
|
particle_blooddecal2,
|
||
|
particle_blooddecal3,
|
||
|
particle_blooddecal4,
|
||
|
particle_blooddecal5,
|
||
|
particle_footprint,
|
||
|
particle_glass,
|
||
|
particle_glass2,
|
||
|
particle_music1,
|
||
|
particle_music2,
|
||
|
particle_music3,
|
||
|
particle_heart,
|
||
|
particle_shred0,
|
||
|
particle_shred1,
|
||
|
particle_shred2
|
||
|
} particle_type;
|
||
|
|
||
|
#define GL_ZERO 0x0
|
||
|
#define GL_ONE 0x1
|
||
|
#define GL_SRC_COLOR 0x0300
|
||
|
#define GL_ONE_MINUS_SRC_COLOR 0x0301
|
||
|
#define GL_SRC_ALPHA 0x0302
|
||
|
#define GL_ONE_MINUS_SRC_ALPHA 0x0303
|
||
|
#define GL_DST_ALPHA 0x0304
|
||
|
#define GL_ONE_MINUS_DST_ALPHA 0x0305
|
||
|
#define GL_DST_COLOR 0x0306
|
||
|
#define GL_ONE_MINUS_DST_COLOR 0x0307
|
||
|
#define GL_SRC_ALPHA_SATURATE 0x0308
|
||
|
#define GL_CONSTANT_COLOR 0x8001
|
||
|
#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
|
||
|
#define GL_CONSTANT_ALPHA 0x8003
|
||
|
#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
|