FS2_Open
Open source remastering of the Freespace 2 engine
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
index
GLuint index
Definition:
Glext.h:5608
vec3d
Definition:
pstypes.h:88
mflash_mark_as_used
void mflash_mark_as_used(int index=-1)
Definition:
muzzleflash.cpp:166
mflash_level_init
void mflash_level_init()
Definition:
muzzleflash.cpp:208
mflash_create
void mflash_create(vec3d *gun_pos, vec3d *gun_dir, physics_info *pip, int mflash_type, object *local=NULL)
Definition:
muzzleflash.cpp:239
object
Definition:
object.h:141
mflash_lookup
int mflash_lookup(char *name)
Definition:
muzzleflash.cpp:302
name
GLuint const GLchar * name
Definition:
Glext.h:5608
local
bool local
Definition:
lua.cpp:4524
mflash_level_close
void mflash_level_close()
Definition:
muzzleflash.cpp:221
physics.h
physics_info
Definition:
physics.h:36
mflash_page_in
void mflash_page_in(bool load_all=false)
Definition:
muzzleflash.cpp:176
mflash_game_init
void mflash_game_init()
Definition:
muzzleflash.cpp:157
code
weapon
muzzleflash.h
Generated on Sun May 1 2016 16:23:42 for FS2_Open by
1.8.10