FS2_Open
Open source remastering of the Freespace 2 engine
muzzleflash.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) Volition, Inc. 1999. All rights reserved.
3  *
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 the
6  * source.
7  *
8 */
9 
10 
11 
12 #ifndef __FS2_MUZZLEFLASH_HEADER_FILE
13 #define __FS2_MUZZLEFLASH_HEADER_FILE
14 
15 #include "physics/physics.h"
16 
17 // ---------------------------------------------------------------------------------------------------------------------
18 // MUZZLE FLASH DEFINES/VARS
19 //
20 
21 // prototypes
22 class object;
23 struct vec3d;
24 
25 // ---------------------------------------------------------------------------------------------------------------------
26 // MUZZLE FLASH FUNCTIONS
27 //
28 
29 // initialize muzzle flash stuff for the whole game
30 void mflash_game_init();
31 
32 // initialize muzzle flash stuff for the level
33 void mflash_level_init();
34 
35 // shutdown stuff for the level
36 void mflash_level_close();
37 
38 // create a muzzle flash on the guy
39 void mflash_create(vec3d *gun_pos, vec3d *gun_dir, physics_info *pip, int mflash_type, object *local = NULL);
40 
41 // lookup type by name
42 int mflash_lookup(char *name);
43 
44 // mark as used
45 void mflash_mark_as_used(int index = -1);
46 
47 // level page in
48 void mflash_page_in(bool load_all = false);
49 
50 #endif
GLuint index
Definition: Glext.h:5608
Definition: pstypes.h:88
void mflash_mark_as_used(int index=-1)
void mflash_level_init()
void mflash_create(vec3d *gun_pos, vec3d *gun_dir, physics_info *pip, int mflash_type, object *local=NULL)
Definition: object.h:141
int mflash_lookup(char *name)
GLuint const GLchar * name
Definition: Glext.h:5608
bool local
Definition: lua.cpp:4524
void mflash_level_close()
void mflash_page_in(bool load_all=false)
void mflash_game_init()