1 #ifndef PGRAPHICS_H 2 #define PGRAPHICS_H 3 4 #define PMODE 0x00000FFF 5 #define PMODE_NONE 0x00000000 6 #define PMODE_FLAT 0x00000001 7 #define PMODE_BLOB 0x00000002 8 #define PMODE_BLUR 0x00000004 9 #define PMODE_GLOW 0x00000008 10 #define PMODE_SPARK 0x00000010 11 #define PMODE_FLARE 0x00000020 12 #define PMODE_LFLARE 0x00000040 13 #define PMODE_ADD 0x00000080 14 #define PMODE_BLEND 0x00000100 15 #define PSPEC_STICKMAN 0x00000200 16 17 #define OPTIONS 0x0000F000 18 #define NO_DECO 0x00001000 19 #define DECO_FIRE 0x00002000 20 21 #define FIREMODE 0x00FF0000 22 #define FIRE_ADD 0x00010000 23 #define FIRE_BLEND 0x00020000 24 #define FIRE_SPARK 0x00040000 25 26 #define EFFECT 0xFF000000 27 #define EFFECT_GRAVIN 0x01000000 28 #define EFFECT_GRAVOUT 0x02000000 29 #define EFFECT_LINES 0x04000000 30 #define EFFECT_DBGLINES 0x08000000 31 32 #define RENDER_EFFE OPTIONS | PSPEC_STICKMAN | EFFECT | PMODE_SPARK | PMODE_FLARE | PMODE_LFLARE 33 #define RENDER_FIRE OPTIONS | PSPEC_STICKMAN | /*PMODE_FLAT |*/ PMODE_ADD | PMODE_BLEND | FIRE_ADD | FIRE_BLEND 34 #define RENDER_SPRK OPTIONS | PSPEC_STICKMAN | PMODE_ADD | PMODE_BLEND | FIRE_SPARK 35 #define RENDER_GLOW OPTIONS | PSPEC_STICKMAN | /*PMODE_FLAT |*/ PMODE_GLOW | PMODE_ADD | PMODE_BLEND 36 #define RENDER_BLUR OPTIONS | PSPEC_STICKMAN | /*PMODE_FLAT |*/ PMODE_BLUR | PMODE_ADD | PMODE_BLEND 37 #define RENDER_BLOB OPTIONS | PSPEC_STICKMAN | /*PMODE_FLAT |*/ PMODE_BLOB | PMODE_ADD | PMODE_BLEND 38 #define RENDER_BASC OPTIONS | PSPEC_STICKMAN | PMODE_FLAT | PMODE_ADD | PMODE_BLEND | EFFECT_LINES 39 #define RENDER_NONE OPTIONS | PSPEC_STICKMAN | PMODE_FLAT 40 41 #define COLOUR_HEAT 0x00000001 42 #define COLOUR_LIFE 0x00000002 43 #define COLOUR_GRAD 0x00000004 44 #define COLOUR_BASC 0x00000008 45 46 #define COLOUR_DEFAULT 0x00000000 47 48 #define DISPLAY_AIRC 0x00000001 49 #define DISPLAY_AIRP 0x00000002 50 #define DISPLAY_AIRV 0x00000004 51 #define DISPLAY_AIRH 0x00000008 52 #define DISPLAY_AIR 0x0000000F 53 #define DISPLAY_WARP 0x00000010 54 #define DISPLAY_PERS 0x00000020 55 #define DISPLAY_EFFE 0x00000040 56 57 #endif 58