2 * $Logfile: /Freespace2/code/Weapon/MuzzleFlash.h $
7 * all sorts of cool stuff about ships
10 * Revision 1.1 2002/05/03 03:28:12 root
14 * 4 5/18/99 1:30p Dave
15 * Added muzzle flash table stuff.
17 * 3 3/19/99 9:52a Dave
18 * Checkin to repair massive source safe crash. Also added support for
19 * pof-style nebulae, and some new weapons code.
21 * 2 1/08/99 2:08p Dave
22 * Fixed software rendering for pofview. Super early support for AWACS and
29 #ifndef __FS2_MUZZLEFLASH_HEADER_FILE
30 #define __FS2_MUZZLEFLASH_HEADER_FILE
32 // ---------------------------------------------------------------------------------------------------------------------
33 // MUZZLE FLASH DEFINES/VARS
40 #define MAX_MUZZLE_FLASH_TYPES 10
41 extern int Num_mflash_types;
43 // ---------------------------------------------------------------------------------------------------------------------
44 // MUZZLE FLASH FUNCTIONS
47 // initialize muzzle flash stuff for the whole game
48 void mflash_game_init();
50 // initialize muzzle flash stuff for the level
51 void mflash_level_init();
53 // shutdown stuff for the level
54 void mflash_level_close();
56 // create a muzzle flash on the guy
57 void mflash_create(vector *gun_pos, vector *gun_dir, int mflash_type);
59 // process muzzle flash stuff
60 void mflash_process_all();
62 // render all muzzle flashes
63 void mflash_render_all();
65 // lookup type by name
66 int mflash_lookup(char *name);