2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
4 * All source code herein is the property of Volition, Inc. You may not sell
5 * or otherwise commercially exploit the source or things you created based on
10 * $Logfile: /Freespace2/code/Weapon/MuzzleFlash.h $
15 * all sorts of cool stuff about ships
18 * Revision 1.2 2002/06/09 04:41:14 relnev
19 * added copyright header
21 * Revision 1.1.1.1 2002/05/03 03:28:12 root
25 * 4 5/18/99 1:30p Dave
26 * Added muzzle flash table stuff.
28 * 3 3/19/99 9:52a Dave
29 * Checkin to repair massive source safe crash. Also added support for
30 * pof-style nebulae, and some new weapons code.
32 * 2 1/08/99 2:08p Dave
33 * Fixed software rendering for pofview. Super early support for AWACS and
40 #ifndef __FS2_MUZZLEFLASH_HEADER_FILE
41 #define __FS2_MUZZLEFLASH_HEADER_FILE
43 // ---------------------------------------------------------------------------------------------------------------------
44 // MUZZLE FLASH DEFINES/VARS
51 #define MAX_MUZZLE_FLASH_TYPES 10
52 extern int Num_mflash_types;
54 // ---------------------------------------------------------------------------------------------------------------------
55 // MUZZLE FLASH FUNCTIONS
58 // initialize muzzle flash stuff for the whole game
59 void mflash_game_init();
61 // initialize muzzle flash stuff for the level
62 void mflash_level_init();
64 // shutdown stuff for the level
65 void mflash_level_close();
67 // create a muzzle flash on the guy
68 void mflash_create(vector *gun_pos, vector *gun_dir, int mflash_type);
70 // process muzzle flash stuff
71 void mflash_process_all();
73 // render all muzzle flashes
74 void mflash_render_all();
76 // lookup type by name
77 int mflash_lookup(char *name);