]> icculus.org git repositories - taylor/freespace2.git/blob - include/muzzleflash.h
Initial revision
[taylor/freespace2.git] / include / muzzleflash.h
1 /*
2  * $Logfile: /Freespace2/code/Weapon/MuzzleFlash.h $
3  * $Revision$
4  * $Date$
5  * $Author$
6  *
7  * all sorts of cool stuff about ships
8  *
9  * $Log$
10  * Revision 1.1  2002/05/03 03:28:12  root
11  * Initial revision
12  *
13  * 
14  * 4     5/18/99 1:30p Dave
15  * Added muzzle flash table stuff.
16  * 
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.
20  * 
21  * 2     1/08/99 2:08p Dave
22  * Fixed software rendering for pofview. Super early support for AWACS and
23  * beam weapons.
24  * 
25  * 
26  * $NoKeywords: $
27  */
28
29 #ifndef __FS2_MUZZLEFLASH_HEADER_FILE
30 #define __FS2_MUZZLEFLASH_HEADER_FILE
31
32 // ---------------------------------------------------------------------------------------------------------------------
33 // MUZZLE FLASH DEFINES/VARS
34 // 
35
36 // prototypes
37 struct object;
38
39 // muzzle flash types
40 #define MAX_MUZZLE_FLASH_TYPES                          10
41 extern int Num_mflash_types;
42
43 // ---------------------------------------------------------------------------------------------------------------------
44 // MUZZLE FLASH FUNCTIONS
45 // 
46
47 // initialize muzzle flash stuff for the whole game
48 void mflash_game_init();
49
50 // initialize muzzle flash stuff for the level
51 void mflash_level_init();
52
53 // shutdown stuff for the level
54 void mflash_level_close();
55
56 // create a muzzle flash on the guy
57 void mflash_create(vector *gun_pos, vector *gun_dir, int mflash_type);
58
59 // process muzzle flash stuff
60 void mflash_process_all();
61
62 // render all muzzle flashes
63 void mflash_render_all();
64
65 // lookup type by name
66 int mflash_lookup(char *name);
67
68 #endif
69